- Add Bugzilla PRs to ChangeLog reverting AIX long double size.
[official-gcc.git] / libstdc++-v3 / configure
blob8433a1a300c57959b0a8ccadb43f93835340f868
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
148 esac
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
164 else
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
182 as_have_required=yes
183 else
184 as_have_required=no
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
188 else
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
193 IFS=$as_save_IFS
194 test -z "$as_dir" && as_dir=.
195 as_found=:
196 case $as_dir in #(
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 break 2
208 done;;
209 esac
210 as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
223 BASH_ENV=/dev/null
224 ENV=/dev/null
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 export CONFIG_SHELL
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236 else
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
242 exit 1
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
260 { eval $1=; unset $1;}
262 as_unset=as_fn_unset
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
269 return $1
270 } # as_fn_set_status
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
277 set +e
278 as_fn_set_status $1
279 exit $1
280 } # as_fn_exit
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
288 case $as_dir in #(
289 -*) as_dir=./$as_dir;;
290 esac
291 test -d "$as_dir" || eval $as_mkdir_p || {
292 as_dirs=
293 while :; do
294 case $as_dir in #(
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 *) as_qdir=$as_dir;;
297 esac
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306 s//\1/
309 /^X\(\/\/\)[^/].*/{
310 s//\1/
313 /^X\(\/\/\)$/{
314 s//\1/
317 /^X\(\/\).*/{
318 s//\1/
321 s/.*/./; q'`
322 test -d "$as_dir" && break
323 done
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
338 eval $1+=\$2
340 else
341 as_fn_append ()
343 eval $1=\$$1\$2
345 fi # as_fn_append
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 eval 'as_fn_arith ()
355 as_val=$(( $* ))
357 else
358 as_fn_arith ()
360 as_val=`expr "$@" || test $? -eq 1`
362 fi # as_fn_arith
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
372 as_status=$?; test $as_status -eq 0 && as_status=1
373 if test "$3"; then
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
379 } # as_fn_error
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 as_expr=expr
384 else
385 as_expr=false
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 as_basename=basename
390 else
391 as_basename=false
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 as_dirname=dirname
396 else
397 as_dirname=false
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
406 s//\1/
409 /^X\/\(\/\/\)$/{
410 s//\1/
413 /^X\/\(\/\).*/{
414 s//\1/
417 s/.*/./; q'`
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
440 :lineno
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
453 . "./$as_me.lineno"
454 # Exit status is that of the last command.
455 exit
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
463 xy) ECHO_C='\c';;
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 ECHO_T=' ';;
466 esac;;
468 ECHO_N='-n';;
469 esac
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
474 else
475 rm -f conf$$.dir
476 mkdir conf$$.dir 2>/dev/null
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s='ln -s'
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486 as_ln_s='cp -p'
487 elif ln conf$$.file conf$$ 2>/dev/null; then
488 as_ln_s=ln
489 else
490 as_ln_s='cp -p'
492 else
493 as_ln_s='cp -p'
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
500 else
501 test -d ./-p && rmdir ./-p
502 as_mkdir_p=false
505 if test -x / >/dev/null 2>&1; then
506 as_test_x='test -x'
507 else
508 if ls -dL / >/dev/null 2>&1; then
509 as_ls_L_option=L
510 else
511 as_ls_L_option=
513 as_test_x='
514 eval sh -c '\''
515 if test -d "$1"; then
516 test -d "$1/.";
517 else
518 case $1 in #(
519 -*)set "./$1";;
520 esac;
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
523 '\'' sh
526 as_executable_p=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev/null 6>&1
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
545 # Initializations.
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
564 ac_unique_file="src/ios.cc"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #ifdef STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # ifdef HAVE_STDLIB_H
579 # include <stdlib.h>
580 # endif
581 #endif
582 #ifdef HAVE_STRING_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 # include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #ifdef HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #ifdef HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 LIBSUPCXX_PICFLAGS
606 WARN_FLAGS
607 OPTIMIZE_CXXFLAGS
608 TOPLEVEL_INCLUDES
609 GLIBCXX_INCLUDES
610 glibcxx_toolexeclibdir
611 glibcxx_toolexecdir
612 gxx_include_dir
613 glibcxx_prefixdir
614 ERROR_CONSTANTS_SRCDIR
615 OS_INC_SRCDIR
616 ABI_TWEAKS_SRCDIR
617 CPU_DEFINES_SRCDIR
618 ATOMIC_FLAGS
619 ATOMIC_WORD_SRCDIR
620 ATOMICITY_SRCDIR
621 BUILD_EPUB_FALSE
622 BUILD_EPUB_TRUE
623 DBTOEPUB
624 RUBY
625 BUILD_PDF_FALSE
626 BUILD_PDF_TRUE
627 PDFLATEX
628 DBLATEX
629 BUILD_MAN_FALSE
630 BUILD_MAN_TRUE
631 BUILD_HTML_FALSE
632 BUILD_HTML_TRUE
633 BUILD_XML_FALSE
634 BUILD_XML_TRUE
635 XMLLINT
636 XSLTPROC
638 DOXYGEN
639 BUILD_INFO_FALSE
640 BUILD_INFO_TRUE
641 baseline_dir
642 GLIBCXX_LDBL_COMPAT_FALSE
643 GLIBCXX_LDBL_COMPAT_TRUE
644 ENABLE_VISIBILITY_FALSE
645 ENABLE_VISIBILITY_TRUE
646 ENABLE_SYMVERS_SOL2_FALSE
647 ENABLE_SYMVERS_SOL2_TRUE
648 ENABLE_SYMVERS_SUN_FALSE
649 ENABLE_SYMVERS_SUN_TRUE
650 ENABLE_SYMVERS_DARWIN_FALSE
651 ENABLE_SYMVERS_DARWIN_TRUE
652 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
653 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
654 ENABLE_SYMVERS_GNU_FALSE
655 ENABLE_SYMVERS_GNU_TRUE
656 ENABLE_SYMVERS_FALSE
657 ENABLE_SYMVERS_TRUE
658 port_specific_symbol_files
659 SYMVER_FILE
660 CXXFILT
661 LTLIBICONV
662 LIBICONV
663 OPT_LDFLAGS
664 SECTION_LDFLAGS
665 GLIBCXX_LIBS
666 EXTRA_CXX_FLAGS
667 ENABLE_PARALLEL_FALSE
668 ENABLE_PARALLEL_TRUE
669 GLIBCXX_BUILD_DEBUG_FALSE
670 GLIBCXX_BUILD_DEBUG_TRUE
671 DEBUG_FLAGS
672 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
673 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
674 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
675 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
676 GLIBCXX_C_HEADERS_C_STD_FALSE
677 GLIBCXX_C_HEADERS_C_STD_TRUE
678 GLIBCXX_C_HEADERS_C_FALSE
679 GLIBCXX_C_HEADERS_C_TRUE
680 C_INCLUDE_DIR
681 ALLOCATOR_NAME
682 ALLOCATOR_H
683 CLOCALE_INTERNAL_H
684 CLOCALE_CC
685 CTIME_CC
686 CTIME_H
687 CNUMERIC_CC
688 CMONEY_CC
689 CMESSAGES_CC
690 CCTYPE_CC
691 CCOLLATE_CC
692 CCODECVT_CC
693 CMESSAGES_H
694 CLOCALE_H
695 USE_NLS
696 glibcxx_localedir
697 glibcxx_POFILES
698 glibcxx_MOFILES
699 check_msgfmt
700 BASIC_FILE_CC
701 BASIC_FILE_H
702 CSTDIO_H
703 SECTION_FLAGS
704 WERROR
705 glibcxx_thread_h
706 glibcxx_PCHFLAGS
707 GLIBCXX_BUILD_PCH_FALSE
708 GLIBCXX_BUILD_PCH_TRUE
709 GLIBCXX_HOSTED_FALSE
710 GLIBCXX_HOSTED_TRUE
711 enable_static
712 enable_shared
713 lt_host_flags
714 CXXCPP
715 OTOOL64
716 OTOOL
717 LIPO
718 NMEDIT
719 DSYMUTIL
720 OBJDUMP
722 ac_ct_DUMPBIN
723 DUMPBIN
725 FGREP
727 LIBTOOL
728 EGREP
729 GREP
731 MAINT
732 MAINTAINER_MODE_FALSE
733 MAINTAINER_MODE_TRUE
734 RANLIB
737 LN_S
738 toplevel_srcdir
739 glibcxx_srcdir
740 glibcxx_builddir
741 ac_ct_CXX
742 CXXFLAGS
744 OBJEXT
745 EXEEXT
746 ac_ct_CC
747 CPPFLAGS
748 LDFLAGS
749 CFLAGS
751 am__untar
752 am__tar
753 AMTAR
754 am__leading_dot
755 SET_MAKE
757 mkdir_p
758 MKDIR_P
759 INSTALL_STRIP_PROGRAM
760 STRIP
761 install_sh
762 MAKEINFO
763 AUTOHEADER
764 AUTOMAKE
765 AUTOCONF
766 ACLOCAL
767 VERSION
768 PACKAGE
769 CYGPATH_W
770 am__isrc
771 INSTALL_DATA
772 INSTALL_SCRIPT
773 INSTALL_PROGRAM
774 target_os
775 target_vendor
776 target_cpu
777 target
778 host_os
779 host_vendor
780 host_cpu
781 host
782 build_os
783 build_vendor
784 build_cpu
785 build
786 multi_basedir
787 libtool_VERSION
788 target_alias
789 host_alias
790 build_alias
791 LIBS
792 ECHO_T
793 ECHO_N
794 ECHO_C
795 DEFS
796 mandir
797 localedir
798 libdir
799 psdir
800 pdfdir
801 dvidir
802 htmldir
803 infodir
804 docdir
805 oldincludedir
806 includedir
807 localstatedir
808 sharedstatedir
809 sysconfdir
810 datadir
811 datarootdir
812 libexecdir
813 sbindir
814 bindir
815 program_transform_name
816 prefix
817 exec_prefix
818 PACKAGE_URL
819 PACKAGE_BUGREPORT
820 PACKAGE_STRING
821 PACKAGE_VERSION
822 PACKAGE_TARNAME
823 PACKAGE_NAME
824 PATH_SEPARATOR
825 SHELL'
826 ac_subst_files=''
827 ac_user_opts='
828 enable_option_checking
829 enable_multilib
830 with_target_subdir
831 with_cross_host
832 with_newlib
833 enable_maintainer_mode
834 enable_shared
835 enable_static
836 with_pic
837 enable_fast_install
838 with_gnu_ld
839 enable_libtool_lock
840 enable_hosted_libstdcxx
841 enable_sjlj_exceptions
842 enable_libstdcxx_pch
843 enable_cstdio
844 enable_clocale
845 enable_nls
846 enable_libstdcxx_allocator
847 enable_cheaders
848 enable_long_long
849 enable_wchar_t
850 enable_c99
851 enable_concept_checks
852 enable_libstdcxx_debug_flags
853 enable_libstdcxx_debug
854 enable_cxx_flags
855 enable_fully_dynamic_string
856 enable_libstdcxx_time
857 enable_tls
858 enable_rpath
859 with_libiconv_prefix
860 with_system_libunwind
861 enable_linux_futex
862 enable_symvers
863 enable_visibility
864 with_gxx_include_dir
865 enable_version_specific_runtime_libs
867 ac_precious_vars='build_alias
868 host_alias
869 target_alias
871 CFLAGS
872 LDFLAGS
873 LIBS
874 CPPFLAGS
876 CXXFLAGS
879 CXXCPP
880 CXXFILT'
883 # Initialize some variables set by options.
884 ac_init_help=
885 ac_init_version=false
886 ac_unrecognized_opts=
887 ac_unrecognized_sep=
888 # The variables have the same names as the options, with
889 # dashes changed to underlines.
890 cache_file=/dev/null
891 exec_prefix=NONE
892 no_create=
893 no_recursion=
894 prefix=NONE
895 program_prefix=NONE
896 program_suffix=NONE
897 program_transform_name=s,x,x,
898 silent=
899 site=
900 srcdir=
901 verbose=
902 x_includes=NONE
903 x_libraries=NONE
905 # Installation directory options.
906 # These are left unexpanded so users can "make install exec_prefix=/foo"
907 # and all the variables that are supposed to be based on exec_prefix
908 # by default will actually change.
909 # Use braces instead of parens because sh, perl, etc. also accept them.
910 # (The list follows the same order as the GNU Coding Standards.)
911 bindir='${exec_prefix}/bin'
912 sbindir='${exec_prefix}/sbin'
913 libexecdir='${exec_prefix}/libexec'
914 datarootdir='${prefix}/share'
915 datadir='${datarootdir}'
916 sysconfdir='${prefix}/etc'
917 sharedstatedir='${prefix}/com'
918 localstatedir='${prefix}/var'
919 includedir='${prefix}/include'
920 oldincludedir='/usr/include'
921 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
922 infodir='${datarootdir}/info'
923 htmldir='${docdir}'
924 dvidir='${docdir}'
925 pdfdir='${docdir}'
926 psdir='${docdir}'
927 libdir='${exec_prefix}/lib'
928 localedir='${datarootdir}/locale'
929 mandir='${datarootdir}/man'
931 ac_prev=
932 ac_dashdash=
933 for ac_option
935 # If the previous option needs an argument, assign it.
936 if test -n "$ac_prev"; then
937 eval $ac_prev=\$ac_option
938 ac_prev=
939 continue
942 case $ac_option in
943 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
944 *) ac_optarg=yes ;;
945 esac
947 # Accept the important Cygnus configure options, so we can diagnose typos.
949 case $ac_dashdash$ac_option in
951 ac_dashdash=yes ;;
953 -bindir | --bindir | --bindi | --bind | --bin | --bi)
954 ac_prev=bindir ;;
955 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
956 bindir=$ac_optarg ;;
958 -build | --build | --buil | --bui | --bu)
959 ac_prev=build_alias ;;
960 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
961 build_alias=$ac_optarg ;;
963 -cache-file | --cache-file | --cache-fil | --cache-fi \
964 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
965 ac_prev=cache_file ;;
966 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
967 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
968 cache_file=$ac_optarg ;;
970 --config-cache | -C)
971 cache_file=config.cache ;;
973 -datadir | --datadir | --datadi | --datad)
974 ac_prev=datadir ;;
975 -datadir=* | --datadir=* | --datadi=* | --datad=*)
976 datadir=$ac_optarg ;;
978 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
979 | --dataroo | --dataro | --datar)
980 ac_prev=datarootdir ;;
981 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
982 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
983 datarootdir=$ac_optarg ;;
985 -disable-* | --disable-*)
986 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
987 # Reject names that are not valid shell variable names.
988 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
989 as_fn_error "invalid feature name: $ac_useropt"
990 ac_useropt_orig=$ac_useropt
991 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
992 case $ac_user_opts in
994 "enable_$ac_useropt"
995 "*) ;;
996 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
997 ac_unrecognized_sep=', ';;
998 esac
999 eval enable_$ac_useropt=no ;;
1001 -docdir | --docdir | --docdi | --doc | --do)
1002 ac_prev=docdir ;;
1003 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1004 docdir=$ac_optarg ;;
1006 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1007 ac_prev=dvidir ;;
1008 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1009 dvidir=$ac_optarg ;;
1011 -enable-* | --enable-*)
1012 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1013 # Reject names that are not valid shell variable names.
1014 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1015 as_fn_error "invalid feature name: $ac_useropt"
1016 ac_useropt_orig=$ac_useropt
1017 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1018 case $ac_user_opts in
1020 "enable_$ac_useropt"
1021 "*) ;;
1022 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1023 ac_unrecognized_sep=', ';;
1024 esac
1025 eval enable_$ac_useropt=\$ac_optarg ;;
1027 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1028 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1029 | --exec | --exe | --ex)
1030 ac_prev=exec_prefix ;;
1031 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1032 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1033 | --exec=* | --exe=* | --ex=*)
1034 exec_prefix=$ac_optarg ;;
1036 -gas | --gas | --ga | --g)
1037 # Obsolete; use --with-gas.
1038 with_gas=yes ;;
1040 -help | --help | --hel | --he | -h)
1041 ac_init_help=long ;;
1042 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1043 ac_init_help=recursive ;;
1044 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1045 ac_init_help=short ;;
1047 -host | --host | --hos | --ho)
1048 ac_prev=host_alias ;;
1049 -host=* | --host=* | --hos=* | --ho=*)
1050 host_alias=$ac_optarg ;;
1052 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1053 ac_prev=htmldir ;;
1054 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1055 | --ht=*)
1056 htmldir=$ac_optarg ;;
1058 -includedir | --includedir | --includedi | --included | --include \
1059 | --includ | --inclu | --incl | --inc)
1060 ac_prev=includedir ;;
1061 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1062 | --includ=* | --inclu=* | --incl=* | --inc=*)
1063 includedir=$ac_optarg ;;
1065 -infodir | --infodir | --infodi | --infod | --info | --inf)
1066 ac_prev=infodir ;;
1067 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1068 infodir=$ac_optarg ;;
1070 -libdir | --libdir | --libdi | --libd)
1071 ac_prev=libdir ;;
1072 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1073 libdir=$ac_optarg ;;
1075 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1076 | --libexe | --libex | --libe)
1077 ac_prev=libexecdir ;;
1078 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1079 | --libexe=* | --libex=* | --libe=*)
1080 libexecdir=$ac_optarg ;;
1082 -localedir | --localedir | --localedi | --localed | --locale)
1083 ac_prev=localedir ;;
1084 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1085 localedir=$ac_optarg ;;
1087 -localstatedir | --localstatedir | --localstatedi | --localstated \
1088 | --localstate | --localstat | --localsta | --localst | --locals)
1089 ac_prev=localstatedir ;;
1090 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1091 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1092 localstatedir=$ac_optarg ;;
1094 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1095 ac_prev=mandir ;;
1096 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1097 mandir=$ac_optarg ;;
1099 -nfp | --nfp | --nf)
1100 # Obsolete; use --without-fp.
1101 with_fp=no ;;
1103 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1104 | --no-cr | --no-c | -n)
1105 no_create=yes ;;
1107 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1108 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1109 no_recursion=yes ;;
1111 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1112 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1113 | --oldin | --oldi | --old | --ol | --o)
1114 ac_prev=oldincludedir ;;
1115 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1116 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1117 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1118 oldincludedir=$ac_optarg ;;
1120 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1121 ac_prev=prefix ;;
1122 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1123 prefix=$ac_optarg ;;
1125 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1126 | --program-pre | --program-pr | --program-p)
1127 ac_prev=program_prefix ;;
1128 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1129 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1130 program_prefix=$ac_optarg ;;
1132 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1133 | --program-suf | --program-su | --program-s)
1134 ac_prev=program_suffix ;;
1135 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1136 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1137 program_suffix=$ac_optarg ;;
1139 -program-transform-name | --program-transform-name \
1140 | --program-transform-nam | --program-transform-na \
1141 | --program-transform-n | --program-transform- \
1142 | --program-transform | --program-transfor \
1143 | --program-transfo | --program-transf \
1144 | --program-trans | --program-tran \
1145 | --progr-tra | --program-tr | --program-t)
1146 ac_prev=program_transform_name ;;
1147 -program-transform-name=* | --program-transform-name=* \
1148 | --program-transform-nam=* | --program-transform-na=* \
1149 | --program-transform-n=* | --program-transform-=* \
1150 | --program-transform=* | --program-transfor=* \
1151 | --program-transfo=* | --program-transf=* \
1152 | --program-trans=* | --program-tran=* \
1153 | --progr-tra=* | --program-tr=* | --program-t=*)
1154 program_transform_name=$ac_optarg ;;
1156 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1157 ac_prev=pdfdir ;;
1158 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1159 pdfdir=$ac_optarg ;;
1161 -psdir | --psdir | --psdi | --psd | --ps)
1162 ac_prev=psdir ;;
1163 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1164 psdir=$ac_optarg ;;
1166 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1167 | -silent | --silent | --silen | --sile | --sil)
1168 silent=yes ;;
1170 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1171 ac_prev=sbindir ;;
1172 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1173 | --sbi=* | --sb=*)
1174 sbindir=$ac_optarg ;;
1176 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1177 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1178 | --sharedst | --shareds | --shared | --share | --shar \
1179 | --sha | --sh)
1180 ac_prev=sharedstatedir ;;
1181 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1182 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1183 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1184 | --sha=* | --sh=*)
1185 sharedstatedir=$ac_optarg ;;
1187 -site | --site | --sit)
1188 ac_prev=site ;;
1189 -site=* | --site=* | --sit=*)
1190 site=$ac_optarg ;;
1192 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1193 ac_prev=srcdir ;;
1194 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1195 srcdir=$ac_optarg ;;
1197 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1198 | --syscon | --sysco | --sysc | --sys | --sy)
1199 ac_prev=sysconfdir ;;
1200 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1201 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1202 sysconfdir=$ac_optarg ;;
1204 -target | --target | --targe | --targ | --tar | --ta | --t)
1205 ac_prev=target_alias ;;
1206 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1207 target_alias=$ac_optarg ;;
1209 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1210 verbose=yes ;;
1212 -version | --version | --versio | --versi | --vers | -V)
1213 ac_init_version=: ;;
1215 -with-* | --with-*)
1216 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1217 # Reject names that are not valid shell variable names.
1218 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1219 as_fn_error "invalid package name: $ac_useropt"
1220 ac_useropt_orig=$ac_useropt
1221 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1222 case $ac_user_opts in
1224 "with_$ac_useropt"
1225 "*) ;;
1226 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1227 ac_unrecognized_sep=', ';;
1228 esac
1229 eval with_$ac_useropt=\$ac_optarg ;;
1231 -without-* | --without-*)
1232 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1233 # Reject names that are not valid shell variable names.
1234 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1235 as_fn_error "invalid package name: $ac_useropt"
1236 ac_useropt_orig=$ac_useropt
1237 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1238 case $ac_user_opts in
1240 "with_$ac_useropt"
1241 "*) ;;
1242 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1243 ac_unrecognized_sep=', ';;
1244 esac
1245 eval with_$ac_useropt=no ;;
1247 --x)
1248 # Obsolete; use --with-x.
1249 with_x=yes ;;
1251 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1252 | --x-incl | --x-inc | --x-in | --x-i)
1253 ac_prev=x_includes ;;
1254 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1255 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1256 x_includes=$ac_optarg ;;
1258 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1259 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1260 ac_prev=x_libraries ;;
1261 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1262 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1263 x_libraries=$ac_optarg ;;
1265 -*) as_fn_error "unrecognized option: \`$ac_option'
1266 Try \`$0 --help' for more information."
1269 *=*)
1270 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1271 # Reject names that are not valid shell variable names.
1272 case $ac_envvar in #(
1273 '' | [0-9]* | *[!_$as_cr_alnum]* )
1274 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1275 esac
1276 eval $ac_envvar=\$ac_optarg
1277 export $ac_envvar ;;
1280 # FIXME: should be removed in autoconf 3.0.
1281 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1282 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1283 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1284 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1287 esac
1288 done
1290 if test -n "$ac_prev"; then
1291 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1292 as_fn_error "missing argument to $ac_option"
1295 if test -n "$ac_unrecognized_opts"; then
1296 case $enable_option_checking in
1297 no) ;;
1298 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1299 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1300 esac
1303 # Check all directory arguments for consistency.
1304 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1305 datadir sysconfdir sharedstatedir localstatedir includedir \
1306 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1307 libdir localedir mandir
1309 eval ac_val=\$$ac_var
1310 # Remove trailing slashes.
1311 case $ac_val in
1312 */ )
1313 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1314 eval $ac_var=\$ac_val;;
1315 esac
1316 # Be sure to have absolute directory names.
1317 case $ac_val in
1318 [\\/$]* | ?:[\\/]* ) continue;;
1319 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1320 esac
1321 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1322 done
1324 # There might be people who depend on the old broken behavior: `$host'
1325 # used to hold the argument of --host etc.
1326 # FIXME: To remove some day.
1327 build=$build_alias
1328 host=$host_alias
1329 target=$target_alias
1331 # FIXME: To remove some day.
1332 if test "x$host_alias" != x; then
1333 if test "x$build_alias" = x; then
1334 cross_compiling=maybe
1335 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1336 If a cross compiler is detected then cross compile mode will be used." >&2
1337 elif test "x$build_alias" != "x$host_alias"; then
1338 cross_compiling=yes
1342 ac_tool_prefix=
1343 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1345 test "$silent" = yes && exec 6>/dev/null
1348 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1349 ac_ls_di=`ls -di .` &&
1350 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1351 as_fn_error "working directory cannot be determined"
1352 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1353 as_fn_error "pwd does not report name of working directory"
1356 # Find the source files, if location was not specified.
1357 if test -z "$srcdir"; then
1358 ac_srcdir_defaulted=yes
1359 # Try the directory containing this script, then the parent directory.
1360 ac_confdir=`$as_dirname -- "$as_myself" ||
1361 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1362 X"$as_myself" : 'X\(//\)[^/]' \| \
1363 X"$as_myself" : 'X\(//\)$' \| \
1364 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1365 $as_echo X"$as_myself" |
1366 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1367 s//\1/
1370 /^X\(\/\/\)[^/].*/{
1371 s//\1/
1374 /^X\(\/\/\)$/{
1375 s//\1/
1378 /^X\(\/\).*/{
1379 s//\1/
1382 s/.*/./; q'`
1383 srcdir=$ac_confdir
1384 if test ! -r "$srcdir/$ac_unique_file"; then
1385 srcdir=..
1387 else
1388 ac_srcdir_defaulted=no
1390 if test ! -r "$srcdir/$ac_unique_file"; then
1391 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1392 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1394 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1395 ac_abs_confdir=`(
1396 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1397 pwd)`
1398 # When building in place, set srcdir=.
1399 if test "$ac_abs_confdir" = "$ac_pwd"; then
1400 srcdir=.
1402 # Remove unnecessary trailing slashes from srcdir.
1403 # Double slashes in file names in object file debugging info
1404 # mess up M-x gdb in Emacs.
1405 case $srcdir in
1406 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1407 esac
1408 for ac_var in $ac_precious_vars; do
1409 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1410 eval ac_env_${ac_var}_value=\$${ac_var}
1411 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1412 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1413 done
1416 # Report the --help message.
1418 if test "$ac_init_help" = "long"; then
1419 # Omit some internal or obsolete options to make the list less imposing.
1420 # This message is too long to be a string in the A/UX 3.1 sh.
1421 cat <<_ACEOF
1422 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1424 Usage: $0 [OPTION]... [VAR=VALUE]...
1426 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1427 VAR=VALUE. See below for descriptions of some of the useful variables.
1429 Defaults for the options are specified in brackets.
1431 Configuration:
1432 -h, --help display this help and exit
1433 --help=short display options specific to this package
1434 --help=recursive display the short help of all the included packages
1435 -V, --version display version information and exit
1436 -q, --quiet, --silent do not print \`checking...' messages
1437 --cache-file=FILE cache test results in FILE [disabled]
1438 -C, --config-cache alias for \`--cache-file=config.cache'
1439 -n, --no-create do not create output files
1440 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1442 Installation directories:
1443 --prefix=PREFIX install architecture-independent files in PREFIX
1444 [$ac_default_prefix]
1445 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1446 [PREFIX]
1448 By default, \`make install' will install all the files in
1449 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1450 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1451 for instance \`--prefix=\$HOME'.
1453 For better control, use the options below.
1455 Fine tuning of the installation directories:
1456 --bindir=DIR user executables [EPREFIX/bin]
1457 --sbindir=DIR system admin executables [EPREFIX/sbin]
1458 --libexecdir=DIR program executables [EPREFIX/libexec]
1459 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1460 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1461 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1462 --libdir=DIR object code libraries [EPREFIX/lib]
1463 --includedir=DIR C header files [PREFIX/include]
1464 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1465 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1466 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1467 --infodir=DIR info documentation [DATAROOTDIR/info]
1468 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1469 --mandir=DIR man documentation [DATAROOTDIR/man]
1470 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1471 --htmldir=DIR html documentation [DOCDIR]
1472 --dvidir=DIR dvi documentation [DOCDIR]
1473 --pdfdir=DIR pdf documentation [DOCDIR]
1474 --psdir=DIR ps documentation [DOCDIR]
1475 _ACEOF
1477 cat <<\_ACEOF
1479 Program names:
1480 --program-prefix=PREFIX prepend PREFIX to installed program names
1481 --program-suffix=SUFFIX append SUFFIX to installed program names
1482 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1484 System types:
1485 --build=BUILD configure for building on BUILD [guessed]
1486 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1487 --target=TARGET configure for building compilers for TARGET [HOST]
1488 _ACEOF
1491 if test -n "$ac_init_help"; then
1492 case $ac_init_help in
1493 short | recursive ) echo "Configuration of package-unused version-unused:";;
1494 esac
1495 cat <<\_ACEOF
1497 Optional Features:
1498 --disable-option-checking ignore unrecognized --enable/--with options
1499 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1500 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1501 --enable-multilib build many library versions (default)
1502 --enable-maintainer-mode enable make rules and dependencies not useful
1503 (and sometimes confusing) to the casual installer
1504 --enable-shared[=PKGS] build shared libraries [default=yes]
1505 --enable-static[=PKGS] build static libraries [default=yes]
1506 --enable-fast-install[=PKGS]
1507 optimize for fast installation [default=yes]
1508 --disable-libtool-lock avoid locking (might break parallel builds)
1509 --disable-hosted-libstdcxx
1510 only build freestanding C++ runtime support
1511 --enable-sjlj-exceptions
1512 force use of builtin_setjmp for exceptions
1513 [default=auto]
1514 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1515 [default=$is_hosted]
1516 --enable-cstdio[=PACKAGE]
1517 use target-specific I/O package [default=stdio]
1518 --enable-clocale[=MODEL]
1519 use MODEL for target locale package [default=auto]
1520 --enable-nls use Native Language Support (default)
1521 --enable-libstdcxx-allocator[=KIND]
1522 use KIND for target std::allocator base
1523 [default=auto]
1524 --enable-cheaders[=KIND]
1525 construct "C" headers for g++ [default=$c_model]
1526 --enable-long-long enable template specializations for 'long long'
1527 [default=yes]
1528 --enable-wchar_t enable template specializations for 'wchar_t'
1529 [default=yes]
1530 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1531 --enable-concept-checks use Boost-derived template checks [default=no]
1532 --enable-libstdcxx-debug-flags=FLAGS
1533 pass compiler FLAGS when building debug library
1534 [default="-g3 -O0"]
1535 --enable-libstdcxx-debug
1536 build extra debug library [default=no]
1537 --enable-cxx-flags=FLAGS
1538 pass compiler FLAGS when building library [default=]
1539 --enable-fully-dynamic-string
1540 do not put empty strings in per-process static
1541 memory [default=no]
1542 --enable-libstdcxx-time[=KIND]
1543 use KIND for check type [default=no]
1544 --enable-tls Use thread-local storage [default=yes]
1545 --disable-rpath do not hardcode runtime library paths
1546 --enable-linux-futex use the Linux futex system call [default=default]
1547 --enable-symvers[=STYLE]
1548 enables symbol versioning of the shared library
1549 [default=yes]
1550 --enable-visibility enables visibility safe usage [default=yes]
1551 --enable-version-specific-runtime-libs
1552 Specify that runtime libraries should be installed
1553 in a compiler-specific directory
1555 Optional Packages:
1556 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1557 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1558 --with-target-subdir=SUBDIR
1559 configuring in a subdirectory
1560 --with-cross-host=HOST configuring with a cross compiler
1561 --with-newlib assume newlib as a system C library
1562 --with-pic try to use only PIC/non-PIC objects [default=use
1563 both]
1564 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1565 --with-gnu-ld assume the C compiler uses GNU ld default=no
1566 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1567 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1568 --with-system-libunwind use installed libunwind
1569 --with-gxx-include-dir=DIR
1570 installation directory for include files
1572 Some influential environment variables:
1573 CC C compiler command
1574 CFLAGS C compiler flags
1575 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1576 nonstandard directory <lib dir>
1577 LIBS libraries to pass to the linker, e.g. -l<library>
1578 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1579 you have headers in a nonstandard directory <include dir>
1580 CXX C++ compiler command
1581 CXXFLAGS C++ compiler flags
1582 CPP C preprocessor
1583 CXXCPP C++ preprocessor
1584 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1585 `c++filt', `gc++filt' on PATH.
1587 Use these variables to override the choices made by `configure' or to help
1588 it to find libraries and programs with nonstandard names/locations.
1590 Report bugs to the package provider.
1591 _ACEOF
1592 ac_status=$?
1595 if test "$ac_init_help" = "recursive"; then
1596 # If there are subdirs, report their specific --help.
1597 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1598 test -d "$ac_dir" ||
1599 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1600 continue
1601 ac_builddir=.
1603 case "$ac_dir" in
1604 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1606 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1607 # A ".." for each directory in $ac_dir_suffix.
1608 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1609 case $ac_top_builddir_sub in
1610 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1611 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1612 esac ;;
1613 esac
1614 ac_abs_top_builddir=$ac_pwd
1615 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1616 # for backward compatibility:
1617 ac_top_builddir=$ac_top_build_prefix
1619 case $srcdir in
1620 .) # We are building in place.
1621 ac_srcdir=.
1622 ac_top_srcdir=$ac_top_builddir_sub
1623 ac_abs_top_srcdir=$ac_pwd ;;
1624 [\\/]* | ?:[\\/]* ) # Absolute name.
1625 ac_srcdir=$srcdir$ac_dir_suffix;
1626 ac_top_srcdir=$srcdir
1627 ac_abs_top_srcdir=$srcdir ;;
1628 *) # Relative name.
1629 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1630 ac_top_srcdir=$ac_top_build_prefix$srcdir
1631 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1632 esac
1633 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1635 cd "$ac_dir" || { ac_status=$?; continue; }
1636 # Check for guested configure.
1637 if test -f "$ac_srcdir/configure.gnu"; then
1638 echo &&
1639 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1640 elif test -f "$ac_srcdir/configure"; then
1641 echo &&
1642 $SHELL "$ac_srcdir/configure" --help=recursive
1643 else
1644 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1645 fi || ac_status=$?
1646 cd "$ac_pwd" || { ac_status=$?; break; }
1647 done
1650 test -n "$ac_init_help" && exit $ac_status
1651 if $ac_init_version; then
1652 cat <<\_ACEOF
1653 package-unused configure version-unused
1654 generated by GNU Autoconf 2.64
1656 Copyright (C) 2009 Free Software Foundation, Inc.
1657 This configure script is free software; the Free Software Foundation
1658 gives unlimited permission to copy, distribute and modify it.
1659 _ACEOF
1660 exit
1663 ## ------------------------ ##
1664 ## Autoconf initialization. ##
1665 ## ------------------------ ##
1667 # ac_fn_c_try_compile LINENO
1668 # --------------------------
1669 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1670 ac_fn_c_try_compile ()
1672 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1673 rm -f conftest.$ac_objext
1674 if { { ac_try="$ac_compile"
1675 case "(($ac_try" in
1676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1677 *) ac_try_echo=$ac_try;;
1678 esac
1679 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1680 $as_echo "$ac_try_echo"; } >&5
1681 (eval "$ac_compile") 2>conftest.err
1682 ac_status=$?
1683 if test -s conftest.err; then
1684 grep -v '^ *+' conftest.err >conftest.er1
1685 cat conftest.er1 >&5
1686 mv -f conftest.er1 conftest.err
1688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1689 test $ac_status = 0; } && {
1690 test -z "$ac_c_werror_flag" ||
1691 test ! -s conftest.err
1692 } && test -s conftest.$ac_objext; then :
1693 ac_retval=0
1694 else
1695 $as_echo "$as_me: failed program was:" >&5
1696 sed 's/^/| /' conftest.$ac_ext >&5
1698 ac_retval=1
1700 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1701 return $ac_retval
1703 } # ac_fn_c_try_compile
1705 # ac_fn_cxx_try_compile LINENO
1706 # ----------------------------
1707 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1708 ac_fn_cxx_try_compile ()
1710 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1711 rm -f conftest.$ac_objext
1712 if { { ac_try="$ac_compile"
1713 case "(($ac_try" in
1714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1715 *) ac_try_echo=$ac_try;;
1716 esac
1717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1718 $as_echo "$ac_try_echo"; } >&5
1719 (eval "$ac_compile") 2>conftest.err
1720 ac_status=$?
1721 if test -s conftest.err; then
1722 grep -v '^ *+' conftest.err >conftest.er1
1723 cat conftest.er1 >&5
1724 mv -f conftest.er1 conftest.err
1726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1727 test $ac_status = 0; } && {
1728 test -z "$ac_cxx_werror_flag" ||
1729 test ! -s conftest.err
1730 } && test -s conftest.$ac_objext; then :
1731 ac_retval=0
1732 else
1733 $as_echo "$as_me: failed program was:" >&5
1734 sed 's/^/| /' conftest.$ac_ext >&5
1736 ac_retval=1
1738 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1739 return $ac_retval
1741 } # ac_fn_cxx_try_compile
1743 # ac_fn_c_try_cpp LINENO
1744 # ----------------------
1745 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1746 ac_fn_c_try_cpp ()
1748 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1749 if { { ac_try="$ac_cpp conftest.$ac_ext"
1750 case "(($ac_try" in
1751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1752 *) ac_try_echo=$ac_try;;
1753 esac
1754 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1755 $as_echo "$ac_try_echo"; } >&5
1756 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1757 ac_status=$?
1758 if test -s conftest.err; then
1759 grep -v '^ *+' conftest.err >conftest.er1
1760 cat conftest.er1 >&5
1761 mv -f conftest.er1 conftest.err
1763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1764 test $ac_status = 0; } >/dev/null && {
1765 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1766 test ! -s conftest.err
1767 }; then :
1768 ac_retval=0
1769 else
1770 $as_echo "$as_me: failed program was:" >&5
1771 sed 's/^/| /' conftest.$ac_ext >&5
1773 ac_retval=1
1775 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1776 return $ac_retval
1778 } # ac_fn_c_try_cpp
1780 # ac_fn_c_try_link LINENO
1781 # -----------------------
1782 # Try to link conftest.$ac_ext, and return whether this succeeded.
1783 ac_fn_c_try_link ()
1785 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1786 rm -f conftest.$ac_objext conftest$ac_exeext
1787 if { { ac_try="$ac_link"
1788 case "(($ac_try" in
1789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1790 *) ac_try_echo=$ac_try;;
1791 esac
1792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1793 $as_echo "$ac_try_echo"; } >&5
1794 (eval "$ac_link") 2>conftest.err
1795 ac_status=$?
1796 if test -s conftest.err; then
1797 grep -v '^ *+' conftest.err >conftest.er1
1798 cat conftest.er1 >&5
1799 mv -f conftest.er1 conftest.err
1801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1802 test $ac_status = 0; } && {
1803 test -z "$ac_c_werror_flag" ||
1804 test ! -s conftest.err
1805 } && test -s conftest$ac_exeext && {
1806 test "$cross_compiling" = yes ||
1807 $as_test_x conftest$ac_exeext
1808 }; then :
1809 ac_retval=0
1810 else
1811 $as_echo "$as_me: failed program was:" >&5
1812 sed 's/^/| /' conftest.$ac_ext >&5
1814 ac_retval=1
1816 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1817 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1818 # interfere with the next link command; also delete a directory that is
1819 # left behind by Apple's compiler. We do this before executing the actions.
1820 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1821 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1822 return $ac_retval
1824 } # ac_fn_c_try_link
1826 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1827 # -------------------------------------------------------
1828 # Tests whether HEADER exists and can be compiled using the include files in
1829 # INCLUDES, setting the cache variable VAR accordingly.
1830 ac_fn_c_check_header_compile ()
1832 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1834 $as_echo_n "checking for $2... " >&6; }
1835 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1836 $as_echo_n "(cached) " >&6
1837 else
1838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1839 /* end confdefs.h. */
1841 #include <$2>
1842 _ACEOF
1843 if ac_fn_c_try_compile "$LINENO"; then :
1844 eval "$3=yes"
1845 else
1846 eval "$3=no"
1848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1850 eval ac_res=\$$3
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1852 $as_echo "$ac_res" >&6; }
1853 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1855 } # ac_fn_c_check_header_compile
1857 # ac_fn_c_try_run LINENO
1858 # ----------------------
1859 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1860 # that executables *can* be run.
1861 ac_fn_c_try_run ()
1863 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1864 if { { ac_try="$ac_link"
1865 case "(($ac_try" in
1866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1867 *) ac_try_echo=$ac_try;;
1868 esac
1869 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1870 $as_echo "$ac_try_echo"; } >&5
1871 (eval "$ac_link") 2>&5
1872 ac_status=$?
1873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1874 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1875 { { case "(($ac_try" in
1876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1877 *) ac_try_echo=$ac_try;;
1878 esac
1879 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1880 $as_echo "$ac_try_echo"; } >&5
1881 (eval "$ac_try") 2>&5
1882 ac_status=$?
1883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1884 test $ac_status = 0; }; }; then :
1885 ac_retval=0
1886 else
1887 $as_echo "$as_me: program exited with status $ac_status" >&5
1888 $as_echo "$as_me: failed program was:" >&5
1889 sed 's/^/| /' conftest.$ac_ext >&5
1891 ac_retval=$ac_status
1893 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1894 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1895 return $ac_retval
1897 } # ac_fn_c_try_run
1899 # ac_fn_c_check_func LINENO FUNC VAR
1900 # ----------------------------------
1901 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1902 ac_fn_c_check_func ()
1904 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1906 $as_echo_n "checking for $2... " >&6; }
1907 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1908 $as_echo_n "(cached) " >&6
1909 else
1910 if test x$gcc_no_link = xyes; then
1911 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1914 /* end confdefs.h. */
1915 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1917 #define $2 innocuous_$2
1919 /* System header to define __stub macros and hopefully few prototypes,
1920 which can conflict with char $2 (); below.
1921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1922 <limits.h> exists even on freestanding compilers. */
1924 #ifdef __STDC__
1925 # include <limits.h>
1926 #else
1927 # include <assert.h>
1928 #endif
1930 #undef $2
1932 /* Override any GCC internal prototype to avoid an error.
1933 Use char because int might match the return type of a GCC
1934 builtin and then its argument prototype would still apply. */
1935 #ifdef __cplusplus
1936 extern "C"
1937 #endif
1938 char $2 ();
1939 /* The GNU C library defines this for functions which it implements
1940 to always fail with ENOSYS. Some functions are actually named
1941 something starting with __ and the normal name is an alias. */
1942 #if defined __stub_$2 || defined __stub___$2
1943 choke me
1944 #endif
1947 main ()
1949 return $2 ();
1951 return 0;
1953 _ACEOF
1954 if ac_fn_c_try_link "$LINENO"; then :
1955 eval "$3=yes"
1956 else
1957 eval "$3=no"
1959 rm -f core conftest.err conftest.$ac_objext \
1960 conftest$ac_exeext conftest.$ac_ext
1962 eval ac_res=\$$3
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1964 $as_echo "$ac_res" >&6; }
1965 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1967 } # ac_fn_c_check_func
1969 # ac_fn_cxx_try_cpp LINENO
1970 # ------------------------
1971 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1972 ac_fn_cxx_try_cpp ()
1974 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1975 if { { ac_try="$ac_cpp conftest.$ac_ext"
1976 case "(($ac_try" in
1977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1978 *) ac_try_echo=$ac_try;;
1979 esac
1980 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1981 $as_echo "$ac_try_echo"; } >&5
1982 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1983 ac_status=$?
1984 if test -s conftest.err; then
1985 grep -v '^ *+' conftest.err >conftest.er1
1986 cat conftest.er1 >&5
1987 mv -f conftest.er1 conftest.err
1989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1990 test $ac_status = 0; } >/dev/null && {
1991 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1992 test ! -s conftest.err
1993 }; then :
1994 ac_retval=0
1995 else
1996 $as_echo "$as_me: failed program was:" >&5
1997 sed 's/^/| /' conftest.$ac_ext >&5
1999 ac_retval=1
2001 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2002 return $ac_retval
2004 } # ac_fn_cxx_try_cpp
2006 # ac_fn_cxx_try_link LINENO
2007 # -------------------------
2008 # Try to link conftest.$ac_ext, and return whether this succeeded.
2009 ac_fn_cxx_try_link ()
2011 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2012 rm -f conftest.$ac_objext conftest$ac_exeext
2013 if { { ac_try="$ac_link"
2014 case "(($ac_try" in
2015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2016 *) ac_try_echo=$ac_try;;
2017 esac
2018 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2019 $as_echo "$ac_try_echo"; } >&5
2020 (eval "$ac_link") 2>conftest.err
2021 ac_status=$?
2022 if test -s conftest.err; then
2023 grep -v '^ *+' conftest.err >conftest.er1
2024 cat conftest.er1 >&5
2025 mv -f conftest.er1 conftest.err
2027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2028 test $ac_status = 0; } && {
2029 test -z "$ac_cxx_werror_flag" ||
2030 test ! -s conftest.err
2031 } && test -s conftest$ac_exeext && {
2032 test "$cross_compiling" = yes ||
2033 $as_test_x conftest$ac_exeext
2034 }; then :
2035 ac_retval=0
2036 else
2037 $as_echo "$as_me: failed program was:" >&5
2038 sed 's/^/| /' conftest.$ac_ext >&5
2040 ac_retval=1
2042 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2043 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2044 # interfere with the next link command; also delete a directory that is
2045 # left behind by Apple's compiler. We do this before executing the actions.
2046 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2047 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2048 return $ac_retval
2050 } # ac_fn_cxx_try_link
2052 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2053 # -------------------------------------------------------
2054 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2055 # the include files in INCLUDES and setting the cache variable VAR
2056 # accordingly.
2057 ac_fn_c_check_header_mongrel ()
2059 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2060 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2062 $as_echo_n "checking for $2... " >&6; }
2063 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2064 $as_echo_n "(cached) " >&6
2066 eval ac_res=\$$3
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2068 $as_echo "$ac_res" >&6; }
2069 else
2070 # Is the header compilable?
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2072 $as_echo_n "checking $2 usability... " >&6; }
2073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2074 /* end confdefs.h. */
2076 #include <$2>
2077 _ACEOF
2078 if ac_fn_c_try_compile "$LINENO"; then :
2079 ac_header_compiler=yes
2080 else
2081 ac_header_compiler=no
2083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2085 $as_echo "$ac_header_compiler" >&6; }
2087 # Is the header present?
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2089 $as_echo_n "checking $2 presence... " >&6; }
2090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2091 /* end confdefs.h. */
2092 #include <$2>
2093 _ACEOF
2094 if ac_fn_c_try_cpp "$LINENO"; then :
2095 ac_header_preproc=yes
2096 else
2097 ac_header_preproc=no
2099 rm -f conftest.err conftest.$ac_ext
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2101 $as_echo "$ac_header_preproc" >&6; }
2103 # So? What about this header?
2104 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2105 yes:no: )
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2107 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2109 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2111 no:yes:* )
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2113 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2115 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2117 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2119 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2121 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2123 esac
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2125 $as_echo_n "checking for $2... " >&6; }
2126 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2127 $as_echo_n "(cached) " >&6
2128 else
2129 eval "$3=\$ac_header_compiler"
2131 eval ac_res=\$$3
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2133 $as_echo "$ac_res" >&6; }
2135 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2137 } # ac_fn_c_check_header_mongrel
2139 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2140 # ---------------------------------------------------------
2141 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2142 # the include files in INCLUDES and setting the cache variable VAR
2143 # accordingly.
2144 ac_fn_cxx_check_header_mongrel ()
2146 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2147 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2149 $as_echo_n "checking for $2... " >&6; }
2150 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2151 $as_echo_n "(cached) " >&6
2153 eval ac_res=\$$3
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2155 $as_echo "$ac_res" >&6; }
2156 else
2157 # Is the header compilable?
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2159 $as_echo_n "checking $2 usability... " >&6; }
2160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2161 /* end confdefs.h. */
2163 #include <$2>
2164 _ACEOF
2165 if ac_fn_cxx_try_compile "$LINENO"; then :
2166 ac_header_compiler=yes
2167 else
2168 ac_header_compiler=no
2170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2172 $as_echo "$ac_header_compiler" >&6; }
2174 # Is the header present?
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2176 $as_echo_n "checking $2 presence... " >&6; }
2177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2178 /* end confdefs.h. */
2179 #include <$2>
2180 _ACEOF
2181 if ac_fn_cxx_try_cpp "$LINENO"; then :
2182 ac_header_preproc=yes
2183 else
2184 ac_header_preproc=no
2186 rm -f conftest.err conftest.$ac_ext
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2188 $as_echo "$ac_header_preproc" >&6; }
2190 # So? What about this header?
2191 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2192 yes:no: )
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2194 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2196 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2198 no:yes:* )
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2200 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2202 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2204 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2206 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2208 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2210 esac
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2212 $as_echo_n "checking for $2... " >&6; }
2213 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2214 $as_echo_n "(cached) " >&6
2215 else
2216 eval "$3=\$ac_header_compiler"
2218 eval ac_res=\$$3
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2220 $as_echo "$ac_res" >&6; }
2222 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2224 } # ac_fn_cxx_check_header_mongrel
2226 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2227 # --------------------------------------------
2228 # Tries to find the compile-time value of EXPR in a program that includes
2229 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2230 # computed
2231 ac_fn_c_compute_int ()
2233 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2234 if test "$cross_compiling" = yes; then
2235 # Depending upon the size, compute the lo and hi bounds.
2236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2237 /* end confdefs.h. */
2240 main ()
2242 static int test_array [1 - 2 * !(($2) >= 0)];
2243 test_array [0] = 0
2246 return 0;
2248 _ACEOF
2249 if ac_fn_c_try_compile "$LINENO"; then :
2250 ac_lo=0 ac_mid=0
2251 while :; do
2252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2253 /* end confdefs.h. */
2256 main ()
2258 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2259 test_array [0] = 0
2262 return 0;
2264 _ACEOF
2265 if ac_fn_c_try_compile "$LINENO"; then :
2266 ac_hi=$ac_mid; break
2267 else
2268 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2269 if test $ac_lo -le $ac_mid; then
2270 ac_lo= ac_hi=
2271 break
2273 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2276 done
2277 else
2278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2279 /* end confdefs.h. */
2282 main ()
2284 static int test_array [1 - 2 * !(($2) < 0)];
2285 test_array [0] = 0
2288 return 0;
2290 _ACEOF
2291 if ac_fn_c_try_compile "$LINENO"; then :
2292 ac_hi=-1 ac_mid=-1
2293 while :; do
2294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2295 /* end confdefs.h. */
2298 main ()
2300 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2301 test_array [0] = 0
2304 return 0;
2306 _ACEOF
2307 if ac_fn_c_try_compile "$LINENO"; then :
2308 ac_lo=$ac_mid; break
2309 else
2310 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2311 if test $ac_mid -le $ac_hi; then
2312 ac_lo= ac_hi=
2313 break
2315 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2318 done
2319 else
2320 ac_lo= ac_hi=
2322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2325 # Binary search between lo and hi bounds.
2326 while test "x$ac_lo" != "x$ac_hi"; do
2327 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2329 /* end confdefs.h. */
2332 main ()
2334 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2335 test_array [0] = 0
2338 return 0;
2340 _ACEOF
2341 if ac_fn_c_try_compile "$LINENO"; then :
2342 ac_hi=$ac_mid
2343 else
2344 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2347 done
2348 case $ac_lo in #((
2349 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2350 '') ac_retval=1 ;;
2351 esac
2352 else
2353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2354 /* end confdefs.h. */
2356 static long int longval () { return $2; }
2357 static unsigned long int ulongval () { return $2; }
2358 #include <stdio.h>
2359 #include <stdlib.h>
2361 main ()
2364 FILE *f = fopen ("conftest.val", "w");
2365 if (! f)
2366 return 1;
2367 if (($2) < 0)
2369 long int i = longval ();
2370 if (i != ($2))
2371 return 1;
2372 fprintf (f, "%ld", i);
2374 else
2376 unsigned long int i = ulongval ();
2377 if (i != ($2))
2378 return 1;
2379 fprintf (f, "%lu", i);
2381 /* Do not output a trailing newline, as this causes \r\n confusion
2382 on some platforms. */
2383 return ferror (f) || fclose (f) != 0;
2386 return 0;
2388 _ACEOF
2389 if ac_fn_c_try_run "$LINENO"; then :
2390 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2391 else
2392 ac_retval=1
2394 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2395 conftest.$ac_objext conftest.beam conftest.$ac_ext
2396 rm -f conftest.val
2399 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2400 return $ac_retval
2402 } # ac_fn_c_compute_int
2404 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2405 # -------------------------------------------
2406 # Tests whether TYPE exists after having included INCLUDES, setting cache
2407 # variable VAR accordingly.
2408 ac_fn_c_check_type ()
2410 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2412 $as_echo_n "checking for $2... " >&6; }
2413 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2414 $as_echo_n "(cached) " >&6
2415 else
2416 eval "$3=no"
2417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2418 /* end confdefs.h. */
2421 main ()
2423 if (sizeof ($2))
2424 return 0;
2426 return 0;
2428 _ACEOF
2429 if ac_fn_c_try_compile "$LINENO"; then :
2430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2431 /* end confdefs.h. */
2434 main ()
2436 if (sizeof (($2)))
2437 return 0;
2439 return 0;
2441 _ACEOF
2442 if ac_fn_c_try_compile "$LINENO"; then :
2444 else
2445 eval "$3=yes"
2447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2451 eval ac_res=\$$3
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2453 $as_echo "$ac_res" >&6; }
2454 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2456 } # ac_fn_c_check_type
2457 cat >config.log <<_ACEOF
2458 This file contains any messages produced by compilers while
2459 running configure, to aid debugging if configure makes a mistake.
2461 It was created by package-unused $as_me version-unused, which was
2462 generated by GNU Autoconf 2.64. Invocation command line was
2464 $ $0 $@
2466 _ACEOF
2467 exec 5>>config.log
2469 cat <<_ASUNAME
2470 ## --------- ##
2471 ## Platform. ##
2472 ## --------- ##
2474 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2475 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2476 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2477 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2478 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2480 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2481 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2483 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2484 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2485 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2486 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2487 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2488 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2489 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2491 _ASUNAME
2493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2494 for as_dir in $PATH
2496 IFS=$as_save_IFS
2497 test -z "$as_dir" && as_dir=.
2498 $as_echo "PATH: $as_dir"
2499 done
2500 IFS=$as_save_IFS
2502 } >&5
2504 cat >&5 <<_ACEOF
2507 ## ----------- ##
2508 ## Core tests. ##
2509 ## ----------- ##
2511 _ACEOF
2514 # Keep a trace of the command line.
2515 # Strip out --no-create and --no-recursion so they do not pile up.
2516 # Strip out --silent because we don't want to record it for future runs.
2517 # Also quote any args containing shell meta-characters.
2518 # Make two passes to allow for proper duplicate-argument suppression.
2519 ac_configure_args=
2520 ac_configure_args0=
2521 ac_configure_args1=
2522 ac_must_keep_next=false
2523 for ac_pass in 1 2
2525 for ac_arg
2527 case $ac_arg in
2528 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2529 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2530 | -silent | --silent | --silen | --sile | --sil)
2531 continue ;;
2532 *\'*)
2533 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2534 esac
2535 case $ac_pass in
2536 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2538 as_fn_append ac_configure_args1 " '$ac_arg'"
2539 if test $ac_must_keep_next = true; then
2540 ac_must_keep_next=false # Got value, back to normal.
2541 else
2542 case $ac_arg in
2543 *=* | --config-cache | -C | -disable-* | --disable-* \
2544 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2545 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2546 | -with-* | --with-* | -without-* | --without-* | --x)
2547 case "$ac_configure_args0 " in
2548 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2549 esac
2551 -* ) ac_must_keep_next=true ;;
2552 esac
2554 as_fn_append ac_configure_args " '$ac_arg'"
2556 esac
2557 done
2558 done
2559 { ac_configure_args0=; unset ac_configure_args0;}
2560 { ac_configure_args1=; unset ac_configure_args1;}
2562 # When interrupted or exit'd, cleanup temporary files, and complete
2563 # config.log. We remove comments because anyway the quotes in there
2564 # would cause problems or look ugly.
2565 # WARNING: Use '\'' to represent an apostrophe within the trap.
2566 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2567 trap 'exit_status=$?
2568 # Save into config.log some information that might help in debugging.
2570 echo
2572 cat <<\_ASBOX
2573 ## ---------------- ##
2574 ## Cache variables. ##
2575 ## ---------------- ##
2576 _ASBOX
2577 echo
2578 # The following way of writing the cache mishandles newlines in values,
2580 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2581 eval ac_val=\$$ac_var
2582 case $ac_val in #(
2583 *${as_nl}*)
2584 case $ac_var in #(
2585 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2586 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2587 esac
2588 case $ac_var in #(
2589 _ | IFS | as_nl) ;; #(
2590 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2591 *) { eval $ac_var=; unset $ac_var;} ;;
2592 esac ;;
2593 esac
2594 done
2595 (set) 2>&1 |
2596 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2597 *${as_nl}ac_space=\ *)
2598 sed -n \
2599 "s/'\''/'\''\\\\'\'''\''/g;
2600 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2601 ;; #(
2603 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2605 esac |
2606 sort
2608 echo
2610 cat <<\_ASBOX
2611 ## ----------------- ##
2612 ## Output variables. ##
2613 ## ----------------- ##
2614 _ASBOX
2615 echo
2616 for ac_var in $ac_subst_vars
2618 eval ac_val=\$$ac_var
2619 case $ac_val in
2620 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2621 esac
2622 $as_echo "$ac_var='\''$ac_val'\''"
2623 done | sort
2624 echo
2626 if test -n "$ac_subst_files"; then
2627 cat <<\_ASBOX
2628 ## ------------------- ##
2629 ## File substitutions. ##
2630 ## ------------------- ##
2631 _ASBOX
2632 echo
2633 for ac_var in $ac_subst_files
2635 eval ac_val=\$$ac_var
2636 case $ac_val in
2637 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2638 esac
2639 $as_echo "$ac_var='\''$ac_val'\''"
2640 done | sort
2641 echo
2644 if test -s confdefs.h; then
2645 cat <<\_ASBOX
2646 ## ----------- ##
2647 ## confdefs.h. ##
2648 ## ----------- ##
2649 _ASBOX
2650 echo
2651 cat confdefs.h
2652 echo
2654 test "$ac_signal" != 0 &&
2655 $as_echo "$as_me: caught signal $ac_signal"
2656 $as_echo "$as_me: exit $exit_status"
2657 } >&5
2658 rm -f core *.core core.conftest.* &&
2659 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2660 exit $exit_status
2662 for ac_signal in 1 2 13 15; do
2663 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2664 done
2665 ac_signal=0
2667 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2668 rm -f -r conftest* confdefs.h
2670 $as_echo "/* confdefs.h */" > confdefs.h
2672 # Predefined preprocessor variables.
2674 cat >>confdefs.h <<_ACEOF
2675 #define PACKAGE_NAME "$PACKAGE_NAME"
2676 _ACEOF
2678 cat >>confdefs.h <<_ACEOF
2679 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2680 _ACEOF
2682 cat >>confdefs.h <<_ACEOF
2683 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2684 _ACEOF
2686 cat >>confdefs.h <<_ACEOF
2687 #define PACKAGE_STRING "$PACKAGE_STRING"
2688 _ACEOF
2690 cat >>confdefs.h <<_ACEOF
2691 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2692 _ACEOF
2694 cat >>confdefs.h <<_ACEOF
2695 #define PACKAGE_URL "$PACKAGE_URL"
2696 _ACEOF
2699 # Let the site file select an alternate cache file if it wants to.
2700 # Prefer an explicitly selected file to automatically selected ones.
2701 ac_site_file1=NONE
2702 ac_site_file2=NONE
2703 if test -n "$CONFIG_SITE"; then
2704 ac_site_file1=$CONFIG_SITE
2705 elif test "x$prefix" != xNONE; then
2706 ac_site_file1=$prefix/share/config.site
2707 ac_site_file2=$prefix/etc/config.site
2708 else
2709 ac_site_file1=$ac_default_prefix/share/config.site
2710 ac_site_file2=$ac_default_prefix/etc/config.site
2712 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2714 test "x$ac_site_file" = xNONE && continue
2715 if test -r "$ac_site_file"; then
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2717 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2718 sed 's/^/| /' "$ac_site_file" >&5
2719 . "$ac_site_file"
2721 done
2723 if test -r "$cache_file"; then
2724 # Some versions of bash will fail to source /dev/null (special
2725 # files actually), so we avoid doing that.
2726 if test -f "$cache_file"; then
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2728 $as_echo "$as_me: loading cache $cache_file" >&6;}
2729 case $cache_file in
2730 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2731 *) . "./$cache_file";;
2732 esac
2734 else
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2736 $as_echo "$as_me: creating cache $cache_file" >&6;}
2737 >$cache_file
2740 # Check that the precious variables saved in the cache have kept the same
2741 # value.
2742 ac_cache_corrupted=false
2743 for ac_var in $ac_precious_vars; do
2744 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2745 eval ac_new_set=\$ac_env_${ac_var}_set
2746 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2747 eval ac_new_val=\$ac_env_${ac_var}_value
2748 case $ac_old_set,$ac_new_set in
2749 set,)
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2751 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2752 ac_cache_corrupted=: ;;
2753 ,set)
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2755 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2756 ac_cache_corrupted=: ;;
2757 ,);;
2759 if test "x$ac_old_val" != "x$ac_new_val"; then
2760 # differences in whitespace do not lead to failure.
2761 ac_old_val_w=`echo x $ac_old_val`
2762 ac_new_val_w=`echo x $ac_new_val`
2763 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2765 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2766 ac_cache_corrupted=:
2767 else
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2769 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2770 eval $ac_var=\$ac_old_val
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2773 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2775 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2776 fi;;
2777 esac
2778 # Pass precious variables to config.status.
2779 if test "$ac_new_set" = set; then
2780 case $ac_new_val in
2781 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2782 *) ac_arg=$ac_var=$ac_new_val ;;
2783 esac
2784 case " $ac_configure_args " in
2785 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2786 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2787 esac
2789 done
2790 if $ac_cache_corrupted; then
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2792 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2794 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2795 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2797 ## -------------------- ##
2798 ## Main body of script. ##
2799 ## -------------------- ##
2801 ac_ext=c
2802 ac_cpp='$CPP $CPPFLAGS'
2803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2812 ac_config_headers="$ac_config_headers config.h"
2815 # This works around the fact that libtool configuration may change LD
2816 # for this particular configuration, but some shells, instead of
2817 # keeping the changes in LD private, export them just because LD is
2818 # exported. Only used at the end of this file.
2819 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2821 # For libtool versioning info, format is CURRENT:REVISION:AGE
2822 libtool_VERSION=6:15:0
2825 # Find the rest of the source tree framework.
2826 # Default to --enable-multilib
2827 # Check whether --enable-multilib was given.
2828 if test "${enable_multilib+set}" = set; then :
2829 enableval=$enable_multilib; case "$enableval" in
2830 yes) multilib=yes ;;
2831 no) multilib=no ;;
2832 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2833 esac
2834 else
2835 multilib=yes
2839 # We may get other options which we leave undocumented:
2840 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2841 # See config-ml.in if you want the gory details.
2843 if test "$srcdir" = "."; then
2844 if test "$with_target_subdir" != "."; then
2845 multi_basedir="$srcdir/$with_multisrctop../.."
2846 else
2847 multi_basedir="$srcdir/$with_multisrctop.."
2849 else
2850 multi_basedir="$srcdir/.."
2854 # Even if the default multilib is not a cross compilation,
2855 # it may be that some of the other multilibs are.
2856 if test $cross_compiling = no && test $multilib = yes \
2857 && test "x${with_multisubdir}" != x ; then
2858 cross_compiling=maybe
2861 ac_config_commands="$ac_config_commands default-1"
2864 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2866 # You will slowly go insane if you do not grok the following fact: when
2867 # building v3 as part of the compiler, the top-level /target/ becomes the
2868 # library's /host/. configure then causes --target to default to --host,
2869 # exactly like any other package using autoconf. Therefore, 'target' and
2870 # 'host' will always be the same. This makes sense both for native and
2871 # cross compilers, just think about it for a little while. :-)
2873 # Also, if v3 is being configured as part of a cross compiler, the top-level
2874 # configure script will pass the "real" host as $with_cross_host.
2876 # Do not delete or change the following two lines. For why, see
2877 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2878 ac_aux_dir=
2879 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2880 for ac_t in install-sh install.sh shtool; do
2881 if test -f "$ac_dir/$ac_t"; then
2882 ac_aux_dir=$ac_dir
2883 ac_install_sh="$ac_aux_dir/$ac_t -c"
2884 break 2
2886 done
2887 done
2888 if test -z "$ac_aux_dir"; then
2889 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2892 # These three variables are undocumented and unsupported,
2893 # and are intended to be withdrawn in a future Autoconf release.
2894 # They can cause serious problems if a builder's source tree is in a directory
2895 # whose full name contains unusual characters.
2896 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2897 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2898 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2901 # Make sure we can run config.sub.
2902 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2903 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2906 $as_echo_n "checking build system type... " >&6; }
2907 if test "${ac_cv_build+set}" = set; then :
2908 $as_echo_n "(cached) " >&6
2909 else
2910 ac_build_alias=$build_alias
2911 test "x$ac_build_alias" = x &&
2912 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2913 test "x$ac_build_alias" = x &&
2914 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2915 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2916 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2920 $as_echo "$ac_cv_build" >&6; }
2921 case $ac_cv_build in
2922 *-*-*) ;;
2923 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2924 esac
2925 build=$ac_cv_build
2926 ac_save_IFS=$IFS; IFS='-'
2927 set x $ac_cv_build
2928 shift
2929 build_cpu=$1
2930 build_vendor=$2
2931 shift; shift
2932 # Remember, the first character of IFS is used to create $*,
2933 # except with old shells:
2934 build_os=$*
2935 IFS=$ac_save_IFS
2936 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2940 $as_echo_n "checking host system type... " >&6; }
2941 if test "${ac_cv_host+set}" = set; then :
2942 $as_echo_n "(cached) " >&6
2943 else
2944 if test "x$host_alias" = x; then
2945 ac_cv_host=$ac_cv_build
2946 else
2947 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2948 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2953 $as_echo "$ac_cv_host" >&6; }
2954 case $ac_cv_host in
2955 *-*-*) ;;
2956 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2957 esac
2958 host=$ac_cv_host
2959 ac_save_IFS=$IFS; IFS='-'
2960 set x $ac_cv_host
2961 shift
2962 host_cpu=$1
2963 host_vendor=$2
2964 shift; shift
2965 # Remember, the first character of IFS is used to create $*,
2966 # except with old shells:
2967 host_os=$*
2968 IFS=$ac_save_IFS
2969 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2973 $as_echo_n "checking target system type... " >&6; }
2974 if test "${ac_cv_target+set}" = set; then :
2975 $as_echo_n "(cached) " >&6
2976 else
2977 if test "x$target_alias" = x; then
2978 ac_cv_target=$ac_cv_host
2979 else
2980 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2981 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2986 $as_echo "$ac_cv_target" >&6; }
2987 case $ac_cv_target in
2988 *-*-*) ;;
2989 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2990 esac
2991 target=$ac_cv_target
2992 ac_save_IFS=$IFS; IFS='-'
2993 set x $ac_cv_target
2994 shift
2995 target_cpu=$1
2996 target_vendor=$2
2997 shift; shift
2998 # Remember, the first character of IFS is used to create $*,
2999 # except with old shells:
3000 target_os=$*
3001 IFS=$ac_save_IFS
3002 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3005 # The aliases save the names the user supplied, while $host etc.
3006 # will get canonicalized.
3007 test -n "$target_alias" &&
3008 test "$program_prefix$program_suffix$program_transform_name" = \
3009 NONENONEs,x,x, &&
3010 program_prefix=${target_alias}-
3012 target_alias=${target_alias-$host_alias}
3014 # Handy for debugging:
3015 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3017 if test "$build" != "$host"; then
3018 # We are being configured with some form of cross compiler.
3019 GLIBCXX_IS_NATIVE=false
3020 case "$host","$target" in
3021 # Darwin crosses can use the host system's libraries and headers,
3022 # because of the fat library support. Of course, it must be the
3023 # same version of Darwin on both sides. Allow the user to
3024 # just say --target=foo-darwin without a version number to mean
3025 # "the version on this system".
3026 *-*-darwin*,*-*-darwin*)
3027 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3028 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3029 if test $hostos = $targetos -o $targetos = darwin ; then
3030 GLIBCXX_IS_NATIVE=true
3037 esac
3038 else
3039 GLIBCXX_IS_NATIVE=true
3042 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3043 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3044 # 1.x: minimum required version
3045 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3046 # of other PACKAGE_* variables will, however, and there's nothing
3047 # we can do about that; they come from AC_INIT).
3048 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3049 # file in the top srcdir, etc, etc), so stop complaining.
3050 # no-dependencies: turns off auto dependency generation (just for now)
3051 # no-dist: we don't want 'dist' and related rules.
3052 # -Wall: turns on all automake warnings...
3053 # -Wno-portability: ...except this one, since GNU make is now required.
3054 am__api_version='1.11'
3056 # Find a good install program. We prefer a C program (faster),
3057 # so one script is as good as another. But avoid the broken or
3058 # incompatible versions:
3059 # SysV /etc/install, /usr/sbin/install
3060 # SunOS /usr/etc/install
3061 # IRIX /sbin/install
3062 # AIX /bin/install
3063 # AmigaOS /C/install, which installs bootblocks on floppy discs
3064 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3065 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3066 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3067 # OS/2's system install, which has a completely different semantic
3068 # ./install, which can be erroneously created by make from ./install.sh.
3069 # Reject install programs that cannot install multiple files.
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3071 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3072 if test -z "$INSTALL"; then
3073 if test "${ac_cv_path_install+set}" = set; then :
3074 $as_echo_n "(cached) " >&6
3075 else
3076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3077 for as_dir in $PATH
3079 IFS=$as_save_IFS
3080 test -z "$as_dir" && as_dir=.
3081 # Account for people who put trailing slashes in PATH elements.
3082 case $as_dir/ in #((
3083 ./ | .// | /[cC]/* | \
3084 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3085 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3086 /usr/ucb/* ) ;;
3088 # OSF1 and SCO ODT 3.0 have their own names for install.
3089 # Don't use installbsd from OSF since it installs stuff as root
3090 # by default.
3091 for ac_prog in ginstall scoinst install; do
3092 for ac_exec_ext in '' $ac_executable_extensions; do
3093 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3094 if test $ac_prog = install &&
3095 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3096 # AIX install. It has an incompatible calling convention.
3098 elif test $ac_prog = install &&
3099 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3100 # program-specific install script used by HP pwplus--don't use.
3102 else
3103 rm -rf conftest.one conftest.two conftest.dir
3104 echo one > conftest.one
3105 echo two > conftest.two
3106 mkdir conftest.dir
3107 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3108 test -s conftest.one && test -s conftest.two &&
3109 test -s conftest.dir/conftest.one &&
3110 test -s conftest.dir/conftest.two
3111 then
3112 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3113 break 3
3117 done
3118 done
3120 esac
3122 done
3123 IFS=$as_save_IFS
3125 rm -rf conftest.one conftest.two conftest.dir
3128 if test "${ac_cv_path_install+set}" = set; then
3129 INSTALL=$ac_cv_path_install
3130 else
3131 # As a last resort, use the slow shell script. Don't cache a
3132 # value for INSTALL within a source directory, because that will
3133 # break other packages using the cache if that directory is
3134 # removed, or if the value is a relative name.
3135 INSTALL=$ac_install_sh
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3139 $as_echo "$INSTALL" >&6; }
3141 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3142 # It thinks the first close brace ends the variable substitution.
3143 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3145 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3147 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3150 $as_echo_n "checking whether build environment is sane... " >&6; }
3151 # Just in case
3152 sleep 1
3153 echo timestamp > conftest.file
3154 # Reject unsafe characters in $srcdir or the absolute working directory
3155 # name. Accept space and tab only in the latter.
3156 am_lf='
3158 case `pwd` in
3159 *[\\\"\#\$\&\'\`$am_lf]*)
3160 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3161 esac
3162 case $srcdir in
3163 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3164 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3165 esac
3167 # Do `set' in a subshell so we don't clobber the current shell's
3168 # arguments. Must try -L first in case configure is actually a
3169 # symlink; some systems play weird games with the mod time of symlinks
3170 # (eg FreeBSD returns the mod time of the symlink's containing
3171 # directory).
3172 if (
3173 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3174 if test "$*" = "X"; then
3175 # -L didn't work.
3176 set X `ls -t "$srcdir/configure" conftest.file`
3178 rm -f conftest.file
3179 if test "$*" != "X $srcdir/configure conftest.file" \
3180 && test "$*" != "X conftest.file $srcdir/configure"; then
3182 # If neither matched, then we have a broken ls. This can happen
3183 # if, for instance, CONFIG_SHELL is bash and it inherits a
3184 # broken ls alias from the environment. This has actually
3185 # happened. Such a system could not be considered "sane".
3186 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3187 alias in your environment" "$LINENO" 5
3190 test "$2" = conftest.file
3192 then
3193 # Ok.
3195 else
3196 as_fn_error "newly created file is older than distributed files!
3197 Check your system clock" "$LINENO" 5
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3200 $as_echo "yes" >&6; }
3201 test "$program_prefix" != NONE &&
3202 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3203 # Use a double $ so make ignores it.
3204 test "$program_suffix" != NONE &&
3205 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3206 # Double any \ or $.
3207 # By default was `s,x,x', remove it if useless.
3208 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3209 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3211 # expand $ac_aux_dir to an absolute path
3212 am_aux_dir=`cd $ac_aux_dir && pwd`
3214 if test x"${MISSING+set}" != xset; then
3215 case $am_aux_dir in
3216 *\ * | *\ *)
3217 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3219 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3220 esac
3222 # Use eval to expand $SHELL
3223 if eval "$MISSING --run true"; then
3224 am_missing_run="$MISSING --run "
3225 else
3226 am_missing_run=
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3228 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3231 if test x"${install_sh}" != xset; then
3232 case $am_aux_dir in
3233 *\ * | *\ *)
3234 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3236 install_sh="\${SHELL} $am_aux_dir/install-sh"
3237 esac
3240 # Installed binaries are usually stripped using `strip' when the user
3241 # run `make install-strip'. However `strip' might not be the right
3242 # tool to use in cross-compilation environments, therefore Automake
3243 # will honor the `STRIP' environment variable to overrule this program.
3244 if test "$cross_compiling" != no; then
3245 if test -n "$ac_tool_prefix"; then
3246 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3247 set dummy ${ac_tool_prefix}strip; ac_word=$2
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3249 $as_echo_n "checking for $ac_word... " >&6; }
3250 if test "${ac_cv_prog_STRIP+set}" = set; then :
3251 $as_echo_n "(cached) " >&6
3252 else
3253 if test -n "$STRIP"; then
3254 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3255 else
3256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3257 for as_dir in $PATH
3259 IFS=$as_save_IFS
3260 test -z "$as_dir" && as_dir=.
3261 for ac_exec_ext in '' $ac_executable_extensions; do
3262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3263 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3265 break 2
3267 done
3268 done
3269 IFS=$as_save_IFS
3273 STRIP=$ac_cv_prog_STRIP
3274 if test -n "$STRIP"; then
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3276 $as_echo "$STRIP" >&6; }
3277 else
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3279 $as_echo "no" >&6; }
3284 if test -z "$ac_cv_prog_STRIP"; then
3285 ac_ct_STRIP=$STRIP
3286 # Extract the first word of "strip", so it can be a program name with args.
3287 set dummy strip; ac_word=$2
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3289 $as_echo_n "checking for $ac_word... " >&6; }
3290 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3291 $as_echo_n "(cached) " >&6
3292 else
3293 if test -n "$ac_ct_STRIP"; then
3294 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3295 else
3296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3297 for as_dir in $PATH
3299 IFS=$as_save_IFS
3300 test -z "$as_dir" && as_dir=.
3301 for ac_exec_ext in '' $ac_executable_extensions; do
3302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3303 ac_cv_prog_ac_ct_STRIP="strip"
3304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3305 break 2
3307 done
3308 done
3309 IFS=$as_save_IFS
3313 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3314 if test -n "$ac_ct_STRIP"; then
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3316 $as_echo "$ac_ct_STRIP" >&6; }
3317 else
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3319 $as_echo "no" >&6; }
3322 if test "x$ac_ct_STRIP" = x; then
3323 STRIP=":"
3324 else
3325 case $cross_compiling:$ac_tool_warned in
3326 yes:)
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3328 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3329 ac_tool_warned=yes ;;
3330 esac
3331 STRIP=$ac_ct_STRIP
3333 else
3334 STRIP="$ac_cv_prog_STRIP"
3338 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3341 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3342 if test -z "$MKDIR_P"; then
3343 if test "${ac_cv_path_mkdir+set}" = set; then :
3344 $as_echo_n "(cached) " >&6
3345 else
3346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3347 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3349 IFS=$as_save_IFS
3350 test -z "$as_dir" && as_dir=.
3351 for ac_prog in mkdir gmkdir; do
3352 for ac_exec_ext in '' $ac_executable_extensions; do
3353 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3354 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3355 'mkdir (GNU coreutils) '* | \
3356 'mkdir (coreutils) '* | \
3357 'mkdir (fileutils) '4.1*)
3358 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3359 break 3;;
3360 esac
3361 done
3362 done
3363 done
3364 IFS=$as_save_IFS
3368 if test "${ac_cv_path_mkdir+set}" = set; then
3369 MKDIR_P="$ac_cv_path_mkdir -p"
3370 else
3371 # As a last resort, use the slow shell script. Don't cache a
3372 # value for MKDIR_P within a source directory, because that will
3373 # break other packages using the cache if that directory is
3374 # removed, or if the value is a relative name.
3375 test -d ./--version && rmdir ./--version
3376 MKDIR_P="$ac_install_sh -d"
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3380 $as_echo "$MKDIR_P" >&6; }
3382 mkdir_p="$MKDIR_P"
3383 case $mkdir_p in
3384 [\\/$]* | ?:[\\/]*) ;;
3385 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3386 esac
3388 for ac_prog in gawk mawk nawk awk
3390 # Extract the first word of "$ac_prog", so it can be a program name with args.
3391 set dummy $ac_prog; ac_word=$2
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3393 $as_echo_n "checking for $ac_word... " >&6; }
3394 if test "${ac_cv_prog_AWK+set}" = set; then :
3395 $as_echo_n "(cached) " >&6
3396 else
3397 if test -n "$AWK"; then
3398 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3399 else
3400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3401 for as_dir in $PATH
3403 IFS=$as_save_IFS
3404 test -z "$as_dir" && as_dir=.
3405 for ac_exec_ext in '' $ac_executable_extensions; do
3406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3407 ac_cv_prog_AWK="$ac_prog"
3408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3409 break 2
3411 done
3412 done
3413 IFS=$as_save_IFS
3417 AWK=$ac_cv_prog_AWK
3418 if test -n "$AWK"; then
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3420 $as_echo "$AWK" >&6; }
3421 else
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3423 $as_echo "no" >&6; }
3427 test -n "$AWK" && break
3428 done
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3431 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3432 set x ${MAKE-make}
3433 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3434 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3435 $as_echo_n "(cached) " >&6
3436 else
3437 cat >conftest.make <<\_ACEOF
3438 SHELL = /bin/sh
3439 all:
3440 @echo '@@@%%%=$(MAKE)=@@@%%%'
3441 _ACEOF
3442 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3443 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3444 *@@@%%%=?*=@@@%%%*)
3445 eval ac_cv_prog_make_${ac_make}_set=yes;;
3447 eval ac_cv_prog_make_${ac_make}_set=no;;
3448 esac
3449 rm -f conftest.make
3451 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3453 $as_echo "yes" >&6; }
3454 SET_MAKE=
3455 else
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3457 $as_echo "no" >&6; }
3458 SET_MAKE="MAKE=${MAKE-make}"
3461 rm -rf .tst 2>/dev/null
3462 mkdir .tst 2>/dev/null
3463 if test -d .tst; then
3464 am__leading_dot=.
3465 else
3466 am__leading_dot=_
3468 rmdir .tst 2>/dev/null
3470 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3471 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3472 # is not polluted with repeated "-I."
3473 am__isrc=' -I$(srcdir)'
3474 # test to see if srcdir already configured
3475 if test -f $srcdir/config.status; then
3476 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3480 # test whether we have cygpath
3481 if test -z "$CYGPATH_W"; then
3482 if (cygpath --version) >/dev/null 2>/dev/null; then
3483 CYGPATH_W='cygpath -w'
3484 else
3485 CYGPATH_W=echo
3490 # Define the identity of the package.
3491 PACKAGE='libstdc++'
3492 VERSION='version-unused'
3495 # Some tools Automake needs.
3497 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3500 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3503 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3506 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3509 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3511 # We need awk for the "check" target. The system "awk" is bad on
3512 # some platforms.
3513 # Always define AMTAR for backward compatibility.
3515 AMTAR=${AMTAR-"${am_missing_run}tar"}
3517 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3526 # -fno-builtin must be present here so that a non-conflicting form of
3527 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3529 save_CXXFLAGS="$CXXFLAGS"
3530 CXXFLAGS="$CXXFLAGS -fno-builtin"
3531 ac_ext=c
3532 ac_cpp='$CPP $CPPFLAGS'
3533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3536 if test -n "$ac_tool_prefix"; then
3537 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3538 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3540 $as_echo_n "checking for $ac_word... " >&6; }
3541 if test "${ac_cv_prog_CC+set}" = set; then :
3542 $as_echo_n "(cached) " >&6
3543 else
3544 if test -n "$CC"; then
3545 ac_cv_prog_CC="$CC" # Let the user override the test.
3546 else
3547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3548 for as_dir in $PATH
3550 IFS=$as_save_IFS
3551 test -z "$as_dir" && as_dir=.
3552 for ac_exec_ext in '' $ac_executable_extensions; do
3553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3554 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3556 break 2
3558 done
3559 done
3560 IFS=$as_save_IFS
3564 CC=$ac_cv_prog_CC
3565 if test -n "$CC"; then
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3567 $as_echo "$CC" >&6; }
3568 else
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3570 $as_echo "no" >&6; }
3575 if test -z "$ac_cv_prog_CC"; then
3576 ac_ct_CC=$CC
3577 # Extract the first word of "gcc", so it can be a program name with args.
3578 set dummy gcc; ac_word=$2
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3580 $as_echo_n "checking for $ac_word... " >&6; }
3581 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3582 $as_echo_n "(cached) " >&6
3583 else
3584 if test -n "$ac_ct_CC"; then
3585 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3586 else
3587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3588 for as_dir in $PATH
3590 IFS=$as_save_IFS
3591 test -z "$as_dir" && as_dir=.
3592 for ac_exec_ext in '' $ac_executable_extensions; do
3593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3594 ac_cv_prog_ac_ct_CC="gcc"
3595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3596 break 2
3598 done
3599 done
3600 IFS=$as_save_IFS
3604 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3605 if test -n "$ac_ct_CC"; then
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3607 $as_echo "$ac_ct_CC" >&6; }
3608 else
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3610 $as_echo "no" >&6; }
3613 if test "x$ac_ct_CC" = x; then
3614 CC=""
3615 else
3616 case $cross_compiling:$ac_tool_warned in
3617 yes:)
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3619 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3620 ac_tool_warned=yes ;;
3621 esac
3622 CC=$ac_ct_CC
3624 else
3625 CC="$ac_cv_prog_CC"
3628 if test -z "$CC"; then
3629 if test -n "$ac_tool_prefix"; then
3630 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3631 set dummy ${ac_tool_prefix}cc; ac_word=$2
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3633 $as_echo_n "checking for $ac_word... " >&6; }
3634 if test "${ac_cv_prog_CC+set}" = set; then :
3635 $as_echo_n "(cached) " >&6
3636 else
3637 if test -n "$CC"; then
3638 ac_cv_prog_CC="$CC" # Let the user override the test.
3639 else
3640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3641 for as_dir in $PATH
3643 IFS=$as_save_IFS
3644 test -z "$as_dir" && as_dir=.
3645 for ac_exec_ext in '' $ac_executable_extensions; do
3646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3647 ac_cv_prog_CC="${ac_tool_prefix}cc"
3648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3649 break 2
3651 done
3652 done
3653 IFS=$as_save_IFS
3657 CC=$ac_cv_prog_CC
3658 if test -n "$CC"; then
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3660 $as_echo "$CC" >&6; }
3661 else
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3663 $as_echo "no" >&6; }
3669 if test -z "$CC"; then
3670 # Extract the first word of "cc", so it can be a program name with args.
3671 set dummy cc; ac_word=$2
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3673 $as_echo_n "checking for $ac_word... " >&6; }
3674 if test "${ac_cv_prog_CC+set}" = set; then :
3675 $as_echo_n "(cached) " >&6
3676 else
3677 if test -n "$CC"; then
3678 ac_cv_prog_CC="$CC" # Let the user override the test.
3679 else
3680 ac_prog_rejected=no
3681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3682 for as_dir in $PATH
3684 IFS=$as_save_IFS
3685 test -z "$as_dir" && as_dir=.
3686 for ac_exec_ext in '' $ac_executable_extensions; do
3687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3688 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3689 ac_prog_rejected=yes
3690 continue
3692 ac_cv_prog_CC="cc"
3693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3694 break 2
3696 done
3697 done
3698 IFS=$as_save_IFS
3700 if test $ac_prog_rejected = yes; then
3701 # We found a bogon in the path, so make sure we never use it.
3702 set dummy $ac_cv_prog_CC
3703 shift
3704 if test $# != 0; then
3705 # We chose a different compiler from the bogus one.
3706 # However, it has the same basename, so the bogon will be chosen
3707 # first if we set CC to just the basename; use the full file name.
3708 shift
3709 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3714 CC=$ac_cv_prog_CC
3715 if test -n "$CC"; then
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3717 $as_echo "$CC" >&6; }
3718 else
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3720 $as_echo "no" >&6; }
3725 if test -z "$CC"; then
3726 if test -n "$ac_tool_prefix"; then
3727 for ac_prog in cl.exe
3729 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3730 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3732 $as_echo_n "checking for $ac_word... " >&6; }
3733 if test "${ac_cv_prog_CC+set}" = set; then :
3734 $as_echo_n "(cached) " >&6
3735 else
3736 if test -n "$CC"; then
3737 ac_cv_prog_CC="$CC" # Let the user override the test.
3738 else
3739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3740 for as_dir in $PATH
3742 IFS=$as_save_IFS
3743 test -z "$as_dir" && as_dir=.
3744 for ac_exec_ext in '' $ac_executable_extensions; do
3745 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3746 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3748 break 2
3750 done
3751 done
3752 IFS=$as_save_IFS
3756 CC=$ac_cv_prog_CC
3757 if test -n "$CC"; then
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3759 $as_echo "$CC" >&6; }
3760 else
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3762 $as_echo "no" >&6; }
3766 test -n "$CC" && break
3767 done
3769 if test -z "$CC"; then
3770 ac_ct_CC=$CC
3771 for ac_prog in cl.exe
3773 # Extract the first word of "$ac_prog", so it can be a program name with args.
3774 set dummy $ac_prog; ac_word=$2
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3776 $as_echo_n "checking for $ac_word... " >&6; }
3777 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3778 $as_echo_n "(cached) " >&6
3779 else
3780 if test -n "$ac_ct_CC"; then
3781 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3782 else
3783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3784 for as_dir in $PATH
3786 IFS=$as_save_IFS
3787 test -z "$as_dir" && as_dir=.
3788 for ac_exec_ext in '' $ac_executable_extensions; do
3789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3790 ac_cv_prog_ac_ct_CC="$ac_prog"
3791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3792 break 2
3794 done
3795 done
3796 IFS=$as_save_IFS
3800 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3801 if test -n "$ac_ct_CC"; then
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3803 $as_echo "$ac_ct_CC" >&6; }
3804 else
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3806 $as_echo "no" >&6; }
3810 test -n "$ac_ct_CC" && break
3811 done
3813 if test "x$ac_ct_CC" = x; then
3814 CC=""
3815 else
3816 case $cross_compiling:$ac_tool_warned in
3817 yes:)
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3819 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3820 ac_tool_warned=yes ;;
3821 esac
3822 CC=$ac_ct_CC
3829 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3830 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3831 as_fn_error "no acceptable C compiler found in \$PATH
3832 See \`config.log' for more details." "$LINENO" 5; }
3834 # Provide some information about the compiler.
3835 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3836 set X $ac_compile
3837 ac_compiler=$2
3838 for ac_option in --version -v -V -qversion; do
3839 { { ac_try="$ac_compiler $ac_option >&5"
3840 case "(($ac_try" in
3841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3842 *) ac_try_echo=$ac_try;;
3843 esac
3844 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3845 $as_echo "$ac_try_echo"; } >&5
3846 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3847 ac_status=$?
3848 if test -s conftest.err; then
3849 sed '10a\
3850 ... rest of stderr output deleted ...
3851 10q' conftest.err >conftest.er1
3852 cat conftest.er1 >&5
3853 rm -f conftest.er1 conftest.err
3855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3856 test $ac_status = 0; }
3857 done
3859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3860 /* end confdefs.h. */
3863 main ()
3867 return 0;
3869 _ACEOF
3870 # FIXME: Cleanup?
3871 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3872 (eval $ac_link) 2>&5
3873 ac_status=$?
3874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3875 test $ac_status = 0; }; then :
3876 gcc_no_link=no
3877 else
3878 gcc_no_link=yes
3880 if test x$gcc_no_link = xyes; then
3881 # Setting cross_compile will disable run tests; it will
3882 # also disable AC_CHECK_FILE but that's generally
3883 # correct if we can't link.
3884 cross_compiling=yes
3885 EXEEXT=
3886 else
3887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3888 /* end confdefs.h. */
3891 main ()
3895 return 0;
3897 _ACEOF
3898 ac_clean_files_save=$ac_clean_files
3899 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3900 # Try to create an executable without -o first, disregard a.out.
3901 # It will help us diagnose broken compilers, and finding out an intuition
3902 # of exeext.
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3904 $as_echo_n "checking for C compiler default output file name... " >&6; }
3905 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3907 # The possible output files:
3908 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3910 ac_rmfiles=
3911 for ac_file in $ac_files
3913 case $ac_file in
3914 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3915 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3916 esac
3917 done
3918 rm -f $ac_rmfiles
3920 if { { ac_try="$ac_link_default"
3921 case "(($ac_try" in
3922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3923 *) ac_try_echo=$ac_try;;
3924 esac
3925 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3926 $as_echo "$ac_try_echo"; } >&5
3927 (eval "$ac_link_default") 2>&5
3928 ac_status=$?
3929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3930 test $ac_status = 0; }; then :
3931 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3932 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3933 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3934 # so that the user can short-circuit this test for compilers unknown to
3935 # Autoconf.
3936 for ac_file in $ac_files ''
3938 test -f "$ac_file" || continue
3939 case $ac_file in
3940 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3942 [ab].out )
3943 # We found the default executable, but exeext='' is most
3944 # certainly right.
3945 break;;
3946 *.* )
3947 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3948 then :; else
3949 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3951 # We set ac_cv_exeext here because the later test for it is not
3952 # safe: cross compilers may not add the suffix if given an `-o'
3953 # argument, so we may need to know it at that point already.
3954 # Even if this section looks crufty: it has the advantage of
3955 # actually working.
3956 break;;
3958 break;;
3959 esac
3960 done
3961 test "$ac_cv_exeext" = no && ac_cv_exeext=
3963 else
3964 ac_file=''
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3967 $as_echo "$ac_file" >&6; }
3968 if test -z "$ac_file"; then :
3969 $as_echo "$as_me: failed program was:" >&5
3970 sed 's/^/| /' conftest.$ac_ext >&5
3972 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3973 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3974 { as_fn_set_status 77
3975 as_fn_error "C compiler cannot create executables
3976 See \`config.log' for more details." "$LINENO" 5; }; }
3978 ac_exeext=$ac_cv_exeext
3980 # Check that the compiler produces executables we can run. If not, either
3981 # the compiler is broken, or we cross compile.
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3983 $as_echo_n "checking whether the C compiler works... " >&6; }
3984 # If not cross compiling, check that we can run a simple program.
3985 if test "$cross_compiling" != yes; then
3986 if { ac_try='./$ac_file'
3987 { { case "(($ac_try" in
3988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3989 *) ac_try_echo=$ac_try;;
3990 esac
3991 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3992 $as_echo "$ac_try_echo"; } >&5
3993 (eval "$ac_try") 2>&5
3994 ac_status=$?
3995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3996 test $ac_status = 0; }; }; then
3997 cross_compiling=no
3998 else
3999 if test "$cross_compiling" = maybe; then
4000 cross_compiling=yes
4001 else
4002 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4003 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4004 as_fn_error "cannot run C compiled programs.
4005 If you meant to cross compile, use \`--host'.
4006 See \`config.log' for more details." "$LINENO" 5; }
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4011 $as_echo "yes" >&6; }
4013 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4014 ac_clean_files=$ac_clean_files_save
4015 # Check that the compiler produces executables we can run. If not, either
4016 # the compiler is broken, or we cross compile.
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4018 $as_echo_n "checking whether we are cross compiling... " >&6; }
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4020 $as_echo "$cross_compiling" >&6; }
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4023 $as_echo_n "checking for suffix of executables... " >&6; }
4024 if { { ac_try="$ac_link"
4025 case "(($ac_try" in
4026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4027 *) ac_try_echo=$ac_try;;
4028 esac
4029 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4030 $as_echo "$ac_try_echo"; } >&5
4031 (eval "$ac_link") 2>&5
4032 ac_status=$?
4033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4034 test $ac_status = 0; }; then :
4035 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4036 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4037 # work properly (i.e., refer to `conftest.exe'), while it won't with
4038 # `rm'.
4039 for ac_file in conftest.exe conftest conftest.*; do
4040 test -f "$ac_file" || continue
4041 case $ac_file in
4042 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4043 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4044 break;;
4045 * ) break;;
4046 esac
4047 done
4048 else
4049 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4050 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4051 as_fn_error "cannot compute suffix of executables: cannot compile and link
4052 See \`config.log' for more details." "$LINENO" 5; }
4054 rm -f conftest$ac_cv_exeext
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4056 $as_echo "$ac_cv_exeext" >&6; }
4058 rm -f conftest.$ac_ext
4059 EXEEXT=$ac_cv_exeext
4060 ac_exeext=$EXEEXT
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4063 $as_echo_n "checking for suffix of object files... " >&6; }
4064 if test "${ac_cv_objext+set}" = set; then :
4065 $as_echo_n "(cached) " >&6
4066 else
4067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4068 /* end confdefs.h. */
4071 main ()
4075 return 0;
4077 _ACEOF
4078 rm -f conftest.o conftest.obj
4079 if { { ac_try="$ac_compile"
4080 case "(($ac_try" in
4081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4082 *) ac_try_echo=$ac_try;;
4083 esac
4084 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4085 $as_echo "$ac_try_echo"; } >&5
4086 (eval "$ac_compile") 2>&5
4087 ac_status=$?
4088 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4089 test $ac_status = 0; }; then :
4090 for ac_file in conftest.o conftest.obj conftest.*; do
4091 test -f "$ac_file" || continue;
4092 case $ac_file in
4093 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4094 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4095 break;;
4096 esac
4097 done
4098 else
4099 $as_echo "$as_me: failed program was:" >&5
4100 sed 's/^/| /' conftest.$ac_ext >&5
4102 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4103 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4104 as_fn_error "cannot compute suffix of object files: cannot compile
4105 See \`config.log' for more details." "$LINENO" 5; }
4107 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4110 $as_echo "$ac_cv_objext" >&6; }
4111 OBJEXT=$ac_cv_objext
4112 ac_objext=$OBJEXT
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4114 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4115 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4116 $as_echo_n "(cached) " >&6
4117 else
4118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4119 /* end confdefs.h. */
4122 main ()
4124 #ifndef __GNUC__
4125 choke me
4126 #endif
4129 return 0;
4131 _ACEOF
4132 if ac_fn_c_try_compile "$LINENO"; then :
4133 ac_compiler_gnu=yes
4134 else
4135 ac_compiler_gnu=no
4137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4138 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4142 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4143 if test $ac_compiler_gnu = yes; then
4144 GCC=yes
4145 else
4146 GCC=
4148 ac_test_CFLAGS=${CFLAGS+set}
4149 ac_save_CFLAGS=$CFLAGS
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4151 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4152 if test "${ac_cv_prog_cc_g+set}" = set; then :
4153 $as_echo_n "(cached) " >&6
4154 else
4155 ac_save_c_werror_flag=$ac_c_werror_flag
4156 ac_c_werror_flag=yes
4157 ac_cv_prog_cc_g=no
4158 CFLAGS="-g"
4159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4160 /* end confdefs.h. */
4163 main ()
4167 return 0;
4169 _ACEOF
4170 if ac_fn_c_try_compile "$LINENO"; then :
4171 ac_cv_prog_cc_g=yes
4172 else
4173 CFLAGS=""
4174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4175 /* end confdefs.h. */
4178 main ()
4182 return 0;
4184 _ACEOF
4185 if ac_fn_c_try_compile "$LINENO"; then :
4187 else
4188 ac_c_werror_flag=$ac_save_c_werror_flag
4189 CFLAGS="-g"
4190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4191 /* end confdefs.h. */
4194 main ()
4198 return 0;
4200 _ACEOF
4201 if ac_fn_c_try_compile "$LINENO"; then :
4202 ac_cv_prog_cc_g=yes
4204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4209 ac_c_werror_flag=$ac_save_c_werror_flag
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4212 $as_echo "$ac_cv_prog_cc_g" >&6; }
4213 if test "$ac_test_CFLAGS" = set; then
4214 CFLAGS=$ac_save_CFLAGS
4215 elif test $ac_cv_prog_cc_g = yes; then
4216 if test "$GCC" = yes; then
4217 CFLAGS="-g -O2"
4218 else
4219 CFLAGS="-g"
4221 else
4222 if test "$GCC" = yes; then
4223 CFLAGS="-O2"
4224 else
4225 CFLAGS=
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4229 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4230 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4231 $as_echo_n "(cached) " >&6
4232 else
4233 ac_cv_prog_cc_c89=no
4234 ac_save_CC=$CC
4235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4236 /* end confdefs.h. */
4237 #include <stdarg.h>
4238 #include <stdio.h>
4239 #include <sys/types.h>
4240 #include <sys/stat.h>
4241 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4242 struct buf { int x; };
4243 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4244 static char *e (p, i)
4245 char **p;
4246 int i;
4248 return p[i];
4250 static char *f (char * (*g) (char **, int), char **p, ...)
4252 char *s;
4253 va_list v;
4254 va_start (v,p);
4255 s = g (p, va_arg (v,int));
4256 va_end (v);
4257 return s;
4260 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4261 function prototypes and stuff, but not '\xHH' hex character constants.
4262 These don't provoke an error unfortunately, instead are silently treated
4263 as 'x'. The following induces an error, until -std is added to get
4264 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4265 array size at least. It's necessary to write '\x00'==0 to get something
4266 that's true only with -std. */
4267 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4269 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4270 inside strings and character constants. */
4271 #define FOO(x) 'x'
4272 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4274 int test (int i, double x);
4275 struct s1 {int (*f) (int a);};
4276 struct s2 {int (*f) (double a);};
4277 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4278 int argc;
4279 char **argv;
4281 main ()
4283 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4285 return 0;
4287 _ACEOF
4288 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4289 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4291 CC="$ac_save_CC $ac_arg"
4292 if ac_fn_c_try_compile "$LINENO"; then :
4293 ac_cv_prog_cc_c89=$ac_arg
4295 rm -f core conftest.err conftest.$ac_objext
4296 test "x$ac_cv_prog_cc_c89" != "xno" && break
4297 done
4298 rm -f conftest.$ac_ext
4299 CC=$ac_save_CC
4302 # AC_CACHE_VAL
4303 case "x$ac_cv_prog_cc_c89" in
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4306 $as_echo "none needed" >&6; } ;;
4307 xno)
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4309 $as_echo "unsupported" >&6; } ;;
4311 CC="$CC $ac_cv_prog_cc_c89"
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4313 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4314 esac
4315 if test "x$ac_cv_prog_cc_c89" != xno; then :
4319 ac_ext=c
4320 ac_cpp='$CPP $CPPFLAGS'
4321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4325 ac_ext=cpp
4326 ac_cpp='$CXXCPP $CPPFLAGS'
4327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4330 if test -z "$CXX"; then
4331 if test -n "$CCC"; then
4332 CXX=$CCC
4333 else
4334 if test -n "$ac_tool_prefix"; then
4335 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4337 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4338 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4340 $as_echo_n "checking for $ac_word... " >&6; }
4341 if test "${ac_cv_prog_CXX+set}" = set; then :
4342 $as_echo_n "(cached) " >&6
4343 else
4344 if test -n "$CXX"; then
4345 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4346 else
4347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4348 for as_dir in $PATH
4350 IFS=$as_save_IFS
4351 test -z "$as_dir" && as_dir=.
4352 for ac_exec_ext in '' $ac_executable_extensions; do
4353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4354 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4356 break 2
4358 done
4359 done
4360 IFS=$as_save_IFS
4364 CXX=$ac_cv_prog_CXX
4365 if test -n "$CXX"; then
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4367 $as_echo "$CXX" >&6; }
4368 else
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4370 $as_echo "no" >&6; }
4374 test -n "$CXX" && break
4375 done
4377 if test -z "$CXX"; then
4378 ac_ct_CXX=$CXX
4379 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4381 # Extract the first word of "$ac_prog", so it can be a program name with args.
4382 set dummy $ac_prog; ac_word=$2
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4384 $as_echo_n "checking for $ac_word... " >&6; }
4385 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4386 $as_echo_n "(cached) " >&6
4387 else
4388 if test -n "$ac_ct_CXX"; then
4389 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4390 else
4391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4392 for as_dir in $PATH
4394 IFS=$as_save_IFS
4395 test -z "$as_dir" && as_dir=.
4396 for ac_exec_ext in '' $ac_executable_extensions; do
4397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4398 ac_cv_prog_ac_ct_CXX="$ac_prog"
4399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4400 break 2
4402 done
4403 done
4404 IFS=$as_save_IFS
4408 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4409 if test -n "$ac_ct_CXX"; then
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4411 $as_echo "$ac_ct_CXX" >&6; }
4412 else
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4414 $as_echo "no" >&6; }
4418 test -n "$ac_ct_CXX" && break
4419 done
4421 if test "x$ac_ct_CXX" = x; then
4422 CXX="g++"
4423 else
4424 case $cross_compiling:$ac_tool_warned in
4425 yes:)
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4427 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4428 ac_tool_warned=yes ;;
4429 esac
4430 CXX=$ac_ct_CXX
4436 # Provide some information about the compiler.
4437 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4438 set X $ac_compile
4439 ac_compiler=$2
4440 for ac_option in --version -v -V -qversion; do
4441 { { ac_try="$ac_compiler $ac_option >&5"
4442 case "(($ac_try" in
4443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4444 *) ac_try_echo=$ac_try;;
4445 esac
4446 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4447 $as_echo "$ac_try_echo"; } >&5
4448 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4449 ac_status=$?
4450 if test -s conftest.err; then
4451 sed '10a\
4452 ... rest of stderr output deleted ...
4453 10q' conftest.err >conftest.er1
4454 cat conftest.er1 >&5
4455 rm -f conftest.er1 conftest.err
4457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4458 test $ac_status = 0; }
4459 done
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4462 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4463 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4464 $as_echo_n "(cached) " >&6
4465 else
4466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4467 /* end confdefs.h. */
4470 main ()
4472 #ifndef __GNUC__
4473 choke me
4474 #endif
4477 return 0;
4479 _ACEOF
4480 if ac_fn_cxx_try_compile "$LINENO"; then :
4481 ac_compiler_gnu=yes
4482 else
4483 ac_compiler_gnu=no
4485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4486 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4490 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4491 if test $ac_compiler_gnu = yes; then
4492 GXX=yes
4493 else
4494 GXX=
4496 ac_test_CXXFLAGS=${CXXFLAGS+set}
4497 ac_save_CXXFLAGS=$CXXFLAGS
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4499 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4500 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4501 $as_echo_n "(cached) " >&6
4502 else
4503 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4504 ac_cxx_werror_flag=yes
4505 ac_cv_prog_cxx_g=no
4506 CXXFLAGS="-g"
4507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4508 /* end confdefs.h. */
4511 main ()
4515 return 0;
4517 _ACEOF
4518 if ac_fn_cxx_try_compile "$LINENO"; then :
4519 ac_cv_prog_cxx_g=yes
4520 else
4521 CXXFLAGS=""
4522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4523 /* end confdefs.h. */
4526 main ()
4530 return 0;
4532 _ACEOF
4533 if ac_fn_cxx_try_compile "$LINENO"; then :
4535 else
4536 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4537 CXXFLAGS="-g"
4538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4539 /* end confdefs.h. */
4542 main ()
4546 return 0;
4548 _ACEOF
4549 if ac_fn_cxx_try_compile "$LINENO"; then :
4550 ac_cv_prog_cxx_g=yes
4552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4557 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4560 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4561 if test "$ac_test_CXXFLAGS" = set; then
4562 CXXFLAGS=$ac_save_CXXFLAGS
4563 elif test $ac_cv_prog_cxx_g = yes; then
4564 if test "$GXX" = yes; then
4565 CXXFLAGS="-g -O2"
4566 else
4567 CXXFLAGS="-g"
4569 else
4570 if test "$GXX" = yes; then
4571 CXXFLAGS="-O2"
4572 else
4573 CXXFLAGS=
4576 ac_ext=c
4577 ac_cpp='$CPP $CPPFLAGS'
4578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4582 CXXFLAGS="$save_CXXFLAGS"
4584 # Runs configure.host, and assorted other critical bits. Sets
4585 # up critical shell variables.
4587 ac_ext=c
4588 ac_cpp='$CPP $CPPFLAGS'
4589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4593 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4594 # On Suns, sometimes $CPP names a directory.
4595 if test -n "$CPP" && test -d "$CPP"; then
4596 CPP=
4598 if test -z "$CPP"; then
4599 if test "${ac_cv_prog_CPP+set}" = set; then :
4600 $as_echo_n "(cached) " >&6
4601 else
4602 # Double quotes because CPP needs to be expanded
4603 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4605 ac_preproc_ok=false
4606 for ac_c_preproc_warn_flag in '' yes
4608 # Use a header file that comes with gcc, so configuring glibc
4609 # with a fresh cross-compiler works.
4610 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4611 # <limits.h> exists even on freestanding compilers.
4612 # On the NeXT, cc -E runs the code through the compiler's parser,
4613 # not just through cpp. "Syntax error" is here to catch this case.
4614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4615 /* end confdefs.h. */
4616 #ifdef __STDC__
4617 # include <limits.h>
4618 #else
4619 # include <assert.h>
4620 #endif
4621 Syntax error
4622 _ACEOF
4623 if ac_fn_c_try_cpp "$LINENO"; then :
4625 else
4626 # Broken: fails on valid input.
4627 continue
4629 rm -f conftest.err conftest.$ac_ext
4631 # OK, works on sane cases. Now check whether nonexistent headers
4632 # can be detected and how.
4633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4634 /* end confdefs.h. */
4635 #include <ac_nonexistent.h>
4636 _ACEOF
4637 if ac_fn_c_try_cpp "$LINENO"; then :
4638 # Broken: success on invalid input.
4639 continue
4640 else
4641 # Passes both tests.
4642 ac_preproc_ok=:
4643 break
4645 rm -f conftest.err conftest.$ac_ext
4647 done
4648 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4649 rm -f conftest.err conftest.$ac_ext
4650 if $ac_preproc_ok; then :
4651 break
4654 done
4655 ac_cv_prog_CPP=$CPP
4658 CPP=$ac_cv_prog_CPP
4659 else
4660 ac_cv_prog_CPP=$CPP
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4663 $as_echo "$CPP" >&6; }
4664 ac_preproc_ok=false
4665 for ac_c_preproc_warn_flag in '' yes
4667 # Use a header file that comes with gcc, so configuring glibc
4668 # with a fresh cross-compiler works.
4669 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4670 # <limits.h> exists even on freestanding compilers.
4671 # On the NeXT, cc -E runs the code through the compiler's parser,
4672 # not just through cpp. "Syntax error" is here to catch this case.
4673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4674 /* end confdefs.h. */
4675 #ifdef __STDC__
4676 # include <limits.h>
4677 #else
4678 # include <assert.h>
4679 #endif
4680 Syntax error
4681 _ACEOF
4682 if ac_fn_c_try_cpp "$LINENO"; then :
4684 else
4685 # Broken: fails on valid input.
4686 continue
4688 rm -f conftest.err conftest.$ac_ext
4690 # OK, works on sane cases. Now check whether nonexistent headers
4691 # can be detected and how.
4692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4693 /* end confdefs.h. */
4694 #include <ac_nonexistent.h>
4695 _ACEOF
4696 if ac_fn_c_try_cpp "$LINENO"; then :
4697 # Broken: success on invalid input.
4698 continue
4699 else
4700 # Passes both tests.
4701 ac_preproc_ok=:
4702 break
4704 rm -f conftest.err conftest.$ac_ext
4706 done
4707 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4708 rm -f conftest.err conftest.$ac_ext
4709 if $ac_preproc_ok; then :
4711 else
4712 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4713 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4714 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4715 See \`config.log' for more details." "$LINENO" 5; }
4718 ac_ext=c
4719 ac_cpp='$CPP $CPPFLAGS'
4720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4726 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4727 if test "${ac_cv_path_GREP+set}" = set; then :
4728 $as_echo_n "(cached) " >&6
4729 else
4730 if test -z "$GREP"; then
4731 ac_path_GREP_found=false
4732 # Loop through the user's path and test for each of PROGNAME-LIST
4733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4734 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4736 IFS=$as_save_IFS
4737 test -z "$as_dir" && as_dir=.
4738 for ac_prog in grep ggrep; do
4739 for ac_exec_ext in '' $ac_executable_extensions; do
4740 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4741 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4742 # Check for GNU ac_path_GREP and select it if it is found.
4743 # Check for GNU $ac_path_GREP
4744 case `"$ac_path_GREP" --version 2>&1` in
4745 *GNU*)
4746 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4748 ac_count=0
4749 $as_echo_n 0123456789 >"conftest.in"
4750 while :
4752 cat "conftest.in" "conftest.in" >"conftest.tmp"
4753 mv "conftest.tmp" "conftest.in"
4754 cp "conftest.in" "conftest.nl"
4755 $as_echo 'GREP' >> "conftest.nl"
4756 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4757 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4758 as_fn_arith $ac_count + 1 && ac_count=$as_val
4759 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4760 # Best one so far, save it but keep looking for a better one
4761 ac_cv_path_GREP="$ac_path_GREP"
4762 ac_path_GREP_max=$ac_count
4764 # 10*(2^10) chars as input seems more than enough
4765 test $ac_count -gt 10 && break
4766 done
4767 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4768 esac
4770 $ac_path_GREP_found && break 3
4771 done
4772 done
4773 done
4774 IFS=$as_save_IFS
4775 if test -z "$ac_cv_path_GREP"; then
4776 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4778 else
4779 ac_cv_path_GREP=$GREP
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4784 $as_echo "$ac_cv_path_GREP" >&6; }
4785 GREP="$ac_cv_path_GREP"
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4789 $as_echo_n "checking for egrep... " >&6; }
4790 if test "${ac_cv_path_EGREP+set}" = set; then :
4791 $as_echo_n "(cached) " >&6
4792 else
4793 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4794 then ac_cv_path_EGREP="$GREP -E"
4795 else
4796 if test -z "$EGREP"; then
4797 ac_path_EGREP_found=false
4798 # Loop through the user's path and test for each of PROGNAME-LIST
4799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4800 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4802 IFS=$as_save_IFS
4803 test -z "$as_dir" && as_dir=.
4804 for ac_prog in egrep; do
4805 for ac_exec_ext in '' $ac_executable_extensions; do
4806 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4807 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4808 # Check for GNU ac_path_EGREP and select it if it is found.
4809 # Check for GNU $ac_path_EGREP
4810 case `"$ac_path_EGREP" --version 2>&1` in
4811 *GNU*)
4812 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4814 ac_count=0
4815 $as_echo_n 0123456789 >"conftest.in"
4816 while :
4818 cat "conftest.in" "conftest.in" >"conftest.tmp"
4819 mv "conftest.tmp" "conftest.in"
4820 cp "conftest.in" "conftest.nl"
4821 $as_echo 'EGREP' >> "conftest.nl"
4822 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4823 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4824 as_fn_arith $ac_count + 1 && ac_count=$as_val
4825 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4826 # Best one so far, save it but keep looking for a better one
4827 ac_cv_path_EGREP="$ac_path_EGREP"
4828 ac_path_EGREP_max=$ac_count
4830 # 10*(2^10) chars as input seems more than enough
4831 test $ac_count -gt 10 && break
4832 done
4833 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4834 esac
4836 $ac_path_EGREP_found && break 3
4837 done
4838 done
4839 done
4840 IFS=$as_save_IFS
4841 if test -z "$ac_cv_path_EGREP"; then
4842 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4844 else
4845 ac_cv_path_EGREP=$EGREP
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4851 $as_echo "$ac_cv_path_EGREP" >&6; }
4852 EGREP="$ac_cv_path_EGREP"
4856 # Keep these sync'd with the list in Makefile.am. The first provides an
4857 # expandable list at autoconf time; the second provides an expandable list
4858 # (i.e., shell variable) at configure time.
4860 SUBDIRS='include libsupc++ python src doc po testsuite'
4862 # These need to be absolute paths, yet at the same time need to
4863 # canonicalize only relative paths, because then amd will not unmount
4864 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4865 glibcxx_builddir=`${PWDCMD-pwd}`
4866 case $srcdir in
4867 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4868 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4869 esac
4870 toplevel_srcdir=${glibcxx_srcdir}/..
4875 # We use these options to decide which functions to include. They are
4876 # set from the top level.
4878 # Check whether --with-target-subdir was given.
4879 if test "${with_target_subdir+set}" = set; then :
4880 withval=$with_target_subdir;
4885 # Check whether --with-cross-host was given.
4886 if test "${with_cross_host+set}" = set; then :
4887 withval=$with_cross_host;
4892 # Check whether --with-newlib was given.
4893 if test "${with_newlib+set}" = set; then :
4894 withval=$with_newlib;
4898 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4899 # available). Uncomment the next line to force a particular method.
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4901 $as_echo_n "checking whether ln -s works... " >&6; }
4902 LN_S=$as_ln_s
4903 if test "$LN_S" = "ln -s"; then
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4905 $as_echo "yes" >&6; }
4906 else
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4908 $as_echo "no, using $LN_S" >&6; }
4911 #LN_S='cp -p'
4913 if test -n "$ac_tool_prefix"; then
4914 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4915 set dummy ${ac_tool_prefix}as; ac_word=$2
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4917 $as_echo_n "checking for $ac_word... " >&6; }
4918 if test "${ac_cv_prog_AS+set}" = set; then :
4919 $as_echo_n "(cached) " >&6
4920 else
4921 if test -n "$AS"; then
4922 ac_cv_prog_AS="$AS" # Let the user override the test.
4923 else
4924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4925 for as_dir in $PATH
4927 IFS=$as_save_IFS
4928 test -z "$as_dir" && as_dir=.
4929 for ac_exec_ext in '' $ac_executable_extensions; do
4930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4931 ac_cv_prog_AS="${ac_tool_prefix}as"
4932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4933 break 2
4935 done
4936 done
4937 IFS=$as_save_IFS
4941 AS=$ac_cv_prog_AS
4942 if test -n "$AS"; then
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4944 $as_echo "$AS" >&6; }
4945 else
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4947 $as_echo "no" >&6; }
4952 if test -z "$ac_cv_prog_AS"; then
4953 ac_ct_AS=$AS
4954 # Extract the first word of "as", so it can be a program name with args.
4955 set dummy as; ac_word=$2
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4957 $as_echo_n "checking for $ac_word... " >&6; }
4958 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4959 $as_echo_n "(cached) " >&6
4960 else
4961 if test -n "$ac_ct_AS"; then
4962 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4963 else
4964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4965 for as_dir in $PATH
4967 IFS=$as_save_IFS
4968 test -z "$as_dir" && as_dir=.
4969 for ac_exec_ext in '' $ac_executable_extensions; do
4970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4971 ac_cv_prog_ac_ct_AS="as"
4972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4973 break 2
4975 done
4976 done
4977 IFS=$as_save_IFS
4981 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4982 if test -n "$ac_ct_AS"; then
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4984 $as_echo "$ac_ct_AS" >&6; }
4985 else
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4987 $as_echo "no" >&6; }
4990 if test "x$ac_ct_AS" = x; then
4991 AS=""
4992 else
4993 case $cross_compiling:$ac_tool_warned in
4994 yes:)
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4996 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4997 ac_tool_warned=yes ;;
4998 esac
4999 AS=$ac_ct_AS
5001 else
5002 AS="$ac_cv_prog_AS"
5005 if test -n "$ac_tool_prefix"; then
5006 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5007 set dummy ${ac_tool_prefix}ar; ac_word=$2
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5009 $as_echo_n "checking for $ac_word... " >&6; }
5010 if test "${ac_cv_prog_AR+set}" = set; then :
5011 $as_echo_n "(cached) " >&6
5012 else
5013 if test -n "$AR"; then
5014 ac_cv_prog_AR="$AR" # Let the user override the test.
5015 else
5016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5017 for as_dir in $PATH
5019 IFS=$as_save_IFS
5020 test -z "$as_dir" && as_dir=.
5021 for ac_exec_ext in '' $ac_executable_extensions; do
5022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5023 ac_cv_prog_AR="${ac_tool_prefix}ar"
5024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5025 break 2
5027 done
5028 done
5029 IFS=$as_save_IFS
5033 AR=$ac_cv_prog_AR
5034 if test -n "$AR"; then
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5036 $as_echo "$AR" >&6; }
5037 else
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5039 $as_echo "no" >&6; }
5044 if test -z "$ac_cv_prog_AR"; then
5045 ac_ct_AR=$AR
5046 # Extract the first word of "ar", so it can be a program name with args.
5047 set dummy ar; ac_word=$2
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5049 $as_echo_n "checking for $ac_word... " >&6; }
5050 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5051 $as_echo_n "(cached) " >&6
5052 else
5053 if test -n "$ac_ct_AR"; then
5054 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5055 else
5056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5057 for as_dir in $PATH
5059 IFS=$as_save_IFS
5060 test -z "$as_dir" && as_dir=.
5061 for ac_exec_ext in '' $ac_executable_extensions; do
5062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5063 ac_cv_prog_ac_ct_AR="ar"
5064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5065 break 2
5067 done
5068 done
5069 IFS=$as_save_IFS
5073 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5074 if test -n "$ac_ct_AR"; then
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5076 $as_echo "$ac_ct_AR" >&6; }
5077 else
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5079 $as_echo "no" >&6; }
5082 if test "x$ac_ct_AR" = x; then
5083 AR=""
5084 else
5085 case $cross_compiling:$ac_tool_warned in
5086 yes:)
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5088 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5089 ac_tool_warned=yes ;;
5090 esac
5091 AR=$ac_ct_AR
5093 else
5094 AR="$ac_cv_prog_AR"
5097 if test -n "$ac_tool_prefix"; then
5098 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5099 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5101 $as_echo_n "checking for $ac_word... " >&6; }
5102 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5103 $as_echo_n "(cached) " >&6
5104 else
5105 if test -n "$RANLIB"; then
5106 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5107 else
5108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5109 for as_dir in $PATH
5111 IFS=$as_save_IFS
5112 test -z "$as_dir" && as_dir=.
5113 for ac_exec_ext in '' $ac_executable_extensions; do
5114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5115 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5117 break 2
5119 done
5120 done
5121 IFS=$as_save_IFS
5125 RANLIB=$ac_cv_prog_RANLIB
5126 if test -n "$RANLIB"; then
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5128 $as_echo "$RANLIB" >&6; }
5129 else
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5131 $as_echo "no" >&6; }
5136 if test -z "$ac_cv_prog_RANLIB"; then
5137 ac_ct_RANLIB=$RANLIB
5138 # Extract the first word of "ranlib", so it can be a program name with args.
5139 set dummy ranlib; ac_word=$2
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5141 $as_echo_n "checking for $ac_word... " >&6; }
5142 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5143 $as_echo_n "(cached) " >&6
5144 else
5145 if test -n "$ac_ct_RANLIB"; then
5146 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5147 else
5148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5149 for as_dir in $PATH
5151 IFS=$as_save_IFS
5152 test -z "$as_dir" && as_dir=.
5153 for ac_exec_ext in '' $ac_executable_extensions; do
5154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5155 ac_cv_prog_ac_ct_RANLIB="ranlib"
5156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5157 break 2
5159 done
5160 done
5161 IFS=$as_save_IFS
5165 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5166 if test -n "$ac_ct_RANLIB"; then
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5168 $as_echo "$ac_ct_RANLIB" >&6; }
5169 else
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5171 $as_echo "no" >&6; }
5174 if test "x$ac_ct_RANLIB" = x; then
5175 RANLIB="ranlib-not-found-in-path-error"
5176 else
5177 case $cross_compiling:$ac_tool_warned in
5178 yes:)
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5180 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5181 ac_tool_warned=yes ;;
5182 esac
5183 RANLIB=$ac_ct_RANLIB
5185 else
5186 RANLIB="$ac_cv_prog_RANLIB"
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5192 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5193 # Check whether --enable-maintainer-mode was given.
5194 if test "${enable_maintainer_mode+set}" = set; then :
5195 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5196 else
5197 USE_MAINTAINER_MODE=no
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5201 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5202 if test $USE_MAINTAINER_MODE = yes; then
5203 MAINTAINER_MODE_TRUE=
5204 MAINTAINER_MODE_FALSE='#'
5205 else
5206 MAINTAINER_MODE_TRUE='#'
5207 MAINTAINER_MODE_FALSE=
5210 MAINT=$MAINTAINER_MODE_TRUE
5214 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5215 # which are themselves conditionally expanded.
5216 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5217 ## other macros from doing the same. This should be automated.) -pme
5219 # Check for C library flavor since Linux platforms use different configuration
5220 # directories depending on the C library in use.
5221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5222 /* end confdefs.h. */
5224 #include <stdio.h>
5225 #if __UCLIBC__
5226 _using_uclibc
5227 #endif
5229 _ACEOF
5230 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5231 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5232 uclibc=yes
5233 else
5234 uclibc=no
5236 rm -f conftest*
5239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5240 /* end confdefs.h. */
5242 #include <stdio.h>
5243 #if __BIONIC__
5244 _using_bionic
5245 #endif
5247 _ACEOF
5248 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5249 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5250 bionic=yes
5251 else
5252 bionic=no
5254 rm -f conftest*
5257 # Find platform-specific directories containing configuration info.
5258 # Also possibly modify flags used elsewhere, as needed by the platform.
5260 . $glibcxx_srcdir/configure.host
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5262 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5264 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5268 if test "x${with_newlib}" != "xyes"; then
5269 enable_dlopen=yes
5274 case `pwd` in
5275 *\ * | *\ *)
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5277 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5278 esac
5282 macro_version='2.2.7a'
5283 macro_revision='1.3134'
5297 ltmain="$ac_aux_dir/ltmain.sh"
5299 # Backslashify metacharacters that are still active within
5300 # double-quoted strings.
5301 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5303 # Same as above, but do not quote variable references.
5304 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5306 # Sed substitution to delay expansion of an escaped shell variable in a
5307 # double_quote_subst'ed string.
5308 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5310 # Sed substitution to delay expansion of an escaped single quote.
5311 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5313 # Sed substitution to avoid accidental globbing in evaled expressions
5314 no_glob_subst='s/\*/\\\*/g'
5316 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5317 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5318 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5321 $as_echo_n "checking how to print strings... " >&6; }
5322 # Test print first, because it will be a builtin if present.
5323 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5324 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5325 ECHO='print -r --'
5326 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5327 ECHO='printf %s\n'
5328 else
5329 # Use this function as a fallback that always works.
5330 func_fallback_echo ()
5332 eval 'cat <<_LTECHO_EOF
5334 _LTECHO_EOF'
5336 ECHO='func_fallback_echo'
5339 # func_echo_all arg...
5340 # Invoke $ECHO with all args, space-separated.
5341 func_echo_all ()
5343 $ECHO ""
5346 case "$ECHO" in
5347 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5348 $as_echo "printf" >&6; } ;;
5349 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5350 $as_echo "print -r" >&6; } ;;
5351 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5352 $as_echo "cat" >&6; } ;;
5353 esac
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5369 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5370 if test "${ac_cv_path_SED+set}" = set; then :
5371 $as_echo_n "(cached) " >&6
5372 else
5373 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5374 for ac_i in 1 2 3 4 5 6 7; do
5375 ac_script="$ac_script$as_nl$ac_script"
5376 done
5377 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5378 { ac_script=; unset ac_script;}
5379 if test -z "$SED"; then
5380 ac_path_SED_found=false
5381 # Loop through the user's path and test for each of PROGNAME-LIST
5382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5383 for as_dir in $PATH
5385 IFS=$as_save_IFS
5386 test -z "$as_dir" && as_dir=.
5387 for ac_prog in sed gsed; do
5388 for ac_exec_ext in '' $ac_executable_extensions; do
5389 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5390 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5391 # Check for GNU ac_path_SED and select it if it is found.
5392 # Check for GNU $ac_path_SED
5393 case `"$ac_path_SED" --version 2>&1` in
5394 *GNU*)
5395 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5397 ac_count=0
5398 $as_echo_n 0123456789 >"conftest.in"
5399 while :
5401 cat "conftest.in" "conftest.in" >"conftest.tmp"
5402 mv "conftest.tmp" "conftest.in"
5403 cp "conftest.in" "conftest.nl"
5404 $as_echo '' >> "conftest.nl"
5405 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5406 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5407 as_fn_arith $ac_count + 1 && ac_count=$as_val
5408 if test $ac_count -gt ${ac_path_SED_max-0}; then
5409 # Best one so far, save it but keep looking for a better one
5410 ac_cv_path_SED="$ac_path_SED"
5411 ac_path_SED_max=$ac_count
5413 # 10*(2^10) chars as input seems more than enough
5414 test $ac_count -gt 10 && break
5415 done
5416 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5417 esac
5419 $ac_path_SED_found && break 3
5420 done
5421 done
5422 done
5423 IFS=$as_save_IFS
5424 if test -z "$ac_cv_path_SED"; then
5425 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5427 else
5428 ac_cv_path_SED=$SED
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5433 $as_echo "$ac_cv_path_SED" >&6; }
5434 SED="$ac_cv_path_SED"
5435 rm -f conftest.sed
5437 test -z "$SED" && SED=sed
5438 Xsed="$SED -e 1s/^X//"
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5451 $as_echo_n "checking for fgrep... " >&6; }
5452 if test "${ac_cv_path_FGREP+set}" = set; then :
5453 $as_echo_n "(cached) " >&6
5454 else
5455 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5456 then ac_cv_path_FGREP="$GREP -F"
5457 else
5458 if test -z "$FGREP"; then
5459 ac_path_FGREP_found=false
5460 # Loop through the user's path and test for each of PROGNAME-LIST
5461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5462 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5464 IFS=$as_save_IFS
5465 test -z "$as_dir" && as_dir=.
5466 for ac_prog in fgrep; do
5467 for ac_exec_ext in '' $ac_executable_extensions; do
5468 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5469 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5470 # Check for GNU ac_path_FGREP and select it if it is found.
5471 # Check for GNU $ac_path_FGREP
5472 case `"$ac_path_FGREP" --version 2>&1` in
5473 *GNU*)
5474 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5476 ac_count=0
5477 $as_echo_n 0123456789 >"conftest.in"
5478 while :
5480 cat "conftest.in" "conftest.in" >"conftest.tmp"
5481 mv "conftest.tmp" "conftest.in"
5482 cp "conftest.in" "conftest.nl"
5483 $as_echo 'FGREP' >> "conftest.nl"
5484 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5485 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5486 as_fn_arith $ac_count + 1 && ac_count=$as_val
5487 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5488 # Best one so far, save it but keep looking for a better one
5489 ac_cv_path_FGREP="$ac_path_FGREP"
5490 ac_path_FGREP_max=$ac_count
5492 # 10*(2^10) chars as input seems more than enough
5493 test $ac_count -gt 10 && break
5494 done
5495 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5496 esac
5498 $ac_path_FGREP_found && break 3
5499 done
5500 done
5501 done
5502 IFS=$as_save_IFS
5503 if test -z "$ac_cv_path_FGREP"; then
5504 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5506 else
5507 ac_cv_path_FGREP=$FGREP
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5513 $as_echo "$ac_cv_path_FGREP" >&6; }
5514 FGREP="$ac_cv_path_FGREP"
5517 test -z "$GREP" && GREP=grep
5537 # Check whether --with-gnu-ld was given.
5538 if test "${with_gnu_ld+set}" = set; then :
5539 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5540 else
5541 with_gnu_ld=no
5544 ac_prog=ld
5545 if test "$GCC" = yes; then
5546 # Check if gcc -print-prog-name=ld gives a path.
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5548 $as_echo_n "checking for ld used by $CC... " >&6; }
5549 case $host in
5550 *-*-mingw*)
5551 # gcc leaves a trailing carriage return which upsets mingw
5552 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5554 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5555 esac
5556 case $ac_prog in
5557 # Accept absolute paths.
5558 [\\/]* | ?:[\\/]*)
5559 re_direlt='/[^/][^/]*/\.\./'
5560 # Canonicalize the pathname of ld
5561 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5562 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5563 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5564 done
5565 test -z "$LD" && LD="$ac_prog"
5568 # If it fails, then pretend we aren't using GCC.
5569 ac_prog=ld
5572 # If it is relative, then search for the first ld in PATH.
5573 with_gnu_ld=unknown
5575 esac
5576 elif test "$with_gnu_ld" = yes; then
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5578 $as_echo_n "checking for GNU ld... " >&6; }
5579 else
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5581 $as_echo_n "checking for non-GNU ld... " >&6; }
5583 if test "${lt_cv_path_LD+set}" = set; then :
5584 $as_echo_n "(cached) " >&6
5585 else
5586 if test -z "$LD"; then
5587 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5588 for ac_dir in $PATH; do
5589 IFS="$lt_save_ifs"
5590 test -z "$ac_dir" && ac_dir=.
5591 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5592 lt_cv_path_LD="$ac_dir/$ac_prog"
5593 # Check to see if the program is GNU ld. I'd rather use --version,
5594 # but apparently some variants of GNU ld only accept -v.
5595 # Break only if it was the GNU/non-GNU ld that we prefer.
5596 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5597 *GNU* | *'with BFD'*)
5598 test "$with_gnu_ld" != no && break
5601 test "$with_gnu_ld" != yes && break
5603 esac
5605 done
5606 IFS="$lt_save_ifs"
5607 else
5608 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5612 LD="$lt_cv_path_LD"
5613 if test -n "$LD"; then
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5615 $as_echo "$LD" >&6; }
5616 else
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5618 $as_echo "no" >&6; }
5620 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5622 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5623 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5624 $as_echo_n "(cached) " >&6
5625 else
5626 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5627 case `$LD -v 2>&1 </dev/null` in
5628 *GNU* | *'with BFD'*)
5629 lt_cv_prog_gnu_ld=yes
5632 lt_cv_prog_gnu_ld=no
5634 esac
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5637 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5638 with_gnu_ld=$lt_cv_prog_gnu_ld
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5649 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5650 if test "${lt_cv_path_NM+set}" = set; then :
5651 $as_echo_n "(cached) " >&6
5652 else
5653 if test -n "$NM"; then
5654 # Let the user override the test.
5655 lt_cv_path_NM="$NM"
5656 else
5657 lt_nm_to_check="${ac_tool_prefix}nm"
5658 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5659 lt_nm_to_check="$lt_nm_to_check nm"
5661 for lt_tmp_nm in $lt_nm_to_check; do
5662 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5663 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5664 IFS="$lt_save_ifs"
5665 test -z "$ac_dir" && ac_dir=.
5666 tmp_nm="$ac_dir/$lt_tmp_nm"
5667 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5668 # Check to see if the nm accepts a BSD-compat flag.
5669 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5670 # nm: unknown option "B" ignored
5671 # Tru64's nm complains that /dev/null is an invalid object file
5672 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5673 */dev/null* | *'Invalid file or object type'*)
5674 lt_cv_path_NM="$tmp_nm -B"
5675 break
5678 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5679 */dev/null*)
5680 lt_cv_path_NM="$tmp_nm -p"
5681 break
5684 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5685 continue # so that we can try to find one that supports BSD flags
5687 esac
5689 esac
5691 done
5692 IFS="$lt_save_ifs"
5693 done
5694 : ${lt_cv_path_NM=no}
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5698 $as_echo "$lt_cv_path_NM" >&6; }
5699 if test "$lt_cv_path_NM" != "no"; then
5700 NM="$lt_cv_path_NM"
5701 else
5702 # Didn't find any BSD compatible name lister, look for dumpbin.
5703 if test -n "$DUMPBIN"; then :
5704 # Let the user override the test.
5705 else
5706 if test -n "$ac_tool_prefix"; then
5707 for ac_prog in dumpbin "link -dump"
5709 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5710 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5712 $as_echo_n "checking for $ac_word... " >&6; }
5713 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5714 $as_echo_n "(cached) " >&6
5715 else
5716 if test -n "$DUMPBIN"; then
5717 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5718 else
5719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5720 for as_dir in $PATH
5722 IFS=$as_save_IFS
5723 test -z "$as_dir" && as_dir=.
5724 for ac_exec_ext in '' $ac_executable_extensions; do
5725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5726 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5728 break 2
5730 done
5731 done
5732 IFS=$as_save_IFS
5736 DUMPBIN=$ac_cv_prog_DUMPBIN
5737 if test -n "$DUMPBIN"; then
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5739 $as_echo "$DUMPBIN" >&6; }
5740 else
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5742 $as_echo "no" >&6; }
5746 test -n "$DUMPBIN" && break
5747 done
5749 if test -z "$DUMPBIN"; then
5750 ac_ct_DUMPBIN=$DUMPBIN
5751 for ac_prog in dumpbin "link -dump"
5753 # Extract the first word of "$ac_prog", so it can be a program name with args.
5754 set dummy $ac_prog; ac_word=$2
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5756 $as_echo_n "checking for $ac_word... " >&6; }
5757 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5758 $as_echo_n "(cached) " >&6
5759 else
5760 if test -n "$ac_ct_DUMPBIN"; then
5761 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5762 else
5763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5764 for as_dir in $PATH
5766 IFS=$as_save_IFS
5767 test -z "$as_dir" && as_dir=.
5768 for ac_exec_ext in '' $ac_executable_extensions; do
5769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5770 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5772 break 2
5774 done
5775 done
5776 IFS=$as_save_IFS
5780 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5781 if test -n "$ac_ct_DUMPBIN"; then
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5783 $as_echo "$ac_ct_DUMPBIN" >&6; }
5784 else
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5786 $as_echo "no" >&6; }
5790 test -n "$ac_ct_DUMPBIN" && break
5791 done
5793 if test "x$ac_ct_DUMPBIN" = x; then
5794 DUMPBIN=":"
5795 else
5796 case $cross_compiling:$ac_tool_warned in
5797 yes:)
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5800 ac_tool_warned=yes ;;
5801 esac
5802 DUMPBIN=$ac_ct_DUMPBIN
5806 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5807 *COFF*)
5808 DUMPBIN="$DUMPBIN -symbols"
5811 DUMPBIN=:
5813 esac
5816 if test "$DUMPBIN" != ":"; then
5817 NM="$DUMPBIN"
5820 test -z "$NM" && NM=nm
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5828 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5829 if test "${lt_cv_nm_interface+set}" = set; then :
5830 $as_echo_n "(cached) " >&6
5831 else
5832 lt_cv_nm_interface="BSD nm"
5833 echo "int some_variable = 0;" > conftest.$ac_ext
5834 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5835 (eval "$ac_compile" 2>conftest.err)
5836 cat conftest.err >&5
5837 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5838 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5839 cat conftest.err >&5
5840 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5841 cat conftest.out >&5
5842 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5843 lt_cv_nm_interface="MS dumpbin"
5845 rm -f conftest*
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5848 $as_echo "$lt_cv_nm_interface" >&6; }
5850 # find the maximum length of command line arguments
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5852 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5853 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5854 $as_echo_n "(cached) " >&6
5855 else
5857 teststring="ABCD"
5859 case $build_os in
5860 msdosdjgpp*)
5861 # On DJGPP, this test can blow up pretty badly due to problems in libc
5862 # (any single argument exceeding 2000 bytes causes a buffer overrun
5863 # during glob expansion). Even if it were fixed, the result of this
5864 # check would be larger than it should be.
5865 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5868 gnu*)
5869 # Under GNU Hurd, this test is not required because there is
5870 # no limit to the length of command line arguments.
5871 # Libtool will interpret -1 as no limit whatsoever
5872 lt_cv_sys_max_cmd_len=-1;
5875 cygwin* | mingw* | cegcc*)
5876 # On Win9x/ME, this test blows up -- it succeeds, but takes
5877 # about 5 minutes as the teststring grows exponentially.
5878 # Worse, since 9x/ME are not pre-emptively multitasking,
5879 # you end up with a "frozen" computer, even though with patience
5880 # the test eventually succeeds (with a max line length of 256k).
5881 # Instead, let's just punt: use the minimum linelength reported by
5882 # all of the supported platforms: 8192 (on NT/2K/XP).
5883 lt_cv_sys_max_cmd_len=8192;
5886 mint*)
5887 # On MiNT this can take a long time and run out of memory.
5888 lt_cv_sys_max_cmd_len=8192;
5891 amigaos*)
5892 # On AmigaOS with pdksh, this test takes hours, literally.
5893 # So we just punt and use a minimum line length of 8192.
5894 lt_cv_sys_max_cmd_len=8192;
5897 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5898 # This has been around since 386BSD, at least. Likely further.
5899 if test -x /sbin/sysctl; then
5900 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5901 elif test -x /usr/sbin/sysctl; then
5902 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5903 else
5904 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5906 # And add a safety zone
5907 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5908 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5911 interix*)
5912 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5913 lt_cv_sys_max_cmd_len=196608
5916 osf*)
5917 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5918 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5919 # nice to cause kernel panics so lets avoid the loop below.
5920 # First set a reasonable default.
5921 lt_cv_sys_max_cmd_len=16384
5923 if test -x /sbin/sysconfig; then
5924 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5925 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5926 esac
5929 sco3.2v5*)
5930 lt_cv_sys_max_cmd_len=102400
5932 sysv5* | sco5v6* | sysv4.2uw2*)
5933 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5934 if test -n "$kargmax"; then
5935 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5936 else
5937 lt_cv_sys_max_cmd_len=32768
5941 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5942 if test -n "$lt_cv_sys_max_cmd_len"; then
5943 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5944 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5945 else
5946 # Make teststring a little bigger before we do anything with it.
5947 # a 1K string should be a reasonable start.
5948 for i in 1 2 3 4 5 6 7 8 ; do
5949 teststring=$teststring$teststring
5950 done
5951 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5952 # If test is not a shell built-in, we'll probably end up computing a
5953 # maximum length that is only half of the actual maximum length, but
5954 # we can't tell.
5955 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5956 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5957 test $i != 17 # 1/2 MB should be enough
5959 i=`expr $i + 1`
5960 teststring=$teststring$teststring
5961 done
5962 # Only check the string length outside the loop.
5963 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5964 teststring=
5965 # Add a significant safety factor because C++ compilers can tack on
5966 # massive amounts of additional arguments before passing them to the
5967 # linker. It appears as though 1/2 is a usable value.
5968 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5971 esac
5975 if test -n $lt_cv_sys_max_cmd_len ; then
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5977 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5978 else
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5980 $as_echo "none" >&6; }
5982 max_cmd_len=$lt_cv_sys_max_cmd_len
5989 : ${CP="cp -f"}
5990 : ${MV="mv -f"}
5991 : ${RM="rm -f"}
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5994 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5995 # Try some XSI features
5996 xsi_shell=no
5997 ( _lt_dummy="a/b/c"
5998 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5999 = c,a/b,, \
6000 && eval 'test $(( 1 + 1 )) -eq 2 \
6001 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6002 && xsi_shell=yes
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6004 $as_echo "$xsi_shell" >&6; }
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6008 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6009 lt_shell_append=no
6010 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6011 >/dev/null 2>&1 \
6012 && lt_shell_append=yes
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6014 $as_echo "$lt_shell_append" >&6; }
6017 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6018 lt_unset=unset
6019 else
6020 lt_unset=false
6027 # test EBCDIC or ASCII
6028 case `echo X|tr X '\101'` in
6029 A) # ASCII based system
6030 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6031 lt_SP2NL='tr \040 \012'
6032 lt_NL2SP='tr \015\012 \040\040'
6034 *) # EBCDIC based system
6035 lt_SP2NL='tr \100 \n'
6036 lt_NL2SP='tr \r\n \100\100'
6038 esac
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6049 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6050 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6051 $as_echo_n "(cached) " >&6
6052 else
6053 lt_cv_ld_reload_flag='-r'
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6056 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6057 reload_flag=$lt_cv_ld_reload_flag
6058 case $reload_flag in
6059 "" | " "*) ;;
6060 *) reload_flag=" $reload_flag" ;;
6061 esac
6062 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6063 case $host_os in
6064 darwin*)
6065 if test "$GCC" = yes; then
6066 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6067 else
6068 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6071 esac
6081 if test -n "$ac_tool_prefix"; then
6082 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6083 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6085 $as_echo_n "checking for $ac_word... " >&6; }
6086 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6087 $as_echo_n "(cached) " >&6
6088 else
6089 if test -n "$OBJDUMP"; then
6090 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6091 else
6092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6093 for as_dir in $PATH
6095 IFS=$as_save_IFS
6096 test -z "$as_dir" && as_dir=.
6097 for ac_exec_ext in '' $ac_executable_extensions; do
6098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6099 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6101 break 2
6103 done
6104 done
6105 IFS=$as_save_IFS
6109 OBJDUMP=$ac_cv_prog_OBJDUMP
6110 if test -n "$OBJDUMP"; then
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6112 $as_echo "$OBJDUMP" >&6; }
6113 else
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6115 $as_echo "no" >&6; }
6120 if test -z "$ac_cv_prog_OBJDUMP"; then
6121 ac_ct_OBJDUMP=$OBJDUMP
6122 # Extract the first word of "objdump", so it can be a program name with args.
6123 set dummy objdump; ac_word=$2
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6125 $as_echo_n "checking for $ac_word... " >&6; }
6126 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6127 $as_echo_n "(cached) " >&6
6128 else
6129 if test -n "$ac_ct_OBJDUMP"; then
6130 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6131 else
6132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6133 for as_dir in $PATH
6135 IFS=$as_save_IFS
6136 test -z "$as_dir" && as_dir=.
6137 for ac_exec_ext in '' $ac_executable_extensions; do
6138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6139 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6141 break 2
6143 done
6144 done
6145 IFS=$as_save_IFS
6149 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6150 if test -n "$ac_ct_OBJDUMP"; then
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6152 $as_echo "$ac_ct_OBJDUMP" >&6; }
6153 else
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6155 $as_echo "no" >&6; }
6158 if test "x$ac_ct_OBJDUMP" = x; then
6159 OBJDUMP="false"
6160 else
6161 case $cross_compiling:$ac_tool_warned in
6162 yes:)
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6164 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6165 ac_tool_warned=yes ;;
6166 esac
6167 OBJDUMP=$ac_ct_OBJDUMP
6169 else
6170 OBJDUMP="$ac_cv_prog_OBJDUMP"
6173 test -z "$OBJDUMP" && OBJDUMP=objdump
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6184 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6185 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6186 $as_echo_n "(cached) " >&6
6187 else
6188 lt_cv_file_magic_cmd='$MAGIC_CMD'
6189 lt_cv_file_magic_test_file=
6190 lt_cv_deplibs_check_method='unknown'
6191 # Need to set the preceding variable on all platforms that support
6192 # interlibrary dependencies.
6193 # 'none' -- dependencies not supported.
6194 # `unknown' -- same as none, but documents that we really don't know.
6195 # 'pass_all' -- all dependencies passed with no checks.
6196 # 'test_compile' -- check by making test program.
6197 # 'file_magic [[regex]]' -- check by looking for files in library path
6198 # which responds to the $file_magic_cmd with a given extended regex.
6199 # If you have `file' or equivalent on your system and you're not sure
6200 # whether `pass_all' will *always* work, you probably want this one.
6202 case $host_os in
6203 aix[4-9]*)
6204 lt_cv_deplibs_check_method=pass_all
6207 beos*)
6208 lt_cv_deplibs_check_method=pass_all
6211 bsdi[45]*)
6212 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6213 lt_cv_file_magic_cmd='/usr/bin/file -L'
6214 lt_cv_file_magic_test_file=/shlib/libc.so
6217 cygwin*)
6218 # func_win32_libid is a shell function defined in ltmain.sh
6219 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6220 lt_cv_file_magic_cmd='func_win32_libid'
6223 mingw* | pw32*)
6224 # Base MSYS/MinGW do not provide the 'file' command needed by
6225 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6226 # unless we find 'file', for example because we are cross-compiling.
6227 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6228 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6229 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6230 lt_cv_file_magic_cmd='func_win32_libid'
6231 else
6232 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6233 lt_cv_file_magic_cmd='$OBJDUMP -f'
6237 cegcc*)
6238 # use the weaker test based on 'objdump'. See mingw*.
6239 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6240 lt_cv_file_magic_cmd='$OBJDUMP -f'
6243 darwin* | rhapsody*)
6244 lt_cv_deplibs_check_method=pass_all
6247 freebsd* | dragonfly*)
6248 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6249 case $host_cpu in
6250 i*86 )
6251 # Not sure whether the presence of OpenBSD here was a mistake.
6252 # Let's accept both of them until this is cleared up.
6253 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6254 lt_cv_file_magic_cmd=/usr/bin/file
6255 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6257 esac
6258 else
6259 lt_cv_deplibs_check_method=pass_all
6263 gnu*)
6264 lt_cv_deplibs_check_method=pass_all
6267 haiku*)
6268 lt_cv_deplibs_check_method=pass_all
6271 hpux10.20* | hpux11*)
6272 lt_cv_file_magic_cmd=/usr/bin/file
6273 case $host_cpu in
6274 ia64*)
6275 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6276 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6278 hppa*64*)
6279 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6280 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6283 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6284 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6286 esac
6289 interix[3-9]*)
6290 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6291 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6294 irix5* | irix6* | nonstopux*)
6295 case $LD in
6296 *-32|*"-32 ") libmagic=32-bit;;
6297 *-n32|*"-n32 ") libmagic=N32;;
6298 *-64|*"-64 ") libmagic=64-bit;;
6299 *) libmagic=never-match;;
6300 esac
6301 lt_cv_deplibs_check_method=pass_all
6304 # This must be Linux ELF.
6305 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6306 lt_cv_deplibs_check_method=pass_all
6309 netbsd*)
6310 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6311 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6312 else
6313 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6317 newos6*)
6318 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6319 lt_cv_file_magic_cmd=/usr/bin/file
6320 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6323 *nto* | *qnx*)
6324 lt_cv_deplibs_check_method=pass_all
6327 openbsd*)
6328 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6329 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6330 else
6331 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6335 osf3* | osf4* | osf5*)
6336 lt_cv_deplibs_check_method=pass_all
6339 rdos*)
6340 lt_cv_deplibs_check_method=pass_all
6343 solaris*)
6344 lt_cv_deplibs_check_method=pass_all
6347 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6348 lt_cv_deplibs_check_method=pass_all
6351 sysv4 | sysv4.3*)
6352 case $host_vendor in
6353 motorola)
6354 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
6355 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6357 ncr)
6358 lt_cv_deplibs_check_method=pass_all
6360 sequent)
6361 lt_cv_file_magic_cmd='/bin/file'
6362 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6364 sni)
6365 lt_cv_file_magic_cmd='/bin/file'
6366 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6367 lt_cv_file_magic_test_file=/lib/libc.so
6369 siemens)
6370 lt_cv_deplibs_check_method=pass_all
6373 lt_cv_deplibs_check_method=pass_all
6375 esac
6378 tpf*)
6379 lt_cv_deplibs_check_method=pass_all
6381 esac
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6385 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6386 file_magic_cmd=$lt_cv_file_magic_cmd
6387 deplibs_check_method=$lt_cv_deplibs_check_method
6388 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6401 if test -n "$ac_tool_prefix"; then
6402 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6403 set dummy ${ac_tool_prefix}ar; ac_word=$2
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6405 $as_echo_n "checking for $ac_word... " >&6; }
6406 if test "${ac_cv_prog_AR+set}" = set; then :
6407 $as_echo_n "(cached) " >&6
6408 else
6409 if test -n "$AR"; then
6410 ac_cv_prog_AR="$AR" # Let the user override the test.
6411 else
6412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6413 for as_dir in $PATH
6415 IFS=$as_save_IFS
6416 test -z "$as_dir" && as_dir=.
6417 for ac_exec_ext in '' $ac_executable_extensions; do
6418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6419 ac_cv_prog_AR="${ac_tool_prefix}ar"
6420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6421 break 2
6423 done
6424 done
6425 IFS=$as_save_IFS
6429 AR=$ac_cv_prog_AR
6430 if test -n "$AR"; then
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6432 $as_echo "$AR" >&6; }
6433 else
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6435 $as_echo "no" >&6; }
6440 if test -z "$ac_cv_prog_AR"; then
6441 ac_ct_AR=$AR
6442 # Extract the first word of "ar", so it can be a program name with args.
6443 set dummy ar; ac_word=$2
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6445 $as_echo_n "checking for $ac_word... " >&6; }
6446 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6447 $as_echo_n "(cached) " >&6
6448 else
6449 if test -n "$ac_ct_AR"; then
6450 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6451 else
6452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6453 for as_dir in $PATH
6455 IFS=$as_save_IFS
6456 test -z "$as_dir" && as_dir=.
6457 for ac_exec_ext in '' $ac_executable_extensions; do
6458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6459 ac_cv_prog_ac_ct_AR="ar"
6460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6461 break 2
6463 done
6464 done
6465 IFS=$as_save_IFS
6469 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6470 if test -n "$ac_ct_AR"; then
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6472 $as_echo "$ac_ct_AR" >&6; }
6473 else
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6475 $as_echo "no" >&6; }
6478 if test "x$ac_ct_AR" = x; then
6479 AR="false"
6480 else
6481 case $cross_compiling:$ac_tool_warned in
6482 yes:)
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6484 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6485 ac_tool_warned=yes ;;
6486 esac
6487 AR=$ac_ct_AR
6489 else
6490 AR="$ac_cv_prog_AR"
6493 test -z "$AR" && AR=ar
6494 test -z "$AR_FLAGS" && AR_FLAGS=cru
6506 if test -n "$ac_tool_prefix"; then
6507 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6508 set dummy ${ac_tool_prefix}strip; ac_word=$2
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6510 $as_echo_n "checking for $ac_word... " >&6; }
6511 if test "${ac_cv_prog_STRIP+set}" = set; then :
6512 $as_echo_n "(cached) " >&6
6513 else
6514 if test -n "$STRIP"; then
6515 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6516 else
6517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6518 for as_dir in $PATH
6520 IFS=$as_save_IFS
6521 test -z "$as_dir" && as_dir=.
6522 for ac_exec_ext in '' $ac_executable_extensions; do
6523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6524 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6526 break 2
6528 done
6529 done
6530 IFS=$as_save_IFS
6534 STRIP=$ac_cv_prog_STRIP
6535 if test -n "$STRIP"; then
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6537 $as_echo "$STRIP" >&6; }
6538 else
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6540 $as_echo "no" >&6; }
6545 if test -z "$ac_cv_prog_STRIP"; then
6546 ac_ct_STRIP=$STRIP
6547 # Extract the first word of "strip", so it can be a program name with args.
6548 set dummy strip; ac_word=$2
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6550 $as_echo_n "checking for $ac_word... " >&6; }
6551 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6552 $as_echo_n "(cached) " >&6
6553 else
6554 if test -n "$ac_ct_STRIP"; then
6555 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6556 else
6557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6558 for as_dir in $PATH
6560 IFS=$as_save_IFS
6561 test -z "$as_dir" && as_dir=.
6562 for ac_exec_ext in '' $ac_executable_extensions; do
6563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6564 ac_cv_prog_ac_ct_STRIP="strip"
6565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6566 break 2
6568 done
6569 done
6570 IFS=$as_save_IFS
6574 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6575 if test -n "$ac_ct_STRIP"; then
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6577 $as_echo "$ac_ct_STRIP" >&6; }
6578 else
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6580 $as_echo "no" >&6; }
6583 if test "x$ac_ct_STRIP" = x; then
6584 STRIP=":"
6585 else
6586 case $cross_compiling:$ac_tool_warned in
6587 yes:)
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6589 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6590 ac_tool_warned=yes ;;
6591 esac
6592 STRIP=$ac_ct_STRIP
6594 else
6595 STRIP="$ac_cv_prog_STRIP"
6598 test -z "$STRIP" && STRIP=:
6605 if test -n "$ac_tool_prefix"; then
6606 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6607 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6609 $as_echo_n "checking for $ac_word... " >&6; }
6610 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6611 $as_echo_n "(cached) " >&6
6612 else
6613 if test -n "$RANLIB"; then
6614 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6615 else
6616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6617 for as_dir in $PATH
6619 IFS=$as_save_IFS
6620 test -z "$as_dir" && as_dir=.
6621 for ac_exec_ext in '' $ac_executable_extensions; do
6622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6623 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6625 break 2
6627 done
6628 done
6629 IFS=$as_save_IFS
6633 RANLIB=$ac_cv_prog_RANLIB
6634 if test -n "$RANLIB"; then
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6636 $as_echo "$RANLIB" >&6; }
6637 else
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6639 $as_echo "no" >&6; }
6644 if test -z "$ac_cv_prog_RANLIB"; then
6645 ac_ct_RANLIB=$RANLIB
6646 # Extract the first word of "ranlib", so it can be a program name with args.
6647 set dummy ranlib; ac_word=$2
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6649 $as_echo_n "checking for $ac_word... " >&6; }
6650 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6651 $as_echo_n "(cached) " >&6
6652 else
6653 if test -n "$ac_ct_RANLIB"; then
6654 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6655 else
6656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6657 for as_dir in $PATH
6659 IFS=$as_save_IFS
6660 test -z "$as_dir" && as_dir=.
6661 for ac_exec_ext in '' $ac_executable_extensions; do
6662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6663 ac_cv_prog_ac_ct_RANLIB="ranlib"
6664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6665 break 2
6667 done
6668 done
6669 IFS=$as_save_IFS
6673 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6674 if test -n "$ac_ct_RANLIB"; then
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6676 $as_echo "$ac_ct_RANLIB" >&6; }
6677 else
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6679 $as_echo "no" >&6; }
6682 if test "x$ac_ct_RANLIB" = x; then
6683 RANLIB=":"
6684 else
6685 case $cross_compiling:$ac_tool_warned in
6686 yes:)
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6688 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6689 ac_tool_warned=yes ;;
6690 esac
6691 RANLIB=$ac_ct_RANLIB
6693 else
6694 RANLIB="$ac_cv_prog_RANLIB"
6697 test -z "$RANLIB" && RANLIB=:
6704 # Determine commands to create old-style static archives.
6705 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6706 old_postinstall_cmds='chmod 644 $oldlib'
6707 old_postuninstall_cmds=
6709 if test -n "$RANLIB"; then
6710 case $host_os in
6711 openbsd*)
6712 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6715 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6717 esac
6718 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6721 case $host_os in
6722 darwin*)
6723 lock_old_archive_extraction=yes ;;
6725 lock_old_archive_extraction=no ;;
6726 esac
6766 # If no C compiler was specified, use CC.
6767 LTCC=${LTCC-"$CC"}
6769 # If no C compiler flags were specified, use CFLAGS.
6770 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6772 # Allow CC to be a program name with arguments.
6773 compiler=$CC
6776 # Check for command to grab the raw symbol name followed by C symbol from nm.
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6778 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6779 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6780 $as_echo_n "(cached) " >&6
6781 else
6783 # These are sane defaults that work on at least a few old systems.
6784 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6786 # Character class describing NM global symbol codes.
6787 symcode='[BCDEGRST]'
6789 # Regexp to match symbols that can be accessed directly from C.
6790 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6792 # Define system-specific variables.
6793 case $host_os in
6794 aix*)
6795 symcode='[BCDT]'
6797 cygwin* | mingw* | pw32* | cegcc*)
6798 symcode='[ABCDGISTW]'
6800 hpux*)
6801 if test "$host_cpu" = ia64; then
6802 symcode='[ABCDEGRST]'
6805 irix* | nonstopux*)
6806 symcode='[BCDEGRST]'
6808 osf*)
6809 symcode='[BCDEGQRST]'
6811 solaris*)
6812 symcode='[BDRT]'
6814 sco3.2v5*)
6815 symcode='[DT]'
6817 sysv4.2uw2*)
6818 symcode='[DT]'
6820 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6821 symcode='[ABDT]'
6823 sysv4)
6824 symcode='[DFNSTU]'
6826 esac
6828 # If we're using GNU nm, then use its standard symbol codes.
6829 case `$NM -V 2>&1` in
6830 *GNU* | *'with BFD'*)
6831 symcode='[ABCDGIRSTW]' ;;
6832 esac
6834 # Transform an extracted symbol line into a proper C declaration.
6835 # Some systems (esp. on ia64) link data and code symbols differently,
6836 # so use this general approach.
6837 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6839 # Transform an extracted symbol line into symbol name and symbol address
6840 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6841 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6843 # Handle CRLF in mingw tool chain
6844 opt_cr=
6845 case $build_os in
6846 mingw*)
6847 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6849 esac
6851 # Try without a prefix underscore, then with it.
6852 for ac_symprfx in "" "_"; do
6854 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6855 symxfrm="\\1 $ac_symprfx\\2 \\2"
6857 # Write the raw and C identifiers.
6858 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6859 # Fake it for dumpbin and say T for any non-static function
6860 # and D for any global variable.
6861 # Also find C++ and __fastcall symbols from MSVC++,
6862 # which start with @ or ?.
6863 lt_cv_sys_global_symbol_pipe="$AWK '"\
6864 " {last_section=section; section=\$ 3};"\
6865 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6866 " \$ 0!~/External *\|/{next};"\
6867 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6868 " {if(hide[section]) next};"\
6869 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6870 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6871 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6872 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6873 " ' prfx=^$ac_symprfx"
6874 else
6875 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6878 # Check to see that the pipe works correctly.
6879 pipe_works=no
6881 rm -f conftest*
6882 cat > conftest.$ac_ext <<_LT_EOF
6883 #ifdef __cplusplus
6884 extern "C" {
6885 #endif
6886 char nm_test_var;
6887 void nm_test_func(void);
6888 void nm_test_func(void){}
6889 #ifdef __cplusplus
6891 #endif
6892 int main(){nm_test_var='a';nm_test_func();return(0);}
6893 _LT_EOF
6895 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6896 (eval $ac_compile) 2>&5
6897 ac_status=$?
6898 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6899 test $ac_status = 0; }; then
6900 # Now try to grab the symbols.
6901 nlist=conftest.nm
6902 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6903 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6904 ac_status=$?
6905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6906 test $ac_status = 0; } && test -s "$nlist"; then
6907 # Try sorting and uniquifying the output.
6908 if sort "$nlist" | uniq > "$nlist"T; then
6909 mv -f "$nlist"T "$nlist"
6910 else
6911 rm -f "$nlist"T
6914 # Make sure that we snagged all the symbols we need.
6915 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6916 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6917 cat <<_LT_EOF > conftest.$ac_ext
6918 #ifdef __cplusplus
6919 extern "C" {
6920 #endif
6922 _LT_EOF
6923 # Now generate the symbol file.
6924 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6926 cat <<_LT_EOF >> conftest.$ac_ext
6928 /* The mapping between symbol names and symbols. */
6929 const struct {
6930 const char *name;
6931 void *address;
6933 lt__PROGRAM__LTX_preloaded_symbols[] =
6935 { "@PROGRAM@", (void *) 0 },
6936 _LT_EOF
6937 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6938 cat <<\_LT_EOF >> conftest.$ac_ext
6939 {0, (void *) 0}
6942 /* This works around a problem in FreeBSD linker */
6943 #ifdef FREEBSD_WORKAROUND
6944 static const void *lt_preloaded_setup() {
6945 return lt__PROGRAM__LTX_preloaded_symbols;
6947 #endif
6949 #ifdef __cplusplus
6951 #endif
6952 _LT_EOF
6953 # Now try linking the two files.
6954 mv conftest.$ac_objext conftstm.$ac_objext
6955 lt_save_LIBS="$LIBS"
6956 lt_save_CFLAGS="$CFLAGS"
6957 LIBS="conftstm.$ac_objext"
6958 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6959 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6960 (eval $ac_link) 2>&5
6961 ac_status=$?
6962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6963 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6964 pipe_works=yes
6966 LIBS="$lt_save_LIBS"
6967 CFLAGS="$lt_save_CFLAGS"
6968 else
6969 echo "cannot find nm_test_func in $nlist" >&5
6971 else
6972 echo "cannot find nm_test_var in $nlist" >&5
6974 else
6975 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6977 else
6978 echo "$progname: failed program was:" >&5
6979 cat conftest.$ac_ext >&5
6981 rm -rf conftest* conftst*
6983 # Do not use the global_symbol_pipe unless it works.
6984 if test "$pipe_works" = yes; then
6985 break
6986 else
6987 lt_cv_sys_global_symbol_pipe=
6989 done
6993 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6994 lt_cv_sys_global_symbol_to_cdecl=
6996 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6998 $as_echo "failed" >&6; }
6999 else
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7001 $as_echo "ok" >&6; }
7025 # Check whether --enable-libtool-lock was given.
7026 if test "${enable_libtool_lock+set}" = set; then :
7027 enableval=$enable_libtool_lock;
7030 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7032 # Some flags need to be propagated to the compiler or linker for good
7033 # libtool support.
7034 case $host in
7035 ia64-*-hpux*)
7036 # Find out which ABI we are using.
7037 echo 'int i;' > conftest.$ac_ext
7038 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7039 (eval $ac_compile) 2>&5
7040 ac_status=$?
7041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7042 test $ac_status = 0; }; then
7043 case `/usr/bin/file conftest.$ac_objext` in
7044 *ELF-32*)
7045 HPUX_IA64_MODE="32"
7047 *ELF-64*)
7048 HPUX_IA64_MODE="64"
7050 esac
7052 rm -rf conftest*
7054 *-*-irix6*)
7055 # Find out which ABI we are using.
7056 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7057 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7058 (eval $ac_compile) 2>&5
7059 ac_status=$?
7060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7061 test $ac_status = 0; }; then
7062 if test "$lt_cv_prog_gnu_ld" = yes; then
7063 case `/usr/bin/file conftest.$ac_objext` in
7064 *32-bit*)
7065 LD="${LD-ld} -melf32bsmip"
7067 *N32*)
7068 LD="${LD-ld} -melf32bmipn32"
7070 *64-bit*)
7071 LD="${LD-ld} -melf64bmip"
7073 esac
7074 else
7075 case `/usr/bin/file conftest.$ac_objext` in
7076 *32-bit*)
7077 LD="${LD-ld} -32"
7079 *N32*)
7080 LD="${LD-ld} -n32"
7082 *64-bit*)
7083 LD="${LD-ld} -64"
7085 esac
7088 rm -rf conftest*
7091 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7092 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7093 # Find out which ABI we are using.
7094 echo 'int i;' > conftest.$ac_ext
7095 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7096 (eval $ac_compile) 2>&5
7097 ac_status=$?
7098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7099 test $ac_status = 0; }; then
7100 case `/usr/bin/file conftest.o` in
7101 *32-bit*)
7102 case $host in
7103 x86_64-*kfreebsd*-gnu)
7104 LD="${LD-ld} -m elf_i386_fbsd"
7106 x86_64-*linux*)
7107 LD="${LD-ld} -m elf_i386"
7109 ppc64-*linux*|powerpc64-*linux*)
7110 LD="${LD-ld} -m elf32ppclinux"
7112 s390x-*linux*)
7113 LD="${LD-ld} -m elf_s390"
7115 sparc64-*linux*)
7116 LD="${LD-ld} -m elf32_sparc"
7118 esac
7120 *64-bit*)
7121 case $host in
7122 x86_64-*kfreebsd*-gnu)
7123 LD="${LD-ld} -m elf_x86_64_fbsd"
7125 x86_64-*linux*)
7126 LD="${LD-ld} -m elf_x86_64"
7128 ppc*-*linux*|powerpc*-*linux*)
7129 LD="${LD-ld} -m elf64ppc"
7131 s390*-*linux*|s390*-*tpf*)
7132 LD="${LD-ld} -m elf64_s390"
7134 sparc*-*linux*)
7135 LD="${LD-ld} -m elf64_sparc"
7137 esac
7139 esac
7141 rm -rf conftest*
7144 *-*-sco3.2v5*)
7145 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7146 SAVE_CFLAGS="$CFLAGS"
7147 CFLAGS="$CFLAGS -belf"
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7149 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7150 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7151 $as_echo_n "(cached) " >&6
7152 else
7153 ac_ext=c
7154 ac_cpp='$CPP $CPPFLAGS'
7155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7159 if test x$gcc_no_link = xyes; then
7160 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7163 /* end confdefs.h. */
7166 main ()
7170 return 0;
7172 _ACEOF
7173 if ac_fn_c_try_link "$LINENO"; then :
7174 lt_cv_cc_needs_belf=yes
7175 else
7176 lt_cv_cc_needs_belf=no
7178 rm -f core conftest.err conftest.$ac_objext \
7179 conftest$ac_exeext conftest.$ac_ext
7180 ac_ext=c
7181 ac_cpp='$CPP $CPPFLAGS'
7182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7188 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7189 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7190 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7191 CFLAGS="$SAVE_CFLAGS"
7194 sparc*-*solaris*)
7195 # Find out which ABI we are using.
7196 echo 'int i;' > conftest.$ac_ext
7197 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7198 (eval $ac_compile) 2>&5
7199 ac_status=$?
7200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7201 test $ac_status = 0; }; then
7202 case `/usr/bin/file conftest.o` in
7203 *64-bit*)
7204 case $lt_cv_prog_gnu_ld in
7205 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7207 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7208 LD="${LD-ld} -64"
7211 esac
7213 esac
7215 rm -rf conftest*
7217 esac
7219 need_locks="$enable_libtool_lock"
7222 case $host_os in
7223 rhapsody* | darwin*)
7224 if test -n "$ac_tool_prefix"; then
7225 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7226 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7228 $as_echo_n "checking for $ac_word... " >&6; }
7229 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7230 $as_echo_n "(cached) " >&6
7231 else
7232 if test -n "$DSYMUTIL"; then
7233 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7234 else
7235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7236 for as_dir in $PATH
7238 IFS=$as_save_IFS
7239 test -z "$as_dir" && as_dir=.
7240 for ac_exec_ext in '' $ac_executable_extensions; do
7241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7242 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7244 break 2
7246 done
7247 done
7248 IFS=$as_save_IFS
7252 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7253 if test -n "$DSYMUTIL"; then
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7255 $as_echo "$DSYMUTIL" >&6; }
7256 else
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7258 $as_echo "no" >&6; }
7263 if test -z "$ac_cv_prog_DSYMUTIL"; then
7264 ac_ct_DSYMUTIL=$DSYMUTIL
7265 # Extract the first word of "dsymutil", so it can be a program name with args.
7266 set dummy dsymutil; ac_word=$2
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7268 $as_echo_n "checking for $ac_word... " >&6; }
7269 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7270 $as_echo_n "(cached) " >&6
7271 else
7272 if test -n "$ac_ct_DSYMUTIL"; then
7273 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7274 else
7275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7276 for as_dir in $PATH
7278 IFS=$as_save_IFS
7279 test -z "$as_dir" && as_dir=.
7280 for ac_exec_ext in '' $ac_executable_extensions; do
7281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7282 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7284 break 2
7286 done
7287 done
7288 IFS=$as_save_IFS
7292 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7293 if test -n "$ac_ct_DSYMUTIL"; then
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7295 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7296 else
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7298 $as_echo "no" >&6; }
7301 if test "x$ac_ct_DSYMUTIL" = x; then
7302 DSYMUTIL=":"
7303 else
7304 case $cross_compiling:$ac_tool_warned in
7305 yes:)
7306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7307 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7308 ac_tool_warned=yes ;;
7309 esac
7310 DSYMUTIL=$ac_ct_DSYMUTIL
7312 else
7313 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7316 if test -n "$ac_tool_prefix"; then
7317 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7318 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7320 $as_echo_n "checking for $ac_word... " >&6; }
7321 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7322 $as_echo_n "(cached) " >&6
7323 else
7324 if test -n "$NMEDIT"; then
7325 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7326 else
7327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7328 for as_dir in $PATH
7330 IFS=$as_save_IFS
7331 test -z "$as_dir" && as_dir=.
7332 for ac_exec_ext in '' $ac_executable_extensions; do
7333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7334 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7336 break 2
7338 done
7339 done
7340 IFS=$as_save_IFS
7344 NMEDIT=$ac_cv_prog_NMEDIT
7345 if test -n "$NMEDIT"; then
7346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7347 $as_echo "$NMEDIT" >&6; }
7348 else
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7350 $as_echo "no" >&6; }
7355 if test -z "$ac_cv_prog_NMEDIT"; then
7356 ac_ct_NMEDIT=$NMEDIT
7357 # Extract the first word of "nmedit", so it can be a program name with args.
7358 set dummy nmedit; ac_word=$2
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7360 $as_echo_n "checking for $ac_word... " >&6; }
7361 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7362 $as_echo_n "(cached) " >&6
7363 else
7364 if test -n "$ac_ct_NMEDIT"; then
7365 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7366 else
7367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7368 for as_dir in $PATH
7370 IFS=$as_save_IFS
7371 test -z "$as_dir" && as_dir=.
7372 for ac_exec_ext in '' $ac_executable_extensions; do
7373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7374 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7376 break 2
7378 done
7379 done
7380 IFS=$as_save_IFS
7384 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7385 if test -n "$ac_ct_NMEDIT"; then
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7387 $as_echo "$ac_ct_NMEDIT" >&6; }
7388 else
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7390 $as_echo "no" >&6; }
7393 if test "x$ac_ct_NMEDIT" = x; then
7394 NMEDIT=":"
7395 else
7396 case $cross_compiling:$ac_tool_warned in
7397 yes:)
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7399 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7400 ac_tool_warned=yes ;;
7401 esac
7402 NMEDIT=$ac_ct_NMEDIT
7404 else
7405 NMEDIT="$ac_cv_prog_NMEDIT"
7408 if test -n "$ac_tool_prefix"; then
7409 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7410 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7412 $as_echo_n "checking for $ac_word... " >&6; }
7413 if test "${ac_cv_prog_LIPO+set}" = set; then :
7414 $as_echo_n "(cached) " >&6
7415 else
7416 if test -n "$LIPO"; then
7417 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7418 else
7419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7420 for as_dir in $PATH
7422 IFS=$as_save_IFS
7423 test -z "$as_dir" && as_dir=.
7424 for ac_exec_ext in '' $ac_executable_extensions; do
7425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7426 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7428 break 2
7430 done
7431 done
7432 IFS=$as_save_IFS
7436 LIPO=$ac_cv_prog_LIPO
7437 if test -n "$LIPO"; then
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7439 $as_echo "$LIPO" >&6; }
7440 else
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7442 $as_echo "no" >&6; }
7447 if test -z "$ac_cv_prog_LIPO"; then
7448 ac_ct_LIPO=$LIPO
7449 # Extract the first word of "lipo", so it can be a program name with args.
7450 set dummy lipo; ac_word=$2
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7452 $as_echo_n "checking for $ac_word... " >&6; }
7453 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7454 $as_echo_n "(cached) " >&6
7455 else
7456 if test -n "$ac_ct_LIPO"; then
7457 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7458 else
7459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7460 for as_dir in $PATH
7462 IFS=$as_save_IFS
7463 test -z "$as_dir" && as_dir=.
7464 for ac_exec_ext in '' $ac_executable_extensions; do
7465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7466 ac_cv_prog_ac_ct_LIPO="lipo"
7467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7468 break 2
7470 done
7471 done
7472 IFS=$as_save_IFS
7476 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7477 if test -n "$ac_ct_LIPO"; then
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7479 $as_echo "$ac_ct_LIPO" >&6; }
7480 else
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7482 $as_echo "no" >&6; }
7485 if test "x$ac_ct_LIPO" = x; then
7486 LIPO=":"
7487 else
7488 case $cross_compiling:$ac_tool_warned in
7489 yes:)
7490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7491 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7492 ac_tool_warned=yes ;;
7493 esac
7494 LIPO=$ac_ct_LIPO
7496 else
7497 LIPO="$ac_cv_prog_LIPO"
7500 if test -n "$ac_tool_prefix"; then
7501 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7502 set dummy ${ac_tool_prefix}otool; ac_word=$2
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7504 $as_echo_n "checking for $ac_word... " >&6; }
7505 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7506 $as_echo_n "(cached) " >&6
7507 else
7508 if test -n "$OTOOL"; then
7509 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7510 else
7511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7512 for as_dir in $PATH
7514 IFS=$as_save_IFS
7515 test -z "$as_dir" && as_dir=.
7516 for ac_exec_ext in '' $ac_executable_extensions; do
7517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7518 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7520 break 2
7522 done
7523 done
7524 IFS=$as_save_IFS
7528 OTOOL=$ac_cv_prog_OTOOL
7529 if test -n "$OTOOL"; then
7530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7531 $as_echo "$OTOOL" >&6; }
7532 else
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7534 $as_echo "no" >&6; }
7539 if test -z "$ac_cv_prog_OTOOL"; then
7540 ac_ct_OTOOL=$OTOOL
7541 # Extract the first word of "otool", so it can be a program name with args.
7542 set dummy otool; ac_word=$2
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7544 $as_echo_n "checking for $ac_word... " >&6; }
7545 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7546 $as_echo_n "(cached) " >&6
7547 else
7548 if test -n "$ac_ct_OTOOL"; then
7549 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7550 else
7551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7552 for as_dir in $PATH
7554 IFS=$as_save_IFS
7555 test -z "$as_dir" && as_dir=.
7556 for ac_exec_ext in '' $ac_executable_extensions; do
7557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7558 ac_cv_prog_ac_ct_OTOOL="otool"
7559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7560 break 2
7562 done
7563 done
7564 IFS=$as_save_IFS
7568 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7569 if test -n "$ac_ct_OTOOL"; then
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7571 $as_echo "$ac_ct_OTOOL" >&6; }
7572 else
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7574 $as_echo "no" >&6; }
7577 if test "x$ac_ct_OTOOL" = x; then
7578 OTOOL=":"
7579 else
7580 case $cross_compiling:$ac_tool_warned in
7581 yes:)
7582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7583 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7584 ac_tool_warned=yes ;;
7585 esac
7586 OTOOL=$ac_ct_OTOOL
7588 else
7589 OTOOL="$ac_cv_prog_OTOOL"
7592 if test -n "$ac_tool_prefix"; then
7593 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7594 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7596 $as_echo_n "checking for $ac_word... " >&6; }
7597 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7598 $as_echo_n "(cached) " >&6
7599 else
7600 if test -n "$OTOOL64"; then
7601 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7602 else
7603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7604 for as_dir in $PATH
7606 IFS=$as_save_IFS
7607 test -z "$as_dir" && as_dir=.
7608 for ac_exec_ext in '' $ac_executable_extensions; do
7609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7610 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7612 break 2
7614 done
7615 done
7616 IFS=$as_save_IFS
7620 OTOOL64=$ac_cv_prog_OTOOL64
7621 if test -n "$OTOOL64"; then
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7623 $as_echo "$OTOOL64" >&6; }
7624 else
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7626 $as_echo "no" >&6; }
7631 if test -z "$ac_cv_prog_OTOOL64"; then
7632 ac_ct_OTOOL64=$OTOOL64
7633 # Extract the first word of "otool64", so it can be a program name with args.
7634 set dummy otool64; ac_word=$2
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7636 $as_echo_n "checking for $ac_word... " >&6; }
7637 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7638 $as_echo_n "(cached) " >&6
7639 else
7640 if test -n "$ac_ct_OTOOL64"; then
7641 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7642 else
7643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7644 for as_dir in $PATH
7646 IFS=$as_save_IFS
7647 test -z "$as_dir" && as_dir=.
7648 for ac_exec_ext in '' $ac_executable_extensions; do
7649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7650 ac_cv_prog_ac_ct_OTOOL64="otool64"
7651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7652 break 2
7654 done
7655 done
7656 IFS=$as_save_IFS
7660 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7661 if test -n "$ac_ct_OTOOL64"; then
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7663 $as_echo "$ac_ct_OTOOL64" >&6; }
7664 else
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7666 $as_echo "no" >&6; }
7669 if test "x$ac_ct_OTOOL64" = x; then
7670 OTOOL64=":"
7671 else
7672 case $cross_compiling:$ac_tool_warned in
7673 yes:)
7674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7675 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7676 ac_tool_warned=yes ;;
7677 esac
7678 OTOOL64=$ac_ct_OTOOL64
7680 else
7681 OTOOL64="$ac_cv_prog_OTOOL64"
7710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7711 $as_echo_n "checking for -single_module linker flag... " >&6; }
7712 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7713 $as_echo_n "(cached) " >&6
7714 else
7715 lt_cv_apple_cc_single_mod=no
7716 if test -z "${LT_MULTI_MODULE}"; then
7717 # By default we will add the -single_module flag. You can override
7718 # by either setting the environment variable LT_MULTI_MODULE
7719 # non-empty at configure time, or by adding -multi_module to the
7720 # link flags.
7721 rm -rf libconftest.dylib*
7722 echo "int foo(void){return 1;}" > conftest.c
7723 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7724 -dynamiclib -Wl,-single_module conftest.c" >&5
7725 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7726 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7727 _lt_result=$?
7728 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7729 lt_cv_apple_cc_single_mod=yes
7730 else
7731 cat conftest.err >&5
7733 rm -rf libconftest.dylib*
7734 rm -f conftest.*
7737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7738 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7740 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7741 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7742 $as_echo_n "(cached) " >&6
7743 else
7744 lt_cv_ld_exported_symbols_list=no
7745 save_LDFLAGS=$LDFLAGS
7746 echo "_main" > conftest.sym
7747 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7748 if test x$gcc_no_link = xyes; then
7749 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7752 /* end confdefs.h. */
7755 main ()
7759 return 0;
7761 _ACEOF
7762 if ac_fn_c_try_link "$LINENO"; then :
7763 lt_cv_ld_exported_symbols_list=yes
7764 else
7765 lt_cv_ld_exported_symbols_list=no
7767 rm -f core conftest.err conftest.$ac_objext \
7768 conftest$ac_exeext conftest.$ac_ext
7769 LDFLAGS="$save_LDFLAGS"
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7773 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7775 $as_echo_n "checking for -force_load linker flag... " >&6; }
7776 if test "${lt_cv_ld_force_load+set}" = set; then :
7777 $as_echo_n "(cached) " >&6
7778 else
7779 lt_cv_ld_force_load=no
7780 cat > conftest.c << _LT_EOF
7781 int forced_loaded() { return 2;}
7782 _LT_EOF
7783 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7784 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7785 echo "$AR cru libconftest.a conftest.o" >&5
7786 $AR cru libconftest.a conftest.o 2>&5
7787 cat > conftest.c << _LT_EOF
7788 int main() { return 0;}
7789 _LT_EOF
7790 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7791 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7792 _lt_result=$?
7793 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7794 lt_cv_ld_force_load=yes
7795 else
7796 cat conftest.err >&5
7798 rm -f conftest.err libconftest.a conftest conftest.c
7799 rm -rf conftest.dSYM
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7803 $as_echo "$lt_cv_ld_force_load" >&6; }
7804 case $host_os in
7805 rhapsody* | darwin1.[012])
7806 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7807 darwin1.*)
7808 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7809 darwin*) # darwin 5.x on
7810 # if running on 10.5 or later, the deployment target defaults
7811 # to the OS version, if on x86, and 10.4, the deployment
7812 # target defaults to 10.4. Don't you love it?
7813 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7814 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7815 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7816 10.[012]*)
7817 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7818 10.*)
7819 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7820 esac
7822 esac
7823 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7824 _lt_dar_single_mod='$single_module'
7826 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7827 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7828 else
7829 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7831 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7832 _lt_dsymutil='~$DSYMUTIL $lib || :'
7833 else
7834 _lt_dsymutil=
7837 esac
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7840 $as_echo_n "checking for ANSI C header files... " >&6; }
7841 if test "${ac_cv_header_stdc+set}" = set; then :
7842 $as_echo_n "(cached) " >&6
7843 else
7844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7845 /* end confdefs.h. */
7846 #include <stdlib.h>
7847 #include <stdarg.h>
7848 #include <string.h>
7849 #include <float.h>
7852 main ()
7856 return 0;
7858 _ACEOF
7859 if ac_fn_c_try_compile "$LINENO"; then :
7860 ac_cv_header_stdc=yes
7861 else
7862 ac_cv_header_stdc=no
7864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7866 if test $ac_cv_header_stdc = yes; then
7867 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7869 /* end confdefs.h. */
7870 #include <string.h>
7872 _ACEOF
7873 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7874 $EGREP "memchr" >/dev/null 2>&1; then :
7876 else
7877 ac_cv_header_stdc=no
7879 rm -f conftest*
7883 if test $ac_cv_header_stdc = yes; then
7884 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7886 /* end confdefs.h. */
7887 #include <stdlib.h>
7889 _ACEOF
7890 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7891 $EGREP "free" >/dev/null 2>&1; then :
7893 else
7894 ac_cv_header_stdc=no
7896 rm -f conftest*
7900 if test $ac_cv_header_stdc = yes; then
7901 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7902 if test "$cross_compiling" = yes; then :
7904 else
7905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7906 /* end confdefs.h. */
7907 #include <ctype.h>
7908 #include <stdlib.h>
7909 #if ((' ' & 0x0FF) == 0x020)
7910 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7911 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7912 #else
7913 # define ISLOWER(c) \
7914 (('a' <= (c) && (c) <= 'i') \
7915 || ('j' <= (c) && (c) <= 'r') \
7916 || ('s' <= (c) && (c) <= 'z'))
7917 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7918 #endif
7920 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7922 main ()
7924 int i;
7925 for (i = 0; i < 256; i++)
7926 if (XOR (islower (i), ISLOWER (i))
7927 || toupper (i) != TOUPPER (i))
7928 return 2;
7929 return 0;
7931 _ACEOF
7932 if ac_fn_c_try_run "$LINENO"; then :
7934 else
7935 ac_cv_header_stdc=no
7937 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7938 conftest.$ac_objext conftest.beam conftest.$ac_ext
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7944 $as_echo "$ac_cv_header_stdc" >&6; }
7945 if test $ac_cv_header_stdc = yes; then
7947 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7951 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7952 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7953 inttypes.h stdint.h unistd.h
7954 do :
7955 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7956 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7958 eval as_val=\$$as_ac_Header
7959 if test "x$as_val" = x""yes; then :
7960 cat >>confdefs.h <<_ACEOF
7961 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7962 _ACEOF
7966 done
7969 for ac_header in dlfcn.h
7970 do :
7971 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7973 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7974 cat >>confdefs.h <<_ACEOF
7975 #define HAVE_DLFCN_H 1
7976 _ACEOF
7980 done
7987 # Set options
7992 enable_win32_dll=no
7995 # Check whether --enable-shared was given.
7996 if test "${enable_shared+set}" = set; then :
7997 enableval=$enable_shared; p=${PACKAGE-default}
7998 case $enableval in
7999 yes) enable_shared=yes ;;
8000 no) enable_shared=no ;;
8002 enable_shared=no
8003 # Look at the argument we got. We use all the common list separators.
8004 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8005 for pkg in $enableval; do
8006 IFS="$lt_save_ifs"
8007 if test "X$pkg" = "X$p"; then
8008 enable_shared=yes
8010 done
8011 IFS="$lt_save_ifs"
8013 esac
8014 else
8015 enable_shared=yes
8026 # Check whether --enable-static was given.
8027 if test "${enable_static+set}" = set; then :
8028 enableval=$enable_static; p=${PACKAGE-default}
8029 case $enableval in
8030 yes) enable_static=yes ;;
8031 no) enable_static=no ;;
8033 enable_static=no
8034 # Look at the argument we got. We use all the common list separators.
8035 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8036 for pkg in $enableval; do
8037 IFS="$lt_save_ifs"
8038 if test "X$pkg" = "X$p"; then
8039 enable_static=yes
8041 done
8042 IFS="$lt_save_ifs"
8044 esac
8045 else
8046 enable_static=yes
8058 # Check whether --with-pic was given.
8059 if test "${with_pic+set}" = set; then :
8060 withval=$with_pic; pic_mode="$withval"
8061 else
8062 pic_mode=default
8066 test -z "$pic_mode" && pic_mode=default
8074 # Check whether --enable-fast-install was given.
8075 if test "${enable_fast_install+set}" = set; then :
8076 enableval=$enable_fast_install; p=${PACKAGE-default}
8077 case $enableval in
8078 yes) enable_fast_install=yes ;;
8079 no) enable_fast_install=no ;;
8081 enable_fast_install=no
8082 # Look at the argument we got. We use all the common list separators.
8083 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8084 for pkg in $enableval; do
8085 IFS="$lt_save_ifs"
8086 if test "X$pkg" = "X$p"; then
8087 enable_fast_install=yes
8089 done
8090 IFS="$lt_save_ifs"
8092 esac
8093 else
8094 enable_fast_install=yes
8107 # This can be used to rebuild libtool when needed
8108 LIBTOOL_DEPS="$ltmain"
8110 # Always use our own libtool.
8111 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8138 test -z "$LN_S" && LN_S="ln -s"
8153 if test -n "${ZSH_VERSION+set}" ; then
8154 setopt NO_GLOB_SUBST
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8158 $as_echo_n "checking for objdir... " >&6; }
8159 if test "${lt_cv_objdir+set}" = set; then :
8160 $as_echo_n "(cached) " >&6
8161 else
8162 rm -f .libs 2>/dev/null
8163 mkdir .libs 2>/dev/null
8164 if test -d .libs; then
8165 lt_cv_objdir=.libs
8166 else
8167 # MS-DOS does not allow filenames that begin with a dot.
8168 lt_cv_objdir=_libs
8170 rmdir .libs 2>/dev/null
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8173 $as_echo "$lt_cv_objdir" >&6; }
8174 objdir=$lt_cv_objdir
8180 cat >>confdefs.h <<_ACEOF
8181 #define LT_OBJDIR "$lt_cv_objdir/"
8182 _ACEOF
8187 case $host_os in
8188 aix3*)
8189 # AIX sometimes has problems with the GCC collect2 program. For some
8190 # reason, if we set the COLLECT_NAMES environment variable, the problems
8191 # vanish in a puff of smoke.
8192 if test "X${COLLECT_NAMES+set}" != Xset; then
8193 COLLECT_NAMES=
8194 export COLLECT_NAMES
8197 esac
8199 # Global variables:
8200 ofile=libtool
8201 can_build_shared=yes
8203 # All known linkers require a `.a' archive for static linking (except MSVC,
8204 # which needs '.lib').
8205 libext=a
8207 with_gnu_ld="$lt_cv_prog_gnu_ld"
8209 old_CC="$CC"
8210 old_CFLAGS="$CFLAGS"
8212 # Set sane defaults for various variables
8213 test -z "$CC" && CC=cc
8214 test -z "$LTCC" && LTCC=$CC
8215 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8216 test -z "$LD" && LD=ld
8217 test -z "$ac_objext" && ac_objext=o
8219 for cc_temp in $compiler""; do
8220 case $cc_temp in
8221 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8222 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8223 \-*) ;;
8224 *) break;;
8225 esac
8226 done
8227 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8230 # Only perform the check for file, if the check method requires it
8231 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8232 case $deplibs_check_method in
8233 file_magic*)
8234 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8236 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8237 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8238 $as_echo_n "(cached) " >&6
8239 else
8240 case $MAGIC_CMD in
8241 [\\/*] | ?:[\\/]*)
8242 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8245 lt_save_MAGIC_CMD="$MAGIC_CMD"
8246 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8247 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8248 for ac_dir in $ac_dummy; do
8249 IFS="$lt_save_ifs"
8250 test -z "$ac_dir" && ac_dir=.
8251 if test -f $ac_dir/${ac_tool_prefix}file; then
8252 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8253 if test -n "$file_magic_test_file"; then
8254 case $deplibs_check_method in
8255 "file_magic "*)
8256 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8257 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8258 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8259 $EGREP "$file_magic_regex" > /dev/null; then
8261 else
8262 cat <<_LT_EOF 1>&2
8264 *** Warning: the command libtool uses to detect shared libraries,
8265 *** $file_magic_cmd, produces output that libtool cannot recognize.
8266 *** The result is that libtool may fail to recognize shared libraries
8267 *** as such. This will affect the creation of libtool libraries that
8268 *** depend on shared libraries, but programs linked with such libtool
8269 *** libraries will work regardless of this problem. Nevertheless, you
8270 *** may want to report the problem to your system manager and/or to
8271 *** bug-libtool@gnu.org
8273 _LT_EOF
8274 fi ;;
8275 esac
8277 break
8279 done
8280 IFS="$lt_save_ifs"
8281 MAGIC_CMD="$lt_save_MAGIC_CMD"
8283 esac
8286 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8287 if test -n "$MAGIC_CMD"; then
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8289 $as_echo "$MAGIC_CMD" >&6; }
8290 else
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8292 $as_echo "no" >&6; }
8299 if test -z "$lt_cv_path_MAGIC_CMD"; then
8300 if test -n "$ac_tool_prefix"; then
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8302 $as_echo_n "checking for file... " >&6; }
8303 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8304 $as_echo_n "(cached) " >&6
8305 else
8306 case $MAGIC_CMD in
8307 [\\/*] | ?:[\\/]*)
8308 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8311 lt_save_MAGIC_CMD="$MAGIC_CMD"
8312 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8313 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8314 for ac_dir in $ac_dummy; do
8315 IFS="$lt_save_ifs"
8316 test -z "$ac_dir" && ac_dir=.
8317 if test -f $ac_dir/file; then
8318 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8319 if test -n "$file_magic_test_file"; then
8320 case $deplibs_check_method in
8321 "file_magic "*)
8322 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8323 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8324 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8325 $EGREP "$file_magic_regex" > /dev/null; then
8327 else
8328 cat <<_LT_EOF 1>&2
8330 *** Warning: the command libtool uses to detect shared libraries,
8331 *** $file_magic_cmd, produces output that libtool cannot recognize.
8332 *** The result is that libtool may fail to recognize shared libraries
8333 *** as such. This will affect the creation of libtool libraries that
8334 *** depend on shared libraries, but programs linked with such libtool
8335 *** libraries will work regardless of this problem. Nevertheless, you
8336 *** may want to report the problem to your system manager and/or to
8337 *** bug-libtool@gnu.org
8339 _LT_EOF
8340 fi ;;
8341 esac
8343 break
8345 done
8346 IFS="$lt_save_ifs"
8347 MAGIC_CMD="$lt_save_MAGIC_CMD"
8349 esac
8352 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8353 if test -n "$MAGIC_CMD"; then
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8355 $as_echo "$MAGIC_CMD" >&6; }
8356 else
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8358 $as_echo "no" >&6; }
8362 else
8363 MAGIC_CMD=:
8369 esac
8371 # Use C for the default configuration in the libtool script
8373 lt_save_CC="$CC"
8374 ac_ext=c
8375 ac_cpp='$CPP $CPPFLAGS'
8376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8381 # Source file extension for C test sources.
8382 ac_ext=c
8384 # Object file extension for compiled C test sources.
8385 objext=o
8386 objext=$objext
8388 # Code to be used in simple compile tests
8389 lt_simple_compile_test_code="int some_variable = 0;"
8391 # Code to be used in simple link tests
8392 lt_simple_link_test_code='int main(){return(0);}'
8400 # If no C compiler was specified, use CC.
8401 LTCC=${LTCC-"$CC"}
8403 # If no C compiler flags were specified, use CFLAGS.
8404 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8406 # Allow CC to be a program name with arguments.
8407 compiler=$CC
8409 # Save the default compiler, since it gets overwritten when the other
8410 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8411 compiler_DEFAULT=$CC
8413 # save warnings/boilerplate of simple test code
8414 ac_outfile=conftest.$ac_objext
8415 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8416 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8417 _lt_compiler_boilerplate=`cat conftest.err`
8418 $RM conftest*
8420 ac_outfile=conftest.$ac_objext
8421 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8422 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8423 _lt_linker_boilerplate=`cat conftest.err`
8424 $RM -r conftest*
8427 ## CAVEAT EMPTOR:
8428 ## There is no encapsulation within the following macros, do not change
8429 ## the running order or otherwise move them around unless you know exactly
8430 ## what you are doing...
8431 if test -n "$compiler"; then
8433 lt_prog_compiler_no_builtin_flag=
8435 if test "$GCC" = yes; then
8436 case $cc_basename in
8437 nvcc*)
8438 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8440 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8441 esac
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8444 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8445 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8446 $as_echo_n "(cached) " >&6
8447 else
8448 lt_cv_prog_compiler_rtti_exceptions=no
8449 ac_outfile=conftest.$ac_objext
8450 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8451 lt_compiler_flag="-fno-rtti -fno-exceptions"
8452 # Insert the option either (1) after the last *FLAGS variable, or
8453 # (2) before a word containing "conftest.", or (3) at the end.
8454 # Note that $ac_compile itself does not contain backslashes and begins
8455 # with a dollar sign (not a hyphen), so the echo should work correctly.
8456 # The option is referenced via a variable to avoid confusing sed.
8457 lt_compile=`echo "$ac_compile" | $SED \
8458 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8459 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8460 -e 's:$: $lt_compiler_flag:'`
8461 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8462 (eval "$lt_compile" 2>conftest.err)
8463 ac_status=$?
8464 cat conftest.err >&5
8465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8466 if (exit $ac_status) && test -s "$ac_outfile"; then
8467 # The compiler can only warn and ignore the option if not recognized
8468 # So say no if there are warnings other than the usual output.
8469 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8470 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8471 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8472 lt_cv_prog_compiler_rtti_exceptions=yes
8475 $RM conftest*
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8479 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8481 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8482 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8483 else
8494 lt_prog_compiler_wl=
8495 lt_prog_compiler_pic=
8496 lt_prog_compiler_static=
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8499 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8501 if test "$GCC" = yes; then
8502 lt_prog_compiler_wl='-Wl,'
8503 lt_prog_compiler_static='-static'
8505 case $host_os in
8506 aix*)
8507 # All AIX code is PIC.
8508 if test "$host_cpu" = ia64; then
8509 # AIX 5 now supports IA64 processor
8510 lt_prog_compiler_static='-Bstatic'
8514 amigaos*)
8515 case $host_cpu in
8516 powerpc)
8517 # see comment about AmigaOS4 .so support
8518 lt_prog_compiler_pic='-fPIC'
8520 m68k)
8521 # FIXME: we need at least 68020 code to build shared libraries, but
8522 # adding the `-m68020' flag to GCC prevents building anything better,
8523 # like `-m68040'.
8524 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8526 esac
8529 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8530 # PIC is the default for these OSes.
8533 mingw* | cygwin* | pw32* | os2* | cegcc*)
8534 # This hack is so that the source file can tell whether it is being
8535 # built for inclusion in a dll (and should export symbols for example).
8536 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8537 # (--disable-auto-import) libraries
8538 lt_prog_compiler_pic='-DDLL_EXPORT'
8541 darwin* | rhapsody*)
8542 # PIC is the default on this platform
8543 # Common symbols not allowed in MH_DYLIB files
8544 lt_prog_compiler_pic='-fno-common'
8547 haiku*)
8548 # PIC is the default for Haiku.
8549 # The "-static" flag exists, but is broken.
8550 lt_prog_compiler_static=
8553 hpux*)
8554 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8555 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8556 # sets the default TLS model and affects inlining.
8557 case $host_cpu in
8558 hppa*64*)
8559 # +Z the default
8562 lt_prog_compiler_pic='-fPIC'
8564 esac
8567 interix[3-9]*)
8568 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8569 # Instead, we relocate shared libraries at runtime.
8572 msdosdjgpp*)
8573 # Just because we use GCC doesn't mean we suddenly get shared libraries
8574 # on systems that don't support them.
8575 lt_prog_compiler_can_build_shared=no
8576 enable_shared=no
8579 *nto* | *qnx*)
8580 # QNX uses GNU C++, but need to define -shared option too, otherwise
8581 # it will coredump.
8582 lt_prog_compiler_pic='-fPIC -shared'
8585 sysv4*MP*)
8586 if test -d /usr/nec; then
8587 lt_prog_compiler_pic=-Kconform_pic
8592 lt_prog_compiler_pic='-fPIC'
8594 esac
8596 case $cc_basename in
8597 nvcc*) # Cuda Compiler Driver 2.2
8598 lt_prog_compiler_wl='-Xlinker '
8599 lt_prog_compiler_pic='-Xcompiler -fPIC'
8601 esac
8602 else
8603 # PORTME Check for flag to pass linker flags through the system compiler.
8604 case $host_os in
8605 aix*)
8606 lt_prog_compiler_wl='-Wl,'
8607 if test "$host_cpu" = ia64; then
8608 # AIX 5 now supports IA64 processor
8609 lt_prog_compiler_static='-Bstatic'
8610 else
8611 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8615 mingw* | cygwin* | pw32* | os2* | cegcc*)
8616 # This hack is so that the source file can tell whether it is being
8617 # built for inclusion in a dll (and should export symbols for example).
8618 lt_prog_compiler_pic='-DDLL_EXPORT'
8621 hpux9* | hpux10* | hpux11*)
8622 lt_prog_compiler_wl='-Wl,'
8623 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8624 # not for PA HP-UX.
8625 case $host_cpu in
8626 hppa*64*|ia64*)
8627 # +Z the default
8630 lt_prog_compiler_pic='+Z'
8632 esac
8633 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8634 lt_prog_compiler_static='${wl}-a ${wl}archive'
8637 irix5* | irix6* | nonstopux*)
8638 lt_prog_compiler_wl='-Wl,'
8639 # PIC (with -KPIC) is the default.
8640 lt_prog_compiler_static='-non_shared'
8643 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8644 case $cc_basename in
8645 # old Intel for x86_64 which still supported -KPIC.
8646 ecc*)
8647 lt_prog_compiler_wl='-Wl,'
8648 lt_prog_compiler_pic='-KPIC'
8649 lt_prog_compiler_static='-static'
8651 # icc used to be incompatible with GCC.
8652 # ICC 10 doesn't accept -KPIC any more.
8653 icc* | ifort*)
8654 lt_prog_compiler_wl='-Wl,'
8655 lt_prog_compiler_pic='-fPIC'
8656 lt_prog_compiler_static='-static'
8658 # Lahey Fortran 8.1.
8659 lf95*)
8660 lt_prog_compiler_wl='-Wl,'
8661 lt_prog_compiler_pic='--shared'
8662 lt_prog_compiler_static='--static'
8664 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8665 # Portland Group compilers (*not* the Pentium gcc compiler,
8666 # which looks to be a dead project)
8667 lt_prog_compiler_wl='-Wl,'
8668 lt_prog_compiler_pic='-fpic'
8669 lt_prog_compiler_static='-Bstatic'
8671 ccc*)
8672 lt_prog_compiler_wl='-Wl,'
8673 # All Alpha code is PIC.
8674 lt_prog_compiler_static='-non_shared'
8676 xl* | bgxl* | bgf* | mpixl*)
8677 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8678 lt_prog_compiler_wl='-Wl,'
8679 lt_prog_compiler_pic='-qpic'
8680 lt_prog_compiler_static='-qstaticlink'
8683 case `$CC -V 2>&1 | sed 5q` in
8684 *Sun\ F* | *Sun*Fortran*)
8685 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8686 lt_prog_compiler_pic='-KPIC'
8687 lt_prog_compiler_static='-Bstatic'
8688 lt_prog_compiler_wl=''
8690 *Sun\ C*)
8691 # Sun C 5.9
8692 lt_prog_compiler_pic='-KPIC'
8693 lt_prog_compiler_static='-Bstatic'
8694 lt_prog_compiler_wl='-Wl,'
8696 esac
8698 esac
8701 newsos6)
8702 lt_prog_compiler_pic='-KPIC'
8703 lt_prog_compiler_static='-Bstatic'
8706 *nto* | *qnx*)
8707 # QNX uses GNU C++, but need to define -shared option too, otherwise
8708 # it will coredump.
8709 lt_prog_compiler_pic='-fPIC -shared'
8712 osf3* | osf4* | osf5*)
8713 lt_prog_compiler_wl='-Wl,'
8714 # All OSF/1 code is PIC.
8715 lt_prog_compiler_static='-non_shared'
8718 rdos*)
8719 lt_prog_compiler_static='-non_shared'
8722 solaris*)
8723 lt_prog_compiler_pic='-KPIC'
8724 lt_prog_compiler_static='-Bstatic'
8725 case $cc_basename in
8726 f77* | f90* | f95*)
8727 lt_prog_compiler_wl='-Qoption ld ';;
8729 lt_prog_compiler_wl='-Wl,';;
8730 esac
8733 sunos4*)
8734 lt_prog_compiler_wl='-Qoption ld '
8735 lt_prog_compiler_pic='-PIC'
8736 lt_prog_compiler_static='-Bstatic'
8739 sysv4 | sysv4.2uw2* | sysv4.3*)
8740 lt_prog_compiler_wl='-Wl,'
8741 lt_prog_compiler_pic='-KPIC'
8742 lt_prog_compiler_static='-Bstatic'
8745 sysv4*MP*)
8746 if test -d /usr/nec ;then
8747 lt_prog_compiler_pic='-Kconform_pic'
8748 lt_prog_compiler_static='-Bstatic'
8752 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8753 lt_prog_compiler_wl='-Wl,'
8754 lt_prog_compiler_pic='-KPIC'
8755 lt_prog_compiler_static='-Bstatic'
8758 unicos*)
8759 lt_prog_compiler_wl='-Wl,'
8760 lt_prog_compiler_can_build_shared=no
8763 uts4*)
8764 lt_prog_compiler_pic='-pic'
8765 lt_prog_compiler_static='-Bstatic'
8769 lt_prog_compiler_can_build_shared=no
8771 esac
8774 case $host_os in
8775 # For platforms which do not support PIC, -DPIC is meaningless:
8776 *djgpp*)
8777 lt_prog_compiler_pic=
8780 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8782 esac
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8784 $as_echo "$lt_prog_compiler_pic" >&6; }
8792 # Check to make sure the PIC flag actually works.
8794 if test -n "$lt_prog_compiler_pic"; then
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8796 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8797 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8798 $as_echo_n "(cached) " >&6
8799 else
8800 lt_cv_prog_compiler_pic_works=no
8801 ac_outfile=conftest.$ac_objext
8802 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8803 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8804 # Insert the option either (1) after the last *FLAGS variable, or
8805 # (2) before a word containing "conftest.", or (3) at the end.
8806 # Note that $ac_compile itself does not contain backslashes and begins
8807 # with a dollar sign (not a hyphen), so the echo should work correctly.
8808 # The option is referenced via a variable to avoid confusing sed.
8809 lt_compile=`echo "$ac_compile" | $SED \
8810 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8811 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8812 -e 's:$: $lt_compiler_flag:'`
8813 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8814 (eval "$lt_compile" 2>conftest.err)
8815 ac_status=$?
8816 cat conftest.err >&5
8817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8818 if (exit $ac_status) && test -s "$ac_outfile"; then
8819 # The compiler can only warn and ignore the option if not recognized
8820 # So say no if there are warnings other than the usual output.
8821 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8822 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8823 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8824 lt_cv_prog_compiler_pic_works=yes
8827 $RM conftest*
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8831 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8833 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8834 case $lt_prog_compiler_pic in
8835 "" | " "*) ;;
8836 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8837 esac
8838 else
8839 lt_prog_compiler_pic=
8840 lt_prog_compiler_can_build_shared=no
8851 # Check to make sure the static flag actually works.
8853 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8855 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8856 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8857 $as_echo_n "(cached) " >&6
8858 else
8859 lt_cv_prog_compiler_static_works=no
8860 save_LDFLAGS="$LDFLAGS"
8861 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8862 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8863 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8864 # The linker can only warn and ignore the option if not recognized
8865 # So say no if there are warnings
8866 if test -s conftest.err; then
8867 # Append any errors to the config.log.
8868 cat conftest.err 1>&5
8869 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8870 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8871 if diff conftest.exp conftest.er2 >/dev/null; then
8872 lt_cv_prog_compiler_static_works=yes
8874 else
8875 lt_cv_prog_compiler_static_works=yes
8878 $RM -r conftest*
8879 LDFLAGS="$save_LDFLAGS"
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8883 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8885 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8887 else
8888 lt_prog_compiler_static=
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8898 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8899 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8900 $as_echo_n "(cached) " >&6
8901 else
8902 lt_cv_prog_compiler_c_o=no
8903 $RM -r conftest 2>/dev/null
8904 mkdir conftest
8905 cd conftest
8906 mkdir out
8907 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8909 lt_compiler_flag="-o out/conftest2.$ac_objext"
8910 # Insert the option either (1) after the last *FLAGS variable, or
8911 # (2) before a word containing "conftest.", or (3) at the end.
8912 # Note that $ac_compile itself does not contain backslashes and begins
8913 # with a dollar sign (not a hyphen), so the echo should work correctly.
8914 lt_compile=`echo "$ac_compile" | $SED \
8915 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8916 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8917 -e 's:$: $lt_compiler_flag:'`
8918 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8919 (eval "$lt_compile" 2>out/conftest.err)
8920 ac_status=$?
8921 cat out/conftest.err >&5
8922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8923 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8924 then
8925 # The compiler can only warn and ignore the option if not recognized
8926 # So say no if there are warnings
8927 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8928 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8929 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8930 lt_cv_prog_compiler_c_o=yes
8933 chmod u+w . 2>&5
8934 $RM conftest*
8935 # SGI C++ compiler will create directory out/ii_files/ for
8936 # template instantiation
8937 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8938 $RM out/* && rmdir out
8939 cd ..
8940 $RM -r conftest
8941 $RM conftest*
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8945 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8953 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8954 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8955 $as_echo_n "(cached) " >&6
8956 else
8957 lt_cv_prog_compiler_c_o=no
8958 $RM -r conftest 2>/dev/null
8959 mkdir conftest
8960 cd conftest
8961 mkdir out
8962 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8964 lt_compiler_flag="-o out/conftest2.$ac_objext"
8965 # Insert the option either (1) after the last *FLAGS variable, or
8966 # (2) before a word containing "conftest.", or (3) at the end.
8967 # Note that $ac_compile itself does not contain backslashes and begins
8968 # with a dollar sign (not a hyphen), so the echo should work correctly.
8969 lt_compile=`echo "$ac_compile" | $SED \
8970 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8971 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8972 -e 's:$: $lt_compiler_flag:'`
8973 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8974 (eval "$lt_compile" 2>out/conftest.err)
8975 ac_status=$?
8976 cat out/conftest.err >&5
8977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8978 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8979 then
8980 # The compiler can only warn and ignore the option if not recognized
8981 # So say no if there are warnings
8982 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8983 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8984 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8985 lt_cv_prog_compiler_c_o=yes
8988 chmod u+w . 2>&5
8989 $RM conftest*
8990 # SGI C++ compiler will create directory out/ii_files/ for
8991 # template instantiation
8992 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8993 $RM out/* && rmdir out
8994 cd ..
8995 $RM -r conftest
8996 $RM conftest*
8999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9000 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9005 hard_links="nottested"
9006 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9007 # do not overwrite the value of need_locks provided by the user
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9009 $as_echo_n "checking if we can lock with hard links... " >&6; }
9010 hard_links=yes
9011 $RM conftest*
9012 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9013 touch conftest.a
9014 ln conftest.a conftest.b 2>&5 || hard_links=no
9015 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9017 $as_echo "$hard_links" >&6; }
9018 if test "$hard_links" = no; then
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9020 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9021 need_locks=warn
9023 else
9024 need_locks=no
9032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9033 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9035 runpath_var=
9036 allow_undefined_flag=
9037 always_export_symbols=no
9038 archive_cmds=
9039 archive_expsym_cmds=
9040 compiler_needs_object=no
9041 enable_shared_with_static_runtimes=no
9042 export_dynamic_flag_spec=
9043 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9044 hardcode_automatic=no
9045 hardcode_direct=no
9046 hardcode_direct_absolute=no
9047 hardcode_libdir_flag_spec=
9048 hardcode_libdir_flag_spec_ld=
9049 hardcode_libdir_separator=
9050 hardcode_minus_L=no
9051 hardcode_shlibpath_var=unsupported
9052 inherit_rpath=no
9053 link_all_deplibs=unknown
9054 module_cmds=
9055 module_expsym_cmds=
9056 old_archive_from_new_cmds=
9057 old_archive_from_expsyms_cmds=
9058 thread_safe_flag_spec=
9059 whole_archive_flag_spec=
9060 # include_expsyms should be a list of space-separated symbols to be *always*
9061 # included in the symbol list
9062 include_expsyms=
9063 # exclude_expsyms can be an extended regexp of symbols to exclude
9064 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9065 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9066 # as well as any symbol that contains `d'.
9067 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9068 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9069 # platforms (ab)use it in PIC code, but their linkers get confused if
9070 # the symbol is explicitly referenced. Since portable code cannot
9071 # rely on this symbol name, it's probably fine to never include it in
9072 # preloaded symbol tables.
9073 # Exclude shared library initialization/finalization symbols.
9074 extract_expsyms_cmds=
9076 case $host_os in
9077 cygwin* | mingw* | pw32* | cegcc*)
9078 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9079 # When not using gcc, we currently assume that we are using
9080 # Microsoft Visual C++.
9081 if test "$GCC" != yes; then
9082 with_gnu_ld=no
9085 interix*)
9086 # we just hope/assume this is gcc and not c89 (= MSVC++)
9087 with_gnu_ld=yes
9089 openbsd*)
9090 with_gnu_ld=no
9092 esac
9094 ld_shlibs=yes
9096 # On some targets, GNU ld is compatible enough with the native linker
9097 # that we're better off using the native interface for both.
9098 lt_use_gnu_ld_interface=no
9099 if test "$with_gnu_ld" = yes; then
9100 case $host_os in
9101 aix*)
9102 # The AIX port of GNU ld has always aspired to compatibility
9103 # with the native linker. However, as the warning in the GNU ld
9104 # block says, versions before 2.19.5* couldn't really create working
9105 # shared libraries, regardless of the interface used.
9106 case `$LD -v 2>&1` in
9107 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9108 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9109 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9111 lt_use_gnu_ld_interface=yes
9113 esac
9116 lt_use_gnu_ld_interface=yes
9118 esac
9121 if test "$lt_use_gnu_ld_interface" = yes; then
9122 # If archive_cmds runs LD, not CC, wlarc should be empty
9123 wlarc='${wl}'
9125 # Set some defaults for GNU ld with shared library support. These
9126 # are reset later if shared libraries are not supported. Putting them
9127 # here allows them to be overridden if necessary.
9128 runpath_var=LD_RUN_PATH
9129 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9130 export_dynamic_flag_spec='${wl}--export-dynamic'
9131 # ancient GNU ld didn't support --whole-archive et. al.
9132 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9133 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9134 else
9135 whole_archive_flag_spec=
9137 supports_anon_versioning=no
9138 case `$LD -v 2>&1` in
9139 *GNU\ gold*) supports_anon_versioning=yes ;;
9140 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9141 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9142 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9143 *\ 2.11.*) ;; # other 2.11 versions
9144 *) supports_anon_versioning=yes ;;
9145 esac
9147 # See if GNU ld supports shared libraries.
9148 case $host_os in
9149 aix[3-9]*)
9150 # On AIX/PPC, the GNU linker is very broken
9151 if test "$host_cpu" != ia64; then
9152 ld_shlibs=no
9153 cat <<_LT_EOF 1>&2
9155 *** Warning: the GNU linker, at least up to release 2.19, is reported
9156 *** to be unable to reliably create shared libraries on AIX.
9157 *** Therefore, libtool is disabling shared libraries support. If you
9158 *** really care for shared libraries, you may want to install binutils
9159 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9160 *** You will then need to restart the configuration process.
9162 _LT_EOF
9166 amigaos*)
9167 case $host_cpu in
9168 powerpc)
9169 # see comment about AmigaOS4 .so support
9170 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9171 archive_expsym_cmds=''
9173 m68k)
9174 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9175 hardcode_libdir_flag_spec='-L$libdir'
9176 hardcode_minus_L=yes
9178 esac
9181 beos*)
9182 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9183 allow_undefined_flag=unsupported
9184 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9185 # support --undefined. This deserves some investigation. FIXME
9186 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9187 else
9188 ld_shlibs=no
9192 cygwin* | mingw* | pw32* | cegcc*)
9193 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9194 # as there is no search path for DLLs.
9195 hardcode_libdir_flag_spec='-L$libdir'
9196 export_dynamic_flag_spec='${wl}--export-all-symbols'
9197 allow_undefined_flag=unsupported
9198 always_export_symbols=no
9199 enable_shared_with_static_runtimes=yes
9200 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9202 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9203 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9204 # If the export-symbols file already is a .def file (1st line
9205 # is EXPORTS), use it as is; otherwise, prepend...
9206 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9207 cp $export_symbols $output_objdir/$soname.def;
9208 else
9209 echo EXPORTS > $output_objdir/$soname.def;
9210 cat $export_symbols >> $output_objdir/$soname.def;
9212 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9213 else
9214 ld_shlibs=no
9218 haiku*)
9219 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9220 link_all_deplibs=yes
9223 interix[3-9]*)
9224 hardcode_direct=no
9225 hardcode_shlibpath_var=no
9226 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9227 export_dynamic_flag_spec='${wl}-E'
9228 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9229 # Instead, shared libraries are loaded at an image base (0x10000000 by
9230 # default) and relocated if they conflict, which is a slow very memory
9231 # consuming and fragmenting process. To avoid this, we pick a random,
9232 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9233 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9234 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9235 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9238 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9239 tmp_diet=no
9240 if test "$host_os" = linux-dietlibc; then
9241 case $cc_basename in
9242 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9243 esac
9245 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9246 && test "$tmp_diet" = no
9247 then
9248 tmp_addflag=
9249 tmp_sharedflag='-shared'
9250 case $cc_basename,$host_cpu in
9251 pgcc*) # Portland Group C compiler
9252 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9253 tmp_addflag=' $pic_flag'
9255 pgf77* | pgf90* | pgf95* | pgfortran*)
9256 # Portland Group f77 and f90 compilers
9257 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9258 tmp_addflag=' $pic_flag -Mnomain' ;;
9259 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9260 tmp_addflag=' -i_dynamic' ;;
9261 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9262 tmp_addflag=' -i_dynamic -nofor_main' ;;
9263 ifc* | ifort*) # Intel Fortran compiler
9264 tmp_addflag=' -nofor_main' ;;
9265 lf95*) # Lahey Fortran 8.1
9266 whole_archive_flag_spec=
9267 tmp_sharedflag='--shared' ;;
9268 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9269 tmp_sharedflag='-qmkshrobj'
9270 tmp_addflag= ;;
9271 nvcc*) # Cuda Compiler Driver 2.2
9272 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9273 compiler_needs_object=yes
9275 esac
9276 case `$CC -V 2>&1 | sed 5q` in
9277 *Sun\ C*) # Sun C 5.9
9278 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9279 compiler_needs_object=yes
9280 tmp_sharedflag='-G' ;;
9281 *Sun\ F*) # Sun Fortran 8.3
9282 tmp_sharedflag='-G' ;;
9283 esac
9284 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9286 if test "x$supports_anon_versioning" = xyes; then
9287 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9288 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9289 echo "local: *; };" >> $output_objdir/$libname.ver~
9290 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9293 case $cc_basename in
9294 xlf* | bgf* | bgxlf* | mpixlf*)
9295 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9296 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9297 hardcode_libdir_flag_spec=
9298 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9299 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9300 if test "x$supports_anon_versioning" = xyes; then
9301 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9302 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9303 echo "local: *; };" >> $output_objdir/$libname.ver~
9304 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9307 esac
9308 else
9309 ld_shlibs=no
9313 netbsd*)
9314 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9315 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9316 wlarc=
9317 else
9318 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9319 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9323 solaris*)
9324 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9325 ld_shlibs=no
9326 cat <<_LT_EOF 1>&2
9328 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9329 *** create shared libraries on Solaris systems. Therefore, libtool
9330 *** is disabling shared libraries support. We urge you to upgrade GNU
9331 *** binutils to release 2.9.1 or newer. Another option is to modify
9332 *** your PATH or compiler configuration so that the native linker is
9333 *** used, and then restart.
9335 _LT_EOF
9336 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9337 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9338 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9339 else
9340 ld_shlibs=no
9344 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9345 case `$LD -v 2>&1` in
9346 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9347 ld_shlibs=no
9348 cat <<_LT_EOF 1>&2
9350 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9351 *** reliably create shared libraries on SCO systems. Therefore, libtool
9352 *** is disabling shared libraries support. We urge you to upgrade GNU
9353 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9354 *** your PATH or compiler configuration so that the native linker is
9355 *** used, and then restart.
9357 _LT_EOF
9360 # For security reasons, it is highly recommended that you always
9361 # use absolute paths for naming shared libraries, and exclude the
9362 # DT_RUNPATH tag from executables and libraries. But doing so
9363 # requires that you compile everything twice, which is a pain.
9364 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9365 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9366 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9367 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9368 else
9369 ld_shlibs=no
9372 esac
9375 sunos4*)
9376 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9377 wlarc=
9378 hardcode_direct=yes
9379 hardcode_shlibpath_var=no
9383 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9384 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9385 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9386 else
9387 ld_shlibs=no
9390 esac
9392 if test "$ld_shlibs" = no; then
9393 runpath_var=
9394 hardcode_libdir_flag_spec=
9395 export_dynamic_flag_spec=
9396 whole_archive_flag_spec=
9398 else
9399 # PORTME fill in a description of your system's linker (not GNU ld)
9400 case $host_os in
9401 aix3*)
9402 allow_undefined_flag=unsupported
9403 always_export_symbols=yes
9404 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9405 # Note: this linker hardcodes the directories in LIBPATH if there
9406 # are no directories specified by -L.
9407 hardcode_minus_L=yes
9408 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9409 # Neither direct hardcoding nor static linking is supported with a
9410 # broken collect2.
9411 hardcode_direct=unsupported
9415 aix[4-9]*)
9416 if test "$host_cpu" = ia64; then
9417 # On IA64, the linker does run time linking by default, so we don't
9418 # have to do anything special.
9419 aix_use_runtimelinking=no
9420 exp_sym_flag='-Bexport'
9421 no_entry_flag=""
9422 else
9423 # If we're using GNU nm, then we don't want the "-C" option.
9424 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9425 # Also, AIX nm treats weak defined symbols like other global
9426 # defined symbols, whereas GNU nm marks them as "W".
9427 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9428 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9429 else
9430 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9432 aix_use_runtimelinking=no
9434 # Test if we are trying to use run time linking or normal
9435 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9436 # need to do runtime linking.
9437 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9438 for ld_flag in $LDFLAGS; do
9439 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9440 aix_use_runtimelinking=yes
9441 break
9443 done
9445 esac
9447 exp_sym_flag='-bexport'
9448 no_entry_flag='-bnoentry'
9451 # When large executables or shared objects are built, AIX ld can
9452 # have problems creating the table of contents. If linking a library
9453 # or program results in "error TOC overflow" add -mminimal-toc to
9454 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9455 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9457 archive_cmds=''
9458 hardcode_direct=yes
9459 hardcode_direct_absolute=yes
9460 hardcode_libdir_separator=':'
9461 link_all_deplibs=yes
9462 file_list_spec='${wl}-f,'
9464 if test "$GCC" = yes; then
9465 case $host_os in aix4.[012]|aix4.[012].*)
9466 # We only want to do this on AIX 4.2 and lower, the check
9467 # below for broken collect2 doesn't work under 4.3+
9468 collect2name=`${CC} -print-prog-name=collect2`
9469 if test -f "$collect2name" &&
9470 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9471 then
9472 # We have reworked collect2
9474 else
9475 # We have old collect2
9476 hardcode_direct=unsupported
9477 # It fails to find uninstalled libraries when the uninstalled
9478 # path is not listed in the libpath. Setting hardcode_minus_L
9479 # to unsupported forces relinking
9480 hardcode_minus_L=yes
9481 hardcode_libdir_flag_spec='-L$libdir'
9482 hardcode_libdir_separator=
9485 esac
9486 shared_flag='-shared'
9487 if test "$aix_use_runtimelinking" = yes; then
9488 shared_flag="$shared_flag "'${wl}-G'
9490 else
9491 # not using gcc
9492 if test "$host_cpu" = ia64; then
9493 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9494 # chokes on -Wl,-G. The following line is correct:
9495 shared_flag='-G'
9496 else
9497 if test "$aix_use_runtimelinking" = yes; then
9498 shared_flag='${wl}-G'
9499 else
9500 shared_flag='${wl}-bM:SRE'
9505 export_dynamic_flag_spec='${wl}-bexpall'
9506 # It seems that -bexpall does not export symbols beginning with
9507 # underscore (_), so it is better to generate a list of symbols to export.
9508 always_export_symbols=yes
9509 if test "$aix_use_runtimelinking" = yes; then
9510 # Warning - without using the other runtime loading flags (-brtl),
9511 # -berok will link without error, but may produce a broken library.
9512 allow_undefined_flag='-berok'
9513 # Determine the default libpath from the value encoded in an
9514 # empty executable.
9515 if test x$gcc_no_link = xyes; then
9516 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9519 /* end confdefs.h. */
9522 main ()
9526 return 0;
9528 _ACEOF
9529 if ac_fn_c_try_link "$LINENO"; then :
9531 lt_aix_libpath_sed='
9532 /Import File Strings/,/^$/ {
9533 /^0/ {
9534 s/^0 *\(.*\)$/\1/
9538 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9539 # Check for a 64-bit object if we didn't find anything.
9540 if test -z "$aix_libpath"; then
9541 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9544 rm -f core conftest.err conftest.$ac_objext \
9545 conftest$ac_exeext conftest.$ac_ext
9546 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9548 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9549 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9550 else
9551 if test "$host_cpu" = ia64; then
9552 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9553 allow_undefined_flag="-z nodefs"
9554 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9555 else
9556 # Determine the default libpath from the value encoded in an
9557 # empty executable.
9558 if test x$gcc_no_link = xyes; then
9559 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9562 /* end confdefs.h. */
9565 main ()
9569 return 0;
9571 _ACEOF
9572 if ac_fn_c_try_link "$LINENO"; then :
9574 lt_aix_libpath_sed='
9575 /Import File Strings/,/^$/ {
9576 /^0/ {
9577 s/^0 *\(.*\)$/\1/
9581 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9582 # Check for a 64-bit object if we didn't find anything.
9583 if test -z "$aix_libpath"; then
9584 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9587 rm -f core conftest.err conftest.$ac_objext \
9588 conftest$ac_exeext conftest.$ac_ext
9589 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9591 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9592 # Warning - without using the other run time loading flags,
9593 # -berok will link without error, but may produce a broken library.
9594 no_undefined_flag=' ${wl}-bernotok'
9595 allow_undefined_flag=' ${wl}-berok'
9596 if test "$with_gnu_ld" = yes; then
9597 # We only use this code for GNU lds that support --whole-archive.
9598 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9599 else
9600 # Exported symbols can be pulled into shared objects from archives
9601 whole_archive_flag_spec='$convenience'
9603 archive_cmds_need_lc=yes
9604 # This is similar to how AIX traditionally builds its shared libraries.
9605 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9610 amigaos*)
9611 case $host_cpu in
9612 powerpc)
9613 # see comment about AmigaOS4 .so support
9614 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9615 archive_expsym_cmds=''
9617 m68k)
9618 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9619 hardcode_libdir_flag_spec='-L$libdir'
9620 hardcode_minus_L=yes
9622 esac
9625 bsdi[45]*)
9626 export_dynamic_flag_spec=-rdynamic
9629 cygwin* | mingw* | pw32* | cegcc*)
9630 # When not using gcc, we currently assume that we are using
9631 # Microsoft Visual C++.
9632 # hardcode_libdir_flag_spec is actually meaningless, as there is
9633 # no search path for DLLs.
9634 hardcode_libdir_flag_spec=' '
9635 allow_undefined_flag=unsupported
9636 # Tell ltmain to make .lib files, not .a files.
9637 libext=lib
9638 # Tell ltmain to make .dll files, not .so files.
9639 shrext_cmds=".dll"
9640 # FIXME: Setting linknames here is a bad hack.
9641 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9642 # The linker will automatically build a .lib file if we build a DLL.
9643 old_archive_from_new_cmds='true'
9644 # FIXME: Should let the user specify the lib program.
9645 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9646 fix_srcfile_path='`cygpath -w "$srcfile"`'
9647 enable_shared_with_static_runtimes=yes
9650 darwin* | rhapsody*)
9653 archive_cmds_need_lc=no
9654 hardcode_direct=no
9655 hardcode_automatic=yes
9656 hardcode_shlibpath_var=unsupported
9657 if test "$lt_cv_ld_force_load" = "yes"; then
9658 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9659 else
9660 whole_archive_flag_spec=''
9662 link_all_deplibs=yes
9663 allow_undefined_flag="$_lt_dar_allow_undefined"
9664 case $cc_basename in
9665 ifort*) _lt_dar_can_shared=yes ;;
9666 *) _lt_dar_can_shared=$GCC ;;
9667 esac
9668 if test "$_lt_dar_can_shared" = "yes"; then
9669 output_verbose_link_cmd=func_echo_all
9670 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9671 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9672 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9673 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9675 else
9676 ld_shlibs=no
9681 dgux*)
9682 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9683 hardcode_libdir_flag_spec='-L$libdir'
9684 hardcode_shlibpath_var=no
9687 freebsd1*)
9688 ld_shlibs=no
9691 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9692 # support. Future versions do this automatically, but an explicit c++rt0.o
9693 # does not break anything, and helps significantly (at the cost of a little
9694 # extra space).
9695 freebsd2.2*)
9696 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9697 hardcode_libdir_flag_spec='-R$libdir'
9698 hardcode_direct=yes
9699 hardcode_shlibpath_var=no
9702 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9703 freebsd2*)
9704 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9705 hardcode_direct=yes
9706 hardcode_minus_L=yes
9707 hardcode_shlibpath_var=no
9710 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9711 freebsd* | dragonfly*)
9712 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9713 hardcode_libdir_flag_spec='-R$libdir'
9714 hardcode_direct=yes
9715 hardcode_shlibpath_var=no
9718 hpux9*)
9719 if test "$GCC" = yes; then
9720 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'
9721 else
9722 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'
9724 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9725 hardcode_libdir_separator=:
9726 hardcode_direct=yes
9728 # hardcode_minus_L: Not really in the search PATH,
9729 # but as the default location of the library.
9730 hardcode_minus_L=yes
9731 export_dynamic_flag_spec='${wl}-E'
9734 hpux10*)
9735 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9736 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9737 else
9738 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9740 if test "$with_gnu_ld" = no; then
9741 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9742 hardcode_libdir_flag_spec_ld='+b $libdir'
9743 hardcode_libdir_separator=:
9744 hardcode_direct=yes
9745 hardcode_direct_absolute=yes
9746 export_dynamic_flag_spec='${wl}-E'
9747 # hardcode_minus_L: Not really in the search PATH,
9748 # but as the default location of the library.
9749 hardcode_minus_L=yes
9753 hpux11*)
9754 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9755 case $host_cpu in
9756 hppa*64*)
9757 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9759 ia64*)
9760 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9763 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9765 esac
9766 else
9767 case $host_cpu in
9768 hppa*64*)
9769 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9771 ia64*)
9772 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9776 # Older versions of the 11.00 compiler do not understand -b yet
9777 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9779 $as_echo_n "checking if $CC understands -b... " >&6; }
9780 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9781 $as_echo_n "(cached) " >&6
9782 else
9783 lt_cv_prog_compiler__b=no
9784 save_LDFLAGS="$LDFLAGS"
9785 LDFLAGS="$LDFLAGS -b"
9786 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9787 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9788 # The linker can only warn and ignore the option if not recognized
9789 # So say no if there are warnings
9790 if test -s conftest.err; then
9791 # Append any errors to the config.log.
9792 cat conftest.err 1>&5
9793 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9794 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9795 if diff conftest.exp conftest.er2 >/dev/null; then
9796 lt_cv_prog_compiler__b=yes
9798 else
9799 lt_cv_prog_compiler__b=yes
9802 $RM -r conftest*
9803 LDFLAGS="$save_LDFLAGS"
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9807 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9809 if test x"$lt_cv_prog_compiler__b" = xyes; then
9810 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9811 else
9812 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9816 esac
9818 if test "$with_gnu_ld" = no; then
9819 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9820 hardcode_libdir_separator=:
9822 case $host_cpu in
9823 hppa*64*|ia64*)
9824 hardcode_direct=no
9825 hardcode_shlibpath_var=no
9828 hardcode_direct=yes
9829 hardcode_direct_absolute=yes
9830 export_dynamic_flag_spec='${wl}-E'
9832 # hardcode_minus_L: Not really in the search PATH,
9833 # but as the default location of the library.
9834 hardcode_minus_L=yes
9836 esac
9840 irix5* | irix6* | nonstopux*)
9841 if test "$GCC" = yes; then
9842 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'
9843 # Try to use the -exported_symbol ld option, if it does not
9844 # work, assume that -exports_file does not work either and
9845 # implicitly export all symbols.
9846 save_LDFLAGS="$LDFLAGS"
9847 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9848 if test x$gcc_no_link = xyes; then
9849 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9852 /* end confdefs.h. */
9853 int foo(void) {}
9854 _ACEOF
9855 if ac_fn_c_try_link "$LINENO"; then :
9856 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'
9859 rm -f core conftest.err conftest.$ac_objext \
9860 conftest$ac_exeext conftest.$ac_ext
9861 LDFLAGS="$save_LDFLAGS"
9862 else
9863 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'
9864 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'
9866 archive_cmds_need_lc='no'
9867 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9868 hardcode_libdir_separator=:
9869 inherit_rpath=yes
9870 link_all_deplibs=yes
9873 netbsd*)
9874 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9875 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9876 else
9877 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9879 hardcode_libdir_flag_spec='-R$libdir'
9880 hardcode_direct=yes
9881 hardcode_shlibpath_var=no
9884 newsos6)
9885 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9886 hardcode_direct=yes
9887 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9888 hardcode_libdir_separator=:
9889 hardcode_shlibpath_var=no
9892 *nto* | *qnx*)
9895 openbsd*)
9896 if test -f /usr/libexec/ld.so; then
9897 hardcode_direct=yes
9898 hardcode_shlibpath_var=no
9899 hardcode_direct_absolute=yes
9900 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9901 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9902 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9903 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9904 export_dynamic_flag_spec='${wl}-E'
9905 else
9906 case $host_os in
9907 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9908 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9909 hardcode_libdir_flag_spec='-R$libdir'
9912 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9913 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9915 esac
9917 else
9918 ld_shlibs=no
9922 os2*)
9923 hardcode_libdir_flag_spec='-L$libdir'
9924 hardcode_minus_L=yes
9925 allow_undefined_flag=unsupported
9926 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'
9927 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9930 osf3*)
9931 if test "$GCC" = yes; then
9932 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9933 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'
9934 else
9935 allow_undefined_flag=' -expect_unresolved \*'
9936 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'
9938 archive_cmds_need_lc='no'
9939 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9940 hardcode_libdir_separator=:
9943 osf4* | osf5*) # as osf3* with the addition of -msym flag
9944 if test "$GCC" = yes; then
9945 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9946 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'
9947 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9948 else
9949 allow_undefined_flag=' -expect_unresolved \*'
9950 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'
9951 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~
9952 $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'
9954 # Both c and cxx compiler support -rpath directly
9955 hardcode_libdir_flag_spec='-rpath $libdir'
9957 archive_cmds_need_lc='no'
9958 hardcode_libdir_separator=:
9961 solaris*)
9962 no_undefined_flag=' -z defs'
9963 if test "$GCC" = yes; then
9964 wlarc='${wl}'
9965 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9966 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9967 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9968 else
9969 case `$CC -V 2>&1` in
9970 *"Compilers 5.0"*)
9971 wlarc=''
9972 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9973 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9974 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9977 wlarc='${wl}'
9978 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9979 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9980 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9982 esac
9984 hardcode_libdir_flag_spec='-R$libdir'
9985 hardcode_shlibpath_var=no
9986 case $host_os in
9987 solaris2.[0-5] | solaris2.[0-5].*) ;;
9989 # The compiler driver will combine and reorder linker options,
9990 # but understands `-z linker_flag'. GCC discards it without `$wl',
9991 # but is careful enough not to reorder.
9992 # Supported since Solaris 2.6 (maybe 2.5.1?)
9993 if test "$GCC" = yes; then
9994 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9995 else
9996 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9999 esac
10000 link_all_deplibs=yes
10003 sunos4*)
10004 if test "x$host_vendor" = xsequent; then
10005 # Use $CC to link under sequent, because it throws in some extra .o
10006 # files that make .init and .fini sections work.
10007 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10008 else
10009 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10011 hardcode_libdir_flag_spec='-L$libdir'
10012 hardcode_direct=yes
10013 hardcode_minus_L=yes
10014 hardcode_shlibpath_var=no
10017 sysv4)
10018 case $host_vendor in
10019 sni)
10020 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10021 hardcode_direct=yes # is this really true???
10023 siemens)
10024 ## LD is ld it makes a PLAMLIB
10025 ## CC just makes a GrossModule.
10026 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10027 reload_cmds='$CC -r -o $output$reload_objs'
10028 hardcode_direct=no
10030 motorola)
10031 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10032 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10034 esac
10035 runpath_var='LD_RUN_PATH'
10036 hardcode_shlibpath_var=no
10039 sysv4.3*)
10040 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10041 hardcode_shlibpath_var=no
10042 export_dynamic_flag_spec='-Bexport'
10045 sysv4*MP*)
10046 if test -d /usr/nec; then
10047 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10048 hardcode_shlibpath_var=no
10049 runpath_var=LD_RUN_PATH
10050 hardcode_runpath_var=yes
10051 ld_shlibs=yes
10055 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10056 no_undefined_flag='${wl}-z,text'
10057 archive_cmds_need_lc=no
10058 hardcode_shlibpath_var=no
10059 runpath_var='LD_RUN_PATH'
10061 if test "$GCC" = yes; then
10062 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10063 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10064 else
10065 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10066 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10070 sysv5* | sco3.2v5* | sco5v6*)
10071 # Note: We can NOT use -z defs as we might desire, because we do not
10072 # link with -lc, and that would cause any symbols used from libc to
10073 # always be unresolved, which means just about no library would
10074 # ever link correctly. If we're not using GNU ld we use -z text
10075 # though, which does catch some bad symbols but isn't as heavy-handed
10076 # as -z defs.
10077 no_undefined_flag='${wl}-z,text'
10078 allow_undefined_flag='${wl}-z,nodefs'
10079 archive_cmds_need_lc=no
10080 hardcode_shlibpath_var=no
10081 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10082 hardcode_libdir_separator=':'
10083 link_all_deplibs=yes
10084 export_dynamic_flag_spec='${wl}-Bexport'
10085 runpath_var='LD_RUN_PATH'
10087 if test "$GCC" = yes; then
10088 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10089 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10090 else
10091 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10092 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10096 uts4*)
10097 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10098 hardcode_libdir_flag_spec='-L$libdir'
10099 hardcode_shlibpath_var=no
10103 ld_shlibs=no
10105 esac
10107 if test x$host_vendor = xsni; then
10108 case $host in
10109 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10110 export_dynamic_flag_spec='${wl}-Blargedynsym'
10112 esac
10116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10117 $as_echo "$ld_shlibs" >&6; }
10118 test "$ld_shlibs" = no && can_build_shared=no
10120 with_gnu_ld=$with_gnu_ld
10137 # Do we need to explicitly link libc?
10139 case "x$archive_cmds_need_lc" in
10140 x|xyes)
10141 # Assume -lc should be added
10142 archive_cmds_need_lc=yes
10144 if test "$enable_shared" = yes && test "$GCC" = yes; then
10145 case $archive_cmds in
10146 *'~'*)
10147 # FIXME: we may have to deal with multi-command sequences.
10149 '$CC '*)
10150 # Test whether the compiler implicitly links with -lc since on some
10151 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10152 # to ld, don't add -lc before -lgcc.
10153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10154 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10155 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10156 $as_echo_n "(cached) " >&6
10157 else
10158 $RM conftest*
10159 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10161 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10162 (eval $ac_compile) 2>&5
10163 ac_status=$?
10164 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10165 test $ac_status = 0; } 2>conftest.err; then
10166 soname=conftest
10167 lib=conftest
10168 libobjs=conftest.$ac_objext
10169 deplibs=
10170 wl=$lt_prog_compiler_wl
10171 pic_flag=$lt_prog_compiler_pic
10172 compiler_flags=-v
10173 linker_flags=-v
10174 verstring=
10175 output_objdir=.
10176 libname=conftest
10177 lt_save_allow_undefined_flag=$allow_undefined_flag
10178 allow_undefined_flag=
10179 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10180 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10181 ac_status=$?
10182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10183 test $ac_status = 0; }
10184 then
10185 lt_cv_archive_cmds_need_lc=no
10186 else
10187 lt_cv_archive_cmds_need_lc=yes
10189 allow_undefined_flag=$lt_save_allow_undefined_flag
10190 else
10191 cat conftest.err 1>&5
10193 $RM conftest*
10196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10197 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10198 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10200 esac
10203 esac
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10362 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10364 if test "$GCC" = yes; then
10365 case $host_os in
10366 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10367 *) lt_awk_arg="/^libraries:/" ;;
10368 esac
10369 case $host_os in
10370 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10371 *) lt_sed_strip_eq="s,=/,/,g" ;;
10372 esac
10373 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10374 case $lt_search_path_spec in
10375 *\;*)
10376 # if the path contains ";" then we assume it to be the separator
10377 # otherwise default to the standard path separator (i.e. ":") - it is
10378 # assumed that no part of a normal pathname contains ";" but that should
10379 # okay in the real world where ";" in dirpaths is itself problematic.
10380 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10383 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10385 esac
10386 # Ok, now we have the path, separated by spaces, we can step through it
10387 # and add multilib dir if necessary.
10388 lt_tmp_lt_search_path_spec=
10389 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10390 for lt_sys_path in $lt_search_path_spec; do
10391 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10392 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10393 else
10394 test -d "$lt_sys_path" && \
10395 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10397 done
10398 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10399 BEGIN {RS=" "; FS="/|\n";} {
10400 lt_foo="";
10401 lt_count=0;
10402 for (lt_i = NF; lt_i > 0; lt_i--) {
10403 if ($lt_i != "" && $lt_i != ".") {
10404 if ($lt_i == "..") {
10405 lt_count++;
10406 } else {
10407 if (lt_count == 0) {
10408 lt_foo="/" $lt_i lt_foo;
10409 } else {
10410 lt_count--;
10415 if (lt_foo != "") { lt_freq[lt_foo]++; }
10416 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10418 # AWK program above erroneously prepends '/' to C:/dos/paths
10419 # for these hosts.
10420 case $host_os in
10421 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10422 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10423 esac
10424 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10425 else
10426 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10428 library_names_spec=
10429 libname_spec='lib$name'
10430 soname_spec=
10431 shrext_cmds=".so"
10432 postinstall_cmds=
10433 postuninstall_cmds=
10434 finish_cmds=
10435 finish_eval=
10436 shlibpath_var=
10437 shlibpath_overrides_runpath=unknown
10438 version_type=none
10439 dynamic_linker="$host_os ld.so"
10440 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10441 need_lib_prefix=unknown
10442 hardcode_into_libs=no
10444 # when you set need_version to no, make sure it does not cause -set_version
10445 # flags to be left without arguments
10446 need_version=unknown
10448 case $host_os in
10449 aix3*)
10450 version_type=linux
10451 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10452 shlibpath_var=LIBPATH
10454 # AIX 3 has no versioning support, so we append a major version to the name.
10455 soname_spec='${libname}${release}${shared_ext}$major'
10458 aix[4-9]*)
10459 version_type=linux
10460 need_lib_prefix=no
10461 need_version=no
10462 hardcode_into_libs=yes
10463 if test "$host_cpu" = ia64; then
10464 # AIX 5 supports IA64
10465 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10466 shlibpath_var=LD_LIBRARY_PATH
10467 else
10468 # With GCC up to 2.95.x, collect2 would create an import file
10469 # for dependence libraries. The import file would start with
10470 # the line `#! .'. This would cause the generated library to
10471 # depend on `.', always an invalid library. This was fixed in
10472 # development snapshots of GCC prior to 3.0.
10473 case $host_os in
10474 aix4 | aix4.[01] | aix4.[01].*)
10475 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10476 echo ' yes '
10477 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10479 else
10480 can_build_shared=no
10483 esac
10484 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10485 # soname into executable. Probably we can add versioning support to
10486 # collect2, so additional links can be useful in future.
10487 if test "$aix_use_runtimelinking" = yes; then
10488 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10489 # instead of lib<name>.a to let people know that these are not
10490 # typical AIX shared libraries.
10491 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10492 else
10493 # We preserve .a as extension for shared libraries through AIX4.2
10494 # and later when we are not doing run time linking.
10495 library_names_spec='${libname}${release}.a $libname.a'
10496 soname_spec='${libname}${release}${shared_ext}$major'
10498 shlibpath_var=LIBPATH
10502 amigaos*)
10503 case $host_cpu in
10504 powerpc)
10505 # Since July 2007 AmigaOS4 officially supports .so libraries.
10506 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10507 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10509 m68k)
10510 library_names_spec='$libname.ixlibrary $libname.a'
10511 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10512 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'
10514 esac
10517 beos*)
10518 library_names_spec='${libname}${shared_ext}'
10519 dynamic_linker="$host_os ld.so"
10520 shlibpath_var=LIBRARY_PATH
10523 bsdi[45]*)
10524 version_type=linux
10525 need_version=no
10526 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10527 soname_spec='${libname}${release}${shared_ext}$major'
10528 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10529 shlibpath_var=LD_LIBRARY_PATH
10530 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10531 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10532 # the default ld.so.conf also contains /usr/contrib/lib and
10533 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10534 # libtool to hard-code these into programs
10537 cygwin* | mingw* | pw32* | cegcc*)
10538 version_type=windows
10539 shrext_cmds=".dll"
10540 need_version=no
10541 need_lib_prefix=no
10543 case $GCC,$host_os in
10544 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10545 library_names_spec='$libname.dll.a'
10546 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10547 postinstall_cmds='base_file=`basename \${file}`~
10548 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10549 dldir=$destdir/`dirname \$dlpath`~
10550 test -d \$dldir || mkdir -p \$dldir~
10551 $install_prog $dir/$dlname \$dldir/$dlname~
10552 chmod a+x \$dldir/$dlname~
10553 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10554 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10556 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10557 dlpath=$dir/\$dldll~
10558 $RM \$dlpath'
10559 shlibpath_overrides_runpath=yes
10561 case $host_os in
10562 cygwin*)
10563 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10564 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10566 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10568 mingw* | cegcc*)
10569 # MinGW DLLs use traditional 'lib' prefix
10570 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10572 pw32*)
10573 # pw32 DLLs use 'pw' prefix rather than 'lib'
10574 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10576 esac
10580 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10582 esac
10583 dynamic_linker='Win32 ld.exe'
10584 # FIXME: first we should search . and the directory the executable is in
10585 shlibpath_var=PATH
10588 darwin* | rhapsody*)
10589 dynamic_linker="$host_os dyld"
10590 version_type=darwin
10591 need_lib_prefix=no
10592 need_version=no
10593 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10594 soname_spec='${libname}${release}${major}$shared_ext'
10595 shlibpath_overrides_runpath=yes
10596 shlibpath_var=DYLD_LIBRARY_PATH
10597 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10599 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10600 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10603 dgux*)
10604 version_type=linux
10605 need_lib_prefix=no
10606 need_version=no
10607 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10608 soname_spec='${libname}${release}${shared_ext}$major'
10609 shlibpath_var=LD_LIBRARY_PATH
10612 freebsd1*)
10613 dynamic_linker=no
10616 freebsd* | dragonfly*)
10617 # DragonFly does not have aout. When/if they implement a new
10618 # versioning mechanism, adjust this.
10619 if test -x /usr/bin/objformat; then
10620 objformat=`/usr/bin/objformat`
10621 else
10622 case $host_os in
10623 freebsd[123]*) objformat=aout ;;
10624 *) objformat=elf ;;
10625 esac
10627 version_type=freebsd-$objformat
10628 case $version_type in
10629 freebsd-elf*)
10630 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10631 need_version=no
10632 need_lib_prefix=no
10634 freebsd-*)
10635 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10636 need_version=yes
10638 esac
10639 shlibpath_var=LD_LIBRARY_PATH
10640 case $host_os in
10641 freebsd2*)
10642 shlibpath_overrides_runpath=yes
10644 freebsd3.[01]* | freebsdelf3.[01]*)
10645 shlibpath_overrides_runpath=yes
10646 hardcode_into_libs=yes
10648 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10649 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10650 shlibpath_overrides_runpath=no
10651 hardcode_into_libs=yes
10653 *) # from 4.6 on, and DragonFly
10654 shlibpath_overrides_runpath=yes
10655 hardcode_into_libs=yes
10657 esac
10660 gnu*)
10661 version_type=linux
10662 need_lib_prefix=no
10663 need_version=no
10664 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10665 soname_spec='${libname}${release}${shared_ext}$major'
10666 shlibpath_var=LD_LIBRARY_PATH
10667 hardcode_into_libs=yes
10670 haiku*)
10671 version_type=linux
10672 need_lib_prefix=no
10673 need_version=no
10674 dynamic_linker="$host_os runtime_loader"
10675 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10676 soname_spec='${libname}${release}${shared_ext}$major'
10677 shlibpath_var=LIBRARY_PATH
10678 shlibpath_overrides_runpath=yes
10679 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10680 hardcode_into_libs=yes
10683 hpux9* | hpux10* | hpux11*)
10684 # Give a soname corresponding to the major version so that dld.sl refuses to
10685 # link against other versions.
10686 version_type=sunos
10687 need_lib_prefix=no
10688 need_version=no
10689 case $host_cpu in
10690 ia64*)
10691 shrext_cmds='.so'
10692 hardcode_into_libs=yes
10693 dynamic_linker="$host_os dld.so"
10694 shlibpath_var=LD_LIBRARY_PATH
10695 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10696 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10697 soname_spec='${libname}${release}${shared_ext}$major'
10698 if test "X$HPUX_IA64_MODE" = X32; then
10699 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10700 else
10701 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10703 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10705 hppa*64*)
10706 shrext_cmds='.sl'
10707 hardcode_into_libs=yes
10708 dynamic_linker="$host_os dld.sl"
10709 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10710 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10711 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10712 soname_spec='${libname}${release}${shared_ext}$major'
10713 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10714 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10717 shrext_cmds='.sl'
10718 dynamic_linker="$host_os dld.sl"
10719 shlibpath_var=SHLIB_PATH
10720 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10721 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10722 soname_spec='${libname}${release}${shared_ext}$major'
10724 esac
10725 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10726 postinstall_cmds='chmod 555 $lib'
10727 # or fails outright, so override atomically:
10728 install_override_mode=555
10731 interix[3-9]*)
10732 version_type=linux
10733 need_lib_prefix=no
10734 need_version=no
10735 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10736 soname_spec='${libname}${release}${shared_ext}$major'
10737 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10738 shlibpath_var=LD_LIBRARY_PATH
10739 shlibpath_overrides_runpath=no
10740 hardcode_into_libs=yes
10743 irix5* | irix6* | nonstopux*)
10744 case $host_os in
10745 nonstopux*) version_type=nonstopux ;;
10747 if test "$lt_cv_prog_gnu_ld" = yes; then
10748 version_type=linux
10749 else
10750 version_type=irix
10751 fi ;;
10752 esac
10753 need_lib_prefix=no
10754 need_version=no
10755 soname_spec='${libname}${release}${shared_ext}$major'
10756 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10757 case $host_os in
10758 irix5* | nonstopux*)
10759 libsuff= shlibsuff=
10762 case $LD in # libtool.m4 will add one of these switches to LD
10763 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10764 libsuff= shlibsuff= libmagic=32-bit;;
10765 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10766 libsuff=32 shlibsuff=N32 libmagic=N32;;
10767 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10768 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10769 *) libsuff= shlibsuff= libmagic=never-match;;
10770 esac
10772 esac
10773 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10774 shlibpath_overrides_runpath=no
10775 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10776 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10777 hardcode_into_libs=yes
10780 # No shared lib support for Linux oldld, aout, or coff.
10781 linux*oldld* | linux*aout* | linux*coff*)
10782 dynamic_linker=no
10785 # This must be Linux ELF.
10786 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10787 version_type=linux
10788 need_lib_prefix=no
10789 need_version=no
10790 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10791 soname_spec='${libname}${release}${shared_ext}$major'
10792 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10793 shlibpath_var=LD_LIBRARY_PATH
10794 shlibpath_overrides_runpath=no
10796 # Some binutils ld are patched to set DT_RUNPATH
10797 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10798 $as_echo_n "(cached) " >&6
10799 else
10800 lt_cv_shlibpath_overrides_runpath=no
10801 save_LDFLAGS=$LDFLAGS
10802 save_libdir=$libdir
10803 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10804 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10805 if test x$gcc_no_link = xyes; then
10806 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10809 /* end confdefs.h. */
10812 main ()
10816 return 0;
10818 _ACEOF
10819 if ac_fn_c_try_link "$LINENO"; then :
10820 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10821 lt_cv_shlibpath_overrides_runpath=yes
10824 rm -f core conftest.err conftest.$ac_objext \
10825 conftest$ac_exeext conftest.$ac_ext
10826 LDFLAGS=$save_LDFLAGS
10827 libdir=$save_libdir
10831 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10833 # This implies no fast_install, which is unacceptable.
10834 # Some rework will be needed to allow for fast_install
10835 # before this can be enabled.
10836 hardcode_into_libs=yes
10838 # Append ld.so.conf contents to the search path
10839 if test -f /etc/ld.so.conf; then
10840 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' ' '`
10841 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10844 # We used to test for /lib/ld.so.1 and disable shared libraries on
10845 # powerpc, because MkLinux only supported shared libraries with the
10846 # GNU dynamic linker. Since this was broken with cross compilers,
10847 # most powerpc-linux boxes support dynamic linking these days and
10848 # people can always --disable-shared, the test was removed, and we
10849 # assume the GNU/Linux dynamic linker is in use.
10850 dynamic_linker='GNU/Linux ld.so'
10853 netbsd*)
10854 version_type=sunos
10855 need_lib_prefix=no
10856 need_version=no
10857 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10858 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10859 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10860 dynamic_linker='NetBSD (a.out) ld.so'
10861 else
10862 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10863 soname_spec='${libname}${release}${shared_ext}$major'
10864 dynamic_linker='NetBSD ld.elf_so'
10866 shlibpath_var=LD_LIBRARY_PATH
10867 shlibpath_overrides_runpath=yes
10868 hardcode_into_libs=yes
10871 newsos6)
10872 version_type=linux
10873 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10874 shlibpath_var=LD_LIBRARY_PATH
10875 shlibpath_overrides_runpath=yes
10878 *nto* | *qnx*)
10879 version_type=qnx
10880 need_lib_prefix=no
10881 need_version=no
10882 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10883 soname_spec='${libname}${release}${shared_ext}$major'
10884 shlibpath_var=LD_LIBRARY_PATH
10885 shlibpath_overrides_runpath=no
10886 hardcode_into_libs=yes
10887 dynamic_linker='ldqnx.so'
10890 openbsd*)
10891 version_type=sunos
10892 sys_lib_dlsearch_path_spec="/usr/lib"
10893 need_lib_prefix=no
10894 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10895 case $host_os in
10896 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10897 *) need_version=no ;;
10898 esac
10899 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10900 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10901 shlibpath_var=LD_LIBRARY_PATH
10902 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10903 case $host_os in
10904 openbsd2.[89] | openbsd2.[89].*)
10905 shlibpath_overrides_runpath=no
10908 shlibpath_overrides_runpath=yes
10910 esac
10911 else
10912 shlibpath_overrides_runpath=yes
10916 os2*)
10917 libname_spec='$name'
10918 shrext_cmds=".dll"
10919 need_lib_prefix=no
10920 library_names_spec='$libname${shared_ext} $libname.a'
10921 dynamic_linker='OS/2 ld.exe'
10922 shlibpath_var=LIBPATH
10925 osf3* | osf4* | osf5*)
10926 version_type=osf
10927 need_lib_prefix=no
10928 need_version=no
10929 soname_spec='${libname}${release}${shared_ext}$major'
10930 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10931 shlibpath_var=LD_LIBRARY_PATH
10932 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10933 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10936 rdos*)
10937 dynamic_linker=no
10940 solaris*)
10941 version_type=linux
10942 need_lib_prefix=no
10943 need_version=no
10944 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10945 soname_spec='${libname}${release}${shared_ext}$major'
10946 shlibpath_var=LD_LIBRARY_PATH
10947 shlibpath_overrides_runpath=yes
10948 hardcode_into_libs=yes
10949 # ldd complains unless libraries are executable
10950 postinstall_cmds='chmod +x $lib'
10953 sunos4*)
10954 version_type=sunos
10955 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10956 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10957 shlibpath_var=LD_LIBRARY_PATH
10958 shlibpath_overrides_runpath=yes
10959 if test "$with_gnu_ld" = yes; then
10960 need_lib_prefix=no
10962 need_version=yes
10965 sysv4 | sysv4.3*)
10966 version_type=linux
10967 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10968 soname_spec='${libname}${release}${shared_ext}$major'
10969 shlibpath_var=LD_LIBRARY_PATH
10970 case $host_vendor in
10971 sni)
10972 shlibpath_overrides_runpath=no
10973 need_lib_prefix=no
10974 runpath_var=LD_RUN_PATH
10976 siemens)
10977 need_lib_prefix=no
10979 motorola)
10980 need_lib_prefix=no
10981 need_version=no
10982 shlibpath_overrides_runpath=no
10983 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10985 esac
10988 sysv4*MP*)
10989 if test -d /usr/nec ;then
10990 version_type=linux
10991 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10992 soname_spec='$libname${shared_ext}.$major'
10993 shlibpath_var=LD_LIBRARY_PATH
10997 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10998 version_type=freebsd-elf
10999 need_lib_prefix=no
11000 need_version=no
11001 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11002 soname_spec='${libname}${release}${shared_ext}$major'
11003 shlibpath_var=LD_LIBRARY_PATH
11004 shlibpath_overrides_runpath=yes
11005 hardcode_into_libs=yes
11006 if test "$with_gnu_ld" = yes; then
11007 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11008 else
11009 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11010 case $host_os in
11011 sco3.2v5*)
11012 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11014 esac
11016 sys_lib_dlsearch_path_spec='/usr/lib'
11019 tpf*)
11020 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11021 version_type=linux
11022 need_lib_prefix=no
11023 need_version=no
11024 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11025 shlibpath_var=LD_LIBRARY_PATH
11026 shlibpath_overrides_runpath=no
11027 hardcode_into_libs=yes
11030 uts4*)
11031 version_type=linux
11032 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11033 soname_spec='${libname}${release}${shared_ext}$major'
11034 shlibpath_var=LD_LIBRARY_PATH
11038 dynamic_linker=no
11040 esac
11041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11042 $as_echo "$dynamic_linker" >&6; }
11043 test "$dynamic_linker" = no && can_build_shared=no
11045 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11046 if test "$GCC" = yes; then
11047 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11050 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11051 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11053 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11054 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11149 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11150 hardcode_action=
11151 if test -n "$hardcode_libdir_flag_spec" ||
11152 test -n "$runpath_var" ||
11153 test "X$hardcode_automatic" = "Xyes" ; then
11155 # We can hardcode non-existent directories.
11156 if test "$hardcode_direct" != no &&
11157 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11158 # have to relink, otherwise we might link with an installed library
11159 # when we should be linking with a yet-to-be-installed one
11160 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11161 test "$hardcode_minus_L" != no; then
11162 # Linking always hardcodes the temporary library directory.
11163 hardcode_action=relink
11164 else
11165 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11166 hardcode_action=immediate
11168 else
11169 # We cannot hardcode anything, or else we can only hardcode existing
11170 # directories.
11171 hardcode_action=unsupported
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11174 $as_echo "$hardcode_action" >&6; }
11176 if test "$hardcode_action" = relink ||
11177 test "$inherit_rpath" = yes; then
11178 # Fast installation is not supported
11179 enable_fast_install=no
11180 elif test "$shlibpath_overrides_runpath" = yes ||
11181 test "$enable_shared" = no; then
11182 # Fast installation is not necessary
11183 enable_fast_install=needless
11191 if test "x$enable_dlopen" != xyes; then
11192 enable_dlopen=unknown
11193 enable_dlopen_self=unknown
11194 enable_dlopen_self_static=unknown
11195 else
11196 lt_cv_dlopen=no
11197 lt_cv_dlopen_libs=
11199 case $host_os in
11200 beos*)
11201 lt_cv_dlopen="load_add_on"
11202 lt_cv_dlopen_libs=
11203 lt_cv_dlopen_self=yes
11206 mingw* | pw32* | cegcc*)
11207 lt_cv_dlopen="LoadLibrary"
11208 lt_cv_dlopen_libs=
11211 cygwin*)
11212 lt_cv_dlopen="dlopen"
11213 lt_cv_dlopen_libs=
11216 darwin*)
11217 # if libdl is installed we need to link against it
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11219 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11220 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11221 $as_echo_n "(cached) " >&6
11222 else
11223 ac_check_lib_save_LIBS=$LIBS
11224 LIBS="-ldl $LIBS"
11225 if test x$gcc_no_link = xyes; then
11226 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11229 /* end confdefs.h. */
11231 /* Override any GCC internal prototype to avoid an error.
11232 Use char because int might match the return type of a GCC
11233 builtin and then its argument prototype would still apply. */
11234 #ifdef __cplusplus
11235 extern "C"
11236 #endif
11237 char dlopen ();
11239 main ()
11241 return dlopen ();
11243 return 0;
11245 _ACEOF
11246 if ac_fn_c_try_link "$LINENO"; then :
11247 ac_cv_lib_dl_dlopen=yes
11248 else
11249 ac_cv_lib_dl_dlopen=no
11251 rm -f core conftest.err conftest.$ac_objext \
11252 conftest$ac_exeext conftest.$ac_ext
11253 LIBS=$ac_check_lib_save_LIBS
11255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11256 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11257 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11258 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11259 else
11261 lt_cv_dlopen="dyld"
11262 lt_cv_dlopen_libs=
11263 lt_cv_dlopen_self=yes
11270 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11271 if test "x$ac_cv_func_shl_load" = x""yes; then :
11272 lt_cv_dlopen="shl_load"
11273 else
11274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11275 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11276 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11277 $as_echo_n "(cached) " >&6
11278 else
11279 ac_check_lib_save_LIBS=$LIBS
11280 LIBS="-ldld $LIBS"
11281 if test x$gcc_no_link = xyes; then
11282 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11285 /* end confdefs.h. */
11287 /* Override any GCC internal prototype to avoid an error.
11288 Use char because int might match the return type of a GCC
11289 builtin and then its argument prototype would still apply. */
11290 #ifdef __cplusplus
11291 extern "C"
11292 #endif
11293 char shl_load ();
11295 main ()
11297 return shl_load ();
11299 return 0;
11301 _ACEOF
11302 if ac_fn_c_try_link "$LINENO"; then :
11303 ac_cv_lib_dld_shl_load=yes
11304 else
11305 ac_cv_lib_dld_shl_load=no
11307 rm -f core conftest.err conftest.$ac_objext \
11308 conftest$ac_exeext conftest.$ac_ext
11309 LIBS=$ac_check_lib_save_LIBS
11311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11312 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11313 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11314 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11315 else
11316 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11317 if test "x$ac_cv_func_dlopen" = x""yes; then :
11318 lt_cv_dlopen="dlopen"
11319 else
11320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11321 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11322 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11323 $as_echo_n "(cached) " >&6
11324 else
11325 ac_check_lib_save_LIBS=$LIBS
11326 LIBS="-ldl $LIBS"
11327 if test x$gcc_no_link = xyes; then
11328 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11331 /* end confdefs.h. */
11333 /* Override any GCC internal prototype to avoid an error.
11334 Use char because int might match the return type of a GCC
11335 builtin and then its argument prototype would still apply. */
11336 #ifdef __cplusplus
11337 extern "C"
11338 #endif
11339 char dlopen ();
11341 main ()
11343 return dlopen ();
11345 return 0;
11347 _ACEOF
11348 if ac_fn_c_try_link "$LINENO"; then :
11349 ac_cv_lib_dl_dlopen=yes
11350 else
11351 ac_cv_lib_dl_dlopen=no
11353 rm -f core conftest.err conftest.$ac_objext \
11354 conftest$ac_exeext conftest.$ac_ext
11355 LIBS=$ac_check_lib_save_LIBS
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11358 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11359 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11360 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11361 else
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11363 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11364 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11365 $as_echo_n "(cached) " >&6
11366 else
11367 ac_check_lib_save_LIBS=$LIBS
11368 LIBS="-lsvld $LIBS"
11369 if test x$gcc_no_link = xyes; then
11370 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11373 /* end confdefs.h. */
11375 /* Override any GCC internal prototype to avoid an error.
11376 Use char because int might match the return type of a GCC
11377 builtin and then its argument prototype would still apply. */
11378 #ifdef __cplusplus
11379 extern "C"
11380 #endif
11381 char dlopen ();
11383 main ()
11385 return dlopen ();
11387 return 0;
11389 _ACEOF
11390 if ac_fn_c_try_link "$LINENO"; then :
11391 ac_cv_lib_svld_dlopen=yes
11392 else
11393 ac_cv_lib_svld_dlopen=no
11395 rm -f core conftest.err conftest.$ac_objext \
11396 conftest$ac_exeext conftest.$ac_ext
11397 LIBS=$ac_check_lib_save_LIBS
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11400 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11401 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11402 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11403 else
11404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11405 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11406 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11407 $as_echo_n "(cached) " >&6
11408 else
11409 ac_check_lib_save_LIBS=$LIBS
11410 LIBS="-ldld $LIBS"
11411 if test x$gcc_no_link = xyes; then
11412 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11415 /* end confdefs.h. */
11417 /* Override any GCC internal prototype to avoid an error.
11418 Use char because int might match the return type of a GCC
11419 builtin and then its argument prototype would still apply. */
11420 #ifdef __cplusplus
11421 extern "C"
11422 #endif
11423 char dld_link ();
11425 main ()
11427 return dld_link ();
11429 return 0;
11431 _ACEOF
11432 if ac_fn_c_try_link "$LINENO"; then :
11433 ac_cv_lib_dld_dld_link=yes
11434 else
11435 ac_cv_lib_dld_dld_link=no
11437 rm -f core conftest.err conftest.$ac_objext \
11438 conftest$ac_exeext conftest.$ac_ext
11439 LIBS=$ac_check_lib_save_LIBS
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11442 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11443 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11444 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11463 esac
11465 if test "x$lt_cv_dlopen" != xno; then
11466 enable_dlopen=yes
11467 else
11468 enable_dlopen=no
11471 case $lt_cv_dlopen in
11472 dlopen)
11473 save_CPPFLAGS="$CPPFLAGS"
11474 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11476 save_LDFLAGS="$LDFLAGS"
11477 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11479 save_LIBS="$LIBS"
11480 LIBS="$lt_cv_dlopen_libs $LIBS"
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11483 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11484 if test "${lt_cv_dlopen_self+set}" = set; then :
11485 $as_echo_n "(cached) " >&6
11486 else
11487 if test "$cross_compiling" = yes; then :
11488 lt_cv_dlopen_self=cross
11489 else
11490 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11491 lt_status=$lt_dlunknown
11492 cat > conftest.$ac_ext <<_LT_EOF
11493 #line 11493 "configure"
11494 #include "confdefs.h"
11496 #if HAVE_DLFCN_H
11497 #include <dlfcn.h>
11498 #endif
11500 #include <stdio.h>
11502 #ifdef RTLD_GLOBAL
11503 # define LT_DLGLOBAL RTLD_GLOBAL
11504 #else
11505 # ifdef DL_GLOBAL
11506 # define LT_DLGLOBAL DL_GLOBAL
11507 # else
11508 # define LT_DLGLOBAL 0
11509 # endif
11510 #endif
11512 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11513 find out it does not work in some platform. */
11514 #ifndef LT_DLLAZY_OR_NOW
11515 # ifdef RTLD_LAZY
11516 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11517 # else
11518 # ifdef DL_LAZY
11519 # define LT_DLLAZY_OR_NOW DL_LAZY
11520 # else
11521 # ifdef RTLD_NOW
11522 # define LT_DLLAZY_OR_NOW RTLD_NOW
11523 # else
11524 # ifdef DL_NOW
11525 # define LT_DLLAZY_OR_NOW DL_NOW
11526 # else
11527 # define LT_DLLAZY_OR_NOW 0
11528 # endif
11529 # endif
11530 # endif
11531 # endif
11532 #endif
11534 /* When -fvisbility=hidden is used, assume the code has been annotated
11535 correspondingly for the symbols needed. */
11536 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11537 void fnord () __attribute__((visibility("default")));
11538 #endif
11540 void fnord () { int i=42; }
11541 int main ()
11543 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11544 int status = $lt_dlunknown;
11546 if (self)
11548 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11549 else
11551 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11552 else puts (dlerror ());
11554 /* dlclose (self); */
11556 else
11557 puts (dlerror ());
11559 return status;
11561 _LT_EOF
11562 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11563 (eval $ac_link) 2>&5
11564 ac_status=$?
11565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11566 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11567 (./conftest; exit; ) >&5 2>/dev/null
11568 lt_status=$?
11569 case x$lt_status in
11570 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11571 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11572 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11573 esac
11574 else :
11575 # compilation failed
11576 lt_cv_dlopen_self=no
11579 rm -fr conftest*
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11584 $as_echo "$lt_cv_dlopen_self" >&6; }
11586 if test "x$lt_cv_dlopen_self" = xyes; then
11587 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11589 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11590 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11591 $as_echo_n "(cached) " >&6
11592 else
11593 if test "$cross_compiling" = yes; then :
11594 lt_cv_dlopen_self_static=cross
11595 else
11596 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11597 lt_status=$lt_dlunknown
11598 cat > conftest.$ac_ext <<_LT_EOF
11599 #line 11599 "configure"
11600 #include "confdefs.h"
11602 #if HAVE_DLFCN_H
11603 #include <dlfcn.h>
11604 #endif
11606 #include <stdio.h>
11608 #ifdef RTLD_GLOBAL
11609 # define LT_DLGLOBAL RTLD_GLOBAL
11610 #else
11611 # ifdef DL_GLOBAL
11612 # define LT_DLGLOBAL DL_GLOBAL
11613 # else
11614 # define LT_DLGLOBAL 0
11615 # endif
11616 #endif
11618 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11619 find out it does not work in some platform. */
11620 #ifndef LT_DLLAZY_OR_NOW
11621 # ifdef RTLD_LAZY
11622 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11623 # else
11624 # ifdef DL_LAZY
11625 # define LT_DLLAZY_OR_NOW DL_LAZY
11626 # else
11627 # ifdef RTLD_NOW
11628 # define LT_DLLAZY_OR_NOW RTLD_NOW
11629 # else
11630 # ifdef DL_NOW
11631 # define LT_DLLAZY_OR_NOW DL_NOW
11632 # else
11633 # define LT_DLLAZY_OR_NOW 0
11634 # endif
11635 # endif
11636 # endif
11637 # endif
11638 #endif
11640 /* When -fvisbility=hidden is used, assume the code has been annotated
11641 correspondingly for the symbols needed. */
11642 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11643 void fnord () __attribute__((visibility("default")));
11644 #endif
11646 void fnord () { int i=42; }
11647 int main ()
11649 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11650 int status = $lt_dlunknown;
11652 if (self)
11654 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11655 else
11657 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11658 else puts (dlerror ());
11660 /* dlclose (self); */
11662 else
11663 puts (dlerror ());
11665 return status;
11667 _LT_EOF
11668 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11669 (eval $ac_link) 2>&5
11670 ac_status=$?
11671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11672 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11673 (./conftest; exit; ) >&5 2>/dev/null
11674 lt_status=$?
11675 case x$lt_status in
11676 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11677 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11678 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11679 esac
11680 else :
11681 # compilation failed
11682 lt_cv_dlopen_self_static=no
11685 rm -fr conftest*
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11690 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11693 CPPFLAGS="$save_CPPFLAGS"
11694 LDFLAGS="$save_LDFLAGS"
11695 LIBS="$save_LIBS"
11697 esac
11699 case $lt_cv_dlopen_self in
11700 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11701 *) enable_dlopen_self=unknown ;;
11702 esac
11704 case $lt_cv_dlopen_self_static in
11705 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11706 *) enable_dlopen_self_static=unknown ;;
11707 esac
11726 striplib=
11727 old_striplib=
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11729 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11730 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11731 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11732 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11734 $as_echo "yes" >&6; }
11735 else
11736 # FIXME - insert some real tests, host_os isn't really good enough
11737 case $host_os in
11738 darwin*)
11739 if test -n "$STRIP" ; then
11740 striplib="$STRIP -x"
11741 old_striplib="$STRIP -S"
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11743 $as_echo "yes" >&6; }
11744 else
11745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11746 $as_echo "no" >&6; }
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11751 $as_echo "no" >&6; }
11753 esac
11767 # Report which library types will actually be built
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11769 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11771 $as_echo "$can_build_shared" >&6; }
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11774 $as_echo_n "checking whether to build shared libraries... " >&6; }
11775 test "$can_build_shared" = "no" && enable_shared=no
11777 # On AIX, shared libraries and static libraries use the same namespace, and
11778 # are all built from PIC.
11779 case $host_os in
11780 aix3*)
11781 test "$enable_shared" = yes && enable_static=no
11782 if test -n "$RANLIB"; then
11783 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11784 postinstall_cmds='$RANLIB $lib'
11788 aix[4-9]*)
11789 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11790 test "$enable_shared" = yes && enable_static=no
11793 esac
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11795 $as_echo "$enable_shared" >&6; }
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11798 $as_echo_n "checking whether to build static libraries... " >&6; }
11799 # Make sure either enable_shared or enable_static is yes.
11800 test "$enable_shared" = yes || enable_static=yes
11801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11802 $as_echo "$enable_static" >&6; }
11808 ac_ext=c
11809 ac_cpp='$CPP $CPPFLAGS'
11810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11814 CC="$lt_save_CC"
11816 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11817 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11818 (test "X$CXX" != "Xg++"))) ; then
11819 ac_ext=cpp
11820 ac_cpp='$CXXCPP $CPPFLAGS'
11821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11825 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11826 if test -z "$CXXCPP"; then
11827 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11828 $as_echo_n "(cached) " >&6
11829 else
11830 # Double quotes because CXXCPP needs to be expanded
11831 for CXXCPP in "$CXX -E" "/lib/cpp"
11833 ac_preproc_ok=false
11834 for ac_cxx_preproc_warn_flag in '' yes
11836 # Use a header file that comes with gcc, so configuring glibc
11837 # with a fresh cross-compiler works.
11838 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11839 # <limits.h> exists even on freestanding compilers.
11840 # On the NeXT, cc -E runs the code through the compiler's parser,
11841 # not just through cpp. "Syntax error" is here to catch this case.
11842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11843 /* end confdefs.h. */
11844 #ifdef __STDC__
11845 # include <limits.h>
11846 #else
11847 # include <assert.h>
11848 #endif
11849 Syntax error
11850 _ACEOF
11851 if ac_fn_cxx_try_cpp "$LINENO"; then :
11853 else
11854 # Broken: fails on valid input.
11855 continue
11857 rm -f conftest.err conftest.$ac_ext
11859 # OK, works on sane cases. Now check whether nonexistent headers
11860 # can be detected and how.
11861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11862 /* end confdefs.h. */
11863 #include <ac_nonexistent.h>
11864 _ACEOF
11865 if ac_fn_cxx_try_cpp "$LINENO"; then :
11866 # Broken: success on invalid input.
11867 continue
11868 else
11869 # Passes both tests.
11870 ac_preproc_ok=:
11871 break
11873 rm -f conftest.err conftest.$ac_ext
11875 done
11876 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11877 rm -f conftest.err conftest.$ac_ext
11878 if $ac_preproc_ok; then :
11879 break
11882 done
11883 ac_cv_prog_CXXCPP=$CXXCPP
11886 CXXCPP=$ac_cv_prog_CXXCPP
11887 else
11888 ac_cv_prog_CXXCPP=$CXXCPP
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11891 $as_echo "$CXXCPP" >&6; }
11892 ac_preproc_ok=false
11893 for ac_cxx_preproc_warn_flag in '' yes
11895 # Use a header file that comes with gcc, so configuring glibc
11896 # with a fresh cross-compiler works.
11897 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11898 # <limits.h> exists even on freestanding compilers.
11899 # On the NeXT, cc -E runs the code through the compiler's parser,
11900 # not just through cpp. "Syntax error" is here to catch this case.
11901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11902 /* end confdefs.h. */
11903 #ifdef __STDC__
11904 # include <limits.h>
11905 #else
11906 # include <assert.h>
11907 #endif
11908 Syntax error
11909 _ACEOF
11910 if ac_fn_cxx_try_cpp "$LINENO"; then :
11912 else
11913 # Broken: fails on valid input.
11914 continue
11916 rm -f conftest.err conftest.$ac_ext
11918 # OK, works on sane cases. Now check whether nonexistent headers
11919 # can be detected and how.
11920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11921 /* end confdefs.h. */
11922 #include <ac_nonexistent.h>
11923 _ACEOF
11924 if ac_fn_cxx_try_cpp "$LINENO"; then :
11925 # Broken: success on invalid input.
11926 continue
11927 else
11928 # Passes both tests.
11929 ac_preproc_ok=:
11930 break
11932 rm -f conftest.err conftest.$ac_ext
11934 done
11935 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11936 rm -f conftest.err conftest.$ac_ext
11937 if $ac_preproc_ok; then :
11939 else
11940 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11941 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11942 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11943 See \`config.log' for more details." "$LINENO" 5; }
11946 ac_ext=c
11947 ac_cpp='$CPP $CPPFLAGS'
11948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11952 else
11953 _lt_caught_CXX_error=yes
11956 ac_ext=cpp
11957 ac_cpp='$CXXCPP $CPPFLAGS'
11958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11962 archive_cmds_need_lc_CXX=no
11963 allow_undefined_flag_CXX=
11964 always_export_symbols_CXX=no
11965 archive_expsym_cmds_CXX=
11966 compiler_needs_object_CXX=no
11967 export_dynamic_flag_spec_CXX=
11968 hardcode_direct_CXX=no
11969 hardcode_direct_absolute_CXX=no
11970 hardcode_libdir_flag_spec_CXX=
11971 hardcode_libdir_flag_spec_ld_CXX=
11972 hardcode_libdir_separator_CXX=
11973 hardcode_minus_L_CXX=no
11974 hardcode_shlibpath_var_CXX=unsupported
11975 hardcode_automatic_CXX=no
11976 inherit_rpath_CXX=no
11977 module_cmds_CXX=
11978 module_expsym_cmds_CXX=
11979 link_all_deplibs_CXX=unknown
11980 old_archive_cmds_CXX=$old_archive_cmds
11981 reload_flag_CXX=$reload_flag
11982 reload_cmds_CXX=$reload_cmds
11983 no_undefined_flag_CXX=
11984 whole_archive_flag_spec_CXX=
11985 enable_shared_with_static_runtimes_CXX=no
11987 # Source file extension for C++ test sources.
11988 ac_ext=cpp
11990 # Object file extension for compiled C++ test sources.
11991 objext=o
11992 objext_CXX=$objext
11994 # No sense in running all these tests if we already determined that
11995 # the CXX compiler isn't working. Some variables (like enable_shared)
11996 # are currently assumed to apply to all compilers on this platform,
11997 # and will be corrupted by setting them based on a non-working compiler.
11998 if test "$_lt_caught_CXX_error" != yes; then
11999 # Code to be used in simple compile tests
12000 lt_simple_compile_test_code="int some_variable = 0;"
12002 # Code to be used in simple link tests
12003 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12005 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12012 # If no C compiler was specified, use CC.
12013 LTCC=${LTCC-"$CC"}
12015 # If no C compiler flags were specified, use CFLAGS.
12016 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12018 # Allow CC to be a program name with arguments.
12019 compiler=$CC
12022 # save warnings/boilerplate of simple test code
12023 ac_outfile=conftest.$ac_objext
12024 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12025 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12026 _lt_compiler_boilerplate=`cat conftest.err`
12027 $RM conftest*
12029 ac_outfile=conftest.$ac_objext
12030 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12031 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12032 _lt_linker_boilerplate=`cat conftest.err`
12033 $RM -r conftest*
12036 # Allow CC to be a program name with arguments.
12037 lt_save_CC=$CC
12038 lt_save_LD=$LD
12039 lt_save_GCC=$GCC
12040 GCC=$GXX
12041 lt_save_with_gnu_ld=$with_gnu_ld
12042 lt_save_path_LD=$lt_cv_path_LD
12043 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12044 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12045 else
12046 $as_unset lt_cv_prog_gnu_ld
12048 if test -n "${lt_cv_path_LDCXX+set}"; then
12049 lt_cv_path_LD=$lt_cv_path_LDCXX
12050 else
12051 $as_unset lt_cv_path_LD
12053 test -z "${LDCXX+set}" || LD=$LDCXX
12054 CC=${CXX-"c++"}
12055 compiler=$CC
12056 compiler_CXX=$CC
12057 for cc_temp in $compiler""; do
12058 case $cc_temp in
12059 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12060 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12061 \-*) ;;
12062 *) break;;
12063 esac
12064 done
12065 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12068 if test -n "$compiler"; then
12069 # We don't want -fno-exception when compiling C++ code, so set the
12070 # no_builtin_flag separately
12071 if test "$GXX" = yes; then
12072 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12073 else
12074 lt_prog_compiler_no_builtin_flag_CXX=
12077 if test "$GXX" = yes; then
12078 # Set up default GNU C++ configuration
12082 # Check whether --with-gnu-ld was given.
12083 if test "${with_gnu_ld+set}" = set; then :
12084 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12085 else
12086 with_gnu_ld=no
12089 ac_prog=ld
12090 if test "$GCC" = yes; then
12091 # Check if gcc -print-prog-name=ld gives a path.
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12093 $as_echo_n "checking for ld used by $CC... " >&6; }
12094 case $host in
12095 *-*-mingw*)
12096 # gcc leaves a trailing carriage return which upsets mingw
12097 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12099 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12100 esac
12101 case $ac_prog in
12102 # Accept absolute paths.
12103 [\\/]* | ?:[\\/]*)
12104 re_direlt='/[^/][^/]*/\.\./'
12105 # Canonicalize the pathname of ld
12106 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12107 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12108 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12109 done
12110 test -z "$LD" && LD="$ac_prog"
12113 # If it fails, then pretend we aren't using GCC.
12114 ac_prog=ld
12117 # If it is relative, then search for the first ld in PATH.
12118 with_gnu_ld=unknown
12120 esac
12121 elif test "$with_gnu_ld" = yes; then
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12123 $as_echo_n "checking for GNU ld... " >&6; }
12124 else
12125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12126 $as_echo_n "checking for non-GNU ld... " >&6; }
12128 if test "${lt_cv_path_LD+set}" = set; then :
12129 $as_echo_n "(cached) " >&6
12130 else
12131 if test -z "$LD"; then
12132 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12133 for ac_dir in $PATH; do
12134 IFS="$lt_save_ifs"
12135 test -z "$ac_dir" && ac_dir=.
12136 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12137 lt_cv_path_LD="$ac_dir/$ac_prog"
12138 # Check to see if the program is GNU ld. I'd rather use --version,
12139 # but apparently some variants of GNU ld only accept -v.
12140 # Break only if it was the GNU/non-GNU ld that we prefer.
12141 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12142 *GNU* | *'with BFD'*)
12143 test "$with_gnu_ld" != no && break
12146 test "$with_gnu_ld" != yes && break
12148 esac
12150 done
12151 IFS="$lt_save_ifs"
12152 else
12153 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12157 LD="$lt_cv_path_LD"
12158 if test -n "$LD"; then
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12160 $as_echo "$LD" >&6; }
12161 else
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12163 $as_echo "no" >&6; }
12165 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12167 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12168 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12169 $as_echo_n "(cached) " >&6
12170 else
12171 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12172 case `$LD -v 2>&1 </dev/null` in
12173 *GNU* | *'with BFD'*)
12174 lt_cv_prog_gnu_ld=yes
12177 lt_cv_prog_gnu_ld=no
12179 esac
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12182 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12183 with_gnu_ld=$lt_cv_prog_gnu_ld
12191 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12192 # archiving commands below assume that GNU ld is being used.
12193 if test "$with_gnu_ld" = yes; then
12194 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12195 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'
12197 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12198 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12200 # If archive_cmds runs LD, not CC, wlarc should be empty
12201 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12202 # investigate it a little bit more. (MM)
12203 wlarc='${wl}'
12205 # ancient GNU ld didn't support --whole-archive et. al.
12206 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12207 $GREP 'no-whole-archive' > /dev/null; then
12208 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12209 else
12210 whole_archive_flag_spec_CXX=
12212 else
12213 with_gnu_ld=no
12214 wlarc=
12216 # A generic and very simple default shared library creation
12217 # command for GNU C++ for the case where it uses the native
12218 # linker, instead of GNU ld. If possible, this setting should
12219 # overridden to take advantage of the native linker features on
12220 # the platform it is being used on.
12221 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12224 # Commands to make compiler produce verbose output that lists
12225 # what "hidden" libraries, object files and flags are used when
12226 # linking a shared library.
12227 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12229 else
12230 GXX=no
12231 with_gnu_ld=no
12232 wlarc=
12235 # PORTME: fill in a description of your system's C++ link characteristics
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12237 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12238 ld_shlibs_CXX=yes
12239 case $host_os in
12240 aix3*)
12241 # FIXME: insert proper C++ library support
12242 ld_shlibs_CXX=no
12244 aix[4-9]*)
12245 if test "$host_cpu" = ia64; then
12246 # On IA64, the linker does run time linking by default, so we don't
12247 # have to do anything special.
12248 aix_use_runtimelinking=no
12249 exp_sym_flag='-Bexport'
12250 no_entry_flag=""
12251 else
12252 aix_use_runtimelinking=no
12254 # Test if we are trying to use run time linking or normal
12255 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12256 # need to do runtime linking.
12257 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12258 for ld_flag in $LDFLAGS; do
12259 case $ld_flag in
12260 *-brtl*)
12261 aix_use_runtimelinking=yes
12262 break
12264 esac
12265 done
12267 esac
12269 exp_sym_flag='-bexport'
12270 no_entry_flag='-bnoentry'
12273 # When large executables or shared objects are built, AIX ld can
12274 # have problems creating the table of contents. If linking a library
12275 # or program results in "error TOC overflow" add -mminimal-toc to
12276 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12277 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12279 archive_cmds_CXX=''
12280 hardcode_direct_CXX=yes
12281 hardcode_direct_absolute_CXX=yes
12282 hardcode_libdir_separator_CXX=':'
12283 link_all_deplibs_CXX=yes
12284 file_list_spec_CXX='${wl}-f,'
12286 if test "$GXX" = yes; then
12287 case $host_os in aix4.[012]|aix4.[012].*)
12288 # We only want to do this on AIX 4.2 and lower, the check
12289 # below for broken collect2 doesn't work under 4.3+
12290 collect2name=`${CC} -print-prog-name=collect2`
12291 if test -f "$collect2name" &&
12292 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12293 then
12294 # We have reworked collect2
12296 else
12297 # We have old collect2
12298 hardcode_direct_CXX=unsupported
12299 # It fails to find uninstalled libraries when the uninstalled
12300 # path is not listed in the libpath. Setting hardcode_minus_L
12301 # to unsupported forces relinking
12302 hardcode_minus_L_CXX=yes
12303 hardcode_libdir_flag_spec_CXX='-L$libdir'
12304 hardcode_libdir_separator_CXX=
12306 esac
12307 shared_flag='-shared'
12308 if test "$aix_use_runtimelinking" = yes; then
12309 shared_flag="$shared_flag "'${wl}-G'
12311 else
12312 # not using gcc
12313 if test "$host_cpu" = ia64; then
12314 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12315 # chokes on -Wl,-G. The following line is correct:
12316 shared_flag='-G'
12317 else
12318 if test "$aix_use_runtimelinking" = yes; then
12319 shared_flag='${wl}-G'
12320 else
12321 shared_flag='${wl}-bM:SRE'
12326 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12327 # It seems that -bexpall does not export symbols beginning with
12328 # underscore (_), so it is better to generate a list of symbols to
12329 # export.
12330 always_export_symbols_CXX=yes
12331 if test "$aix_use_runtimelinking" = yes; then
12332 # Warning - without using the other runtime loading flags (-brtl),
12333 # -berok will link without error, but may produce a broken library.
12334 allow_undefined_flag_CXX='-berok'
12335 # Determine the default libpath from the value encoded in an empty
12336 # executable.
12337 if test x$gcc_no_link = xyes; then
12338 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12341 /* end confdefs.h. */
12344 main ()
12348 return 0;
12350 _ACEOF
12351 if ac_fn_cxx_try_link "$LINENO"; then :
12353 lt_aix_libpath_sed='
12354 /Import File Strings/,/^$/ {
12355 /^0/ {
12356 s/^0 *\(.*\)$/\1/
12360 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12361 # Check for a 64-bit object if we didn't find anything.
12362 if test -z "$aix_libpath"; then
12363 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12366 rm -f core conftest.err conftest.$ac_objext \
12367 conftest$ac_exeext conftest.$ac_ext
12368 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12370 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12372 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"
12373 else
12374 if test "$host_cpu" = ia64; then
12375 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12376 allow_undefined_flag_CXX="-z nodefs"
12377 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"
12378 else
12379 # Determine the default libpath from the value encoded in an
12380 # empty executable.
12381 if test x$gcc_no_link = xyes; then
12382 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12385 /* end confdefs.h. */
12388 main ()
12392 return 0;
12394 _ACEOF
12395 if ac_fn_cxx_try_link "$LINENO"; then :
12397 lt_aix_libpath_sed='
12398 /Import File Strings/,/^$/ {
12399 /^0/ {
12400 s/^0 *\(.*\)$/\1/
12404 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12405 # Check for a 64-bit object if we didn't find anything.
12406 if test -z "$aix_libpath"; then
12407 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12410 rm -f core conftest.err conftest.$ac_objext \
12411 conftest$ac_exeext conftest.$ac_ext
12412 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12414 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12415 # Warning - without using the other run time loading flags,
12416 # -berok will link without error, but may produce a broken library.
12417 no_undefined_flag_CXX=' ${wl}-bernotok'
12418 allow_undefined_flag_CXX=' ${wl}-berok'
12419 if test "$with_gnu_ld" = yes; then
12420 # We only use this code for GNU lds that support --whole-archive.
12421 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12422 else
12423 # Exported symbols can be pulled into shared objects from archives
12424 whole_archive_flag_spec_CXX='$convenience'
12426 archive_cmds_need_lc_CXX=yes
12427 # This is similar to how AIX traditionally builds its shared
12428 # libraries.
12429 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'
12434 beos*)
12435 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12436 allow_undefined_flag_CXX=unsupported
12437 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12438 # support --undefined. This deserves some investigation. FIXME
12439 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12440 else
12441 ld_shlibs_CXX=no
12445 chorus*)
12446 case $cc_basename in
12448 # FIXME: insert proper C++ library support
12449 ld_shlibs_CXX=no
12451 esac
12454 cygwin* | mingw* | pw32* | cegcc*)
12455 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12456 # as there is no search path for DLLs.
12457 hardcode_libdir_flag_spec_CXX='-L$libdir'
12458 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12459 allow_undefined_flag_CXX=unsupported
12460 always_export_symbols_CXX=no
12461 enable_shared_with_static_runtimes_CXX=yes
12463 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12464 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'
12465 # If the export-symbols file already is a .def file (1st line
12466 # is EXPORTS), use it as is; otherwise, prepend...
12467 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12468 cp $export_symbols $output_objdir/$soname.def;
12469 else
12470 echo EXPORTS > $output_objdir/$soname.def;
12471 cat $export_symbols >> $output_objdir/$soname.def;
12473 $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'
12474 else
12475 ld_shlibs_CXX=no
12478 darwin* | rhapsody*)
12481 archive_cmds_need_lc_CXX=no
12482 hardcode_direct_CXX=no
12483 hardcode_automatic_CXX=yes
12484 hardcode_shlibpath_var_CXX=unsupported
12485 if test "$lt_cv_ld_force_load" = "yes"; then
12486 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\"`'
12487 else
12488 whole_archive_flag_spec_CXX=''
12490 link_all_deplibs_CXX=yes
12491 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12492 case $cc_basename in
12493 ifort*) _lt_dar_can_shared=yes ;;
12494 *) _lt_dar_can_shared=$GCC ;;
12495 esac
12496 if test "$_lt_dar_can_shared" = "yes"; then
12497 output_verbose_link_cmd=func_echo_all
12498 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}"
12499 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12500 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}"
12501 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}"
12502 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12503 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}"
12504 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}"
12507 else
12508 ld_shlibs_CXX=no
12513 dgux*)
12514 case $cc_basename in
12515 ec++*)
12516 # FIXME: insert proper C++ library support
12517 ld_shlibs_CXX=no
12519 ghcx*)
12520 # Green Hills C++ Compiler
12521 # FIXME: insert proper C++ library support
12522 ld_shlibs_CXX=no
12525 # FIXME: insert proper C++ library support
12526 ld_shlibs_CXX=no
12528 esac
12531 freebsd[12]*)
12532 # C++ shared libraries reported to be fairly broken before
12533 # switch to ELF
12534 ld_shlibs_CXX=no
12537 freebsd-elf*)
12538 archive_cmds_need_lc_CXX=no
12541 freebsd* | dragonfly*)
12542 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12543 # conventions
12544 ld_shlibs_CXX=yes
12547 gnu*)
12550 haiku*)
12551 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12552 link_all_deplibs_CXX=yes
12555 hpux9*)
12556 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12557 hardcode_libdir_separator_CXX=:
12558 export_dynamic_flag_spec_CXX='${wl}-E'
12559 hardcode_direct_CXX=yes
12560 hardcode_minus_L_CXX=yes # Not in the search PATH,
12561 # but as the default
12562 # location of the library.
12564 case $cc_basename in
12565 CC*)
12566 # FIXME: insert proper C++ library support
12567 ld_shlibs_CXX=no
12569 aCC*)
12570 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'
12571 # Commands to make compiler produce verbose output that lists
12572 # what "hidden" libraries, object files and flags are used when
12573 # linking a shared library.
12575 # There doesn't appear to be a way to prevent this compiler from
12576 # explicitly linking system object files so we need to strip them
12577 # from the output so that they don't get included in the library
12578 # dependencies.
12579 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"'
12582 if test "$GXX" = yes; then
12583 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'
12584 else
12585 # FIXME: insert proper C++ library support
12586 ld_shlibs_CXX=no
12589 esac
12592 hpux10*|hpux11*)
12593 if test $with_gnu_ld = no; then
12594 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12595 hardcode_libdir_separator_CXX=:
12597 case $host_cpu in
12598 hppa*64*|ia64*)
12601 export_dynamic_flag_spec_CXX='${wl}-E'
12603 esac
12605 case $host_cpu in
12606 hppa*64*|ia64*)
12607 hardcode_direct_CXX=no
12608 hardcode_shlibpath_var_CXX=no
12611 hardcode_direct_CXX=yes
12612 hardcode_direct_absolute_CXX=yes
12613 hardcode_minus_L_CXX=yes # Not in the search PATH,
12614 # but as the default
12615 # location of the library.
12617 esac
12619 case $cc_basename in
12620 CC*)
12621 # FIXME: insert proper C++ library support
12622 ld_shlibs_CXX=no
12624 aCC*)
12625 case $host_cpu in
12626 hppa*64*)
12627 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12629 ia64*)
12630 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12633 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12635 esac
12636 # Commands to make compiler produce verbose output that lists
12637 # what "hidden" libraries, object files and flags are used when
12638 # linking a shared library.
12640 # There doesn't appear to be a way to prevent this compiler from
12641 # explicitly linking system object files so we need to strip them
12642 # from the output so that they don't get included in the library
12643 # dependencies.
12644 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"'
12647 if test "$GXX" = yes; then
12648 if test $with_gnu_ld = no; then
12649 case $host_cpu in
12650 hppa*64*)
12651 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12653 ia64*)
12654 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12657 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'
12659 esac
12661 else
12662 # FIXME: insert proper C++ library support
12663 ld_shlibs_CXX=no
12666 esac
12669 interix[3-9]*)
12670 hardcode_direct_CXX=no
12671 hardcode_shlibpath_var_CXX=no
12672 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12673 export_dynamic_flag_spec_CXX='${wl}-E'
12674 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12675 # Instead, shared libraries are loaded at an image base (0x10000000 by
12676 # default) and relocated if they conflict, which is a slow very memory
12677 # consuming and fragmenting process. To avoid this, we pick a random,
12678 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12679 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12680 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'
12681 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'
12683 irix5* | irix6*)
12684 case $cc_basename in
12685 CC*)
12686 # SGI C++
12687 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'
12689 # Archives containing C++ object files must be created using
12690 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12691 # necessary to make sure instantiated templates are included
12692 # in the archive.
12693 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12696 if test "$GXX" = yes; then
12697 if test "$with_gnu_ld" = no; then
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"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12699 else
12700 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'
12703 link_all_deplibs_CXX=yes
12705 esac
12706 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12707 hardcode_libdir_separator_CXX=:
12708 inherit_rpath_CXX=yes
12711 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12712 case $cc_basename in
12713 KCC*)
12714 # Kuck and Associates, Inc. (KAI) C++ Compiler
12716 # KCC will only create a shared library if the output file
12717 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12718 # to its proper name (with version) after linking.
12719 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'
12720 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'
12721 # Commands to make compiler produce verbose output that lists
12722 # what "hidden" libraries, object files and flags are used when
12723 # linking a shared library.
12725 # There doesn't appear to be a way to prevent this compiler from
12726 # explicitly linking system object files so we need to strip them
12727 # from the output so that they don't get included in the library
12728 # dependencies.
12729 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"'
12731 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12732 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12734 # Archives containing C++ object files must be created using
12735 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12736 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12738 icpc* | ecpc* )
12739 # Intel C++
12740 with_gnu_ld=yes
12741 # version 8.0 and above of icpc choke on multiply defined symbols
12742 # if we add $predep_objects and $postdep_objects, however 7.1 and
12743 # earlier do not add the objects themselves.
12744 case `$CC -V 2>&1` in
12745 *"Version 7."*)
12746 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12747 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'
12749 *) # Version 8.0 or newer
12750 tmp_idyn=
12751 case $host_cpu in
12752 ia64*) tmp_idyn=' -i_dynamic';;
12753 esac
12754 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12755 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'
12757 esac
12758 archive_cmds_need_lc_CXX=no
12759 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12760 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12761 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12763 pgCC* | pgcpp*)
12764 # Portland Group C++ compiler
12765 case `$CC -V` in
12766 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12767 prelink_cmds_CXX='tpldir=Template.dir~
12768 rm -rf $tpldir~
12769 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12770 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12771 old_archive_cmds_CXX='tpldir=Template.dir~
12772 rm -rf $tpldir~
12773 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12774 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12775 $RANLIB $oldlib'
12776 archive_cmds_CXX='tpldir=Template.dir~
12777 rm -rf $tpldir~
12778 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12779 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12780 archive_expsym_cmds_CXX='tpldir=Template.dir~
12781 rm -rf $tpldir~
12782 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12783 $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'
12785 *) # Version 6 and above use weak symbols
12786 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12787 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'
12789 esac
12791 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12792 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12793 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'
12795 cxx*)
12796 # Compaq C++
12797 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12798 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'
12800 runpath_var=LD_RUN_PATH
12801 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12802 hardcode_libdir_separator_CXX=:
12804 # Commands to make compiler produce verbose output that lists
12805 # what "hidden" libraries, object files and flags are used when
12806 # linking a shared library.
12808 # There doesn't appear to be a way to prevent this compiler from
12809 # explicitly linking system object files so we need to strip them
12810 # from the output so that they don't get included in the library
12811 # dependencies.
12812 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'
12814 xl* | mpixl* | bgxl*)
12815 # IBM XL 8.0 on PPC, with GNU ld
12816 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12817 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12818 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12819 if test "x$supports_anon_versioning" = xyes; then
12820 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12821 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12822 echo "local: *; };" >> $output_objdir/$libname.ver~
12823 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12827 case `$CC -V 2>&1 | sed 5q` in
12828 *Sun\ C*)
12829 # Sun C++ 5.9
12830 no_undefined_flag_CXX=' -zdefs'
12831 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12832 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'
12833 hardcode_libdir_flag_spec_CXX='-R$libdir'
12834 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'
12835 compiler_needs_object_CXX=yes
12837 # Not sure whether something based on
12838 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12839 # would be better.
12840 output_verbose_link_cmd='func_echo_all'
12842 # Archives containing C++ object files must be created using
12843 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12844 # necessary to make sure instantiated templates are included
12845 # in the archive.
12846 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12848 esac
12850 esac
12853 lynxos*)
12854 # FIXME: insert proper C++ library support
12855 ld_shlibs_CXX=no
12858 m88k*)
12859 # FIXME: insert proper C++ library support
12860 ld_shlibs_CXX=no
12863 mvs*)
12864 case $cc_basename in
12865 cxx*)
12866 # FIXME: insert proper C++ library support
12867 ld_shlibs_CXX=no
12870 # FIXME: insert proper C++ library support
12871 ld_shlibs_CXX=no
12873 esac
12876 netbsd*)
12877 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12878 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12879 wlarc=
12880 hardcode_libdir_flag_spec_CXX='-R$libdir'
12881 hardcode_direct_CXX=yes
12882 hardcode_shlibpath_var_CXX=no
12884 # Workaround some broken pre-1.5 toolchains
12885 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12888 *nto* | *qnx*)
12889 ld_shlibs_CXX=yes
12892 openbsd2*)
12893 # C++ shared libraries are fairly broken
12894 ld_shlibs_CXX=no
12897 openbsd*)
12898 if test -f /usr/libexec/ld.so; then
12899 hardcode_direct_CXX=yes
12900 hardcode_shlibpath_var_CXX=no
12901 hardcode_direct_absolute_CXX=yes
12902 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12903 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12904 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12905 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12906 export_dynamic_flag_spec_CXX='${wl}-E'
12907 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12909 output_verbose_link_cmd=func_echo_all
12910 else
12911 ld_shlibs_CXX=no
12915 osf3* | osf4* | osf5*)
12916 case $cc_basename in
12917 KCC*)
12918 # Kuck and Associates, Inc. (KAI) C++ Compiler
12920 # KCC will only create a shared library if the output file
12921 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12922 # to its proper name (with version) after linking.
12923 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'
12925 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12926 hardcode_libdir_separator_CXX=:
12928 # Archives containing C++ object files must be created using
12929 # the KAI C++ compiler.
12930 case $host in
12931 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12932 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12933 esac
12935 RCC*)
12936 # Rational C++ 2.4.1
12937 # FIXME: insert proper C++ library support
12938 ld_shlibs_CXX=no
12940 cxx*)
12941 case $host in
12942 osf3*)
12943 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12944 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'
12945 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12948 allow_undefined_flag_CXX=' -expect_unresolved \*'
12949 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'
12950 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12951 echo "-hidden">> $lib.exp~
12952 $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~
12953 $RM $lib.exp'
12954 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12956 esac
12958 hardcode_libdir_separator_CXX=:
12960 # Commands to make compiler produce verbose output that lists
12961 # what "hidden" libraries, object files and flags are used when
12962 # linking a shared library.
12964 # There doesn't appear to be a way to prevent this compiler from
12965 # explicitly linking system object files so we need to strip them
12966 # from the output so that they don't get included in the library
12967 # dependencies.
12968 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"'
12971 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12972 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12973 case $host in
12974 osf3*)
12975 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'
12978 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'
12980 esac
12982 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12983 hardcode_libdir_separator_CXX=:
12985 # Commands to make compiler produce verbose output that lists
12986 # what "hidden" libraries, object files and flags are used when
12987 # linking a shared library.
12988 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12990 else
12991 # FIXME: insert proper C++ library support
12992 ld_shlibs_CXX=no
12995 esac
12998 psos*)
12999 # FIXME: insert proper C++ library support
13000 ld_shlibs_CXX=no
13003 sunos4*)
13004 case $cc_basename in
13005 CC*)
13006 # Sun C++ 4.x
13007 # FIXME: insert proper C++ library support
13008 ld_shlibs_CXX=no
13010 lcc*)
13011 # Lucid
13012 # FIXME: insert proper C++ library support
13013 ld_shlibs_CXX=no
13016 # FIXME: insert proper C++ library support
13017 ld_shlibs_CXX=no
13019 esac
13022 solaris*)
13023 case $cc_basename in
13024 CC*)
13025 # Sun C++ 4.2, 5.x and Centerline C++
13026 archive_cmds_need_lc_CXX=yes
13027 no_undefined_flag_CXX=' -zdefs'
13028 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13029 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13030 $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'
13032 hardcode_libdir_flag_spec_CXX='-R$libdir'
13033 hardcode_shlibpath_var_CXX=no
13034 case $host_os in
13035 solaris2.[0-5] | solaris2.[0-5].*) ;;
13037 # The compiler driver will combine and reorder linker options,
13038 # but understands `-z linker_flag'.
13039 # Supported since Solaris 2.6 (maybe 2.5.1?)
13040 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13042 esac
13043 link_all_deplibs_CXX=yes
13045 output_verbose_link_cmd='func_echo_all'
13047 # Archives containing C++ object files must be created using
13048 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13049 # necessary to make sure instantiated templates are included
13050 # in the archive.
13051 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13053 gcx*)
13054 # Green Hills C++ Compiler
13055 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13057 # The C++ compiler must be used to create the archive.
13058 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13061 # GNU C++ compiler with Solaris linker
13062 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13063 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13064 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13065 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13066 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13067 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13069 # Commands to make compiler produce verbose output that lists
13070 # what "hidden" libraries, object files and flags are used when
13071 # linking a shared library.
13072 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13073 else
13074 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13075 # platform.
13076 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13077 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13078 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13080 # Commands to make compiler produce verbose output that lists
13081 # what "hidden" libraries, object files and flags are used when
13082 # linking a shared library.
13083 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13086 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13087 case $host_os in
13088 solaris2.[0-5] | solaris2.[0-5].*) ;;
13090 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13092 esac
13095 esac
13098 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13099 no_undefined_flag_CXX='${wl}-z,text'
13100 archive_cmds_need_lc_CXX=no
13101 hardcode_shlibpath_var_CXX=no
13102 runpath_var='LD_RUN_PATH'
13104 case $cc_basename in
13105 CC*)
13106 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13107 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13110 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13111 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13113 esac
13116 sysv5* | sco3.2v5* | sco5v6*)
13117 # Note: We can NOT use -z defs as we might desire, because we do not
13118 # link with -lc, and that would cause any symbols used from libc to
13119 # always be unresolved, which means just about no library would
13120 # ever link correctly. If we're not using GNU ld we use -z text
13121 # though, which does catch some bad symbols but isn't as heavy-handed
13122 # as -z defs.
13123 no_undefined_flag_CXX='${wl}-z,text'
13124 allow_undefined_flag_CXX='${wl}-z,nodefs'
13125 archive_cmds_need_lc_CXX=no
13126 hardcode_shlibpath_var_CXX=no
13127 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13128 hardcode_libdir_separator_CXX=':'
13129 link_all_deplibs_CXX=yes
13130 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13131 runpath_var='LD_RUN_PATH'
13133 case $cc_basename in
13134 CC*)
13135 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13136 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13137 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13138 '"$old_archive_cmds_CXX"
13139 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13140 '"$reload_cmds_CXX"
13143 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13144 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13146 esac
13149 tandem*)
13150 case $cc_basename in
13151 NCC*)
13152 # NonStop-UX NCC 3.20
13153 # FIXME: insert proper C++ library support
13154 ld_shlibs_CXX=no
13157 # FIXME: insert proper C++ library support
13158 ld_shlibs_CXX=no
13160 esac
13163 vxworks*)
13164 # FIXME: insert proper C++ library support
13165 ld_shlibs_CXX=no
13169 # FIXME: insert proper C++ library support
13170 ld_shlibs_CXX=no
13172 esac
13174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13175 $as_echo "$ld_shlibs_CXX" >&6; }
13176 test "$ld_shlibs_CXX" = no && can_build_shared=no
13178 GCC_CXX="$GXX"
13179 LD_CXX="$LD"
13181 ## CAVEAT EMPTOR:
13182 ## There is no encapsulation within the following macros, do not change
13183 ## the running order or otherwise move them around unless you know exactly
13184 ## what you are doing...
13185 # Dependencies to place before and after the object being linked:
13186 predep_objects_CXX=
13187 postdep_objects_CXX=
13188 predeps_CXX=
13189 postdeps_CXX=
13190 compiler_lib_search_path_CXX=
13192 cat > conftest.$ac_ext <<_LT_EOF
13193 class Foo
13195 public:
13196 Foo (void) { a = 0; }
13197 private:
13198 int a;
13200 _LT_EOF
13202 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13203 (eval $ac_compile) 2>&5
13204 ac_status=$?
13205 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13206 test $ac_status = 0; }; then
13207 # Parse the compiler output and extract the necessary
13208 # objects, libraries and library flags.
13210 # Sentinel used to keep track of whether or not we are before
13211 # the conftest object file.
13212 pre_test_object_deps_done=no
13214 for p in `eval "$output_verbose_link_cmd"`; do
13215 case $p in
13217 -L* | -R* | -l*)
13218 # Some compilers place space between "-{L,R}" and the path.
13219 # Remove the space.
13220 if test $p = "-L" ||
13221 test $p = "-R"; then
13222 prev=$p
13223 continue
13224 else
13225 prev=
13228 if test "$pre_test_object_deps_done" = no; then
13229 case $p in
13230 -L* | -R*)
13231 # Internal compiler library paths should come after those
13232 # provided the user. The postdeps already come after the
13233 # user supplied libs so there is no need to process them.
13234 if test -z "$compiler_lib_search_path_CXX"; then
13235 compiler_lib_search_path_CXX="${prev}${p}"
13236 else
13237 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13240 # The "-l" case would never come before the object being
13241 # linked, so don't bother handling this case.
13242 esac
13243 else
13244 if test -z "$postdeps_CXX"; then
13245 postdeps_CXX="${prev}${p}"
13246 else
13247 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13252 *.$objext)
13253 # This assumes that the test object file only shows up
13254 # once in the compiler output.
13255 if test "$p" = "conftest.$objext"; then
13256 pre_test_object_deps_done=yes
13257 continue
13260 if test "$pre_test_object_deps_done" = no; then
13261 if test -z "$predep_objects_CXX"; then
13262 predep_objects_CXX="$p"
13263 else
13264 predep_objects_CXX="$predep_objects_CXX $p"
13266 else
13267 if test -z "$postdep_objects_CXX"; then
13268 postdep_objects_CXX="$p"
13269 else
13270 postdep_objects_CXX="$postdep_objects_CXX $p"
13275 *) ;; # Ignore the rest.
13277 esac
13278 done
13280 # Clean up.
13281 rm -f a.out a.exe
13282 else
13283 echo "libtool.m4: error: problem compiling CXX test program"
13286 $RM -f confest.$objext
13288 # PORTME: override above test on systems where it is broken
13289 case $host_os in
13290 interix[3-9]*)
13291 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13292 # hack all around it, let's just trust "g++" to DTRT.
13293 predep_objects_CXX=
13294 postdep_objects_CXX=
13295 postdeps_CXX=
13298 linux*)
13299 case `$CC -V 2>&1 | sed 5q` in
13300 *Sun\ C*)
13301 # Sun C++ 5.9
13303 # The more standards-conforming stlport4 library is
13304 # incompatible with the Cstd library. Avoid specifying
13305 # it if it's in CXXFLAGS. Ignore libCrun as
13306 # -library=stlport4 depends on it.
13307 case " $CXX $CXXFLAGS " in
13308 *" -library=stlport4 "*)
13309 solaris_use_stlport4=yes
13311 esac
13313 if test "$solaris_use_stlport4" != yes; then
13314 postdeps_CXX='-library=Cstd -library=Crun'
13317 esac
13320 solaris*)
13321 case $cc_basename in
13322 CC*)
13323 # The more standards-conforming stlport4 library is
13324 # incompatible with the Cstd library. Avoid specifying
13325 # it if it's in CXXFLAGS. Ignore libCrun as
13326 # -library=stlport4 depends on it.
13327 case " $CXX $CXXFLAGS " in
13328 *" -library=stlport4 "*)
13329 solaris_use_stlport4=yes
13331 esac
13333 # Adding this requires a known-good setup of shared libraries for
13334 # Sun compiler versions before 5.6, else PIC objects from an old
13335 # archive will be linked into the output, leading to subtle bugs.
13336 if test "$solaris_use_stlport4" != yes; then
13337 postdeps_CXX='-library=Cstd -library=Crun'
13340 esac
13342 esac
13345 case " $postdeps_CXX " in
13346 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13347 esac
13348 compiler_lib_search_dirs_CXX=
13349 if test -n "${compiler_lib_search_path_CXX}"; then
13350 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13383 lt_prog_compiler_wl_CXX=
13384 lt_prog_compiler_pic_CXX=
13385 lt_prog_compiler_static_CXX=
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13388 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13390 # C++ specific cases for pic, static, wl, etc.
13391 if test "$GXX" = yes; then
13392 lt_prog_compiler_wl_CXX='-Wl,'
13393 lt_prog_compiler_static_CXX='-static'
13395 case $host_os in
13396 aix*)
13397 # All AIX code is PIC.
13398 if test "$host_cpu" = ia64; then
13399 # AIX 5 now supports IA64 processor
13400 lt_prog_compiler_static_CXX='-Bstatic'
13404 amigaos*)
13405 case $host_cpu in
13406 powerpc)
13407 # see comment about AmigaOS4 .so support
13408 lt_prog_compiler_pic_CXX='-fPIC'
13410 m68k)
13411 # FIXME: we need at least 68020 code to build shared libraries, but
13412 # adding the `-m68020' flag to GCC prevents building anything better,
13413 # like `-m68040'.
13414 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13416 esac
13419 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13420 # PIC is the default for these OSes.
13422 mingw* | cygwin* | os2* | pw32* | cegcc*)
13423 # This hack is so that the source file can tell whether it is being
13424 # built for inclusion in a dll (and should export symbols for example).
13425 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13426 # (--disable-auto-import) libraries
13427 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13429 darwin* | rhapsody*)
13430 # PIC is the default on this platform
13431 # Common symbols not allowed in MH_DYLIB files
13432 lt_prog_compiler_pic_CXX='-fno-common'
13434 *djgpp*)
13435 # DJGPP does not support shared libraries at all
13436 lt_prog_compiler_pic_CXX=
13438 haiku*)
13439 # PIC is the default for Haiku.
13440 # The "-static" flag exists, but is broken.
13441 lt_prog_compiler_static_CXX=
13443 interix[3-9]*)
13444 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13445 # Instead, we relocate shared libraries at runtime.
13447 sysv4*MP*)
13448 if test -d /usr/nec; then
13449 lt_prog_compiler_pic_CXX=-Kconform_pic
13452 hpux*)
13453 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13454 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13455 # sets the default TLS model and affects inlining.
13456 case $host_cpu in
13457 hppa*64*)
13460 lt_prog_compiler_pic_CXX='-fPIC'
13462 esac
13464 *qnx* | *nto*)
13465 # QNX uses GNU C++, but need to define -shared option too, otherwise
13466 # it will coredump.
13467 lt_prog_compiler_pic_CXX='-fPIC -shared'
13470 lt_prog_compiler_pic_CXX='-fPIC'
13472 esac
13473 else
13474 case $host_os in
13475 aix[4-9]*)
13476 # All AIX code is PIC.
13477 if test "$host_cpu" = ia64; then
13478 # AIX 5 now supports IA64 processor
13479 lt_prog_compiler_static_CXX='-Bstatic'
13480 else
13481 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13484 chorus*)
13485 case $cc_basename in
13486 cxch68*)
13487 # Green Hills C++ Compiler
13488 # _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"
13490 esac
13492 dgux*)
13493 case $cc_basename in
13494 ec++*)
13495 lt_prog_compiler_pic_CXX='-KPIC'
13497 ghcx*)
13498 # Green Hills C++ Compiler
13499 lt_prog_compiler_pic_CXX='-pic'
13503 esac
13505 freebsd* | dragonfly*)
13506 # FreeBSD uses GNU C++
13508 hpux9* | hpux10* | hpux11*)
13509 case $cc_basename in
13510 CC*)
13511 lt_prog_compiler_wl_CXX='-Wl,'
13512 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13513 if test "$host_cpu" != ia64; then
13514 lt_prog_compiler_pic_CXX='+Z'
13517 aCC*)
13518 lt_prog_compiler_wl_CXX='-Wl,'
13519 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13520 case $host_cpu in
13521 hppa*64*|ia64*)
13522 # +Z the default
13525 lt_prog_compiler_pic_CXX='+Z'
13527 esac
13531 esac
13533 interix*)
13534 # This is c89, which is MS Visual C++ (no shared libs)
13535 # Anyone wants to do a port?
13537 irix5* | irix6* | nonstopux*)
13538 case $cc_basename in
13539 CC*)
13540 lt_prog_compiler_wl_CXX='-Wl,'
13541 lt_prog_compiler_static_CXX='-non_shared'
13542 # CC pic flag -KPIC is the default.
13546 esac
13548 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13549 case $cc_basename in
13550 KCC*)
13551 # KAI C++ Compiler
13552 lt_prog_compiler_wl_CXX='--backend -Wl,'
13553 lt_prog_compiler_pic_CXX='-fPIC'
13555 ecpc* )
13556 # old Intel C++ for x86_64 which still supported -KPIC.
13557 lt_prog_compiler_wl_CXX='-Wl,'
13558 lt_prog_compiler_pic_CXX='-KPIC'
13559 lt_prog_compiler_static_CXX='-static'
13561 icpc* )
13562 # Intel C++, used to be incompatible with GCC.
13563 # ICC 10 doesn't accept -KPIC any more.
13564 lt_prog_compiler_wl_CXX='-Wl,'
13565 lt_prog_compiler_pic_CXX='-fPIC'
13566 lt_prog_compiler_static_CXX='-static'
13568 pgCC* | pgcpp*)
13569 # Portland Group C++ compiler
13570 lt_prog_compiler_wl_CXX='-Wl,'
13571 lt_prog_compiler_pic_CXX='-fpic'
13572 lt_prog_compiler_static_CXX='-Bstatic'
13574 cxx*)
13575 # Compaq C++
13576 # Make sure the PIC flag is empty. It appears that all Alpha
13577 # Linux and Compaq Tru64 Unix objects are PIC.
13578 lt_prog_compiler_pic_CXX=
13579 lt_prog_compiler_static_CXX='-non_shared'
13581 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13582 # IBM XL 8.0, 9.0 on PPC and BlueGene
13583 lt_prog_compiler_wl_CXX='-Wl,'
13584 lt_prog_compiler_pic_CXX='-qpic'
13585 lt_prog_compiler_static_CXX='-qstaticlink'
13588 case `$CC -V 2>&1 | sed 5q` in
13589 *Sun\ C*)
13590 # Sun C++ 5.9
13591 lt_prog_compiler_pic_CXX='-KPIC'
13592 lt_prog_compiler_static_CXX='-Bstatic'
13593 lt_prog_compiler_wl_CXX='-Qoption ld '
13595 esac
13597 esac
13599 lynxos*)
13601 m88k*)
13603 mvs*)
13604 case $cc_basename in
13605 cxx*)
13606 lt_prog_compiler_pic_CXX='-W c,exportall'
13610 esac
13612 netbsd*)
13614 *qnx* | *nto*)
13615 # QNX uses GNU C++, but need to define -shared option too, otherwise
13616 # it will coredump.
13617 lt_prog_compiler_pic_CXX='-fPIC -shared'
13619 osf3* | osf4* | osf5*)
13620 case $cc_basename in
13621 KCC*)
13622 lt_prog_compiler_wl_CXX='--backend -Wl,'
13624 RCC*)
13625 # Rational C++ 2.4.1
13626 lt_prog_compiler_pic_CXX='-pic'
13628 cxx*)
13629 # Digital/Compaq C++
13630 lt_prog_compiler_wl_CXX='-Wl,'
13631 # Make sure the PIC flag is empty. It appears that all Alpha
13632 # Linux and Compaq Tru64 Unix objects are PIC.
13633 lt_prog_compiler_pic_CXX=
13634 lt_prog_compiler_static_CXX='-non_shared'
13638 esac
13640 psos*)
13642 solaris*)
13643 case $cc_basename in
13644 CC*)
13645 # Sun C++ 4.2, 5.x and Centerline C++
13646 lt_prog_compiler_pic_CXX='-KPIC'
13647 lt_prog_compiler_static_CXX='-Bstatic'
13648 lt_prog_compiler_wl_CXX='-Qoption ld '
13650 gcx*)
13651 # Green Hills C++ Compiler
13652 lt_prog_compiler_pic_CXX='-PIC'
13656 esac
13658 sunos4*)
13659 case $cc_basename in
13660 CC*)
13661 # Sun C++ 4.x
13662 lt_prog_compiler_pic_CXX='-pic'
13663 lt_prog_compiler_static_CXX='-Bstatic'
13665 lcc*)
13666 # Lucid
13667 lt_prog_compiler_pic_CXX='-pic'
13671 esac
13673 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13674 case $cc_basename in
13675 CC*)
13676 lt_prog_compiler_wl_CXX='-Wl,'
13677 lt_prog_compiler_pic_CXX='-KPIC'
13678 lt_prog_compiler_static_CXX='-Bstatic'
13680 esac
13682 tandem*)
13683 case $cc_basename in
13684 NCC*)
13685 # NonStop-UX NCC 3.20
13686 lt_prog_compiler_pic_CXX='-KPIC'
13690 esac
13692 vxworks*)
13695 lt_prog_compiler_can_build_shared_CXX=no
13697 esac
13700 case $host_os in
13701 # For platforms which do not support PIC, -DPIC is meaningless:
13702 *djgpp*)
13703 lt_prog_compiler_pic_CXX=
13706 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13708 esac
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13710 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13715 # Check to make sure the PIC flag actually works.
13717 if test -n "$lt_prog_compiler_pic_CXX"; then
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13719 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13720 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13721 $as_echo_n "(cached) " >&6
13722 else
13723 lt_cv_prog_compiler_pic_works_CXX=no
13724 ac_outfile=conftest.$ac_objext
13725 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13726 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13727 # Insert the option either (1) after the last *FLAGS variable, or
13728 # (2) before a word containing "conftest.", or (3) at the end.
13729 # Note that $ac_compile itself does not contain backslashes and begins
13730 # with a dollar sign (not a hyphen), so the echo should work correctly.
13731 # The option is referenced via a variable to avoid confusing sed.
13732 lt_compile=`echo "$ac_compile" | $SED \
13733 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13734 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13735 -e 's:$: $lt_compiler_flag:'`
13736 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13737 (eval "$lt_compile" 2>conftest.err)
13738 ac_status=$?
13739 cat conftest.err >&5
13740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13741 if (exit $ac_status) && test -s "$ac_outfile"; then
13742 # The compiler can only warn and ignore the option if not recognized
13743 # So say no if there are warnings other than the usual output.
13744 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13745 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13746 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13747 lt_cv_prog_compiler_pic_works_CXX=yes
13750 $RM conftest*
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13754 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13756 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13757 case $lt_prog_compiler_pic_CXX in
13758 "" | " "*) ;;
13759 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13760 esac
13761 else
13762 lt_prog_compiler_pic_CXX=
13763 lt_prog_compiler_can_build_shared_CXX=no
13771 # Check to make sure the static flag actually works.
13773 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13775 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13776 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13777 $as_echo_n "(cached) " >&6
13778 else
13779 lt_cv_prog_compiler_static_works_CXX=no
13780 save_LDFLAGS="$LDFLAGS"
13781 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13782 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13783 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13784 # The linker can only warn and ignore the option if not recognized
13785 # So say no if there are warnings
13786 if test -s conftest.err; then
13787 # Append any errors to the config.log.
13788 cat conftest.err 1>&5
13789 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13790 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13791 if diff conftest.exp conftest.er2 >/dev/null; then
13792 lt_cv_prog_compiler_static_works_CXX=yes
13794 else
13795 lt_cv_prog_compiler_static_works_CXX=yes
13798 $RM -r conftest*
13799 LDFLAGS="$save_LDFLAGS"
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13803 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13805 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13807 else
13808 lt_prog_compiler_static_CXX=
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13815 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13816 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13817 $as_echo_n "(cached) " >&6
13818 else
13819 lt_cv_prog_compiler_c_o_CXX=no
13820 $RM -r conftest 2>/dev/null
13821 mkdir conftest
13822 cd conftest
13823 mkdir out
13824 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13826 lt_compiler_flag="-o out/conftest2.$ac_objext"
13827 # Insert the option either (1) after the last *FLAGS variable, or
13828 # (2) before a word containing "conftest.", or (3) at the end.
13829 # Note that $ac_compile itself does not contain backslashes and begins
13830 # with a dollar sign (not a hyphen), so the echo should work correctly.
13831 lt_compile=`echo "$ac_compile" | $SED \
13832 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13833 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13834 -e 's:$: $lt_compiler_flag:'`
13835 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13836 (eval "$lt_compile" 2>out/conftest.err)
13837 ac_status=$?
13838 cat out/conftest.err >&5
13839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13840 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13841 then
13842 # The compiler can only warn and ignore the option if not recognized
13843 # So say no if there are warnings
13844 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13845 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13846 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13847 lt_cv_prog_compiler_c_o_CXX=yes
13850 chmod u+w . 2>&5
13851 $RM conftest*
13852 # SGI C++ compiler will create directory out/ii_files/ for
13853 # template instantiation
13854 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13855 $RM out/* && rmdir out
13856 cd ..
13857 $RM -r conftest
13858 $RM conftest*
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13862 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13867 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13868 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13869 $as_echo_n "(cached) " >&6
13870 else
13871 lt_cv_prog_compiler_c_o_CXX=no
13872 $RM -r conftest 2>/dev/null
13873 mkdir conftest
13874 cd conftest
13875 mkdir out
13876 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13878 lt_compiler_flag="-o out/conftest2.$ac_objext"
13879 # Insert the option either (1) after the last *FLAGS variable, or
13880 # (2) before a word containing "conftest.", or (3) at the end.
13881 # Note that $ac_compile itself does not contain backslashes and begins
13882 # with a dollar sign (not a hyphen), so the echo should work correctly.
13883 lt_compile=`echo "$ac_compile" | $SED \
13884 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13885 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13886 -e 's:$: $lt_compiler_flag:'`
13887 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13888 (eval "$lt_compile" 2>out/conftest.err)
13889 ac_status=$?
13890 cat out/conftest.err >&5
13891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13892 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13893 then
13894 # The compiler can only warn and ignore the option if not recognized
13895 # So say no if there are warnings
13896 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13897 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13898 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13899 lt_cv_prog_compiler_c_o_CXX=yes
13902 chmod u+w . 2>&5
13903 $RM conftest*
13904 # SGI C++ compiler will create directory out/ii_files/ for
13905 # template instantiation
13906 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13907 $RM out/* && rmdir out
13908 cd ..
13909 $RM -r conftest
13910 $RM conftest*
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13914 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13919 hard_links="nottested"
13920 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13921 # do not overwrite the value of need_locks provided by the user
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13923 $as_echo_n "checking if we can lock with hard links... " >&6; }
13924 hard_links=yes
13925 $RM conftest*
13926 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13927 touch conftest.a
13928 ln conftest.a conftest.b 2>&5 || hard_links=no
13929 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13931 $as_echo "$hard_links" >&6; }
13932 if test "$hard_links" = no; then
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13934 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13935 need_locks=warn
13937 else
13938 need_locks=no
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13944 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13946 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13947 case $host_os in
13948 aix[4-9]*)
13949 # If we're using GNU nm, then we don't want the "-C" option.
13950 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13951 # Also, AIX nm treats weak defined symbols like other global defined
13952 # symbols, whereas GNU nm marks them as "W".
13953 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13954 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'
13955 else
13956 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'
13959 pw32*)
13960 export_symbols_cmds_CXX="$ltdll_cmds"
13962 cygwin* | mingw* | cegcc*)
13963 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'
13966 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13968 esac
13969 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13972 $as_echo "$ld_shlibs_CXX" >&6; }
13973 test "$ld_shlibs_CXX" = no && can_build_shared=no
13975 with_gnu_ld_CXX=$with_gnu_ld
13983 # Do we need to explicitly link libc?
13985 case "x$archive_cmds_need_lc_CXX" in
13986 x|xyes)
13987 # Assume -lc should be added
13988 archive_cmds_need_lc_CXX=yes
13990 if test "$enable_shared" = yes && test "$GCC" = yes; then
13991 case $archive_cmds_CXX in
13992 *'~'*)
13993 # FIXME: we may have to deal with multi-command sequences.
13995 '$CC '*)
13996 # Test whether the compiler implicitly links with -lc since on some
13997 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13998 # to ld, don't add -lc before -lgcc.
13999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14000 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14001 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14002 $as_echo_n "(cached) " >&6
14003 else
14004 $RM conftest*
14005 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14007 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14008 (eval $ac_compile) 2>&5
14009 ac_status=$?
14010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14011 test $ac_status = 0; } 2>conftest.err; then
14012 soname=conftest
14013 lib=conftest
14014 libobjs=conftest.$ac_objext
14015 deplibs=
14016 wl=$lt_prog_compiler_wl_CXX
14017 pic_flag=$lt_prog_compiler_pic_CXX
14018 compiler_flags=-v
14019 linker_flags=-v
14020 verstring=
14021 output_objdir=.
14022 libname=conftest
14023 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14024 allow_undefined_flag_CXX=
14025 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14026 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14027 ac_status=$?
14028 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14029 test $ac_status = 0; }
14030 then
14031 lt_cv_archive_cmds_need_lc_CXX=no
14032 else
14033 lt_cv_archive_cmds_need_lc_CXX=yes
14035 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14036 else
14037 cat conftest.err 1>&5
14039 $RM conftest*
14042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14043 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14044 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14046 esac
14049 esac
14114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14115 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14117 library_names_spec=
14118 libname_spec='lib$name'
14119 soname_spec=
14120 shrext_cmds=".so"
14121 postinstall_cmds=
14122 postuninstall_cmds=
14123 finish_cmds=
14124 finish_eval=
14125 shlibpath_var=
14126 shlibpath_overrides_runpath=unknown
14127 version_type=none
14128 dynamic_linker="$host_os ld.so"
14129 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14130 need_lib_prefix=unknown
14131 hardcode_into_libs=no
14133 # when you set need_version to no, make sure it does not cause -set_version
14134 # flags to be left without arguments
14135 need_version=unknown
14137 case $host_os in
14138 aix3*)
14139 version_type=linux
14140 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14141 shlibpath_var=LIBPATH
14143 # AIX 3 has no versioning support, so we append a major version to the name.
14144 soname_spec='${libname}${release}${shared_ext}$major'
14147 aix[4-9]*)
14148 version_type=linux
14149 need_lib_prefix=no
14150 need_version=no
14151 hardcode_into_libs=yes
14152 if test "$host_cpu" = ia64; then
14153 # AIX 5 supports IA64
14154 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14155 shlibpath_var=LD_LIBRARY_PATH
14156 else
14157 # With GCC up to 2.95.x, collect2 would create an import file
14158 # for dependence libraries. The import file would start with
14159 # the line `#! .'. This would cause the generated library to
14160 # depend on `.', always an invalid library. This was fixed in
14161 # development snapshots of GCC prior to 3.0.
14162 case $host_os in
14163 aix4 | aix4.[01] | aix4.[01].*)
14164 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14165 echo ' yes '
14166 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14168 else
14169 can_build_shared=no
14172 esac
14173 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14174 # soname into executable. Probably we can add versioning support to
14175 # collect2, so additional links can be useful in future.
14176 if test "$aix_use_runtimelinking" = yes; then
14177 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14178 # instead of lib<name>.a to let people know that these are not
14179 # typical AIX shared libraries.
14180 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14181 else
14182 # We preserve .a as extension for shared libraries through AIX4.2
14183 # and later when we are not doing run time linking.
14184 library_names_spec='${libname}${release}.a $libname.a'
14185 soname_spec='${libname}${release}${shared_ext}$major'
14187 shlibpath_var=LIBPATH
14191 amigaos*)
14192 case $host_cpu in
14193 powerpc)
14194 # Since July 2007 AmigaOS4 officially supports .so libraries.
14195 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14196 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14198 m68k)
14199 library_names_spec='$libname.ixlibrary $libname.a'
14200 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14201 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'
14203 esac
14206 beos*)
14207 library_names_spec='${libname}${shared_ext}'
14208 dynamic_linker="$host_os ld.so"
14209 shlibpath_var=LIBRARY_PATH
14212 bsdi[45]*)
14213 version_type=linux
14214 need_version=no
14215 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14216 soname_spec='${libname}${release}${shared_ext}$major'
14217 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14218 shlibpath_var=LD_LIBRARY_PATH
14219 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14220 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14221 # the default ld.so.conf also contains /usr/contrib/lib and
14222 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14223 # libtool to hard-code these into programs
14226 cygwin* | mingw* | pw32* | cegcc*)
14227 version_type=windows
14228 shrext_cmds=".dll"
14229 need_version=no
14230 need_lib_prefix=no
14232 case $GCC,$host_os in
14233 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14234 library_names_spec='$libname.dll.a'
14235 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14236 postinstall_cmds='base_file=`basename \${file}`~
14237 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14238 dldir=$destdir/`dirname \$dlpath`~
14239 test -d \$dldir || mkdir -p \$dldir~
14240 $install_prog $dir/$dlname \$dldir/$dlname~
14241 chmod a+x \$dldir/$dlname~
14242 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14243 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14245 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14246 dlpath=$dir/\$dldll~
14247 $RM \$dlpath'
14248 shlibpath_overrides_runpath=yes
14250 case $host_os in
14251 cygwin*)
14252 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14253 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14256 mingw* | cegcc*)
14257 # MinGW DLLs use traditional 'lib' prefix
14258 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14260 pw32*)
14261 # pw32 DLLs use 'pw' prefix rather than 'lib'
14262 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14264 esac
14268 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14270 esac
14271 dynamic_linker='Win32 ld.exe'
14272 # FIXME: first we should search . and the directory the executable is in
14273 shlibpath_var=PATH
14276 darwin* | rhapsody*)
14277 dynamic_linker="$host_os dyld"
14278 version_type=darwin
14279 need_lib_prefix=no
14280 need_version=no
14281 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14282 soname_spec='${libname}${release}${major}$shared_ext'
14283 shlibpath_overrides_runpath=yes
14284 shlibpath_var=DYLD_LIBRARY_PATH
14285 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14287 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14290 dgux*)
14291 version_type=linux
14292 need_lib_prefix=no
14293 need_version=no
14294 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14295 soname_spec='${libname}${release}${shared_ext}$major'
14296 shlibpath_var=LD_LIBRARY_PATH
14299 freebsd1*)
14300 dynamic_linker=no
14303 freebsd* | dragonfly*)
14304 # DragonFly does not have aout. When/if they implement a new
14305 # versioning mechanism, adjust this.
14306 if test -x /usr/bin/objformat; then
14307 objformat=`/usr/bin/objformat`
14308 else
14309 case $host_os in
14310 freebsd[123]*) objformat=aout ;;
14311 *) objformat=elf ;;
14312 esac
14314 version_type=freebsd-$objformat
14315 case $version_type in
14316 freebsd-elf*)
14317 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14318 need_version=no
14319 need_lib_prefix=no
14321 freebsd-*)
14322 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14323 need_version=yes
14325 esac
14326 shlibpath_var=LD_LIBRARY_PATH
14327 case $host_os in
14328 freebsd2*)
14329 shlibpath_overrides_runpath=yes
14331 freebsd3.[01]* | freebsdelf3.[01]*)
14332 shlibpath_overrides_runpath=yes
14333 hardcode_into_libs=yes
14335 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14336 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14337 shlibpath_overrides_runpath=no
14338 hardcode_into_libs=yes
14340 *) # from 4.6 on, and DragonFly
14341 shlibpath_overrides_runpath=yes
14342 hardcode_into_libs=yes
14344 esac
14347 gnu*)
14348 version_type=linux
14349 need_lib_prefix=no
14350 need_version=no
14351 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14352 soname_spec='${libname}${release}${shared_ext}$major'
14353 shlibpath_var=LD_LIBRARY_PATH
14354 hardcode_into_libs=yes
14357 haiku*)
14358 version_type=linux
14359 need_lib_prefix=no
14360 need_version=no
14361 dynamic_linker="$host_os runtime_loader"
14362 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14363 soname_spec='${libname}${release}${shared_ext}$major'
14364 shlibpath_var=LIBRARY_PATH
14365 shlibpath_overrides_runpath=yes
14366 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14367 hardcode_into_libs=yes
14370 hpux9* | hpux10* | hpux11*)
14371 # Give a soname corresponding to the major version so that dld.sl refuses to
14372 # link against other versions.
14373 version_type=sunos
14374 need_lib_prefix=no
14375 need_version=no
14376 case $host_cpu in
14377 ia64*)
14378 shrext_cmds='.so'
14379 hardcode_into_libs=yes
14380 dynamic_linker="$host_os dld.so"
14381 shlibpath_var=LD_LIBRARY_PATH
14382 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14383 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14384 soname_spec='${libname}${release}${shared_ext}$major'
14385 if test "X$HPUX_IA64_MODE" = X32; then
14386 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14387 else
14388 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14390 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14392 hppa*64*)
14393 shrext_cmds='.sl'
14394 hardcode_into_libs=yes
14395 dynamic_linker="$host_os dld.sl"
14396 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14397 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14398 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14399 soname_spec='${libname}${release}${shared_ext}$major'
14400 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14401 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14404 shrext_cmds='.sl'
14405 dynamic_linker="$host_os dld.sl"
14406 shlibpath_var=SHLIB_PATH
14407 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14408 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14409 soname_spec='${libname}${release}${shared_ext}$major'
14411 esac
14412 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14413 postinstall_cmds='chmod 555 $lib'
14414 # or fails outright, so override atomically:
14415 install_override_mode=555
14418 interix[3-9]*)
14419 version_type=linux
14420 need_lib_prefix=no
14421 need_version=no
14422 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14423 soname_spec='${libname}${release}${shared_ext}$major'
14424 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14425 shlibpath_var=LD_LIBRARY_PATH
14426 shlibpath_overrides_runpath=no
14427 hardcode_into_libs=yes
14430 irix5* | irix6* | nonstopux*)
14431 case $host_os in
14432 nonstopux*) version_type=nonstopux ;;
14434 if test "$lt_cv_prog_gnu_ld" = yes; then
14435 version_type=linux
14436 else
14437 version_type=irix
14438 fi ;;
14439 esac
14440 need_lib_prefix=no
14441 need_version=no
14442 soname_spec='${libname}${release}${shared_ext}$major'
14443 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14444 case $host_os in
14445 irix5* | nonstopux*)
14446 libsuff= shlibsuff=
14449 case $LD in # libtool.m4 will add one of these switches to LD
14450 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14451 libsuff= shlibsuff= libmagic=32-bit;;
14452 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14453 libsuff=32 shlibsuff=N32 libmagic=N32;;
14454 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14455 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14456 *) libsuff= shlibsuff= libmagic=never-match;;
14457 esac
14459 esac
14460 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14461 shlibpath_overrides_runpath=no
14462 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14463 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14464 hardcode_into_libs=yes
14467 # No shared lib support for Linux oldld, aout, or coff.
14468 linux*oldld* | linux*aout* | linux*coff*)
14469 dynamic_linker=no
14472 # This must be Linux ELF.
14473 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14474 version_type=linux
14475 need_lib_prefix=no
14476 need_version=no
14477 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14478 soname_spec='${libname}${release}${shared_ext}$major'
14479 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14480 shlibpath_var=LD_LIBRARY_PATH
14481 shlibpath_overrides_runpath=no
14483 # Some binutils ld are patched to set DT_RUNPATH
14484 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14485 $as_echo_n "(cached) " >&6
14486 else
14487 lt_cv_shlibpath_overrides_runpath=no
14488 save_LDFLAGS=$LDFLAGS
14489 save_libdir=$libdir
14490 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14491 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14492 if test x$gcc_no_link = xyes; then
14493 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14496 /* end confdefs.h. */
14499 main ()
14503 return 0;
14505 _ACEOF
14506 if ac_fn_cxx_try_link "$LINENO"; then :
14507 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14508 lt_cv_shlibpath_overrides_runpath=yes
14511 rm -f core conftest.err conftest.$ac_objext \
14512 conftest$ac_exeext conftest.$ac_ext
14513 LDFLAGS=$save_LDFLAGS
14514 libdir=$save_libdir
14518 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14520 # This implies no fast_install, which is unacceptable.
14521 # Some rework will be needed to allow for fast_install
14522 # before this can be enabled.
14523 hardcode_into_libs=yes
14525 # Append ld.so.conf contents to the search path
14526 if test -f /etc/ld.so.conf; then
14527 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' ' '`
14528 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14531 # We used to test for /lib/ld.so.1 and disable shared libraries on
14532 # powerpc, because MkLinux only supported shared libraries with the
14533 # GNU dynamic linker. Since this was broken with cross compilers,
14534 # most powerpc-linux boxes support dynamic linking these days and
14535 # people can always --disable-shared, the test was removed, and we
14536 # assume the GNU/Linux dynamic linker is in use.
14537 dynamic_linker='GNU/Linux ld.so'
14540 netbsd*)
14541 version_type=sunos
14542 need_lib_prefix=no
14543 need_version=no
14544 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14545 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14546 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14547 dynamic_linker='NetBSD (a.out) ld.so'
14548 else
14549 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14550 soname_spec='${libname}${release}${shared_ext}$major'
14551 dynamic_linker='NetBSD ld.elf_so'
14553 shlibpath_var=LD_LIBRARY_PATH
14554 shlibpath_overrides_runpath=yes
14555 hardcode_into_libs=yes
14558 newsos6)
14559 version_type=linux
14560 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14561 shlibpath_var=LD_LIBRARY_PATH
14562 shlibpath_overrides_runpath=yes
14565 *nto* | *qnx*)
14566 version_type=qnx
14567 need_lib_prefix=no
14568 need_version=no
14569 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14570 soname_spec='${libname}${release}${shared_ext}$major'
14571 shlibpath_var=LD_LIBRARY_PATH
14572 shlibpath_overrides_runpath=no
14573 hardcode_into_libs=yes
14574 dynamic_linker='ldqnx.so'
14577 openbsd*)
14578 version_type=sunos
14579 sys_lib_dlsearch_path_spec="/usr/lib"
14580 need_lib_prefix=no
14581 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14582 case $host_os in
14583 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14584 *) need_version=no ;;
14585 esac
14586 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14587 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14588 shlibpath_var=LD_LIBRARY_PATH
14589 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14590 case $host_os in
14591 openbsd2.[89] | openbsd2.[89].*)
14592 shlibpath_overrides_runpath=no
14595 shlibpath_overrides_runpath=yes
14597 esac
14598 else
14599 shlibpath_overrides_runpath=yes
14603 os2*)
14604 libname_spec='$name'
14605 shrext_cmds=".dll"
14606 need_lib_prefix=no
14607 library_names_spec='$libname${shared_ext} $libname.a'
14608 dynamic_linker='OS/2 ld.exe'
14609 shlibpath_var=LIBPATH
14612 osf3* | osf4* | osf5*)
14613 version_type=osf
14614 need_lib_prefix=no
14615 need_version=no
14616 soname_spec='${libname}${release}${shared_ext}$major'
14617 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14618 shlibpath_var=LD_LIBRARY_PATH
14619 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14620 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14623 rdos*)
14624 dynamic_linker=no
14627 solaris*)
14628 version_type=linux
14629 need_lib_prefix=no
14630 need_version=no
14631 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14632 soname_spec='${libname}${release}${shared_ext}$major'
14633 shlibpath_var=LD_LIBRARY_PATH
14634 shlibpath_overrides_runpath=yes
14635 hardcode_into_libs=yes
14636 # ldd complains unless libraries are executable
14637 postinstall_cmds='chmod +x $lib'
14640 sunos4*)
14641 version_type=sunos
14642 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14643 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14644 shlibpath_var=LD_LIBRARY_PATH
14645 shlibpath_overrides_runpath=yes
14646 if test "$with_gnu_ld" = yes; then
14647 need_lib_prefix=no
14649 need_version=yes
14652 sysv4 | sysv4.3*)
14653 version_type=linux
14654 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14655 soname_spec='${libname}${release}${shared_ext}$major'
14656 shlibpath_var=LD_LIBRARY_PATH
14657 case $host_vendor in
14658 sni)
14659 shlibpath_overrides_runpath=no
14660 need_lib_prefix=no
14661 runpath_var=LD_RUN_PATH
14663 siemens)
14664 need_lib_prefix=no
14666 motorola)
14667 need_lib_prefix=no
14668 need_version=no
14669 shlibpath_overrides_runpath=no
14670 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14672 esac
14675 sysv4*MP*)
14676 if test -d /usr/nec ;then
14677 version_type=linux
14678 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14679 soname_spec='$libname${shared_ext}.$major'
14680 shlibpath_var=LD_LIBRARY_PATH
14684 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14685 version_type=freebsd-elf
14686 need_lib_prefix=no
14687 need_version=no
14688 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14689 soname_spec='${libname}${release}${shared_ext}$major'
14690 shlibpath_var=LD_LIBRARY_PATH
14691 shlibpath_overrides_runpath=yes
14692 hardcode_into_libs=yes
14693 if test "$with_gnu_ld" = yes; then
14694 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14695 else
14696 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14697 case $host_os in
14698 sco3.2v5*)
14699 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14701 esac
14703 sys_lib_dlsearch_path_spec='/usr/lib'
14706 tpf*)
14707 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14708 version_type=linux
14709 need_lib_prefix=no
14710 need_version=no
14711 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14712 shlibpath_var=LD_LIBRARY_PATH
14713 shlibpath_overrides_runpath=no
14714 hardcode_into_libs=yes
14717 uts4*)
14718 version_type=linux
14719 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14720 soname_spec='${libname}${release}${shared_ext}$major'
14721 shlibpath_var=LD_LIBRARY_PATH
14725 dynamic_linker=no
14727 esac
14728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14729 $as_echo "$dynamic_linker" >&6; }
14730 test "$dynamic_linker" = no && can_build_shared=no
14732 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14733 if test "$GCC" = yes; then
14734 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14737 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14738 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14740 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14741 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14782 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14783 hardcode_action_CXX=
14784 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14785 test -n "$runpath_var_CXX" ||
14786 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14788 # We can hardcode non-existent directories.
14789 if test "$hardcode_direct_CXX" != no &&
14790 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14791 # have to relink, otherwise we might link with an installed library
14792 # when we should be linking with a yet-to-be-installed one
14793 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14794 test "$hardcode_minus_L_CXX" != no; then
14795 # Linking always hardcodes the temporary library directory.
14796 hardcode_action_CXX=relink
14797 else
14798 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14799 hardcode_action_CXX=immediate
14801 else
14802 # We cannot hardcode anything, or else we can only hardcode existing
14803 # directories.
14804 hardcode_action_CXX=unsupported
14806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14807 $as_echo "$hardcode_action_CXX" >&6; }
14809 if test "$hardcode_action_CXX" = relink ||
14810 test "$inherit_rpath_CXX" = yes; then
14811 # Fast installation is not supported
14812 enable_fast_install=no
14813 elif test "$shlibpath_overrides_runpath" = yes ||
14814 test "$enable_shared" = no; then
14815 # Fast installation is not necessary
14816 enable_fast_install=needless
14825 fi # test -n "$compiler"
14827 CC=$lt_save_CC
14828 LDCXX=$LD
14829 LD=$lt_save_LD
14830 GCC=$lt_save_GCC
14831 with_gnu_ld=$lt_save_with_gnu_ld
14832 lt_cv_path_LDCXX=$lt_cv_path_LD
14833 lt_cv_path_LD=$lt_save_path_LD
14834 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14835 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14836 fi # test "$_lt_caught_CXX_error" != yes
14838 ac_ext=c
14839 ac_cpp='$CPP $CPPFLAGS'
14840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14856 ac_config_commands="$ac_config_commands libtool"
14861 # Only expand once:
14867 case $host in
14868 *-cygwin* | *-mingw*)
14869 # 'host' will be top-level target in the case of a target lib,
14870 # we must compare to with_cross_host to decide if this is a native
14871 # or cross-compiler and select where to install dlls appropriately.
14872 if test -n "$with_cross_host" &&
14873 test x"$with_cross_host" != x"no"; then
14874 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14875 else
14876 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14880 lt_host_flags=
14882 esac
14889 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14890 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14892 # Possibly disable most of the library.
14893 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14894 ## than just ignoring the results. Faster /and/ more correct, win win.
14896 # Check whether --enable-hosted-libstdcxx was given.
14897 if test "${enable_hosted_libstdcxx+set}" = set; then :
14898 enableval=$enable_hosted_libstdcxx;
14899 else
14900 case "$host" in
14901 arm*-*-symbianelf*)
14902 enable_hosted_libstdcxx=no
14905 enable_hosted_libstdcxx=yes
14907 esac
14910 if test "$enable_hosted_libstdcxx" = no; then
14911 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14912 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14913 is_hosted=no
14914 hosted_define=0
14915 enable_abi_check=no
14916 enable_libstdcxx_pch=no
14917 else
14918 is_hosted=yes
14919 hosted_define=1
14923 cat >>confdefs.h <<_ACEOF
14924 #define _GLIBCXX_HOSTED $hosted_define
14925 _ACEOF
14929 # Enable compiler support that doesn't require linking.
14931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14932 $as_echo_n "checking for exception model to use... " >&6; }
14934 ac_ext=cpp
14935 ac_cpp='$CXXCPP $CPPFLAGS'
14936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14940 # Check whether --enable-sjlj-exceptions was given.
14941 if test "${enable_sjlj_exceptions+set}" = set; then :
14942 enableval=$enable_sjlj_exceptions;
14943 case "$enableval" in
14944 yes|no|auto) ;;
14945 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
14946 esac
14948 else
14949 enable_sjlj_exceptions=auto
14954 if test $enable_sjlj_exceptions = auto; then
14955 # Botheration. Now we've got to detect the exception model. Link tests
14956 # against libgcc.a are problematic since we've not been given proper -L
14957 # bits for single-tree newlib and libgloss.
14959 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
14960 cat > conftest.$ac_ext << EOF
14961 #line 14961 "configure"
14962 struct S { ~S(); };
14963 void bar();
14964 void foo()
14966 S s;
14967 bar();
14970 old_CXXFLAGS="$CXXFLAGS"
14971 CXXFLAGS=-S
14972 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14973 (eval $ac_compile) 2>&5
14974 ac_status=$?
14975 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14976 test $ac_status = 0; }; then
14977 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14978 enable_sjlj_exceptions=yes
14979 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14980 enable_sjlj_exceptions=no
14981 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14982 enable_sjlj_exceptions=no
14985 CXXFLAGS="$old_CXXFLAGS"
14986 rm -f conftest*
14989 # This is a tad weird, for hysterical raisins. We have to map
14990 # enable/disable to two different models.
14991 case $enable_sjlj_exceptions in
14992 yes)
14994 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
14996 ac_exception_model_name=sjlj
14999 ac_exception_model_name="call frame"
15002 as_fn_error "unable to detect exception model" "$LINENO" 5
15004 esac
15005 ac_ext=c
15006 ac_cpp='$CPP $CPPFLAGS'
15007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15012 $as_echo "$ac_exception_model_name" >&6; }
15015 # Check whether --enable-libstdcxx-pch was given.
15016 if test "${enable_libstdcxx_pch+set}" = set; then :
15017 enableval=$enable_libstdcxx_pch;
15018 case "$enableval" in
15019 yes|no) ;;
15020 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15021 esac
15023 else
15024 enable_libstdcxx_pch=$is_hosted
15028 if test $enable_libstdcxx_pch = yes; then
15029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15030 $as_echo_n "checking for compiler with PCH support... " >&6; }
15031 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15032 $as_echo_n "(cached) " >&6
15033 else
15034 ac_save_CXXFLAGS="$CXXFLAGS"
15035 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15037 ac_ext=cpp
15038 ac_cpp='$CXXCPP $CPPFLAGS'
15039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15043 echo '#include <math.h>' > conftest.h
15044 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15045 -o conftest.h.gch 1>&5 2>&1 &&
15046 echo '#error "pch failed"' > conftest.h &&
15047 echo '#include "conftest.h"' > conftest.cc &&
15048 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15049 then
15050 glibcxx_cv_prog_CXX_pch=yes
15051 else
15052 glibcxx_cv_prog_CXX_pch=no
15054 rm -f conftest*
15055 CXXFLAGS=$ac_save_CXXFLAGS
15056 ac_ext=c
15057 ac_cpp='$CPP $CPPFLAGS'
15058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15065 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15066 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15070 $as_echo_n "checking for enabled PCH... " >&6; }
15071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15072 $as_echo "$enable_libstdcxx_pch" >&6; }
15075 if test $enable_libstdcxx_pch = yes; then
15076 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15077 else
15078 glibcxx_PCHFLAGS=""
15083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15084 $as_echo_n "checking for thread model used by GCC... " >&6; }
15085 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15087 $as_echo "$target_thread_file" >&6; }
15089 if test $target_thread_file != single; then
15091 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
15095 glibcxx_thread_h=gthr-$target_thread_file.h
15097 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
15098 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
15099 enable_thread=yes
15100 else
15101 enable_thread=no
15108 ac_ext=cpp
15109 ac_cpp='$CXXCPP $CPPFLAGS'
15110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15114 old_CXXFLAGS="$CXXFLAGS"
15116 # Do link tests if possible, instead asm tests, limited to some platforms
15117 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15118 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15119 atomic_builtins_link_tests=no
15120 if test x$gcc_no_link != xyes; then
15121 # Can do link tests. Limit to some tested platforms
15122 case "$host" in
15123 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15124 atomic_builtins_link_tests=yes
15126 esac
15129 if test x$atomic_builtins_link_tests = xyes; then
15131 # Do link tests.
15133 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15136 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15137 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15138 $as_echo_n "(cached) " >&6
15139 else
15141 if test x$gcc_no_link = xyes; then
15142 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15145 /* end confdefs.h. */
15148 main ()
15150 typedef bool atomic_type;
15151 atomic_type c1;
15152 atomic_type c2;
15153 const atomic_type c3(0);
15154 __sync_fetch_and_add(&c1, c2);
15155 __sync_val_compare_and_swap(&c1, c3, c2);
15156 __sync_lock_test_and_set(&c1, c3);
15157 __sync_lock_release(&c1);
15158 __sync_synchronize();
15160 return 0;
15162 _ACEOF
15163 if ac_fn_cxx_try_link "$LINENO"; then :
15164 glibcxx_cv_atomic_bool=yes
15165 else
15166 glibcxx_cv_atomic_bool=no
15168 rm -f core conftest.err conftest.$ac_objext \
15169 conftest$ac_exeext conftest.$ac_ext
15173 if test $glibcxx_cv_atomic_bool = yes; then
15175 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15179 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15182 $as_echo_n "checking for atomic builtins for short... " >&6; }
15183 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15184 $as_echo_n "(cached) " >&6
15185 else
15187 if test x$gcc_no_link = xyes; then
15188 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15191 /* end confdefs.h. */
15194 main ()
15196 typedef short atomic_type;
15197 atomic_type c1;
15198 atomic_type c2;
15199 const atomic_type c3(0);
15200 __sync_fetch_and_add(&c1, c2);
15201 __sync_val_compare_and_swap(&c1, c3, c2);
15202 __sync_lock_test_and_set(&c1, c3);
15203 __sync_lock_release(&c1);
15204 __sync_synchronize();
15206 return 0;
15208 _ACEOF
15209 if ac_fn_cxx_try_link "$LINENO"; then :
15210 glibcxx_cv_atomic_short=yes
15211 else
15212 glibcxx_cv_atomic_short=no
15214 rm -f core conftest.err conftest.$ac_objext \
15215 conftest$ac_exeext conftest.$ac_ext
15219 if test $glibcxx_cv_atomic_short = yes; then
15221 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15225 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15228 $as_echo_n "checking for atomic builtins for int... " >&6; }
15229 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15230 $as_echo_n "(cached) " >&6
15231 else
15233 if test x$gcc_no_link = xyes; then
15234 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15237 /* end confdefs.h. */
15240 main ()
15242 typedef int atomic_type;
15243 atomic_type c1;
15244 atomic_type c2;
15245 const atomic_type c3(0);
15246 __sync_fetch_and_add(&c1, c2);
15247 __sync_val_compare_and_swap(&c1, c3, c2);
15248 __sync_lock_test_and_set(&c1, c3);
15249 __sync_lock_release(&c1);
15250 __sync_synchronize();
15252 return 0;
15254 _ACEOF
15255 if ac_fn_cxx_try_link "$LINENO"; then :
15256 glibcxx_cv_atomic_int=yes
15257 else
15258 glibcxx_cv_atomic_int=no
15260 rm -f core conftest.err conftest.$ac_objext \
15261 conftest$ac_exeext conftest.$ac_ext
15265 if test $glibcxx_cv_atomic_int = yes; then
15267 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15271 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15274 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15275 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15276 $as_echo_n "(cached) " >&6
15277 else
15279 if test x$gcc_no_link = xyes; then
15280 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15283 /* end confdefs.h. */
15286 main ()
15288 typedef long long atomic_type;
15289 atomic_type c1;
15290 atomic_type c2;
15291 const atomic_type c3(0);
15292 __sync_fetch_and_add(&c1, c2);
15293 __sync_val_compare_and_swap(&c1, c3, c2);
15294 __sync_lock_test_and_set(&c1, c3);
15295 __sync_lock_release(&c1);
15296 __sync_synchronize();
15298 return 0;
15300 _ACEOF
15301 if ac_fn_cxx_try_link "$LINENO"; then :
15302 glibcxx_cv_atomic_long_long=yes
15303 else
15304 glibcxx_cv_atomic_long_long=no
15306 rm -f core conftest.err conftest.$ac_objext \
15307 conftest$ac_exeext conftest.$ac_ext
15311 if test $glibcxx_cv_atomic_long_long = yes; then
15313 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15317 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15319 else
15321 # Do asm tests.
15323 # Compile unoptimized.
15324 CXXFLAGS='-O0 -S'
15326 # Fake what AC_TRY_COMPILE does.
15328 cat > conftest.$ac_ext << EOF
15329 #line 15329 "configure"
15330 int main()
15332 typedef bool atomic_type;
15333 atomic_type c1;
15334 atomic_type c2;
15335 const atomic_type c3(0);
15336 __sync_fetch_and_add(&c1, c2);
15337 __sync_val_compare_and_swap(&c1, c3, c2);
15338 __sync_lock_test_and_set(&c1, c3);
15339 __sync_lock_release(&c1);
15340 __sync_synchronize();
15341 return 0;
15345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15346 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15347 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15348 (eval $ac_compile) 2>&5
15349 ac_status=$?
15350 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15351 test $ac_status = 0; }; then
15352 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15353 glibcxx_cv_atomic_bool=no
15354 else
15356 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15358 glibcxx_cv_atomic_bool=yes
15361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15362 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15363 rm -f conftest*
15365 cat > conftest.$ac_ext << EOF
15366 #line 15366 "configure"
15367 int main()
15369 typedef short atomic_type;
15370 atomic_type c1;
15371 atomic_type c2;
15372 const atomic_type c3(0);
15373 __sync_fetch_and_add(&c1, c2);
15374 __sync_val_compare_and_swap(&c1, c3, c2);
15375 __sync_lock_test_and_set(&c1, c3);
15376 __sync_lock_release(&c1);
15377 __sync_synchronize();
15378 return 0;
15382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15383 $as_echo_n "checking for atomic builtins for short... " >&6; }
15384 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15385 (eval $ac_compile) 2>&5
15386 ac_status=$?
15387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15388 test $ac_status = 0; }; then
15389 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15390 glibcxx_cv_atomic_short=no
15391 else
15393 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15395 glibcxx_cv_atomic_short=yes
15398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15399 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15400 rm -f conftest*
15402 cat > conftest.$ac_ext << EOF
15403 #line 15403 "configure"
15404 int main()
15406 // NB: _Atomic_word not necessarily int.
15407 typedef int atomic_type;
15408 atomic_type c1;
15409 atomic_type c2;
15410 const atomic_type c3(0);
15411 __sync_fetch_and_add(&c1, c2);
15412 __sync_val_compare_and_swap(&c1, c3, c2);
15413 __sync_lock_test_and_set(&c1, c3);
15414 __sync_lock_release(&c1);
15415 __sync_synchronize();
15416 return 0;
15420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15421 $as_echo_n "checking for atomic builtins for int... " >&6; }
15422 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15423 (eval $ac_compile) 2>&5
15424 ac_status=$?
15425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15426 test $ac_status = 0; }; then
15427 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15428 glibcxx_cv_atomic_int=no
15429 else
15431 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15433 glibcxx_cv_atomic_int=yes
15436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15437 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15438 rm -f conftest*
15440 cat > conftest.$ac_ext << EOF
15441 #line 15441 "configure"
15442 int main()
15444 typedef long long atomic_type;
15445 atomic_type c1;
15446 atomic_type c2;
15447 const atomic_type c3(0);
15448 __sync_fetch_and_add(&c1, c2);
15449 __sync_val_compare_and_swap(&c1, c3, c2);
15450 __sync_lock_test_and_set(&c1, c3);
15451 __sync_lock_release(&c1);
15452 __sync_synchronize();
15453 return 0;
15457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15458 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15459 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15460 (eval $ac_compile) 2>&5
15461 ac_status=$?
15462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15463 test $ac_status = 0; }; then
15464 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15465 glibcxx_cv_atomic_long_long=no
15466 else
15468 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15470 glibcxx_cv_atomic_long_long=yes
15473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15474 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15475 rm -f conftest*
15479 CXXFLAGS="$old_CXXFLAGS"
15480 ac_ext=c
15481 ac_cpp='$CPP $CPPFLAGS'
15482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15487 # Set atomicity_dir to builtins if either of above tests pass.
15488 if test $glibcxx_cv_atomic_int = yes || test $glibcxx_cv_atomic_bool = yes ; then
15489 atomicity_dir=cpu/generic/atomicity_builtins
15492 # If still generic, set to mutex.
15493 if test $atomicity_dir = "cpu/generic" ; then
15494 atomicity_dir=cpu/generic/atomicity_mutex
15495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15496 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15497 if test "x$target_thread_file" = xsingle; then
15498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15499 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15501 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15502 else
15503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15504 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15506 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15513 # Fake what AC_TRY_COMPILE does, without linking as this is
15514 # unnecessary for this test.
15516 cat > conftest.$ac_ext << EOF
15517 #line 15517 "configure"
15518 int main()
15520 _Decimal32 d1;
15521 _Decimal64 d2;
15522 _Decimal128 d3;
15523 return 0;
15527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15528 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15529 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15530 (eval $ac_compile) 2>&5
15531 ac_status=$?
15532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15533 test $ac_status = 0; }; then
15535 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15537 enable_dfp=yes
15538 else
15539 enable_dfp=no
15541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15542 $as_echo "$enable_dfp" >&6; }
15543 rm -f conftest*
15546 # Checks for compiler support that doesn't require linking.
15548 # All these tests are for C++; save the language and the compiler flags.
15549 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15550 # found in GLIBCXX_CONFIGURE.
15552 ac_ext=cpp
15553 ac_cpp='$CXXCPP $CPPFLAGS'
15554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15558 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15559 ac_save_CXXFLAGS="$CXXFLAGS"
15561 # Check for maintainer-mode bits.
15562 if test x"$USE_MAINTAINER_MODE" = xno; then
15563 WERROR=''
15564 else
15565 WERROR='-Werror'
15568 # Check for -ffunction-sections -fdata-sections
15569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15570 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15571 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15573 /* end confdefs.h. */
15574 int foo; void bar() { };
15576 main ()
15580 return 0;
15582 _ACEOF
15583 if ac_fn_cxx_try_compile "$LINENO"; then :
15584 ac_fdsections=yes
15585 else
15586 ac_fdsections=no
15588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15589 if test "$ac_test_CXXFLAGS" = set; then
15590 CXXFLAGS="$ac_save_CXXFLAGS"
15591 else
15592 # this is the suspicious part
15593 CXXFLAGS=''
15595 if test x"$ac_fdsections" = x"yes"; then
15596 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15599 $as_echo "$ac_fdsections" >&6; }
15601 ac_ext=c
15602 ac_cpp='$CPP $CPPFLAGS'
15603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15611 # Enable all the variable C++ runtime options that don't require linking.
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15614 $as_echo_n "checking for underlying I/O to use... " >&6; }
15615 # Check whether --enable-cstdio was given.
15616 if test "${enable_cstdio+set}" = set; then :
15617 enableval=$enable_cstdio;
15618 case "$enableval" in
15619 stdio) ;;
15620 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15621 esac
15623 else
15624 enable_cstdio=stdio
15629 # Now that libio has been removed, you can have any color you want as long
15630 # as it's black. This is one big no-op until other packages are added, but
15631 # showing the framework never hurts.
15632 case ${enable_cstdio} in
15633 stdio)
15634 CSTDIO_H=config/io/c_io_stdio.h
15635 BASIC_FILE_H=config/io/basic_file_stdio.h
15636 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15638 $as_echo "stdio" >&6; }
15640 esac
15647 # Check whether --enable-clocale was given.
15648 if test "${enable_clocale+set}" = set; then :
15649 enableval=$enable_clocale;
15650 case "$enableval" in
15651 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
15652 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15653 esac
15655 else
15656 enable_clocale=auto
15661 # Deal with gettext issues. Default to not using it (=no) until we detect
15662 # support for it later. Let the user turn it off via --e/d, but let that
15663 # default to on for easier handling.
15664 USE_NLS=no
15665 # Check whether --enable-nls was given.
15666 if test "${enable_nls+set}" = set; then :
15667 enableval=$enable_nls;
15668 else
15669 enable_nls=yes
15673 # Either a known packaage, or "auto"
15674 if test $enable_clocale = no || test $enable_clocale = yes; then
15675 enable_clocale=auto
15677 enable_clocale_flag=$enable_clocale
15679 # Probe for locale model to use if none specified.
15680 # Default to "generic".
15681 if test $enable_clocale_flag = auto; then
15682 case ${target_os} in
15683 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15684 enable_clocale_flag=gnu
15686 darwin* | freebsd*)
15687 enable_clocale_flag=darwin
15690 enable_clocale_flag=generic
15692 esac
15695 # Sanity check model, and test for special functionality.
15696 if test $enable_clocale_flag = gnu; then
15697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15698 /* end confdefs.h. */
15700 #include <features.h>
15701 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15702 _GLIBCXX_ok
15703 #endif
15705 _ACEOF
15706 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15707 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15708 enable_clocale_flag=gnu
15709 else
15710 enable_clocale_flag=generic
15712 rm -f conftest*
15715 # Set it to scream when it hurts.
15716 ac_save_CFLAGS="$CFLAGS"
15717 CFLAGS="-Wimplicit-function-declaration -Werror"
15719 # Use strxfrm_l if available.
15720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15721 /* end confdefs.h. */
15722 #define _GNU_SOURCE 1
15723 #include <string.h>
15724 #include <locale.h>
15726 main ()
15728 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15730 return 0;
15732 _ACEOF
15733 if ac_fn_c_try_compile "$LINENO"; then :
15735 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15740 # Use strerror_l if available.
15741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15742 /* end confdefs.h. */
15743 #define _GNU_SOURCE 1
15744 #include <string.h>
15745 #include <locale.h>
15747 main ()
15749 __locale_t loc; strerror_l(5, loc);
15751 return 0;
15753 _ACEOF
15754 if ac_fn_c_try_compile "$LINENO"; then :
15756 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15761 CFLAGS="$ac_save_CFLAGS"
15764 # Perhaps use strerror_r if available, and strerror_l isn't.
15765 ac_save_CFLAGS="$CFLAGS"
15766 CFLAGS="-Wimplicit-function-declaration -Werror"
15767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15768 /* end confdefs.h. */
15769 #define _GNU_SOURCE 1
15770 #include <string.h>
15771 #include <locale.h>
15773 main ()
15775 char s[128]; strerror_r(5, s, 128);
15777 return 0;
15779 _ACEOF
15780 if ac_fn_c_try_compile "$LINENO"; then :
15782 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15786 CFLAGS="$ac_save_CFLAGS"
15788 # Set configure bits for specified locale package
15789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15790 $as_echo_n "checking for C locale to use... " >&6; }
15791 case ${enable_clocale_flag} in
15792 generic)
15793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15794 $as_echo "generic" >&6; }
15796 CLOCALE_H=config/locale/generic/c_locale.h
15797 CLOCALE_CC=config/locale/generic/c_locale.cc
15798 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15799 CCOLLATE_CC=config/locale/generic/collate_members.cc
15800 CCTYPE_CC=config/locale/generic/ctype_members.cc
15801 CMESSAGES_H=config/locale/generic/messages_members.h
15802 CMESSAGES_CC=config/locale/generic/messages_members.cc
15803 CMONEY_CC=config/locale/generic/monetary_members.cc
15804 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15805 CTIME_H=config/locale/generic/time_members.h
15806 CTIME_CC=config/locale/generic/time_members.cc
15807 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15809 darwin)
15810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15811 $as_echo "darwin or freebsd" >&6; }
15813 CLOCALE_H=config/locale/generic/c_locale.h
15814 CLOCALE_CC=config/locale/generic/c_locale.cc
15815 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15816 CCOLLATE_CC=config/locale/generic/collate_members.cc
15817 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15818 CMESSAGES_H=config/locale/generic/messages_members.h
15819 CMESSAGES_CC=config/locale/generic/messages_members.cc
15820 CMONEY_CC=config/locale/generic/monetary_members.cc
15821 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15822 CTIME_H=config/locale/generic/time_members.h
15823 CTIME_CC=config/locale/generic/time_members.cc
15824 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15827 gnu)
15828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15829 $as_echo "gnu" >&6; }
15831 # Declare intention to use gettext, and add support for specific
15832 # languages.
15833 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15834 ALL_LINGUAS="de fr"
15836 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15837 # Extract the first word of "msgfmt", so it can be a program name with args.
15838 set dummy msgfmt; ac_word=$2
15839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15840 $as_echo_n "checking for $ac_word... " >&6; }
15841 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15842 $as_echo_n "(cached) " >&6
15843 else
15844 if test -n "$check_msgfmt"; then
15845 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15846 else
15847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15848 for as_dir in $PATH
15850 IFS=$as_save_IFS
15851 test -z "$as_dir" && as_dir=.
15852 for ac_exec_ext in '' $ac_executable_extensions; do
15853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15854 ac_cv_prog_check_msgfmt="yes"
15855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15856 break 2
15858 done
15859 done
15860 IFS=$as_save_IFS
15862 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15865 check_msgfmt=$ac_cv_prog_check_msgfmt
15866 if test -n "$check_msgfmt"; then
15867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15868 $as_echo "$check_msgfmt" >&6; }
15869 else
15870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15871 $as_echo "no" >&6; }
15875 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15876 USE_NLS=yes
15878 # Export the build objects.
15879 for ling in $ALL_LINGUAS; do \
15880 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15881 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15882 done
15886 CLOCALE_H=config/locale/gnu/c_locale.h
15887 CLOCALE_CC=config/locale/gnu/c_locale.cc
15888 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15889 CCOLLATE_CC=config/locale/gnu/collate_members.cc
15890 CCTYPE_CC=config/locale/gnu/ctype_members.cc
15891 CMESSAGES_H=config/locale/gnu/messages_members.h
15892 CMESSAGES_CC=config/locale/gnu/messages_members.cc
15893 CMONEY_CC=config/locale/gnu/monetary_members.cc
15894 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15895 CTIME_H=config/locale/gnu/time_members.h
15896 CTIME_CC=config/locale/gnu/time_members.cc
15897 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15899 ieee_1003.1-2001)
15900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15901 $as_echo "IEEE 1003.1" >&6; }
15903 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15904 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15905 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15906 CCOLLATE_CC=config/locale/generic/collate_members.cc
15907 CCTYPE_CC=config/locale/generic/ctype_members.cc
15908 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15909 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15910 CMONEY_CC=config/locale/generic/monetary_members.cc
15911 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15912 CTIME_H=config/locale/generic/time_members.h
15913 CTIME_CC=config/locale/generic/time_members.cc
15914 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15916 esac
15918 # This is where the testsuite looks for locale catalogs, using the
15919 # -DLOCALEDIR define during testsuite compilation.
15920 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15923 # A standalone libintl (e.g., GNU libintl) may be in use.
15924 if test $USE_NLS = yes; then
15925 for ac_header in libintl.h
15926 do :
15927 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15928 if test "x$ac_cv_header_libintl_h" = x""yes; then :
15929 cat >>confdefs.h <<_ACEOF
15930 #define HAVE_LIBINTL_H 1
15931 _ACEOF
15933 else
15934 USE_NLS=no
15937 done
15939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
15940 $as_echo_n "checking for library containing gettext... " >&6; }
15941 if test "${ac_cv_search_gettext+set}" = set; then :
15942 $as_echo_n "(cached) " >&6
15943 else
15944 ac_func_search_save_LIBS=$LIBS
15945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15946 /* end confdefs.h. */
15948 /* Override any GCC internal prototype to avoid an error.
15949 Use char because int might match the return type of a GCC
15950 builtin and then its argument prototype would still apply. */
15951 #ifdef __cplusplus
15952 extern "C"
15953 #endif
15954 char gettext ();
15956 main ()
15958 return gettext ();
15960 return 0;
15962 _ACEOF
15963 for ac_lib in '' intl; do
15964 if test -z "$ac_lib"; then
15965 ac_res="none required"
15966 else
15967 ac_res=-l$ac_lib
15968 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15970 if test x$gcc_no_link = xyes; then
15971 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15973 if ac_fn_c_try_link "$LINENO"; then :
15974 ac_cv_search_gettext=$ac_res
15976 rm -f core conftest.err conftest.$ac_objext \
15977 conftest$ac_exeext
15978 if test "${ac_cv_search_gettext+set}" = set; then :
15979 break
15981 done
15982 if test "${ac_cv_search_gettext+set}" = set; then :
15984 else
15985 ac_cv_search_gettext=no
15987 rm conftest.$ac_ext
15988 LIBS=$ac_func_search_save_LIBS
15990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
15991 $as_echo "$ac_cv_search_gettext" >&6; }
15992 ac_res=$ac_cv_search_gettext
15993 if test "$ac_res" != no; then :
15994 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15996 else
15997 USE_NLS=no
16001 if test $USE_NLS = yes; then
16003 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16023 $as_echo_n "checking for std::allocator base class... " >&6; }
16024 # Check whether --enable-libstdcxx-allocator was given.
16025 if test "${enable_libstdcxx_allocator+set}" = set; then :
16026 enableval=$enable_libstdcxx_allocator;
16027 case "$enableval" in
16028 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16029 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16030 esac
16032 else
16033 enable_libstdcxx_allocator=auto
16038 # If they didn't use this option switch, or if they specified --enable
16039 # with no specific model, we'll have to look for one. If they
16040 # specified --disable (???), do likewise.
16041 if test $enable_libstdcxx_allocator = no ||
16042 test $enable_libstdcxx_allocator = yes;
16043 then
16044 enable_libstdcxx_allocator=auto
16047 # Either a known package, or "auto". Auto implies the default choice
16048 # for a particular platform.
16049 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16051 # Probe for host-specific support if no specific model is specified.
16052 # Default to "new".
16053 if test $enable_libstdcxx_allocator_flag = auto; then
16054 case ${target_os} in
16055 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16056 enable_libstdcxx_allocator_flag=new
16059 enable_libstdcxx_allocator_flag=new
16061 esac
16063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16064 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16067 # Set configure bits for specified locale package
16068 case ${enable_libstdcxx_allocator_flag} in
16069 bitmap)
16070 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16071 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16073 malloc)
16074 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16075 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16078 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16079 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16081 new)
16082 ALLOCATOR_H=config/allocator/new_allocator_base.h
16083 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16085 pool)
16086 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16087 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16089 esac
16095 # Check whether --enable-cheaders was given.
16096 if test "${enable_cheaders+set}" = set; then :
16097 enableval=$enable_cheaders;
16098 case "$enableval" in
16099 c|c_std|c_global) ;;
16100 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16101 esac
16103 else
16104 enable_cheaders=$c_model
16108 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16109 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16111 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16113 # Allow overrides to configure.host here.
16114 if test $enable_cheaders = c_global; then
16115 c_compatibility=yes
16124 # Check whether --enable-long-long was given.
16125 if test "${enable_long_long+set}" = set; then :
16126 enableval=$enable_long_long;
16127 case "$enableval" in
16128 yes|no) ;;
16129 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16130 esac
16132 else
16133 enable_long_long=yes
16137 if test $enable_long_long = yes; then
16139 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16143 $as_echo_n "checking for enabled long long specializations... " >&6; }
16144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16145 $as_echo "$enable_long_long" >&6; }
16148 # Check whether --enable-wchar_t was given.
16149 if test "${enable_wchar_t+set}" = set; then :
16150 enableval=$enable_wchar_t;
16151 case "$enableval" in
16152 yes|no) ;;
16153 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16154 esac
16156 else
16157 enable_wchar_t=yes
16162 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16163 for ac_header in wchar.h
16164 do :
16165 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16166 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16167 cat >>confdefs.h <<_ACEOF
16168 #define HAVE_WCHAR_H 1
16169 _ACEOF
16170 ac_has_wchar_h=yes
16171 else
16172 ac_has_wchar_h=no
16175 done
16177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16178 $as_echo_n "checking for mbstate_t... " >&6; }
16179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16180 /* end confdefs.h. */
16181 #include <wchar.h>
16183 main ()
16185 mbstate_t teststate;
16187 return 0;
16189 _ACEOF
16190 if ac_fn_c_try_compile "$LINENO"; then :
16191 have_mbstate_t=yes
16192 else
16193 have_mbstate_t=no
16195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16197 $as_echo "$have_mbstate_t" >&6; }
16198 if test x"$have_mbstate_t" = xyes; then
16200 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16204 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16205 # ac_has_wchar_h.
16206 for ac_header in wctype.h
16207 do :
16208 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16209 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16210 cat >>confdefs.h <<_ACEOF
16211 #define HAVE_WCTYPE_H 1
16212 _ACEOF
16213 ac_has_wctype_h=yes
16214 else
16215 ac_has_wctype_h=no
16218 done
16221 if test x"$enable_wchar_t" = x"yes"; then
16224 ac_ext=cpp
16225 ac_cpp='$CXXCPP $CPPFLAGS'
16226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16231 if test x"$ac_has_wchar_h" = xyes &&
16232 test x"$ac_has_wctype_h" = xyes; then
16233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16234 /* end confdefs.h. */
16235 #include <wchar.h>
16236 #include <stddef.h>
16237 wint_t i;
16238 long l = WEOF;
16239 long j = WCHAR_MIN;
16240 long k = WCHAR_MAX;
16241 namespace test
16243 using ::btowc;
16244 using ::fgetwc;
16245 using ::fgetws;
16246 using ::fputwc;
16247 using ::fputws;
16248 using ::fwide;
16249 using ::fwprintf;
16250 using ::fwscanf;
16251 using ::getwc;
16252 using ::getwchar;
16253 using ::mbrlen;
16254 using ::mbrtowc;
16255 using ::mbsinit;
16256 using ::mbsrtowcs;
16257 using ::putwc;
16258 using ::putwchar;
16259 using ::swprintf;
16260 using ::swscanf;
16261 using ::ungetwc;
16262 using ::vfwprintf;
16263 using ::vswprintf;
16264 using ::vwprintf;
16265 using ::wcrtomb;
16266 using ::wcscat;
16267 using ::wcschr;
16268 using ::wcscmp;
16269 using ::wcscoll;
16270 using ::wcscpy;
16271 using ::wcscspn;
16272 using ::wcsftime;
16273 using ::wcslen;
16274 using ::wcsncat;
16275 using ::wcsncmp;
16276 using ::wcsncpy;
16277 using ::wcspbrk;
16278 using ::wcsrchr;
16279 using ::wcsrtombs;
16280 using ::wcsspn;
16281 using ::wcsstr;
16282 using ::wcstod;
16283 using ::wcstok;
16284 using ::wcstol;
16285 using ::wcstoul;
16286 using ::wcsxfrm;
16287 using ::wctob;
16288 using ::wmemchr;
16289 using ::wmemcmp;
16290 using ::wmemcpy;
16291 using ::wmemmove;
16292 using ::wmemset;
16293 using ::wprintf;
16294 using ::wscanf;
16298 main ()
16302 return 0;
16304 _ACEOF
16305 if ac_fn_cxx_try_compile "$LINENO"; then :
16307 else
16308 enable_wchar_t=no
16310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16311 else
16312 enable_wchar_t=no
16315 ac_ext=c
16316 ac_cpp='$CPP $CPPFLAGS'
16317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16323 if test x"$enable_wchar_t" = x"yes"; then
16325 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16330 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16332 $as_echo "$enable_wchar_t" >&6; }
16336 # Check whether --enable-c99 was given.
16337 if test "${enable_c99+set}" = set; then :
16338 enableval=$enable_c99;
16339 case "$enableval" in
16340 yes|no) ;;
16341 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16342 esac
16344 else
16345 enable_c99=yes
16350 if test x"$enable_c99" = x"yes"; then
16353 ac_ext=cpp
16354 ac_cpp='$CXXCPP $CPPFLAGS'
16355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16360 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16361 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16362 # spuriously enabled.
16363 # Long term, -std=c++0x could be even better, could manage to explicitely
16364 # request C99 facilities to the underlying C headers.
16365 ac_save_CXXFLAGS="$CXXFLAGS"
16366 CXXFLAGS="$CXXFLAGS -std=c++98"
16367 ac_save_LIBS="$LIBS"
16368 ac_save_gcc_no_link="$gcc_no_link"
16370 if test x$gcc_no_link != xyes; then
16371 # Use -fno-exceptions to that the C driver can link these tests without
16372 # hitting undefined references to personality routines.
16373 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16375 $as_echo_n "checking for sin in -lm... " >&6; }
16376 if test "${ac_cv_lib_m_sin+set}" = set; then :
16377 $as_echo_n "(cached) " >&6
16378 else
16379 ac_check_lib_save_LIBS=$LIBS
16380 LIBS="-lm $LIBS"
16381 if test x$gcc_no_link = xyes; then
16382 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16385 /* end confdefs.h. */
16387 /* Override any GCC internal prototype to avoid an error.
16388 Use char because int might match the return type of a GCC
16389 builtin and then its argument prototype would still apply. */
16390 #ifdef __cplusplus
16391 extern "C"
16392 #endif
16393 char sin ();
16395 main ()
16397 return sin ();
16399 return 0;
16401 _ACEOF
16402 if ac_fn_cxx_try_link "$LINENO"; then :
16403 ac_cv_lib_m_sin=yes
16404 else
16405 ac_cv_lib_m_sin=no
16407 rm -f core conftest.err conftest.$ac_objext \
16408 conftest$ac_exeext conftest.$ac_ext
16409 LIBS=$ac_check_lib_save_LIBS
16411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16412 $as_echo "$ac_cv_lib_m_sin" >&6; }
16413 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16415 LIBS="$LIBS -lm"
16417 else
16419 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16420 gcc_no_link=yes
16426 # Check for the existence of <math.h> functions used if C99 is enabled.
16427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16428 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16429 if test "${glibcxx_cv_c99_math+set}" = set; then :
16430 $as_echo_n "(cached) " >&6
16431 else
16433 if test x$gcc_no_link = xyes; then
16434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16435 /* end confdefs.h. */
16436 #include <math.h>
16437 volatile double d1, d2;
16438 volatile int i;
16440 main ()
16442 i = fpclassify(d1);
16443 i = isfinite(d1);
16444 i = isinf(d1);
16445 i = isnan(d1);
16446 i = isnormal(d1);
16447 i = signbit(d1);
16448 i = isgreater(d1, d2);
16449 i = isgreaterequal(d1, d2);
16450 i = isless(d1, d2);
16451 i = islessequal(d1, d2);
16452 i = islessgreater(d1, d2);
16453 i = islessgreater(d1, d2);
16454 i = isunordered(d1, d2);
16457 return 0;
16459 _ACEOF
16460 if ac_fn_cxx_try_compile "$LINENO"; then :
16461 glibcxx_cv_c99_math=yes
16462 else
16463 glibcxx_cv_c99_math=no
16465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16466 else
16467 if test x$gcc_no_link = xyes; then
16468 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16471 /* end confdefs.h. */
16472 #include <math.h>
16473 volatile double d1, d2;
16474 volatile int i;
16476 main ()
16478 i = fpclassify(d1);
16479 i = isfinite(d1);
16480 i = isinf(d1);
16481 i = isnan(d1);
16482 i = isnormal(d1);
16483 i = signbit(d1);
16484 i = isgreater(d1, d2);
16485 i = isgreaterequal(d1, d2);
16486 i = isless(d1, d2);
16487 i = islessequal(d1, d2);
16488 i = islessgreater(d1, d2);
16489 i = islessgreater(d1, d2);
16490 i = isunordered(d1, d2);
16493 return 0;
16495 _ACEOF
16496 if ac_fn_cxx_try_link "$LINENO"; then :
16497 glibcxx_cv_c99_math=yes
16498 else
16499 glibcxx_cv_c99_math=no
16501 rm -f core conftest.err conftest.$ac_objext \
16502 conftest$ac_exeext conftest.$ac_ext
16507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16508 $as_echo "$glibcxx_cv_c99_math" >&6; }
16509 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16511 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16515 # Check for the existence of <complex.h> complex math functions.
16516 # This is necessary even though libstdc++ uses the builtin versions
16517 # of these functions, because if the builtin cannot be used, a reference
16518 # to the library function is emitted.
16519 for ac_header in tgmath.h
16520 do :
16521 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16522 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16523 cat >>confdefs.h <<_ACEOF
16524 #define HAVE_TGMATH_H 1
16525 _ACEOF
16526 ac_has_tgmath_h=yes
16527 else
16528 ac_has_tgmath_h=no
16531 done
16533 for ac_header in complex.h
16534 do :
16535 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16536 if test "x$ac_cv_header_complex_h" = x""yes; then :
16537 cat >>confdefs.h <<_ACEOF
16538 #define HAVE_COMPLEX_H 1
16539 _ACEOF
16540 ac_has_complex_h=yes
16541 else
16542 ac_has_complex_h=no
16545 done
16547 glibcxx_cv_c99_complex=no;
16548 if test x"$ac_has_complex_h" = x"yes"; then
16549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16550 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16551 if test x$gcc_no_link = xyes; then
16552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16553 /* end confdefs.h. */
16554 #include <complex.h>
16555 typedef __complex__ float float_type;
16556 typedef __complex__ double double_type;
16557 typedef __complex__ long double ld_type;
16558 volatile float_type tmpf;
16559 volatile double_type tmpd;
16560 volatile ld_type tmpld;
16561 volatile float f;
16562 volatile double d;
16563 volatile long double ld;
16565 main ()
16567 f = cabsf(tmpf);
16568 f = cargf(tmpf);
16569 tmpf = ccosf(tmpf);
16570 tmpf = ccoshf(tmpf);
16571 tmpf = cexpf(tmpf);
16572 tmpf = clogf(tmpf);
16573 tmpf = csinf(tmpf);
16574 tmpf = csinhf(tmpf);
16575 tmpf = csqrtf(tmpf);
16576 tmpf = ctanf(tmpf);
16577 tmpf = ctanhf(tmpf);
16578 tmpf = cpowf(tmpf, tmpf);
16579 tmpf = cprojf(tmpf);
16580 d = cabs(tmpd);
16581 d = carg(tmpd);
16582 tmpd = ccos(tmpd);
16583 tmpd = ccosh(tmpd);
16584 tmpd = cexp(tmpd);
16585 tmpd = clog(tmpd);
16586 tmpd = csin(tmpd);
16587 tmpd = csinh(tmpd);
16588 tmpd = csqrt(tmpd);
16589 tmpd = ctan(tmpd);
16590 tmpd = ctanh(tmpd);
16591 tmpd = cpow(tmpd, tmpd);
16592 tmpd = cproj(tmpd);
16593 ld = cabsl(tmpld);
16594 ld = cargl(tmpld);
16595 tmpld = ccosl(tmpld);
16596 tmpld = ccoshl(tmpld);
16597 tmpld = cexpl(tmpld);
16598 tmpld = clogl(tmpld);
16599 tmpld = csinl(tmpld);
16600 tmpld = csinhl(tmpld);
16601 tmpld = csqrtl(tmpld);
16602 tmpld = ctanl(tmpld);
16603 tmpld = ctanhl(tmpld);
16604 tmpld = cpowl(tmpld, tmpld);
16605 tmpld = cprojl(tmpld);
16608 return 0;
16610 _ACEOF
16611 if ac_fn_cxx_try_compile "$LINENO"; then :
16612 glibcxx_cv_c99_complex=yes
16613 else
16614 glibcxx_cv_c99_complex=no
16616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16617 else
16618 if test x$gcc_no_link = xyes; then
16619 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16622 /* end confdefs.h. */
16623 #include <complex.h>
16624 typedef __complex__ float float_type;
16625 typedef __complex__ double double_type;
16626 typedef __complex__ long double ld_type;
16627 volatile float_type tmpf;
16628 volatile double_type tmpd;
16629 volatile ld_type tmpld;
16630 volatile float f;
16631 volatile double d;
16632 volatile long double ld;
16634 main ()
16636 f = cabsf(tmpf);
16637 f = cargf(tmpf);
16638 tmpf = ccosf(tmpf);
16639 tmpf = ccoshf(tmpf);
16640 tmpf = cexpf(tmpf);
16641 tmpf = clogf(tmpf);
16642 tmpf = csinf(tmpf);
16643 tmpf = csinhf(tmpf);
16644 tmpf = csqrtf(tmpf);
16645 tmpf = ctanf(tmpf);
16646 tmpf = ctanhf(tmpf);
16647 tmpf = cpowf(tmpf, tmpf);
16648 tmpf = cprojf(tmpf);
16649 d = cabs(tmpd);
16650 d = carg(tmpd);
16651 tmpd = ccos(tmpd);
16652 tmpd = ccosh(tmpd);
16653 tmpd = cexp(tmpd);
16654 tmpd = clog(tmpd);
16655 tmpd = csin(tmpd);
16656 tmpd = csinh(tmpd);
16657 tmpd = csqrt(tmpd);
16658 tmpd = ctan(tmpd);
16659 tmpd = ctanh(tmpd);
16660 tmpd = cpow(tmpd, tmpd);
16661 tmpd = cproj(tmpd);
16662 ld = cabsl(tmpld);
16663 ld = cargl(tmpld);
16664 tmpld = ccosl(tmpld);
16665 tmpld = ccoshl(tmpld);
16666 tmpld = cexpl(tmpld);
16667 tmpld = clogl(tmpld);
16668 tmpld = csinl(tmpld);
16669 tmpld = csinhl(tmpld);
16670 tmpld = csqrtl(tmpld);
16671 tmpld = ctanl(tmpld);
16672 tmpld = ctanhl(tmpld);
16673 tmpld = cpowl(tmpld, tmpld);
16674 tmpld = cprojl(tmpld);
16677 return 0;
16679 _ACEOF
16680 if ac_fn_cxx_try_link "$LINENO"; then :
16681 glibcxx_cv_c99_complex=yes
16682 else
16683 glibcxx_cv_c99_complex=no
16685 rm -f core conftest.err conftest.$ac_objext \
16686 conftest$ac_exeext conftest.$ac_ext
16689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16690 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16691 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16693 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16697 # Check for the existence in <stdio.h> of vscanf, et. al.
16698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16699 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16700 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16701 $as_echo_n "(cached) " >&6
16702 else
16704 if test x$gcc_no_link = xyes; then
16705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16706 /* end confdefs.h. */
16707 #include <stdio.h>
16708 #include <stdarg.h>
16709 void foo(char* fmt, ...)
16711 va_list args; va_start(args, fmt);
16712 vfscanf(stderr, "%i", args);
16713 vscanf("%i", args);
16714 vsnprintf(fmt, 0, "%i", args);
16715 vsscanf(fmt, "%i", args);
16718 main ()
16720 snprintf("12", 0, "%i");
16722 return 0;
16724 _ACEOF
16725 if ac_fn_cxx_try_compile "$LINENO"; then :
16726 glibcxx_cv_c99_stdio=yes
16727 else
16728 glibcxx_cv_c99_stdio=no
16730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16731 else
16732 if test x$gcc_no_link = xyes; then
16733 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16736 /* end confdefs.h. */
16737 #include <stdio.h>
16738 #include <stdarg.h>
16739 void foo(char* fmt, ...)
16741 va_list args; va_start(args, fmt);
16742 vfscanf(stderr, "%i", args);
16743 vscanf("%i", args);
16744 vsnprintf(fmt, 0, "%i", args);
16745 vsscanf(fmt, "%i", args);
16748 main ()
16750 snprintf("12", 0, "%i");
16752 return 0;
16754 _ACEOF
16755 if ac_fn_cxx_try_link "$LINENO"; then :
16756 glibcxx_cv_c99_stdio=yes
16757 else
16758 glibcxx_cv_c99_stdio=no
16760 rm -f core conftest.err conftest.$ac_objext \
16761 conftest$ac_exeext conftest.$ac_ext
16766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16767 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16769 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16771 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16772 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16773 $as_echo_n "(cached) " >&6
16774 else
16776 if test x$gcc_no_link = xyes; then
16777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16778 /* end confdefs.h. */
16779 #include <stdlib.h>
16780 volatile float f;
16781 volatile long double ld;
16782 volatile unsigned long long ll;
16783 lldiv_t mydivt;
16785 main ()
16787 char* tmp;
16788 f = strtof("gnu", &tmp);
16789 ld = strtold("gnu", &tmp);
16790 ll = strtoll("gnu", &tmp, 10);
16791 ll = strtoull("gnu", &tmp, 10);
16792 ll = llabs(10);
16793 mydivt = lldiv(10,1);
16794 ll = mydivt.quot;
16795 ll = mydivt.rem;
16796 ll = atoll("10");
16797 _Exit(0);
16800 return 0;
16802 _ACEOF
16803 if ac_fn_cxx_try_compile "$LINENO"; then :
16804 glibcxx_cv_c99_stdlib=yes
16805 else
16806 glibcxx_cv_c99_stdlib=no
16808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16809 else
16810 if test x$gcc_no_link = xyes; then
16811 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16814 /* end confdefs.h. */
16815 #include <stdlib.h>
16816 volatile float f;
16817 volatile long double ld;
16818 volatile unsigned long long ll;
16819 lldiv_t mydivt;
16821 main ()
16823 char* tmp;
16824 f = strtof("gnu", &tmp);
16825 ld = strtold("gnu", &tmp);
16826 ll = strtoll("gnu", &tmp, 10);
16827 ll = strtoull("gnu", &tmp, 10);
16828 ll = llabs(10);
16829 mydivt = lldiv(10,1);
16830 ll = mydivt.quot;
16831 ll = mydivt.rem;
16832 ll = atoll("10");
16833 _Exit(0);
16836 return 0;
16838 _ACEOF
16839 if ac_fn_cxx_try_link "$LINENO"; then :
16840 glibcxx_cv_c99_stdlib=yes
16841 else
16842 glibcxx_cv_c99_stdlib=no
16844 rm -f core conftest.err conftest.$ac_objext \
16845 conftest$ac_exeext conftest.$ac_ext
16850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16851 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16853 # Check for the existence in <wchar.h> of wcstold, etc.
16854 glibcxx_cv_c99_wchar=no;
16855 if test x"$ac_has_wchar_h" = xyes &&
16856 test x"$ac_has_wctype_h" = xyes; then
16857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16858 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16860 /* end confdefs.h. */
16861 #include <wchar.h>
16862 namespace test
16864 using ::wcstold;
16865 using ::wcstoll;
16866 using ::wcstoull;
16870 main ()
16874 return 0;
16876 _ACEOF
16877 if ac_fn_cxx_try_compile "$LINENO"; then :
16878 glibcxx_cv_c99_wchar=yes
16879 else
16880 glibcxx_cv_c99_wchar=no
16882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16884 # Checks for wide character functions that may not be present.
16885 # Injection of these is wrapped with guard macros.
16886 # NB: only put functions here, instead of immediately above, if
16887 # absolutely necessary.
16888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16889 /* end confdefs.h. */
16890 #include <wchar.h>
16891 namespace test { using ::vfwscanf; }
16893 main ()
16897 return 0;
16899 _ACEOF
16900 if ac_fn_cxx_try_compile "$LINENO"; then :
16902 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
16905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16908 /* end confdefs.h. */
16909 #include <wchar.h>
16910 namespace test { using ::vswscanf; }
16912 main ()
16916 return 0;
16918 _ACEOF
16919 if ac_fn_cxx_try_compile "$LINENO"; then :
16921 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
16924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16927 /* end confdefs.h. */
16928 #include <wchar.h>
16929 namespace test { using ::vwscanf; }
16931 main ()
16935 return 0;
16937 _ACEOF
16938 if ac_fn_cxx_try_compile "$LINENO"; then :
16940 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
16943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16946 /* end confdefs.h. */
16947 #include <wchar.h>
16948 namespace test { using ::wcstof; }
16950 main ()
16954 return 0;
16956 _ACEOF
16957 if ac_fn_cxx_try_compile "$LINENO"; then :
16959 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
16962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16965 /* end confdefs.h. */
16966 #include <wctype.h>
16968 main ()
16970 wint_t t; int i = iswblank(t);
16972 return 0;
16974 _ACEOF
16975 if ac_fn_cxx_try_compile "$LINENO"; then :
16977 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
16980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
16983 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
16986 # Option parsed, now set things appropriately.
16987 if test x"$glibcxx_cv_c99_math" = x"no" ||
16988 test x"$glibcxx_cv_c99_complex" = x"no" ||
16989 test x"$glibcxx_cv_c99_stdio" = x"no" ||
16990 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
16991 test x"$glibcxx_cv_c99_wchar" = x"no"; then
16992 enable_c99=no;
16993 else
16995 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
16999 gcc_no_link="$ac_save_gcc_no_link"
17000 LIBS="$ac_save_LIBS"
17001 CXXFLAGS="$ac_save_CXXFLAGS"
17002 ac_ext=c
17003 ac_cpp='$CPP $CPPFLAGS'
17004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17011 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17013 $as_echo "$enable_c99" >&6; }
17016 # Check whether --enable-concept-checks was given.
17017 if test "${enable_concept_checks+set}" = set; then :
17018 enableval=$enable_concept_checks;
17019 case "$enableval" in
17020 yes|no) ;;
17021 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17022 esac
17024 else
17025 enable_concept_checks=no
17029 if test $enable_concept_checks = yes; then
17031 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17036 # Check whether --enable-libstdcxx-debug-flags was given.
17037 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17038 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17039 xno | x) enable_libstdcxx_debug_flags= ;;
17040 x-*) ;;
17041 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17042 esac
17043 else
17044 enable_libstdcxx_debug_flags="-g3 -O0"
17049 # Option parsed, now set things appropriately
17050 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17053 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17054 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17058 $as_echo_n "checking for additional debug build... " >&6; }
17059 # Check whether --enable-libstdcxx-debug was given.
17060 if test "${enable_libstdcxx_debug+set}" = set; then :
17061 enableval=$enable_libstdcxx_debug;
17062 case "$enableval" in
17063 yes|no) ;;
17064 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17065 esac
17067 else
17068 enable_libstdcxx_debug=no
17072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17073 $as_echo "$enable_libstdcxx_debug" >&6; }
17078 enable_parallel=no;
17080 # See if configured libgomp/omp.h exists. (libgomp may be in
17081 # noconfigdirs but not explicitly disabled.)
17082 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17083 enable_parallel=yes;
17084 else
17085 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17086 $as_echo "$as_me: target-libgomp not built" >&6;}
17089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17090 $as_echo_n "checking for parallel mode support... " >&6; }
17091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17092 $as_echo "$enable_parallel" >&6; }
17095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17096 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17097 # Check whether --enable-cxx-flags was given.
17098 if test "${enable_cxx_flags+set}" = set; then :
17099 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17100 xno | x) enable_cxx_flags= ;;
17101 x-*) ;;
17102 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17103 esac
17104 else
17105 enable_cxx_flags=
17110 # Run through flags (either default or command-line) and set anything
17111 # extra (e.g., #defines) that must accompany particular g++ options.
17112 if test -n "$enable_cxx_flags"; then
17113 for f in $enable_cxx_flags; do
17114 case "$f" in
17115 -fhonor-std) ;;
17116 -*) ;;
17117 *) # and we're trying to pass /what/ exactly?
17118 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17119 esac
17120 done
17123 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17125 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17129 # Check whether --enable-fully-dynamic-string was given.
17130 if test "${enable_fully_dynamic_string+set}" = set; then :
17131 enableval=$enable_fully_dynamic_string;
17132 case "$enableval" in
17133 yes|no) ;;
17134 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17135 esac
17137 else
17138 enable_fully_dynamic_string=no
17142 if test $enable_fully_dynamic_string = yes; then
17144 $as_echo "#define _GLIBCXX_FULLY_DYNAMIC_STRING 1" >>confdefs.h
17149 # Checks for operating systems support that doesn't require linking.
17152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17153 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17154 if test "${glibcxx_cv_system_error1+set}" = set; then :
17155 $as_echo_n "(cached) " >&6
17156 else
17158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17159 /* end confdefs.h. */
17160 #include <errno.h>
17162 main ()
17164 int i = EOWNERDEAD;
17166 return 0;
17168 _ACEOF
17169 if ac_fn_c_try_compile "$LINENO"; then :
17170 glibcxx_cv_system_error1=yes
17171 else
17172 glibcxx_cv_system_error1=no
17174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17179 $as_echo "$glibcxx_cv_system_error1" >&6; }
17180 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17182 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17186 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17187 if test "${glibcxx_cv_system_error2+set}" = set; then :
17188 $as_echo_n "(cached) " >&6
17189 else
17191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17192 /* end confdefs.h. */
17193 #include <errno.h>
17195 main ()
17197 int i = ENOTRECOVERABLE;
17199 return 0;
17201 _ACEOF
17202 if ac_fn_c_try_compile "$LINENO"; then :
17203 glibcxx_cv_system_error2=yes
17204 else
17205 glibcxx_cv_system_error2=no
17207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17212 $as_echo "$glibcxx_cv_system_error2" >&6; }
17213 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17215 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17219 $as_echo_n "checking for ENOLINK... " >&6; }
17220 if test "${glibcxx_cv_system_error3+set}" = set; then :
17221 $as_echo_n "(cached) " >&6
17222 else
17224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17225 /* end confdefs.h. */
17226 #include <errno.h>
17228 main ()
17230 int i = ENOLINK;
17232 return 0;
17234 _ACEOF
17235 if ac_fn_c_try_compile "$LINENO"; then :
17236 glibcxx_cv_system_error3=yes
17237 else
17238 glibcxx_cv_system_error3=no
17240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17245 $as_echo "$glibcxx_cv_system_error3" >&6; }
17246 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17248 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17252 $as_echo_n "checking for EPROTO... " >&6; }
17253 if test "${glibcxx_cv_system_error4+set}" = set; then :
17254 $as_echo_n "(cached) " >&6
17255 else
17257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17258 /* end confdefs.h. */
17259 #include <errno.h>
17261 main ()
17263 int i = EPROTO;
17265 return 0;
17267 _ACEOF
17268 if ac_fn_c_try_compile "$LINENO"; then :
17269 glibcxx_cv_system_error4=yes
17270 else
17271 glibcxx_cv_system_error4=no
17273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17278 $as_echo "$glibcxx_cv_system_error4" >&6; }
17279 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17281 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17285 $as_echo_n "checking for ENODATA... " >&6; }
17286 if test "${glibcxx_cv_system_error5+set}" = set; then :
17287 $as_echo_n "(cached) " >&6
17288 else
17290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17291 /* end confdefs.h. */
17292 #include <errno.h>
17294 main ()
17296 int i = ENODATA;
17298 return 0;
17300 _ACEOF
17301 if ac_fn_c_try_compile "$LINENO"; then :
17302 glibcxx_cv_system_error5=yes
17303 else
17304 glibcxx_cv_system_error5=no
17306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17311 $as_echo "$glibcxx_cv_system_error5" >&6; }
17312 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17314 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17318 $as_echo_n "checking for ENOSR... " >&6; }
17319 if test "${glibcxx_cv_system_error6+set}" = set; then :
17320 $as_echo_n "(cached) " >&6
17321 else
17323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17324 /* end confdefs.h. */
17325 #include <errno.h>
17327 main ()
17329 int i = ENOSR;
17331 return 0;
17333 _ACEOF
17334 if ac_fn_c_try_compile "$LINENO"; then :
17335 glibcxx_cv_system_error6=yes
17336 else
17337 glibcxx_cv_system_error6=no
17339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17344 $as_echo "$glibcxx_cv_system_error6" >&6; }
17345 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17347 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17351 $as_echo_n "checking for ENOSTR... " >&6; }
17352 if test "${glibcxx_cv_system_error7+set}" = set; then :
17353 $as_echo_n "(cached) " >&6
17354 else
17356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17357 /* end confdefs.h. */
17358 #include <errno.h>
17360 main ()
17362 int i = ENOSTR;
17364 return 0;
17366 _ACEOF
17367 if ac_fn_c_try_compile "$LINENO"; then :
17368 glibcxx_cv_system_error7=yes
17369 else
17370 glibcxx_cv_system_error7=no
17372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17377 $as_echo "$glibcxx_cv_system_error7" >&6; }
17378 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17380 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17384 $as_echo_n "checking for ETIME... " >&6; }
17385 if test "${glibcxx_cv_system_error8+set}" = set; then :
17386 $as_echo_n "(cached) " >&6
17387 else
17389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17390 /* end confdefs.h. */
17391 #include <errno.h>
17393 main ()
17395 int i = ETIME;
17397 return 0;
17399 _ACEOF
17400 if ac_fn_c_try_compile "$LINENO"; then :
17401 glibcxx_cv_system_error8=yes
17402 else
17403 glibcxx_cv_system_error8=no
17405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17410 $as_echo "$glibcxx_cv_system_error8" >&6; }
17411 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17413 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17417 $as_echo_n "checking for EBADMSG... " >&6; }
17418 if test "${glibcxx_cv_system_error9+set}" = set; then :
17419 $as_echo_n "(cached) " >&6
17420 else
17422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17423 /* end confdefs.h. */
17424 #include <errno.h>
17426 main ()
17428 int i = EBADMSG;
17430 return 0;
17432 _ACEOF
17433 if ac_fn_c_try_compile "$LINENO"; then :
17434 glibcxx_cv_system_error9=yes
17435 else
17436 glibcxx_cv_system_error9=no
17438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17443 $as_echo "$glibcxx_cv_system_error9" >&6; }
17444 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17446 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17450 $as_echo_n "checking for ECANCELED... " >&6; }
17451 if test "${glibcxx_cv_system_error10+set}" = set; then :
17452 $as_echo_n "(cached) " >&6
17453 else
17455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17456 /* end confdefs.h. */
17457 #include <errno.h>
17459 main ()
17461 int i = ECANCELED;
17463 return 0;
17465 _ACEOF
17466 if ac_fn_c_try_compile "$LINENO"; then :
17467 glibcxx_cv_system_error10=yes
17468 else
17469 glibcxx_cv_system_error10=no
17471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17476 $as_echo "$glibcxx_cv_system_error10" >&6; }
17477 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17479 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17483 $as_echo_n "checking for EOVERFLOW... " >&6; }
17484 if test "${glibcxx_cv_system_error11+set}" = set; then :
17485 $as_echo_n "(cached) " >&6
17486 else
17488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17489 /* end confdefs.h. */
17490 #include <errno.h>
17492 main ()
17494 int i = EOVERFLOW;
17496 return 0;
17498 _ACEOF
17499 if ac_fn_c_try_compile "$LINENO"; then :
17500 glibcxx_cv_system_error11=yes
17501 else
17502 glibcxx_cv_system_error11=no
17504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17509 $as_echo "$glibcxx_cv_system_error11" >&6; }
17510 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17512 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17516 $as_echo_n "checking for ENOTSUP... " >&6; }
17517 if test "${glibcxx_cv_system_error12+set}" = set; then :
17518 $as_echo_n "(cached) " >&6
17519 else
17521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17522 /* end confdefs.h. */
17523 #include <errno.h>
17525 main ()
17527 int i = ENOTSUP;
17529 return 0;
17531 _ACEOF
17532 if ac_fn_c_try_compile "$LINENO"; then :
17533 glibcxx_cv_system_error12=yes
17534 else
17535 glibcxx_cv_system_error12=no
17537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17542 $as_echo "$glibcxx_cv_system_error12" >&6; }
17543 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17545 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17549 $as_echo_n "checking for EIDRM... " >&6; }
17550 if test "${glibcxx_cv_system_error13+set}" = set; then :
17551 $as_echo_n "(cached) " >&6
17552 else
17554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17555 /* end confdefs.h. */
17556 #include <errno.h>
17558 main ()
17560 int i = EIDRM;
17562 return 0;
17564 _ACEOF
17565 if ac_fn_c_try_compile "$LINENO"; then :
17566 glibcxx_cv_system_error13=yes
17567 else
17568 glibcxx_cv_system_error13=no
17570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17575 $as_echo "$glibcxx_cv_system_error13" >&6; }
17576 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17578 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17582 $as_echo_n "checking for ETXTBSY... " >&6; }
17583 if test "${glibcxx_cv_system_error14+set}" = set; then :
17584 $as_echo_n "(cached) " >&6
17585 else
17587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17588 /* end confdefs.h. */
17589 #include <errno.h>
17591 main ()
17593 int i = ETXTBSY;
17595 return 0;
17597 _ACEOF
17598 if ac_fn_c_try_compile "$LINENO"; then :
17599 glibcxx_cv_system_error14=yes
17600 else
17601 glibcxx_cv_system_error14=no
17603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17608 $as_echo "$glibcxx_cv_system_error14" >&6; }
17609 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17611 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17617 # For the streamoff typedef.
17621 ac_ext=cpp
17622 ac_cpp='$CXXCPP $CPPFLAGS'
17623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
17629 $as_echo_n "checking for int64_t... " >&6; }
17630 if test "${glibcxx_cv_INT64_T+set}" = set; then :
17631 $as_echo_n "(cached) " >&6
17632 else
17634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17635 /* end confdefs.h. */
17636 #include <stdint.h>
17638 main ()
17640 int64_t var;
17642 return 0;
17644 _ACEOF
17645 if ac_fn_cxx_try_compile "$LINENO"; then :
17646 glibcxx_cv_INT64_T=yes
17647 else
17648 glibcxx_cv_INT64_T=no
17650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17655 if test $glibcxx_cv_INT64_T = yes; then
17657 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
17659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
17660 $as_echo "$glibcxx_cv_INT64_T" >&6; }
17662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
17663 $as_echo_n "checking for int64_t as long... " >&6; }
17664 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
17665 $as_echo_n "(cached) " >&6
17666 else
17668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17669 /* end confdefs.h. */
17670 #include <stdint.h>
17671 template<typename, typename> struct same { enum { value = -1 }; };
17672 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17673 int array[same<int64_t, long>::value];
17675 main ()
17679 return 0;
17681 _ACEOF
17682 if ac_fn_cxx_try_compile "$LINENO"; then :
17683 glibcxx_cv_int64_t_long=yes
17684 else
17685 glibcxx_cv_int64_t_long=no
17687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17692 if test $glibcxx_cv_int64_t_long = yes; then
17694 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
17696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
17697 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
17700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
17701 $as_echo_n "checking for int64_t as long long... " >&6; }
17702 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
17703 $as_echo_n "(cached) " >&6
17704 else
17706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17707 /* end confdefs.h. */
17708 #include <stdint.h>
17709 template<typename, typename> struct same { enum { value = -1 }; };
17710 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17711 int array[same<int64_t, long long>::value];
17713 main ()
17717 return 0;
17719 _ACEOF
17720 if ac_fn_cxx_try_compile "$LINENO"; then :
17721 glibcxx_cv_int64_t_long_long=yes
17722 else
17723 glibcxx_cv_int64_t_long_long=no
17725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17730 if test $glibcxx_cv_int64_t_long_long = yes; then
17732 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
17734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
17735 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
17739 ac_ext=c
17740 ac_cpp='$CPP $CPPFLAGS'
17741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17747 # For LFS support.
17750 ac_ext=cpp
17751 ac_cpp='$CXXCPP $CPPFLAGS'
17752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17756 ac_save_CXXFLAGS="$CXXFLAGS"
17757 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
17759 $as_echo_n "checking for LFS support... " >&6; }
17760 if test "${glibcxx_cv_LFS+set}" = set; then :
17761 $as_echo_n "(cached) " >&6
17762 else
17764 if test x$gcc_no_link = xyes; then
17765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17766 /* end confdefs.h. */
17767 #include <unistd.h>
17768 #include <stdio.h>
17769 #include <sys/stat.h>
17772 main ()
17774 FILE* fp;
17775 fopen64("t", "w");
17776 fseeko64(fp, 0, SEEK_CUR);
17777 ftello64(fp);
17778 lseek64(1, 0, SEEK_CUR);
17779 struct stat64 buf;
17780 fstat64(1, &buf);
17782 return 0;
17784 _ACEOF
17785 if ac_fn_cxx_try_compile "$LINENO"; then :
17786 glibcxx_cv_LFS=yes
17787 else
17788 glibcxx_cv_LFS=no
17790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17791 else
17792 if test x$gcc_no_link = xyes; then
17793 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17796 /* end confdefs.h. */
17797 #include <unistd.h>
17798 #include <stdio.h>
17799 #include <sys/stat.h>
17802 main ()
17804 FILE* fp;
17805 fopen64("t", "w");
17806 fseeko64(fp, 0, SEEK_CUR);
17807 ftello64(fp);
17808 lseek64(1, 0, SEEK_CUR);
17809 struct stat64 buf;
17810 fstat64(1, &buf);
17812 return 0;
17814 _ACEOF
17815 if ac_fn_cxx_try_link "$LINENO"; then :
17816 glibcxx_cv_LFS=yes
17817 else
17818 glibcxx_cv_LFS=no
17820 rm -f core conftest.err conftest.$ac_objext \
17821 conftest$ac_exeext conftest.$ac_ext
17826 if test $glibcxx_cv_LFS = yes; then
17828 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
17831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
17832 $as_echo "$glibcxx_cv_LFS" >&6; }
17833 CXXFLAGS="$ac_save_CXXFLAGS"
17834 ac_ext=c
17835 ac_cpp='$CPP $CPPFLAGS'
17836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17842 # For showmanyc_helper().
17843 for ac_header in sys/ioctl.h sys/filio.h
17844 do :
17845 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17846 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17847 eval as_val=\$$as_ac_Header
17848 if test "x$as_val" = x""yes; then :
17849 cat >>confdefs.h <<_ACEOF
17850 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17851 _ACEOF
17855 done
17860 ac_ext=cpp
17861 ac_cpp='$CXXCPP $CPPFLAGS'
17862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17866 ac_save_CXXFLAGS="$CXXFLAGS"
17867 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
17870 $as_echo_n "checking for poll... " >&6; }
17871 if test "${glibcxx_cv_POLL+set}" = set; then :
17872 $as_echo_n "(cached) " >&6
17873 else
17875 if test x$gcc_no_link = xyes; then
17876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17877 /* end confdefs.h. */
17878 #include <poll.h>
17880 main ()
17882 struct pollfd pfd[1];
17883 pfd[0].events = POLLIN;
17884 poll(pfd, 1, 0);
17886 return 0;
17888 _ACEOF
17889 if ac_fn_cxx_try_compile "$LINENO"; then :
17890 glibcxx_cv_POLL=yes
17891 else
17892 glibcxx_cv_POLL=no
17894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17895 else
17896 if test x$gcc_no_link = xyes; then
17897 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17900 /* end confdefs.h. */
17901 #include <poll.h>
17903 main ()
17905 struct pollfd pfd[1];
17906 pfd[0].events = POLLIN;
17907 poll(pfd, 1, 0);
17909 return 0;
17911 _ACEOF
17912 if ac_fn_cxx_try_link "$LINENO"; then :
17913 glibcxx_cv_POLL=yes
17914 else
17915 glibcxx_cv_POLL=no
17917 rm -f core conftest.err conftest.$ac_objext \
17918 conftest$ac_exeext conftest.$ac_ext
17923 if test $glibcxx_cv_POLL = yes; then
17925 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
17929 $as_echo "$glibcxx_cv_POLL" >&6; }
17931 CXXFLAGS="$ac_save_CXXFLAGS"
17932 ac_ext=c
17933 ac_cpp='$CPP $CPPFLAGS'
17934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17942 ac_ext=cpp
17943 ac_cpp='$CXXCPP $CPPFLAGS'
17944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17948 ac_save_CXXFLAGS="$CXXFLAGS"
17949 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
17952 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
17953 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
17954 $as_echo_n "(cached) " >&6
17955 else
17957 if test x$gcc_no_link = xyes; then
17958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17959 /* end confdefs.h. */
17960 #include <sys/stat.h>
17962 main ()
17964 struct stat buffer;
17965 fstat(0, &buffer);
17966 S_ISREG(buffer.st_mode);
17968 return 0;
17970 _ACEOF
17971 if ac_fn_cxx_try_compile "$LINENO"; then :
17972 glibcxx_cv_S_ISREG=yes
17973 else
17974 glibcxx_cv_S_ISREG=no
17976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17977 else
17978 if test x$gcc_no_link = xyes; then
17979 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17982 /* end confdefs.h. */
17983 #include <sys/stat.h>
17985 main ()
17987 struct stat buffer;
17988 fstat(0, &buffer);
17989 S_ISREG(buffer.st_mode);
17991 return 0;
17993 _ACEOF
17994 if ac_fn_cxx_try_link "$LINENO"; then :
17995 glibcxx_cv_S_ISREG=yes
17996 else
17997 glibcxx_cv_S_ISREG=no
17999 rm -f core conftest.err conftest.$ac_objext \
18000 conftest$ac_exeext conftest.$ac_ext
18005 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18006 $as_echo_n "(cached) " >&6
18007 else
18009 if test x$gcc_no_link = xyes; then
18010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18011 /* end confdefs.h. */
18012 #include <sys/stat.h>
18014 main ()
18016 struct stat buffer;
18017 fstat(0, &buffer);
18018 S_IFREG & buffer.st_mode;
18020 return 0;
18022 _ACEOF
18023 if ac_fn_cxx_try_compile "$LINENO"; then :
18024 glibcxx_cv_S_IFREG=yes
18025 else
18026 glibcxx_cv_S_IFREG=no
18028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18029 else
18030 if test x$gcc_no_link = xyes; then
18031 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18034 /* end confdefs.h. */
18035 #include <sys/stat.h>
18037 main ()
18039 struct stat buffer;
18040 fstat(0, &buffer);
18041 S_IFREG & buffer.st_mode;
18043 return 0;
18045 _ACEOF
18046 if ac_fn_cxx_try_link "$LINENO"; then :
18047 glibcxx_cv_S_IFREG=yes
18048 else
18049 glibcxx_cv_S_IFREG=no
18051 rm -f core conftest.err conftest.$ac_objext \
18052 conftest$ac_exeext conftest.$ac_ext
18057 res=no
18058 if test $glibcxx_cv_S_ISREG = yes; then
18060 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18062 res=S_ISREG
18063 elif test $glibcxx_cv_S_IFREG = yes; then
18065 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18067 res=S_IFREG
18069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18070 $as_echo "$res" >&6; }
18072 CXXFLAGS="$ac_save_CXXFLAGS"
18073 ac_ext=c
18074 ac_cpp='$CPP $CPPFLAGS'
18075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18081 # For xsputn_2().
18082 for ac_header in sys/uio.h
18083 do :
18084 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18085 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18086 cat >>confdefs.h <<_ACEOF
18087 #define HAVE_SYS_UIO_H 1
18088 _ACEOF
18092 done
18097 ac_ext=cpp
18098 ac_cpp='$CXXCPP $CPPFLAGS'
18099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18103 ac_save_CXXFLAGS="$CXXFLAGS"
18104 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18107 $as_echo_n "checking for writev... " >&6; }
18108 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18109 $as_echo_n "(cached) " >&6
18110 else
18112 if test x$gcc_no_link = xyes; then
18113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18114 /* end confdefs.h. */
18115 #include <sys/uio.h>
18117 main ()
18119 struct iovec iov[2];
18120 writev(0, iov, 0);
18122 return 0;
18124 _ACEOF
18125 if ac_fn_cxx_try_compile "$LINENO"; then :
18126 glibcxx_cv_WRITEV=yes
18127 else
18128 glibcxx_cv_WRITEV=no
18130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18131 else
18132 if test x$gcc_no_link = xyes; then
18133 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18136 /* end confdefs.h. */
18137 #include <sys/uio.h>
18139 main ()
18141 struct iovec iov[2];
18142 writev(0, iov, 0);
18144 return 0;
18146 _ACEOF
18147 if ac_fn_cxx_try_link "$LINENO"; then :
18148 glibcxx_cv_WRITEV=yes
18149 else
18150 glibcxx_cv_WRITEV=no
18152 rm -f core conftest.err conftest.$ac_objext \
18153 conftest$ac_exeext conftest.$ac_ext
18158 if test $glibcxx_cv_WRITEV = yes; then
18160 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18164 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18166 CXXFLAGS="$ac_save_CXXFLAGS"
18167 ac_ext=c
18168 ac_cpp='$CPP $CPPFLAGS'
18169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18175 # For C99 support to TR1.
18179 ac_ext=cpp
18180 ac_cpp='$CXXCPP $CPPFLAGS'
18181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18186 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18187 # undefined and fake C99 facilities may be spuriously enabled.
18188 ac_save_CXXFLAGS="$CXXFLAGS"
18189 CXXFLAGS="$CXXFLAGS -std=c++98"
18191 # Check for the existence of <complex.h> complex math functions used
18192 # by tr1/complex.
18193 for ac_header in complex.h
18194 do :
18195 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18196 if test "x$ac_cv_header_complex_h" = x""yes; then :
18197 cat >>confdefs.h <<_ACEOF
18198 #define HAVE_COMPLEX_H 1
18199 _ACEOF
18200 ac_has_complex_h=yes
18201 else
18202 ac_has_complex_h=no
18205 done
18207 ac_c99_complex_tr1=no;
18208 if test x"$ac_has_complex_h" = x"yes"; then
18209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18210 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18212 /* end confdefs.h. */
18213 #include <complex.h>
18215 main ()
18217 typedef __complex__ float float_type; float_type tmpf;
18218 cacosf(tmpf);
18219 casinf(tmpf);
18220 catanf(tmpf);
18221 cacoshf(tmpf);
18222 casinhf(tmpf);
18223 catanhf(tmpf);
18224 typedef __complex__ double double_type; double_type tmpd;
18225 cacos(tmpd);
18226 casin(tmpd);
18227 catan(tmpd);
18228 cacosh(tmpd);
18229 casinh(tmpd);
18230 catanh(tmpd);
18231 typedef __complex__ long double ld_type; ld_type tmpld;
18232 cacosl(tmpld);
18233 casinl(tmpld);
18234 catanl(tmpld);
18235 cacoshl(tmpld);
18236 casinhl(tmpld);
18237 catanhl(tmpld);
18240 return 0;
18242 _ACEOF
18243 if ac_fn_cxx_try_compile "$LINENO"; then :
18244 ac_c99_complex_tr1=yes
18245 else
18246 ac_c99_complex_tr1=no
18248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18251 $as_echo "$ac_c99_complex_tr1" >&6; }
18252 if test x"$ac_c99_complex_tr1" = x"yes"; then
18254 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18258 # Check for the existence of <ctype.h> functions.
18259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18260 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18261 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18262 $as_echo_n "(cached) " >&6
18263 else
18265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18266 /* end confdefs.h. */
18267 #include <ctype.h>
18269 main ()
18271 int ch;
18272 int ret;
18273 ret = isblank(ch);
18276 return 0;
18278 _ACEOF
18279 if ac_fn_cxx_try_compile "$LINENO"; then :
18280 glibcxx_cv_c99_ctype_tr1=yes
18281 else
18282 glibcxx_cv_c99_ctype_tr1=no
18284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18289 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18290 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18292 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18296 # Check for the existence of <fenv.h> functions.
18297 for ac_header in fenv.h
18298 do :
18299 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18300 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18301 cat >>confdefs.h <<_ACEOF
18302 #define HAVE_FENV_H 1
18303 _ACEOF
18304 ac_has_fenv_h=yes
18305 else
18306 ac_has_fenv_h=no
18309 done
18311 ac_c99_fenv_tr1=no;
18312 if test x"$ac_has_fenv_h" = x"yes"; then
18313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18314 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18316 /* end confdefs.h. */
18317 #include <fenv.h>
18319 main ()
18321 int except, mode;
18322 fexcept_t* pflag;
18323 fenv_t* penv;
18324 int ret;
18325 ret = feclearexcept(except);
18326 ret = fegetexceptflag(pflag, except);
18327 ret = feraiseexcept(except);
18328 ret = fesetexceptflag(pflag, except);
18329 ret = fetestexcept(except);
18330 ret = fegetround();
18331 ret = fesetround(mode);
18332 ret = fegetenv(penv);
18333 ret = feholdexcept(penv);
18334 ret = fesetenv(penv);
18335 ret = feupdateenv(penv);
18338 return 0;
18340 _ACEOF
18341 if ac_fn_cxx_try_compile "$LINENO"; then :
18342 ac_c99_fenv_tr1=yes
18343 else
18344 ac_c99_fenv_tr1=no
18346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18349 $as_echo "$ac_c99_fenv_tr1" >&6; }
18350 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18352 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18356 # Check for the existence of <stdint.h> types.
18357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18358 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18359 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18360 $as_echo_n "(cached) " >&6
18361 else
18363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18364 /* end confdefs.h. */
18365 #define __STDC_LIMIT_MACROS
18366 #define __STDC_CONSTANT_MACROS
18367 #include <stdint.h>
18369 main ()
18371 typedef int8_t my_int8_t;
18372 my_int8_t i8 = INT8_MIN;
18373 i8 = INT8_MAX;
18374 typedef int16_t my_int16_t;
18375 my_int16_t i16 = INT16_MIN;
18376 i16 = INT16_MAX;
18377 typedef int32_t my_int32_t;
18378 my_int32_t i32 = INT32_MIN;
18379 i32 = INT32_MAX;
18380 typedef int64_t my_int64_t;
18381 my_int64_t i64 = INT64_MIN;
18382 i64 = INT64_MAX;
18383 typedef int_fast8_t my_int_fast8_t;
18384 my_int_fast8_t if8 = INT_FAST8_MIN;
18385 if8 = INT_FAST8_MAX;
18386 typedef int_fast16_t my_int_fast16_t;
18387 my_int_fast16_t if16 = INT_FAST16_MIN;
18388 if16 = INT_FAST16_MAX;
18389 typedef int_fast32_t my_int_fast32_t;
18390 my_int_fast32_t if32 = INT_FAST32_MIN;
18391 if32 = INT_FAST32_MAX;
18392 typedef int_fast64_t my_int_fast64_t;
18393 my_int_fast64_t if64 = INT_FAST64_MIN;
18394 if64 = INT_FAST64_MAX;
18395 typedef int_least8_t my_int_least8_t;
18396 my_int_least8_t il8 = INT_LEAST8_MIN;
18397 il8 = INT_LEAST8_MAX;
18398 typedef int_least16_t my_int_least16_t;
18399 my_int_least16_t il16 = INT_LEAST16_MIN;
18400 il16 = INT_LEAST16_MAX;
18401 typedef int_least32_t my_int_least32_t;
18402 my_int_least32_t il32 = INT_LEAST32_MIN;
18403 il32 = INT_LEAST32_MAX;
18404 typedef int_least64_t my_int_least64_t;
18405 my_int_least64_t il64 = INT_LEAST64_MIN;
18406 il64 = INT_LEAST64_MAX;
18407 typedef intmax_t my_intmax_t;
18408 my_intmax_t im = INTMAX_MAX;
18409 im = INTMAX_MIN;
18410 typedef intptr_t my_intptr_t;
18411 my_intptr_t ip = INTPTR_MAX;
18412 ip = INTPTR_MIN;
18413 typedef uint8_t my_uint8_t;
18414 my_uint8_t ui8 = UINT8_MAX;
18415 ui8 = UINT8_MAX;
18416 typedef uint16_t my_uint16_t;
18417 my_uint16_t ui16 = UINT16_MAX;
18418 ui16 = UINT16_MAX;
18419 typedef uint32_t my_uint32_t;
18420 my_uint32_t ui32 = UINT32_MAX;
18421 ui32 = UINT32_MAX;
18422 typedef uint64_t my_uint64_t;
18423 my_uint64_t ui64 = UINT64_MAX;
18424 ui64 = UINT64_MAX;
18425 typedef uint_fast8_t my_uint_fast8_t;
18426 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18427 uif8 = UINT_FAST8_MAX;
18428 typedef uint_fast16_t my_uint_fast16_t;
18429 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18430 uif16 = UINT_FAST16_MAX;
18431 typedef uint_fast32_t my_uint_fast32_t;
18432 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18433 uif32 = UINT_FAST32_MAX;
18434 typedef uint_fast64_t my_uint_fast64_t;
18435 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18436 uif64 = UINT_FAST64_MAX;
18437 typedef uint_least8_t my_uint_least8_t;
18438 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18439 uil8 = UINT_LEAST8_MAX;
18440 typedef uint_least16_t my_uint_least16_t;
18441 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18442 uil16 = UINT_LEAST16_MAX;
18443 typedef uint_least32_t my_uint_least32_t;
18444 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18445 uil32 = UINT_LEAST32_MAX;
18446 typedef uint_least64_t my_uint_least64_t;
18447 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18448 uil64 = UINT_LEAST64_MAX;
18449 typedef uintmax_t my_uintmax_t;
18450 my_uintmax_t uim = UINTMAX_MAX;
18451 uim = UINTMAX_MAX;
18452 typedef uintptr_t my_uintptr_t;
18453 my_uintptr_t uip = UINTPTR_MAX;
18454 uip = UINTPTR_MAX;
18457 return 0;
18459 _ACEOF
18460 if ac_fn_cxx_try_compile "$LINENO"; then :
18461 glibcxx_cv_c99_stdint_tr1=yes
18462 else
18463 glibcxx_cv_c99_stdint_tr1=no
18465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18470 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18471 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18473 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18477 # Check for the existence of <math.h> functions.
18478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18479 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18480 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18481 $as_echo_n "(cached) " >&6
18482 else
18484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18485 /* end confdefs.h. */
18486 #include <math.h>
18488 main ()
18490 typedef double_t my_double_t;
18491 typedef float_t my_float_t;
18492 acosh(0.0);
18493 acoshf(0.0f);
18494 acoshl(0.0l);
18495 asinh(0.0);
18496 asinhf(0.0f);
18497 asinhl(0.0l);
18498 atanh(0.0);
18499 atanhf(0.0f);
18500 atanhl(0.0l);
18501 cbrt(0.0);
18502 cbrtf(0.0f);
18503 cbrtl(0.0l);
18504 copysign(0.0, 0.0);
18505 copysignf(0.0f, 0.0f);
18506 copysignl(0.0l, 0.0l);
18507 erf(0.0);
18508 erff(0.0f);
18509 erfl(0.0l);
18510 erfc(0.0);
18511 erfcf(0.0f);
18512 erfcl(0.0l);
18513 exp2(0.0);
18514 exp2f(0.0f);
18515 exp2l(0.0l);
18516 expm1(0.0);
18517 expm1f(0.0f);
18518 expm1l(0.0l);
18519 fdim(0.0, 0.0);
18520 fdimf(0.0f, 0.0f);
18521 fdiml(0.0l, 0.0l);
18522 fma(0.0, 0.0, 0.0);
18523 fmaf(0.0f, 0.0f, 0.0f);
18524 fmal(0.0l, 0.0l, 0.0l);
18525 fmax(0.0, 0.0);
18526 fmaxf(0.0f, 0.0f);
18527 fmaxl(0.0l, 0.0l);
18528 fmin(0.0, 0.0);
18529 fminf(0.0f, 0.0f);
18530 fminl(0.0l, 0.0l);
18531 hypot(0.0, 0.0);
18532 hypotf(0.0f, 0.0f);
18533 hypotl(0.0l, 0.0l);
18534 ilogb(0.0);
18535 ilogbf(0.0f);
18536 ilogbl(0.0l);
18537 lgamma(0.0);
18538 lgammaf(0.0f);
18539 lgammal(0.0l);
18540 llrint(0.0);
18541 llrintf(0.0f);
18542 llrintl(0.0l);
18543 llround(0.0);
18544 llroundf(0.0f);
18545 llroundl(0.0l);
18546 log1p(0.0);
18547 log1pf(0.0f);
18548 log1pl(0.0l);
18549 log2(0.0);
18550 log2f(0.0f);
18551 log2l(0.0l);
18552 logb(0.0);
18553 logbf(0.0f);
18554 logbl(0.0l);
18555 lrint(0.0);
18556 lrintf(0.0f);
18557 lrintl(0.0l);
18558 lround(0.0);
18559 lroundf(0.0f);
18560 lroundl(0.0l);
18561 nan(0);
18562 nanf(0);
18563 nanl(0);
18564 nearbyint(0.0);
18565 nearbyintf(0.0f);
18566 nearbyintl(0.0l);
18567 nextafter(0.0, 0.0);
18568 nextafterf(0.0f, 0.0f);
18569 nextafterl(0.0l, 0.0l);
18570 nexttoward(0.0, 0.0);
18571 nexttowardf(0.0f, 0.0f);
18572 nexttowardl(0.0l, 0.0l);
18573 remainder(0.0, 0.0);
18574 remainderf(0.0f, 0.0f);
18575 remainderl(0.0l, 0.0l);
18576 remquo(0.0, 0.0, 0);
18577 remquof(0.0f, 0.0f, 0);
18578 remquol(0.0l, 0.0l, 0);
18579 rint(0.0);
18580 rintf(0.0f);
18581 rintl(0.0l);
18582 round(0.0);
18583 roundf(0.0f);
18584 roundl(0.0l);
18585 scalbln(0.0, 0l);
18586 scalblnf(0.0f, 0l);
18587 scalblnl(0.0l, 0l);
18588 scalbn(0.0, 0);
18589 scalbnf(0.0f, 0);
18590 scalbnl(0.0l, 0);
18591 tgamma(0.0);
18592 tgammaf(0.0f);
18593 tgammal(0.0l);
18594 trunc(0.0);
18595 truncf(0.0f);
18596 truncl(0.0l);
18599 return 0;
18601 _ACEOF
18602 if ac_fn_cxx_try_compile "$LINENO"; then :
18603 glibcxx_cv_c99_math_tr1=yes
18604 else
18605 glibcxx_cv_c99_math_tr1=no
18607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
18612 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
18613 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
18615 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
18619 # Check for the existence of <inttypes.h> functions (NB: doesn't make
18620 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18621 ac_c99_inttypes_tr1=no;
18622 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
18624 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18626 /* end confdefs.h. */
18627 #include <inttypes.h>
18629 main ()
18631 intmax_t i, numer, denom, base;
18632 const char* s;
18633 char** endptr;
18634 intmax_t ret = imaxabs(i);
18635 imaxdiv_t dret = imaxdiv(numer, denom);
18636 ret = strtoimax(s, endptr, base);
18637 uintmax_t uret = strtoumax(s, endptr, base);
18640 return 0;
18642 _ACEOF
18643 if ac_fn_cxx_try_compile "$LINENO"; then :
18644 ac_c99_inttypes_tr1=yes
18645 else
18646 ac_c99_inttypes_tr1=no
18648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
18651 $as_echo "$ac_c99_inttypes_tr1" >&6; }
18652 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
18654 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
18658 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
18659 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18660 ac_c99_inttypes_wchar_t_tr1=no;
18661 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
18663 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18665 /* end confdefs.h. */
18666 #include <inttypes.h>
18668 main ()
18670 intmax_t base;
18671 const wchar_t* s;
18672 wchar_t** endptr;
18673 intmax_t ret = wcstoimax(s, endptr, base);
18674 uintmax_t uret = wcstoumax(s, endptr, base);
18677 return 0;
18679 _ACEOF
18680 if ac_fn_cxx_try_compile "$LINENO"; then :
18681 ac_c99_inttypes_wchar_t_tr1=yes
18682 else
18683 ac_c99_inttypes_wchar_t_tr1=no
18685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
18688 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
18689 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
18691 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
18695 # Check for the existence of the <stdbool.h> header.
18696 for ac_header in stdbool.h
18697 do :
18698 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
18699 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
18700 cat >>confdefs.h <<_ACEOF
18701 #define HAVE_STDBOOL_H 1
18702 _ACEOF
18706 done
18709 CXXFLAGS="$ac_save_CXXFLAGS"
18710 ac_ext=c
18711 ac_cpp='$CPP $CPPFLAGS'
18712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18718 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
18721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
18722 $as_echo_n "checking for the value of EOF... " >&6; }
18723 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
18724 $as_echo_n "(cached) " >&6
18725 else
18727 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
18729 else
18730 as_fn_error "computing EOF failed" "$LINENO" 5
18735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
18736 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
18738 cat >>confdefs.h <<_ACEOF
18739 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
18740 _ACEOF
18743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
18744 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
18745 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
18746 $as_echo_n "(cached) " >&6
18747 else
18749 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
18751 else
18752 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
18757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
18758 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
18760 cat >>confdefs.h <<_ACEOF
18761 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
18762 _ACEOF
18765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
18766 $as_echo_n "checking for the value of SEEK_END... " >&6; }
18767 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
18768 $as_echo_n "(cached) " >&6
18769 else
18771 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
18773 else
18774 as_fn_error "computing SEEK_END failed" "$LINENO" 5
18779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
18780 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
18782 cat >>confdefs.h <<_ACEOF
18783 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
18784 _ACEOF
18788 # For gettimeofday support.
18791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18792 $as_echo_n "checking for gettimeofday... " >&6; }
18795 ac_ext=cpp
18796 ac_cpp='$CXXCPP $CPPFLAGS'
18797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18801 ac_save_CXXFLAGS="$CXXFLAGS"
18802 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18804 ac_has_gettimeofday=no;
18805 for ac_header in sys/time.h
18806 do :
18807 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
18808 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
18809 cat >>confdefs.h <<_ACEOF
18810 #define HAVE_SYS_TIME_H 1
18811 _ACEOF
18812 ac_has_sys_time_h=yes
18813 else
18814 ac_has_sys_time_h=no
18817 done
18819 if test x"$ac_has_sys_time_h" = x"yes"; then
18820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18821 $as_echo_n "checking for gettimeofday... " >&6; }
18822 if test x$gcc_no_link = xyes; then
18823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18824 /* end confdefs.h. */
18825 #include <sys/time.h>
18827 main ()
18829 timeval tv; gettimeofday(&tv, 0);
18831 return 0;
18833 _ACEOF
18834 if ac_fn_cxx_try_compile "$LINENO"; then :
18835 ac_has_gettimeofday=yes
18836 else
18837 ac_has_gettimeofday=no
18839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18840 else
18841 if test x$gcc_no_link = xyes; then
18842 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18845 /* end confdefs.h. */
18846 #include <sys/time.h>
18848 main ()
18850 timeval tv; gettimeofday(&tv, 0);
18852 return 0;
18854 _ACEOF
18855 if ac_fn_cxx_try_link "$LINENO"; then :
18856 ac_has_gettimeofday=yes
18857 else
18858 ac_has_gettimeofday=no
18860 rm -f core conftest.err conftest.$ac_objext \
18861 conftest$ac_exeext conftest.$ac_ext
18864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
18865 $as_echo "$ac_has_gettimeofday" >&6; }
18868 if test x"$ac_has_gettimeofday" = x"yes"; then
18870 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
18874 CXXFLAGS="$ac_save_CXXFLAGS"
18875 ac_ext=c
18876 ac_cpp='$CPP $CPPFLAGS'
18877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18883 # For clock_gettime, nanosleep and sched_yield support.
18884 # NB: The default is [no], because otherwise it requires linking.
18887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
18888 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
18889 # Check whether --enable-libstdcxx-time was given.
18890 if test "${enable_libstdcxx_time+set}" = set; then :
18891 enableval=$enable_libstdcxx_time;
18892 case "$enableval" in
18893 yes|no|rt) ;;
18894 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
18895 esac
18897 else
18898 enable_libstdcxx_time=no
18904 ac_ext=cpp
18905 ac_cpp='$CXXCPP $CPPFLAGS'
18906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18910 ac_save_CXXFLAGS="$CXXFLAGS"
18911 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18912 ac_save_LIBS="$LIBS"
18914 ac_has_clock_monotonic=no
18915 ac_has_clock_realtime=no
18916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
18917 $as_echo "$enable_libstdcxx_time" >&6; }
18919 if test x"$enable_libstdcxx_time" != x"no"; then
18921 if test x"$enable_libstdcxx_time" = x"rt"; then
18922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18923 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18924 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18925 $as_echo_n "(cached) " >&6
18926 else
18927 ac_func_search_save_LIBS=$LIBS
18928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18929 /* end confdefs.h. */
18931 /* Override any GCC internal prototype to avoid an error.
18932 Use char because int might match the return type of a GCC
18933 builtin and then its argument prototype would still apply. */
18934 #ifdef __cplusplus
18935 extern "C"
18936 #endif
18937 char clock_gettime ();
18939 main ()
18941 return clock_gettime ();
18943 return 0;
18945 _ACEOF
18946 for ac_lib in '' rt posix4; do
18947 if test -z "$ac_lib"; then
18948 ac_res="none required"
18949 else
18950 ac_res=-l$ac_lib
18951 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18953 if test x$gcc_no_link = xyes; then
18954 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18956 if ac_fn_cxx_try_link "$LINENO"; then :
18957 ac_cv_search_clock_gettime=$ac_res
18959 rm -f core conftest.err conftest.$ac_objext \
18960 conftest$ac_exeext
18961 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18962 break
18964 done
18965 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18967 else
18968 ac_cv_search_clock_gettime=no
18970 rm conftest.$ac_ext
18971 LIBS=$ac_func_search_save_LIBS
18973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18974 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18975 ac_res=$ac_cv_search_clock_gettime
18976 if test "$ac_res" != no; then :
18977 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
18982 $as_echo_n "checking for library containing nanosleep... " >&6; }
18983 if test "${ac_cv_search_nanosleep+set}" = set; then :
18984 $as_echo_n "(cached) " >&6
18985 else
18986 ac_func_search_save_LIBS=$LIBS
18987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18988 /* end confdefs.h. */
18990 /* Override any GCC internal prototype to avoid an error.
18991 Use char because int might match the return type of a GCC
18992 builtin and then its argument prototype would still apply. */
18993 #ifdef __cplusplus
18994 extern "C"
18995 #endif
18996 char nanosleep ();
18998 main ()
19000 return nanosleep ();
19002 return 0;
19004 _ACEOF
19005 for ac_lib in '' rt posix4; do
19006 if test -z "$ac_lib"; then
19007 ac_res="none required"
19008 else
19009 ac_res=-l$ac_lib
19010 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19012 if test x$gcc_no_link = xyes; then
19013 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19015 if ac_fn_cxx_try_link "$LINENO"; then :
19016 ac_cv_search_nanosleep=$ac_res
19018 rm -f core conftest.err conftest.$ac_objext \
19019 conftest$ac_exeext
19020 if test "${ac_cv_search_nanosleep+set}" = set; then :
19021 break
19023 done
19024 if test "${ac_cv_search_nanosleep+set}" = set; then :
19026 else
19027 ac_cv_search_nanosleep=no
19029 rm conftest.$ac_ext
19030 LIBS=$ac_func_search_save_LIBS
19032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19033 $as_echo "$ac_cv_search_nanosleep" >&6; }
19034 ac_res=$ac_cv_search_nanosleep
19035 if test "$ac_res" != no; then :
19036 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19040 else
19041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19042 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19043 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19044 $as_echo_n "(cached) " >&6
19045 else
19046 ac_func_search_save_LIBS=$LIBS
19047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19048 /* end confdefs.h. */
19050 /* Override any GCC internal prototype to avoid an error.
19051 Use char because int might match the return type of a GCC
19052 builtin and then its argument prototype would still apply. */
19053 #ifdef __cplusplus
19054 extern "C"
19055 #endif
19056 char clock_gettime ();
19058 main ()
19060 return clock_gettime ();
19062 return 0;
19064 _ACEOF
19065 for ac_lib in '' posix4; do
19066 if test -z "$ac_lib"; then
19067 ac_res="none required"
19068 else
19069 ac_res=-l$ac_lib
19070 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19072 if test x$gcc_no_link = xyes; then
19073 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19075 if ac_fn_cxx_try_link "$LINENO"; then :
19076 ac_cv_search_clock_gettime=$ac_res
19078 rm -f core conftest.err conftest.$ac_objext \
19079 conftest$ac_exeext
19080 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19081 break
19083 done
19084 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19086 else
19087 ac_cv_search_clock_gettime=no
19089 rm conftest.$ac_ext
19090 LIBS=$ac_func_search_save_LIBS
19092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19093 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19094 ac_res=$ac_cv_search_clock_gettime
19095 if test "$ac_res" != no; then :
19096 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19101 $as_echo_n "checking for library containing nanosleep... " >&6; }
19102 if test "${ac_cv_search_nanosleep+set}" = set; then :
19103 $as_echo_n "(cached) " >&6
19104 else
19105 ac_func_search_save_LIBS=$LIBS
19106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19107 /* end confdefs.h. */
19109 /* Override any GCC internal prototype to avoid an error.
19110 Use char because int might match the return type of a GCC
19111 builtin and then its argument prototype would still apply. */
19112 #ifdef __cplusplus
19113 extern "C"
19114 #endif
19115 char nanosleep ();
19117 main ()
19119 return nanosleep ();
19121 return 0;
19123 _ACEOF
19124 for ac_lib in '' posix4; do
19125 if test -z "$ac_lib"; then
19126 ac_res="none required"
19127 else
19128 ac_res=-l$ac_lib
19129 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19131 if test x$gcc_no_link = xyes; then
19132 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19134 if ac_fn_cxx_try_link "$LINENO"; then :
19135 ac_cv_search_nanosleep=$ac_res
19137 rm -f core conftest.err conftest.$ac_objext \
19138 conftest$ac_exeext
19139 if test "${ac_cv_search_nanosleep+set}" = set; then :
19140 break
19142 done
19143 if test "${ac_cv_search_nanosleep+set}" = set; then :
19145 else
19146 ac_cv_search_nanosleep=no
19148 rm conftest.$ac_ext
19149 LIBS=$ac_func_search_save_LIBS
19151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19152 $as_echo "$ac_cv_search_nanosleep" >&6; }
19153 ac_res=$ac_cv_search_nanosleep
19154 if test "$ac_res" != no; then :
19155 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19161 case "$ac_cv_search_clock_gettime" in
19162 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19164 esac
19165 case "$ac_cv_search_nanosleep" in
19166 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19168 esac
19170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19171 $as_echo_n "checking for library containing sched_yield... " >&6; }
19172 if test "${ac_cv_search_sched_yield+set}" = set; then :
19173 $as_echo_n "(cached) " >&6
19174 else
19175 ac_func_search_save_LIBS=$LIBS
19176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19177 /* end confdefs.h. */
19179 /* Override any GCC internal prototype to avoid an error.
19180 Use char because int might match the return type of a GCC
19181 builtin and then its argument prototype would still apply. */
19182 #ifdef __cplusplus
19183 extern "C"
19184 #endif
19185 char sched_yield ();
19187 main ()
19189 return sched_yield ();
19191 return 0;
19193 _ACEOF
19194 for ac_lib in '' rt posix4; do
19195 if test -z "$ac_lib"; then
19196 ac_res="none required"
19197 else
19198 ac_res=-l$ac_lib
19199 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19201 if test x$gcc_no_link = xyes; then
19202 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19204 if ac_fn_cxx_try_link "$LINENO"; then :
19205 ac_cv_search_sched_yield=$ac_res
19207 rm -f core conftest.err conftest.$ac_objext \
19208 conftest$ac_exeext
19209 if test "${ac_cv_search_sched_yield+set}" = set; then :
19210 break
19212 done
19213 if test "${ac_cv_search_sched_yield+set}" = set; then :
19215 else
19216 ac_cv_search_sched_yield=no
19218 rm conftest.$ac_ext
19219 LIBS=$ac_func_search_save_LIBS
19221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19222 $as_echo "$ac_cv_search_sched_yield" >&6; }
19223 ac_res=$ac_cv_search_sched_yield
19224 if test "$ac_res" != no; then :
19225 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19230 case "$ac_cv_search_sched_yield" in
19231 -lposix4*)
19232 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19234 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19237 -lrt*)
19238 if test x"$enable_libstdcxx_time" = x"rt"; then
19239 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19241 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19247 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19250 esac
19252 for ac_header in unistd.h
19253 do :
19254 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19255 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19256 cat >>confdefs.h <<_ACEOF
19257 #define HAVE_UNISTD_H 1
19258 _ACEOF
19259 ac_has_unistd_h=yes
19260 else
19261 ac_has_unistd_h=no
19264 done
19267 if test x"$ac_has_unistd_h" = x"yes"; then
19268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19269 $as_echo_n "checking for monotonic clock... " >&6; }
19270 if test x$gcc_no_link = xyes; then
19271 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19274 /* end confdefs.h. */
19275 #include <unistd.h>
19276 #include <time.h>
19279 main ()
19281 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19282 timespec tp;
19283 #endif
19284 clock_gettime(CLOCK_MONOTONIC, &tp);
19287 return 0;
19289 _ACEOF
19290 if ac_fn_cxx_try_link "$LINENO"; then :
19291 ac_has_clock_monotonic=yes
19292 else
19293 ac_has_clock_monotonic=no
19295 rm -f core conftest.err conftest.$ac_objext \
19296 conftest$ac_exeext conftest.$ac_ext
19298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19299 $as_echo "$ac_has_clock_monotonic" >&6; }
19301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19302 $as_echo_n "checking for realtime clock... " >&6; }
19303 if test x$gcc_no_link = xyes; then
19304 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19307 /* end confdefs.h. */
19308 #include <unistd.h>
19309 #include <time.h>
19312 main ()
19314 #if _POSIX_TIMERS > 0
19315 timespec tp;
19316 #endif
19317 clock_gettime(CLOCK_REALTIME, &tp);
19320 return 0;
19322 _ACEOF
19323 if ac_fn_cxx_try_link "$LINENO"; then :
19324 ac_has_clock_realtime=yes
19325 else
19326 ac_has_clock_realtime=no
19328 rm -f core conftest.err conftest.$ac_objext \
19329 conftest$ac_exeext conftest.$ac_ext
19331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19332 $as_echo "$ac_has_clock_realtime" >&6; }
19334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19335 $as_echo_n "checking for nanosleep... " >&6; }
19336 if test x$gcc_no_link = xyes; then
19337 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19340 /* end confdefs.h. */
19341 #include <unistd.h>
19342 #include <time.h>
19345 main ()
19347 #if _POSIX_TIMERS > 0
19348 timespec tp;
19349 #endif
19350 nanosleep(&tp, 0);
19353 return 0;
19355 _ACEOF
19356 if ac_fn_cxx_try_link "$LINENO"; then :
19357 ac_has_nanosleep=yes
19358 else
19359 ac_has_nanosleep=no
19361 rm -f core conftest.err conftest.$ac_objext \
19362 conftest$ac_exeext conftest.$ac_ext
19364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19365 $as_echo "$ac_has_nanosleep" >&6; }
19369 if test x"$ac_has_clock_monotonic" = x"yes"; then
19371 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19375 if test x"$ac_has_clock_realtime" = x"yes"; then
19377 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19381 if test x"$ac_has_nanosleep" = x"yes"; then
19383 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19389 CXXFLAGS="$ac_save_CXXFLAGS"
19390 LIBS="$ac_save_LIBS"
19391 ac_ext=c
19392 ac_cpp='$CPP $CPPFLAGS'
19393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19399 # For gthread support
19402 ac_ext=cpp
19403 ac_cpp='$CXXCPP $CPPFLAGS'
19404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19409 ac_save_CXXFLAGS="$CXXFLAGS"
19410 CXXFLAGS="$CXXFLAGS -fno-exceptions -I${toplevel_srcdir}/gcc"
19412 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
19413 case $target_thread_file in
19414 posix)
19415 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
19416 esac
19418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
19419 $as_echo_n "checking for gthreads library... " >&6; }
19421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19422 /* end confdefs.h. */
19423 #include "gthr.h"
19425 main ()
19428 #ifndef __GTHREADS_CXX0X
19429 #error
19430 #endif
19432 // In case of POSIX threads check _POSIX_TIMEOUTS too.
19433 #if (defined(_PTHREADS) \
19434 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
19435 #error
19436 #endif
19439 return 0;
19441 _ACEOF
19442 if ac_fn_cxx_try_compile "$LINENO"; then :
19443 ac_has_gthreads=yes
19444 else
19445 ac_has_gthreads=no
19447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
19450 $as_echo "$ac_has_gthreads" >&6; }
19452 if test x"$ac_has_gthreads" = x"yes"; then
19454 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
19458 CXXFLAGS="$ac_save_CXXFLAGS"
19459 ac_ext=c
19460 ac_cpp='$CPP $CPPFLAGS'
19461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19468 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19469 if test "x$ac_cv_header_locale_h" = x""yes; then :
19471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19472 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19473 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19474 $as_echo_n "(cached) " >&6
19475 else
19476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19477 /* end confdefs.h. */
19478 #include <locale.h>
19480 main ()
19482 return LC_MESSAGES
19484 return 0;
19486 _ACEOF
19487 if ac_fn_c_try_compile "$LINENO"; then :
19488 ac_cv_val_LC_MESSAGES=yes
19489 else
19490 ac_cv_val_LC_MESSAGES=no
19492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19495 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19496 if test $ac_cv_val_LC_MESSAGES = yes; then
19498 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19507 # Check for available headers.
19508 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
19509 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
19510 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
19511 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
19512 wchar.h wctype.h
19513 do :
19514 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19515 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19516 eval as_val=\$$as_ac_Header
19517 if test "x$as_val" = x""yes; then :
19518 cat >>confdefs.h <<_ACEOF
19519 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19520 _ACEOF
19524 done
19527 # Only do link tests if native. Else, hardcode.
19528 if $GLIBCXX_IS_NATIVE; then
19530 # We can do more elaborate tests that assume a working linker.
19531 CANADIAN=no
19535 # Check whether --with-gnu-ld was given.
19536 if test "${with_gnu_ld+set}" = set; then :
19537 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
19538 else
19539 with_gnu_ld=no
19542 ac_prog=ld
19543 if test "$GCC" = yes; then
19544 # Check if gcc -print-prog-name=ld gives a path.
19545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
19546 $as_echo_n "checking for ld used by $CC... " >&6; }
19547 case $host in
19548 *-*-mingw*)
19549 # gcc leaves a trailing carriage return which upsets mingw
19550 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
19552 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
19553 esac
19554 case $ac_prog in
19555 # Accept absolute paths.
19556 [\\/]* | ?:[\\/]*)
19557 re_direlt='/[^/][^/]*/\.\./'
19558 # Canonicalize the pathname of ld
19559 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
19560 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
19561 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
19562 done
19563 test -z "$LD" && LD="$ac_prog"
19566 # If it fails, then pretend we aren't using GCC.
19567 ac_prog=ld
19570 # If it is relative, then search for the first ld in PATH.
19571 with_gnu_ld=unknown
19573 esac
19574 elif test "$with_gnu_ld" = yes; then
19575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
19576 $as_echo_n "checking for GNU ld... " >&6; }
19577 else
19578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
19579 $as_echo_n "checking for non-GNU ld... " >&6; }
19581 if test "${lt_cv_path_LD+set}" = set; then :
19582 $as_echo_n "(cached) " >&6
19583 else
19584 if test -z "$LD"; then
19585 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
19586 for ac_dir in $PATH; do
19587 IFS="$lt_save_ifs"
19588 test -z "$ac_dir" && ac_dir=.
19589 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
19590 lt_cv_path_LD="$ac_dir/$ac_prog"
19591 # Check to see if the program is GNU ld. I'd rather use --version,
19592 # but apparently some variants of GNU ld only accept -v.
19593 # Break only if it was the GNU/non-GNU ld that we prefer.
19594 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
19595 *GNU* | *'with BFD'*)
19596 test "$with_gnu_ld" != no && break
19599 test "$with_gnu_ld" != yes && break
19601 esac
19603 done
19604 IFS="$lt_save_ifs"
19605 else
19606 lt_cv_path_LD="$LD" # Let the user override the test with a path.
19610 LD="$lt_cv_path_LD"
19611 if test -n "$LD"; then
19612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
19613 $as_echo "$LD" >&6; }
19614 else
19615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19616 $as_echo "no" >&6; }
19618 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
19619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
19620 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
19621 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
19622 $as_echo_n "(cached) " >&6
19623 else
19624 # I'd rather use --version here, but apparently some GNU lds only accept -v.
19625 case `$LD -v 2>&1 </dev/null` in
19626 *GNU* | *'with BFD'*)
19627 lt_cv_prog_gnu_ld=yes
19630 lt_cv_prog_gnu_ld=no
19632 esac
19634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
19635 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
19636 with_gnu_ld=$lt_cv_prog_gnu_ld
19644 # If we're not using GNU ld, then there's no point in even trying these
19645 # tests. Check for that first. We should have already tested for gld
19646 # by now (in libtool), but require it now just to be safe...
19647 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
19648 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
19652 # The name set by libtool depends on the version of libtool. Shame on us
19653 # for depending on an impl detail, but c'est la vie. Older versions used
19654 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
19655 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
19656 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
19657 # set (hence we're using an older libtool), then set it.
19658 if test x${with_gnu_ld+set} != xset; then
19659 if test x${ac_cv_prog_gnu_ld+set} != xset; then
19660 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
19661 with_gnu_ld=no
19662 else
19663 with_gnu_ld=$ac_cv_prog_gnu_ld
19667 # Start by getting the version number. I think the libtool test already
19668 # does some of this, but throws away the result.
19669 glibcxx_ld_is_gold=no
19670 if test x"$with_gnu_ld" = x"yes"; then
19671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
19672 $as_echo_n "checking for ld version... " >&6; }
19674 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
19675 glibcxx_ld_is_gold=yes
19677 ldver=`$LD --version 2>/dev/null |
19678 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'`
19680 glibcxx_gnu_ld_version=`echo $ldver | \
19681 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
19682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
19683 $as_echo "$glibcxx_gnu_ld_version" >&6; }
19686 # Set --gc-sections.
19687 glibcxx_have_gc_sections=no
19688 if test "$glibcxx_ld_is_gold" = "yes"; then
19689 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
19690 glibcxx_have_gc_sections=yes
19692 else
19693 glibcxx_gcsections_min_ld=21602
19694 if test x"$with_gnu_ld" = x"yes" &&
19695 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
19696 glibcxx_have_gc_sections=yes
19699 if test "$glibcxx_have_gc_sections" = "yes"; then
19700 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
19701 # NB: This flag only works reliably after 2.16.1. Configure tests
19702 # for this are difficult, so hard wire a value that should work.
19704 ac_test_CFLAGS="${CFLAGS+set}"
19705 ac_save_CFLAGS="$CFLAGS"
19706 CFLAGS='-Wl,--gc-sections'
19708 # Check for -Wl,--gc-sections
19709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
19710 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
19711 if test x$gcc_no_link = xyes; then
19712 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19715 /* end confdefs.h. */
19716 int one(void) { return 1; }
19717 int two(void) { return 2; }
19720 main ()
19722 two();
19724 return 0;
19726 _ACEOF
19727 if ac_fn_c_try_link "$LINENO"; then :
19728 ac_gcsections=yes
19729 else
19730 ac_gcsections=no
19732 rm -f core conftest.err conftest.$ac_objext \
19733 conftest$ac_exeext conftest.$ac_ext
19734 if test "$ac_gcsections" = "yes"; then
19735 rm -f conftest.c
19736 touch conftest.c
19737 if $CC -c conftest.c; then
19738 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
19739 grep "Warning: gc-sections option ignored" > /dev/null; then
19740 ac_gcsections=no
19743 rm -f conftest.c conftest.o conftest
19745 if test "$ac_gcsections" = "yes"; then
19746 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
19748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
19749 $as_echo "$ac_gcsections" >&6; }
19751 if test "$ac_test_CFLAGS" = set; then
19752 CFLAGS="$ac_save_CFLAGS"
19753 else
19754 # this is the suspicious part
19755 CFLAGS=''
19759 # Set -z,relro.
19760 # Note this is only for shared objects.
19761 ac_ld_relro=no
19762 if test x"$with_gnu_ld" = x"yes"; then
19763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
19764 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
19765 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
19766 if test -n "$cxx_z_relo"; then
19767 OPT_LDFLAGS="-Wl,-z,relro"
19768 ac_ld_relro=yes
19770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
19771 $as_echo "$ac_ld_relro" >&6; }
19774 # Set linker optimization flags.
19775 if test x"$with_gnu_ld" = x"yes"; then
19776 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
19783 ac_test_CXXFLAGS="${CXXFLAGS+set}"
19784 ac_save_CXXFLAGS="$CXXFLAGS"
19785 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
19787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
19788 $as_echo_n "checking for sin in -lm... " >&6; }
19789 if test "${ac_cv_lib_m_sin+set}" = set; then :
19790 $as_echo_n "(cached) " >&6
19791 else
19792 ac_check_lib_save_LIBS=$LIBS
19793 LIBS="-lm $LIBS"
19794 if test x$gcc_no_link = xyes; then
19795 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19798 /* end confdefs.h. */
19800 /* Override any GCC internal prototype to avoid an error.
19801 Use char because int might match the return type of a GCC
19802 builtin and then its argument prototype would still apply. */
19803 #ifdef __cplusplus
19804 extern "C"
19805 #endif
19806 char sin ();
19808 main ()
19810 return sin ();
19812 return 0;
19814 _ACEOF
19815 if ac_fn_c_try_link "$LINENO"; then :
19816 ac_cv_lib_m_sin=yes
19817 else
19818 ac_cv_lib_m_sin=no
19820 rm -f core conftest.err conftest.$ac_objext \
19821 conftest$ac_exeext conftest.$ac_ext
19822 LIBS=$ac_check_lib_save_LIBS
19824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
19825 $as_echo "$ac_cv_lib_m_sin" >&6; }
19826 if test "x$ac_cv_lib_m_sin" = x""yes; then :
19827 libm="-lm"
19830 ac_save_LIBS="$LIBS"
19831 LIBS="$LIBS $libm"
19835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
19836 $as_echo_n "checking for isinf declaration... " >&6; }
19837 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
19838 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
19839 $as_echo_n "(cached) " >&6
19840 else
19843 ac_ext=cpp
19844 ac_cpp='$CXXCPP $CPPFLAGS'
19845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19850 /* end confdefs.h. */
19851 #include <math.h>
19852 #ifdef HAVE_IEEEFP_H
19853 #include <ieeefp.h>
19854 #endif
19857 main ()
19859 isinf(0);
19861 return 0;
19863 _ACEOF
19864 if ac_fn_cxx_try_compile "$LINENO"; then :
19865 glibcxx_cv_func_isinf_use=yes
19866 else
19867 glibcxx_cv_func_isinf_use=no
19869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19870 ac_ext=c
19871 ac_cpp='$CPP $CPPFLAGS'
19872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
19881 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
19883 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
19884 for ac_func in isinf
19885 do :
19886 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
19887 if test "x$ac_cv_func_isinf" = x""yes; then :
19888 cat >>confdefs.h <<_ACEOF
19889 #define HAVE_ISINF 1
19890 _ACEOF
19893 done
19895 else
19897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
19898 $as_echo_n "checking for _isinf declaration... " >&6; }
19899 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
19900 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
19901 $as_echo_n "(cached) " >&6
19902 else
19905 ac_ext=cpp
19906 ac_cpp='$CXXCPP $CPPFLAGS'
19907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19912 /* end confdefs.h. */
19913 #include <math.h>
19914 #ifdef HAVE_IEEEFP_H
19915 #include <ieeefp.h>
19916 #endif
19919 main ()
19921 _isinf(0);
19923 return 0;
19925 _ACEOF
19926 if ac_fn_cxx_try_compile "$LINENO"; then :
19927 glibcxx_cv_func__isinf_use=yes
19928 else
19929 glibcxx_cv_func__isinf_use=no
19931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19932 ac_ext=c
19933 ac_cpp='$CPP $CPPFLAGS'
19934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
19943 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
19945 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
19946 for ac_func in _isinf
19947 do :
19948 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
19949 if test "x$ac_cv_func__isinf" = x""yes; then :
19950 cat >>confdefs.h <<_ACEOF
19951 #define HAVE__ISINF 1
19952 _ACEOF
19955 done
19964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
19965 $as_echo_n "checking for isnan declaration... " >&6; }
19966 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
19967 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
19968 $as_echo_n "(cached) " >&6
19969 else
19972 ac_ext=cpp
19973 ac_cpp='$CXXCPP $CPPFLAGS'
19974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19979 /* end confdefs.h. */
19980 #include <math.h>
19981 #ifdef HAVE_IEEEFP_H
19982 #include <ieeefp.h>
19983 #endif
19986 main ()
19988 isnan(0);
19990 return 0;
19992 _ACEOF
19993 if ac_fn_cxx_try_compile "$LINENO"; then :
19994 glibcxx_cv_func_isnan_use=yes
19995 else
19996 glibcxx_cv_func_isnan_use=no
19998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19999 ac_ext=c
20000 ac_cpp='$CPP $CPPFLAGS'
20001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
20010 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
20012 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
20013 for ac_func in isnan
20014 do :
20015 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
20016 if test "x$ac_cv_func_isnan" = x""yes; then :
20017 cat >>confdefs.h <<_ACEOF
20018 #define HAVE_ISNAN 1
20019 _ACEOF
20022 done
20024 else
20026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
20027 $as_echo_n "checking for _isnan declaration... " >&6; }
20028 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20029 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
20030 $as_echo_n "(cached) " >&6
20031 else
20034 ac_ext=cpp
20035 ac_cpp='$CXXCPP $CPPFLAGS'
20036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20041 /* end confdefs.h. */
20042 #include <math.h>
20043 #ifdef HAVE_IEEEFP_H
20044 #include <ieeefp.h>
20045 #endif
20048 main ()
20050 _isnan(0);
20052 return 0;
20054 _ACEOF
20055 if ac_fn_cxx_try_compile "$LINENO"; then :
20056 glibcxx_cv_func__isnan_use=yes
20057 else
20058 glibcxx_cv_func__isnan_use=no
20060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20061 ac_ext=c
20062 ac_cpp='$CPP $CPPFLAGS'
20063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20072 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20074 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20075 for ac_func in _isnan
20076 do :
20077 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20078 if test "x$ac_cv_func__isnan" = x""yes; then :
20079 cat >>confdefs.h <<_ACEOF
20080 #define HAVE__ISNAN 1
20081 _ACEOF
20084 done
20093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20094 $as_echo_n "checking for finite declaration... " >&6; }
20095 if test x${glibcxx_cv_func_finite_use+set} != xset; then
20096 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20097 $as_echo_n "(cached) " >&6
20098 else
20101 ac_ext=cpp
20102 ac_cpp='$CXXCPP $CPPFLAGS'
20103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20108 /* end confdefs.h. */
20109 #include <math.h>
20110 #ifdef HAVE_IEEEFP_H
20111 #include <ieeefp.h>
20112 #endif
20115 main ()
20117 finite(0);
20119 return 0;
20121 _ACEOF
20122 if ac_fn_cxx_try_compile "$LINENO"; then :
20123 glibcxx_cv_func_finite_use=yes
20124 else
20125 glibcxx_cv_func_finite_use=no
20127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20128 ac_ext=c
20129 ac_cpp='$CPP $CPPFLAGS'
20130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20139 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20141 if test x$glibcxx_cv_func_finite_use = x"yes"; then
20142 for ac_func in finite
20143 do :
20144 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20145 if test "x$ac_cv_func_finite" = x""yes; then :
20146 cat >>confdefs.h <<_ACEOF
20147 #define HAVE_FINITE 1
20148 _ACEOF
20151 done
20153 else
20155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20156 $as_echo_n "checking for _finite declaration... " >&6; }
20157 if test x${glibcxx_cv_func__finite_use+set} != xset; then
20158 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
20159 $as_echo_n "(cached) " >&6
20160 else
20163 ac_ext=cpp
20164 ac_cpp='$CXXCPP $CPPFLAGS'
20165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20170 /* end confdefs.h. */
20171 #include <math.h>
20172 #ifdef HAVE_IEEEFP_H
20173 #include <ieeefp.h>
20174 #endif
20177 main ()
20179 _finite(0);
20181 return 0;
20183 _ACEOF
20184 if ac_fn_cxx_try_compile "$LINENO"; then :
20185 glibcxx_cv_func__finite_use=yes
20186 else
20187 glibcxx_cv_func__finite_use=no
20189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20190 ac_ext=c
20191 ac_cpp='$CPP $CPPFLAGS'
20192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
20201 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
20203 if test x$glibcxx_cv_func__finite_use = x"yes"; then
20204 for ac_func in _finite
20205 do :
20206 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
20207 if test "x$ac_cv_func__finite" = x""yes; then :
20208 cat >>confdefs.h <<_ACEOF
20209 #define HAVE__FINITE 1
20210 _ACEOF
20213 done
20222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
20223 $as_echo_n "checking for sincos declaration... " >&6; }
20224 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20225 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
20226 $as_echo_n "(cached) " >&6
20227 else
20230 ac_ext=cpp
20231 ac_cpp='$CXXCPP $CPPFLAGS'
20232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20237 /* end confdefs.h. */
20238 #include <math.h>
20240 main ()
20242 sincos(0, 0, 0);
20244 return 0;
20246 _ACEOF
20247 if ac_fn_cxx_try_compile "$LINENO"; then :
20248 glibcxx_cv_func_sincos_use=yes
20249 else
20250 glibcxx_cv_func_sincos_use=no
20252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20253 ac_ext=c
20254 ac_cpp='$CPP $CPPFLAGS'
20255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
20264 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
20266 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20267 for ac_func in sincos
20268 do :
20269 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
20270 if test "x$ac_cv_func_sincos" = x""yes; then :
20271 cat >>confdefs.h <<_ACEOF
20272 #define HAVE_SINCOS 1
20273 _ACEOF
20276 done
20278 else
20280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
20281 $as_echo_n "checking for _sincos declaration... " >&6; }
20282 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20283 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
20284 $as_echo_n "(cached) " >&6
20285 else
20288 ac_ext=cpp
20289 ac_cpp='$CXXCPP $CPPFLAGS'
20290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20295 /* end confdefs.h. */
20296 #include <math.h>
20298 main ()
20300 _sincos(0, 0, 0);
20302 return 0;
20304 _ACEOF
20305 if ac_fn_cxx_try_compile "$LINENO"; then :
20306 glibcxx_cv_func__sincos_use=yes
20307 else
20308 glibcxx_cv_func__sincos_use=no
20310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20311 ac_ext=c
20312 ac_cpp='$CPP $CPPFLAGS'
20313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
20322 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
20324 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20325 for ac_func in _sincos
20326 do :
20327 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
20328 if test "x$ac_cv_func__sincos" = x""yes; then :
20329 cat >>confdefs.h <<_ACEOF
20330 #define HAVE__SINCOS 1
20331 _ACEOF
20334 done
20343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
20344 $as_echo_n "checking for fpclass declaration... " >&6; }
20345 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20346 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
20347 $as_echo_n "(cached) " >&6
20348 else
20351 ac_ext=cpp
20352 ac_cpp='$CXXCPP $CPPFLAGS'
20353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20358 /* end confdefs.h. */
20359 #include <math.h>
20360 #ifdef HAVE_IEEEFP_H
20361 #include <ieeefp.h>
20362 #endif
20365 main ()
20367 fpclass(0);
20369 return 0;
20371 _ACEOF
20372 if ac_fn_cxx_try_compile "$LINENO"; then :
20373 glibcxx_cv_func_fpclass_use=yes
20374 else
20375 glibcxx_cv_func_fpclass_use=no
20377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20378 ac_ext=c
20379 ac_cpp='$CPP $CPPFLAGS'
20380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
20389 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
20391 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20392 for ac_func in fpclass
20393 do :
20394 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
20395 if test "x$ac_cv_func_fpclass" = x""yes; then :
20396 cat >>confdefs.h <<_ACEOF
20397 #define HAVE_FPCLASS 1
20398 _ACEOF
20401 done
20403 else
20405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
20406 $as_echo_n "checking for _fpclass declaration... " >&6; }
20407 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20408 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
20409 $as_echo_n "(cached) " >&6
20410 else
20413 ac_ext=cpp
20414 ac_cpp='$CXXCPP $CPPFLAGS'
20415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20420 /* end confdefs.h. */
20421 #include <math.h>
20422 #ifdef HAVE_IEEEFP_H
20423 #include <ieeefp.h>
20424 #endif
20427 main ()
20429 _fpclass(0);
20431 return 0;
20433 _ACEOF
20434 if ac_fn_cxx_try_compile "$LINENO"; then :
20435 glibcxx_cv_func__fpclass_use=yes
20436 else
20437 glibcxx_cv_func__fpclass_use=no
20439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20440 ac_ext=c
20441 ac_cpp='$CPP $CPPFLAGS'
20442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
20451 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
20453 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20454 for ac_func in _fpclass
20455 do :
20456 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
20457 if test "x$ac_cv_func__fpclass" = x""yes; then :
20458 cat >>confdefs.h <<_ACEOF
20459 #define HAVE__FPCLASS 1
20460 _ACEOF
20463 done
20472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
20473 $as_echo_n "checking for qfpclass declaration... " >&6; }
20474 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
20475 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
20476 $as_echo_n "(cached) " >&6
20477 else
20480 ac_ext=cpp
20481 ac_cpp='$CXXCPP $CPPFLAGS'
20482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20487 /* end confdefs.h. */
20488 #include <math.h>
20489 #ifdef HAVE_IEEEFP_H
20490 #include <ieeefp.h>
20491 #endif
20494 main ()
20496 qfpclass(0);
20498 return 0;
20500 _ACEOF
20501 if ac_fn_cxx_try_compile "$LINENO"; then :
20502 glibcxx_cv_func_qfpclass_use=yes
20503 else
20504 glibcxx_cv_func_qfpclass_use=no
20506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20507 ac_ext=c
20508 ac_cpp='$CPP $CPPFLAGS'
20509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
20518 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
20520 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
20521 for ac_func in qfpclass
20522 do :
20523 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
20524 if test "x$ac_cv_func_qfpclass" = x""yes; then :
20525 cat >>confdefs.h <<_ACEOF
20526 #define HAVE_QFPCLASS 1
20527 _ACEOF
20530 done
20532 else
20534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
20535 $as_echo_n "checking for _qfpclass declaration... " >&6; }
20536 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
20537 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
20538 $as_echo_n "(cached) " >&6
20539 else
20542 ac_ext=cpp
20543 ac_cpp='$CXXCPP $CPPFLAGS'
20544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20549 /* end confdefs.h. */
20550 #include <math.h>
20551 #ifdef HAVE_IEEEFP_H
20552 #include <ieeefp.h>
20553 #endif
20556 main ()
20558 _qfpclass(0);
20560 return 0;
20562 _ACEOF
20563 if ac_fn_cxx_try_compile "$LINENO"; then :
20564 glibcxx_cv_func__qfpclass_use=yes
20565 else
20566 glibcxx_cv_func__qfpclass_use=no
20568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20569 ac_ext=c
20570 ac_cpp='$CPP $CPPFLAGS'
20571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
20580 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
20582 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
20583 for ac_func in _qfpclass
20584 do :
20585 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
20586 if test "x$ac_cv_func__qfpclass" = x""yes; then :
20587 cat >>confdefs.h <<_ACEOF
20588 #define HAVE__QFPCLASS 1
20589 _ACEOF
20592 done
20601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
20602 $as_echo_n "checking for hypot declaration... " >&6; }
20603 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
20604 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
20605 $as_echo_n "(cached) " >&6
20606 else
20609 ac_ext=cpp
20610 ac_cpp='$CXXCPP $CPPFLAGS'
20611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20616 /* end confdefs.h. */
20617 #include <math.h>
20619 main ()
20621 hypot(0, 0);
20623 return 0;
20625 _ACEOF
20626 if ac_fn_cxx_try_compile "$LINENO"; then :
20627 glibcxx_cv_func_hypot_use=yes
20628 else
20629 glibcxx_cv_func_hypot_use=no
20631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20632 ac_ext=c
20633 ac_cpp='$CPP $CPPFLAGS'
20634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
20643 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
20645 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
20646 for ac_func in hypot
20647 do :
20648 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
20649 if test "x$ac_cv_func_hypot" = x""yes; then :
20650 cat >>confdefs.h <<_ACEOF
20651 #define HAVE_HYPOT 1
20652 _ACEOF
20655 done
20657 else
20659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
20660 $as_echo_n "checking for _hypot declaration... " >&6; }
20661 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
20662 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
20663 $as_echo_n "(cached) " >&6
20664 else
20667 ac_ext=cpp
20668 ac_cpp='$CXXCPP $CPPFLAGS'
20669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20674 /* end confdefs.h. */
20675 #include <math.h>
20677 main ()
20679 _hypot(0, 0);
20681 return 0;
20683 _ACEOF
20684 if ac_fn_cxx_try_compile "$LINENO"; then :
20685 glibcxx_cv_func__hypot_use=yes
20686 else
20687 glibcxx_cv_func__hypot_use=no
20689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20690 ac_ext=c
20691 ac_cpp='$CPP $CPPFLAGS'
20692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
20701 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
20703 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
20704 for ac_func in _hypot
20705 do :
20706 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
20707 if test "x$ac_cv_func__hypot" = x""yes; then :
20708 cat >>confdefs.h <<_ACEOF
20709 #define HAVE__HYPOT 1
20710 _ACEOF
20713 done
20722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
20723 $as_echo_n "checking for float trig functions... " >&6; }
20724 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
20725 $as_echo_n "(cached) " >&6
20726 else
20729 ac_ext=cpp
20730 ac_cpp='$CXXCPP $CPPFLAGS'
20731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20736 /* end confdefs.h. */
20737 #include <math.h>
20739 main ()
20741 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
20743 return 0;
20745 _ACEOF
20746 if ac_fn_cxx_try_compile "$LINENO"; then :
20747 glibcxx_cv_func_float_trig_use=yes
20748 else
20749 glibcxx_cv_func_float_trig_use=no
20751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20752 ac_ext=c
20753 ac_cpp='$CPP $CPPFLAGS'
20754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
20761 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
20762 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
20763 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
20764 do :
20765 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20766 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20767 eval as_val=\$$as_ac_var
20768 if test "x$as_val" = x""yes; then :
20769 cat >>confdefs.h <<_ACEOF
20770 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20771 _ACEOF
20774 done
20776 else
20777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
20778 $as_echo_n "checking for _float trig functions... " >&6; }
20779 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
20780 $as_echo_n "(cached) " >&6
20781 else
20784 ac_ext=cpp
20785 ac_cpp='$CXXCPP $CPPFLAGS'
20786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20791 /* end confdefs.h. */
20792 #include <math.h>
20794 main ()
20796 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
20798 return 0;
20800 _ACEOF
20801 if ac_fn_cxx_try_compile "$LINENO"; then :
20802 glibcxx_cv_func__float_trig_use=yes
20803 else
20804 glibcxx_cv_func__float_trig_use=no
20806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20807 ac_ext=c
20808 ac_cpp='$CPP $CPPFLAGS'
20809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
20816 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
20817 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
20818 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
20819 do :
20820 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20821 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20822 eval as_val=\$$as_ac_var
20823 if test "x$as_val" = x""yes; then :
20824 cat >>confdefs.h <<_ACEOF
20825 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20826 _ACEOF
20829 done
20838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
20839 $as_echo_n "checking for float round functions... " >&6; }
20840 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
20841 $as_echo_n "(cached) " >&6
20842 else
20845 ac_ext=cpp
20846 ac_cpp='$CXXCPP $CPPFLAGS'
20847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20852 /* end confdefs.h. */
20853 #include <math.h>
20855 main ()
20857 ceilf (0); floorf (0);
20859 return 0;
20861 _ACEOF
20862 if ac_fn_cxx_try_compile "$LINENO"; then :
20863 glibcxx_cv_func_float_round_use=yes
20864 else
20865 glibcxx_cv_func_float_round_use=no
20867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20868 ac_ext=c
20869 ac_cpp='$CPP $CPPFLAGS'
20870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
20877 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
20878 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
20879 for ac_func in ceilf floorf
20880 do :
20881 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20882 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20883 eval as_val=\$$as_ac_var
20884 if test "x$as_val" = x""yes; then :
20885 cat >>confdefs.h <<_ACEOF
20886 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20887 _ACEOF
20890 done
20892 else
20893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
20894 $as_echo_n "checking for _float round functions... " >&6; }
20895 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
20896 $as_echo_n "(cached) " >&6
20897 else
20900 ac_ext=cpp
20901 ac_cpp='$CXXCPP $CPPFLAGS'
20902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20907 /* end confdefs.h. */
20908 #include <math.h>
20910 main ()
20912 _ceilf (0); _floorf (0);
20914 return 0;
20916 _ACEOF
20917 if ac_fn_cxx_try_compile "$LINENO"; then :
20918 glibcxx_cv_func__float_round_use=yes
20919 else
20920 glibcxx_cv_func__float_round_use=no
20922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20923 ac_ext=c
20924 ac_cpp='$CPP $CPPFLAGS'
20925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
20932 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
20933 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
20934 for ac_func in _ceilf _floorf
20935 do :
20936 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20937 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20938 eval as_val=\$$as_ac_var
20939 if test "x$as_val" = x""yes; then :
20940 cat >>confdefs.h <<_ACEOF
20941 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20942 _ACEOF
20945 done
20955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
20956 $as_echo_n "checking for expf declaration... " >&6; }
20957 if test x${glibcxx_cv_func_expf_use+set} != xset; then
20958 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
20959 $as_echo_n "(cached) " >&6
20960 else
20963 ac_ext=cpp
20964 ac_cpp='$CXXCPP $CPPFLAGS'
20965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20970 /* end confdefs.h. */
20971 #include <math.h>
20972 #ifdef HAVE_IEEEFP_H
20973 #include <ieeefp.h>
20974 #endif
20977 main ()
20979 expf(0);
20981 return 0;
20983 _ACEOF
20984 if ac_fn_cxx_try_compile "$LINENO"; then :
20985 glibcxx_cv_func_expf_use=yes
20986 else
20987 glibcxx_cv_func_expf_use=no
20989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20990 ac_ext=c
20991 ac_cpp='$CPP $CPPFLAGS'
20992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
21001 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
21003 if test x$glibcxx_cv_func_expf_use = x"yes"; then
21004 for ac_func in expf
21005 do :
21006 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
21007 if test "x$ac_cv_func_expf" = x""yes; then :
21008 cat >>confdefs.h <<_ACEOF
21009 #define HAVE_EXPF 1
21010 _ACEOF
21013 done
21015 else
21017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
21018 $as_echo_n "checking for _expf declaration... " >&6; }
21019 if test x${glibcxx_cv_func__expf_use+set} != xset; then
21020 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
21021 $as_echo_n "(cached) " >&6
21022 else
21025 ac_ext=cpp
21026 ac_cpp='$CXXCPP $CPPFLAGS'
21027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21032 /* end confdefs.h. */
21033 #include <math.h>
21034 #ifdef HAVE_IEEEFP_H
21035 #include <ieeefp.h>
21036 #endif
21039 main ()
21041 _expf(0);
21043 return 0;
21045 _ACEOF
21046 if ac_fn_cxx_try_compile "$LINENO"; then :
21047 glibcxx_cv_func__expf_use=yes
21048 else
21049 glibcxx_cv_func__expf_use=no
21051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21052 ac_ext=c
21053 ac_cpp='$CPP $CPPFLAGS'
21054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21063 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21065 if test x$glibcxx_cv_func__expf_use = x"yes"; then
21066 for ac_func in _expf
21067 do :
21068 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21069 if test "x$ac_cv_func__expf" = x""yes; then :
21070 cat >>confdefs.h <<_ACEOF
21071 #define HAVE__EXPF 1
21072 _ACEOF
21075 done
21084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21085 $as_echo_n "checking for isnanf declaration... " >&6; }
21086 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21087 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21088 $as_echo_n "(cached) " >&6
21089 else
21092 ac_ext=cpp
21093 ac_cpp='$CXXCPP $CPPFLAGS'
21094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21099 /* end confdefs.h. */
21100 #include <math.h>
21101 #ifdef HAVE_IEEEFP_H
21102 #include <ieeefp.h>
21103 #endif
21106 main ()
21108 isnanf(0);
21110 return 0;
21112 _ACEOF
21113 if ac_fn_cxx_try_compile "$LINENO"; then :
21114 glibcxx_cv_func_isnanf_use=yes
21115 else
21116 glibcxx_cv_func_isnanf_use=no
21118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21119 ac_ext=c
21120 ac_cpp='$CPP $CPPFLAGS'
21121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21130 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21132 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21133 for ac_func in isnanf
21134 do :
21135 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21136 if test "x$ac_cv_func_isnanf" = x""yes; then :
21137 cat >>confdefs.h <<_ACEOF
21138 #define HAVE_ISNANF 1
21139 _ACEOF
21142 done
21144 else
21146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21147 $as_echo_n "checking for _isnanf declaration... " >&6; }
21148 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21149 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21150 $as_echo_n "(cached) " >&6
21151 else
21154 ac_ext=cpp
21155 ac_cpp='$CXXCPP $CPPFLAGS'
21156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21161 /* end confdefs.h. */
21162 #include <math.h>
21163 #ifdef HAVE_IEEEFP_H
21164 #include <ieeefp.h>
21165 #endif
21168 main ()
21170 _isnanf(0);
21172 return 0;
21174 _ACEOF
21175 if ac_fn_cxx_try_compile "$LINENO"; then :
21176 glibcxx_cv_func__isnanf_use=yes
21177 else
21178 glibcxx_cv_func__isnanf_use=no
21180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21181 ac_ext=c
21182 ac_cpp='$CPP $CPPFLAGS'
21183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
21192 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
21194 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
21195 for ac_func in _isnanf
21196 do :
21197 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
21198 if test "x$ac_cv_func__isnanf" = x""yes; then :
21199 cat >>confdefs.h <<_ACEOF
21200 #define HAVE__ISNANF 1
21201 _ACEOF
21204 done
21213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
21214 $as_echo_n "checking for isinff declaration... " >&6; }
21215 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
21216 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
21217 $as_echo_n "(cached) " >&6
21218 else
21221 ac_ext=cpp
21222 ac_cpp='$CXXCPP $CPPFLAGS'
21223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21228 /* end confdefs.h. */
21229 #include <math.h>
21230 #ifdef HAVE_IEEEFP_H
21231 #include <ieeefp.h>
21232 #endif
21235 main ()
21237 isinff(0);
21239 return 0;
21241 _ACEOF
21242 if ac_fn_cxx_try_compile "$LINENO"; then :
21243 glibcxx_cv_func_isinff_use=yes
21244 else
21245 glibcxx_cv_func_isinff_use=no
21247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21248 ac_ext=c
21249 ac_cpp='$CPP $CPPFLAGS'
21250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
21259 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
21261 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
21262 for ac_func in isinff
21263 do :
21264 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
21265 if test "x$ac_cv_func_isinff" = x""yes; then :
21266 cat >>confdefs.h <<_ACEOF
21267 #define HAVE_ISINFF 1
21268 _ACEOF
21271 done
21273 else
21275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
21276 $as_echo_n "checking for _isinff declaration... " >&6; }
21277 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
21278 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
21279 $as_echo_n "(cached) " >&6
21280 else
21283 ac_ext=cpp
21284 ac_cpp='$CXXCPP $CPPFLAGS'
21285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21290 /* end confdefs.h. */
21291 #include <math.h>
21292 #ifdef HAVE_IEEEFP_H
21293 #include <ieeefp.h>
21294 #endif
21297 main ()
21299 _isinff(0);
21301 return 0;
21303 _ACEOF
21304 if ac_fn_cxx_try_compile "$LINENO"; then :
21305 glibcxx_cv_func__isinff_use=yes
21306 else
21307 glibcxx_cv_func__isinff_use=no
21309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21310 ac_ext=c
21311 ac_cpp='$CPP $CPPFLAGS'
21312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
21321 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
21323 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
21324 for ac_func in _isinff
21325 do :
21326 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
21327 if test "x$ac_cv_func__isinff" = x""yes; then :
21328 cat >>confdefs.h <<_ACEOF
21329 #define HAVE__ISINFF 1
21330 _ACEOF
21333 done
21342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
21343 $as_echo_n "checking for atan2f declaration... " >&6; }
21344 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
21345 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
21346 $as_echo_n "(cached) " >&6
21347 else
21350 ac_ext=cpp
21351 ac_cpp='$CXXCPP $CPPFLAGS'
21352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21357 /* end confdefs.h. */
21358 #include <math.h>
21360 main ()
21362 atan2f(0, 0);
21364 return 0;
21366 _ACEOF
21367 if ac_fn_cxx_try_compile "$LINENO"; then :
21368 glibcxx_cv_func_atan2f_use=yes
21369 else
21370 glibcxx_cv_func_atan2f_use=no
21372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21373 ac_ext=c
21374 ac_cpp='$CPP $CPPFLAGS'
21375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
21384 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
21386 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
21387 for ac_func in atan2f
21388 do :
21389 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
21390 if test "x$ac_cv_func_atan2f" = x""yes; then :
21391 cat >>confdefs.h <<_ACEOF
21392 #define HAVE_ATAN2F 1
21393 _ACEOF
21396 done
21398 else
21400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
21401 $as_echo_n "checking for _atan2f declaration... " >&6; }
21402 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
21403 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
21404 $as_echo_n "(cached) " >&6
21405 else
21408 ac_ext=cpp
21409 ac_cpp='$CXXCPP $CPPFLAGS'
21410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21415 /* end confdefs.h. */
21416 #include <math.h>
21418 main ()
21420 _atan2f(0, 0);
21422 return 0;
21424 _ACEOF
21425 if ac_fn_cxx_try_compile "$LINENO"; then :
21426 glibcxx_cv_func__atan2f_use=yes
21427 else
21428 glibcxx_cv_func__atan2f_use=no
21430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21431 ac_ext=c
21432 ac_cpp='$CPP $CPPFLAGS'
21433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
21442 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
21444 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
21445 for ac_func in _atan2f
21446 do :
21447 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
21448 if test "x$ac_cv_func__atan2f" = x""yes; then :
21449 cat >>confdefs.h <<_ACEOF
21450 #define HAVE__ATAN2F 1
21451 _ACEOF
21454 done
21463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
21464 $as_echo_n "checking for fabsf declaration... " >&6; }
21465 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
21466 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
21467 $as_echo_n "(cached) " >&6
21468 else
21471 ac_ext=cpp
21472 ac_cpp='$CXXCPP $CPPFLAGS'
21473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21478 /* end confdefs.h. */
21479 #include <math.h>
21480 #ifdef HAVE_IEEEFP_H
21481 #include <ieeefp.h>
21482 #endif
21485 main ()
21487 fabsf(0);
21489 return 0;
21491 _ACEOF
21492 if ac_fn_cxx_try_compile "$LINENO"; then :
21493 glibcxx_cv_func_fabsf_use=yes
21494 else
21495 glibcxx_cv_func_fabsf_use=no
21497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21498 ac_ext=c
21499 ac_cpp='$CPP $CPPFLAGS'
21500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
21509 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
21511 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
21512 for ac_func in fabsf
21513 do :
21514 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
21515 if test "x$ac_cv_func_fabsf" = x""yes; then :
21516 cat >>confdefs.h <<_ACEOF
21517 #define HAVE_FABSF 1
21518 _ACEOF
21521 done
21523 else
21525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
21526 $as_echo_n "checking for _fabsf declaration... " >&6; }
21527 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
21528 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
21529 $as_echo_n "(cached) " >&6
21530 else
21533 ac_ext=cpp
21534 ac_cpp='$CXXCPP $CPPFLAGS'
21535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21540 /* end confdefs.h. */
21541 #include <math.h>
21542 #ifdef HAVE_IEEEFP_H
21543 #include <ieeefp.h>
21544 #endif
21547 main ()
21549 _fabsf(0);
21551 return 0;
21553 _ACEOF
21554 if ac_fn_cxx_try_compile "$LINENO"; then :
21555 glibcxx_cv_func__fabsf_use=yes
21556 else
21557 glibcxx_cv_func__fabsf_use=no
21559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21560 ac_ext=c
21561 ac_cpp='$CPP $CPPFLAGS'
21562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
21571 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
21573 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
21574 for ac_func in _fabsf
21575 do :
21576 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
21577 if test "x$ac_cv_func__fabsf" = x""yes; then :
21578 cat >>confdefs.h <<_ACEOF
21579 #define HAVE__FABSF 1
21580 _ACEOF
21583 done
21592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
21593 $as_echo_n "checking for fmodf declaration... " >&6; }
21594 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
21595 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
21596 $as_echo_n "(cached) " >&6
21597 else
21600 ac_ext=cpp
21601 ac_cpp='$CXXCPP $CPPFLAGS'
21602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21607 /* end confdefs.h. */
21608 #include <math.h>
21610 main ()
21612 fmodf(0, 0);
21614 return 0;
21616 _ACEOF
21617 if ac_fn_cxx_try_compile "$LINENO"; then :
21618 glibcxx_cv_func_fmodf_use=yes
21619 else
21620 glibcxx_cv_func_fmodf_use=no
21622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21623 ac_ext=c
21624 ac_cpp='$CPP $CPPFLAGS'
21625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
21634 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
21636 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
21637 for ac_func in fmodf
21638 do :
21639 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
21640 if test "x$ac_cv_func_fmodf" = x""yes; then :
21641 cat >>confdefs.h <<_ACEOF
21642 #define HAVE_FMODF 1
21643 _ACEOF
21646 done
21648 else
21650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
21651 $as_echo_n "checking for _fmodf declaration... " >&6; }
21652 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
21653 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
21654 $as_echo_n "(cached) " >&6
21655 else
21658 ac_ext=cpp
21659 ac_cpp='$CXXCPP $CPPFLAGS'
21660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21665 /* end confdefs.h. */
21666 #include <math.h>
21668 main ()
21670 _fmodf(0, 0);
21672 return 0;
21674 _ACEOF
21675 if ac_fn_cxx_try_compile "$LINENO"; then :
21676 glibcxx_cv_func__fmodf_use=yes
21677 else
21678 glibcxx_cv_func__fmodf_use=no
21680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21681 ac_ext=c
21682 ac_cpp='$CPP $CPPFLAGS'
21683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
21692 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
21694 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
21695 for ac_func in _fmodf
21696 do :
21697 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
21698 if test "x$ac_cv_func__fmodf" = x""yes; then :
21699 cat >>confdefs.h <<_ACEOF
21700 #define HAVE__FMODF 1
21701 _ACEOF
21704 done
21713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
21714 $as_echo_n "checking for frexpf declaration... " >&6; }
21715 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
21716 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
21717 $as_echo_n "(cached) " >&6
21718 else
21721 ac_ext=cpp
21722 ac_cpp='$CXXCPP $CPPFLAGS'
21723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21728 /* end confdefs.h. */
21729 #include <math.h>
21731 main ()
21733 frexpf(0, 0);
21735 return 0;
21737 _ACEOF
21738 if ac_fn_cxx_try_compile "$LINENO"; then :
21739 glibcxx_cv_func_frexpf_use=yes
21740 else
21741 glibcxx_cv_func_frexpf_use=no
21743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21744 ac_ext=c
21745 ac_cpp='$CPP $CPPFLAGS'
21746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
21755 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
21757 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
21758 for ac_func in frexpf
21759 do :
21760 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
21761 if test "x$ac_cv_func_frexpf" = x""yes; then :
21762 cat >>confdefs.h <<_ACEOF
21763 #define HAVE_FREXPF 1
21764 _ACEOF
21767 done
21769 else
21771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
21772 $as_echo_n "checking for _frexpf declaration... " >&6; }
21773 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
21774 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
21775 $as_echo_n "(cached) " >&6
21776 else
21779 ac_ext=cpp
21780 ac_cpp='$CXXCPP $CPPFLAGS'
21781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21786 /* end confdefs.h. */
21787 #include <math.h>
21789 main ()
21791 _frexpf(0, 0);
21793 return 0;
21795 _ACEOF
21796 if ac_fn_cxx_try_compile "$LINENO"; then :
21797 glibcxx_cv_func__frexpf_use=yes
21798 else
21799 glibcxx_cv_func__frexpf_use=no
21801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21802 ac_ext=c
21803 ac_cpp='$CPP $CPPFLAGS'
21804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
21813 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
21815 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
21816 for ac_func in _frexpf
21817 do :
21818 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
21819 if test "x$ac_cv_func__frexpf" = x""yes; then :
21820 cat >>confdefs.h <<_ACEOF
21821 #define HAVE__FREXPF 1
21822 _ACEOF
21825 done
21834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
21835 $as_echo_n "checking for hypotf declaration... " >&6; }
21836 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
21837 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
21838 $as_echo_n "(cached) " >&6
21839 else
21842 ac_ext=cpp
21843 ac_cpp='$CXXCPP $CPPFLAGS'
21844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21849 /* end confdefs.h. */
21850 #include <math.h>
21852 main ()
21854 hypotf(0, 0);
21856 return 0;
21858 _ACEOF
21859 if ac_fn_cxx_try_compile "$LINENO"; then :
21860 glibcxx_cv_func_hypotf_use=yes
21861 else
21862 glibcxx_cv_func_hypotf_use=no
21864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21865 ac_ext=c
21866 ac_cpp='$CPP $CPPFLAGS'
21867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
21876 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
21878 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
21879 for ac_func in hypotf
21880 do :
21881 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
21882 if test "x$ac_cv_func_hypotf" = x""yes; then :
21883 cat >>confdefs.h <<_ACEOF
21884 #define HAVE_HYPOTF 1
21885 _ACEOF
21888 done
21890 else
21892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
21893 $as_echo_n "checking for _hypotf declaration... " >&6; }
21894 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
21895 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
21896 $as_echo_n "(cached) " >&6
21897 else
21900 ac_ext=cpp
21901 ac_cpp='$CXXCPP $CPPFLAGS'
21902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21907 /* end confdefs.h. */
21908 #include <math.h>
21910 main ()
21912 _hypotf(0, 0);
21914 return 0;
21916 _ACEOF
21917 if ac_fn_cxx_try_compile "$LINENO"; then :
21918 glibcxx_cv_func__hypotf_use=yes
21919 else
21920 glibcxx_cv_func__hypotf_use=no
21922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21923 ac_ext=c
21924 ac_cpp='$CPP $CPPFLAGS'
21925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
21934 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
21936 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
21937 for ac_func in _hypotf
21938 do :
21939 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
21940 if test "x$ac_cv_func__hypotf" = x""yes; then :
21941 cat >>confdefs.h <<_ACEOF
21942 #define HAVE__HYPOTF 1
21943 _ACEOF
21946 done
21955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
21956 $as_echo_n "checking for ldexpf declaration... " >&6; }
21957 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
21958 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
21959 $as_echo_n "(cached) " >&6
21960 else
21963 ac_ext=cpp
21964 ac_cpp='$CXXCPP $CPPFLAGS'
21965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21970 /* end confdefs.h. */
21971 #include <math.h>
21973 main ()
21975 ldexpf(0, 0);
21977 return 0;
21979 _ACEOF
21980 if ac_fn_cxx_try_compile "$LINENO"; then :
21981 glibcxx_cv_func_ldexpf_use=yes
21982 else
21983 glibcxx_cv_func_ldexpf_use=no
21985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21986 ac_ext=c
21987 ac_cpp='$CPP $CPPFLAGS'
21988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
21997 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
21999 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
22000 for ac_func in ldexpf
22001 do :
22002 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
22003 if test "x$ac_cv_func_ldexpf" = x""yes; then :
22004 cat >>confdefs.h <<_ACEOF
22005 #define HAVE_LDEXPF 1
22006 _ACEOF
22009 done
22011 else
22013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
22014 $as_echo_n "checking for _ldexpf declaration... " >&6; }
22015 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
22016 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
22017 $as_echo_n "(cached) " >&6
22018 else
22021 ac_ext=cpp
22022 ac_cpp='$CXXCPP $CPPFLAGS'
22023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22028 /* end confdefs.h. */
22029 #include <math.h>
22031 main ()
22033 _ldexpf(0, 0);
22035 return 0;
22037 _ACEOF
22038 if ac_fn_cxx_try_compile "$LINENO"; then :
22039 glibcxx_cv_func__ldexpf_use=yes
22040 else
22041 glibcxx_cv_func__ldexpf_use=no
22043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22044 ac_ext=c
22045 ac_cpp='$CPP $CPPFLAGS'
22046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22055 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22057 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22058 for ac_func in _ldexpf
22059 do :
22060 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22061 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22062 cat >>confdefs.h <<_ACEOF
22063 #define HAVE__LDEXPF 1
22064 _ACEOF
22067 done
22076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22077 $as_echo_n "checking for logf declaration... " >&6; }
22078 if test x${glibcxx_cv_func_logf_use+set} != xset; then
22079 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22080 $as_echo_n "(cached) " >&6
22081 else
22084 ac_ext=cpp
22085 ac_cpp='$CXXCPP $CPPFLAGS'
22086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22091 /* end confdefs.h. */
22092 #include <math.h>
22093 #ifdef HAVE_IEEEFP_H
22094 #include <ieeefp.h>
22095 #endif
22098 main ()
22100 logf(0);
22102 return 0;
22104 _ACEOF
22105 if ac_fn_cxx_try_compile "$LINENO"; then :
22106 glibcxx_cv_func_logf_use=yes
22107 else
22108 glibcxx_cv_func_logf_use=no
22110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22111 ac_ext=c
22112 ac_cpp='$CPP $CPPFLAGS'
22113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22122 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22124 if test x$glibcxx_cv_func_logf_use = x"yes"; then
22125 for ac_func in logf
22126 do :
22127 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22128 if test "x$ac_cv_func_logf" = x""yes; then :
22129 cat >>confdefs.h <<_ACEOF
22130 #define HAVE_LOGF 1
22131 _ACEOF
22134 done
22136 else
22138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22139 $as_echo_n "checking for _logf declaration... " >&6; }
22140 if test x${glibcxx_cv_func__logf_use+set} != xset; then
22141 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22142 $as_echo_n "(cached) " >&6
22143 else
22146 ac_ext=cpp
22147 ac_cpp='$CXXCPP $CPPFLAGS'
22148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22153 /* end confdefs.h. */
22154 #include <math.h>
22155 #ifdef HAVE_IEEEFP_H
22156 #include <ieeefp.h>
22157 #endif
22160 main ()
22162 _logf(0);
22164 return 0;
22166 _ACEOF
22167 if ac_fn_cxx_try_compile "$LINENO"; then :
22168 glibcxx_cv_func__logf_use=yes
22169 else
22170 glibcxx_cv_func__logf_use=no
22172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22173 ac_ext=c
22174 ac_cpp='$CPP $CPPFLAGS'
22175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
22184 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22186 if test x$glibcxx_cv_func__logf_use = x"yes"; then
22187 for ac_func in _logf
22188 do :
22189 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
22190 if test "x$ac_cv_func__logf" = x""yes; then :
22191 cat >>confdefs.h <<_ACEOF
22192 #define HAVE__LOGF 1
22193 _ACEOF
22196 done
22205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
22206 $as_echo_n "checking for log10f declaration... " >&6; }
22207 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
22208 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
22209 $as_echo_n "(cached) " >&6
22210 else
22213 ac_ext=cpp
22214 ac_cpp='$CXXCPP $CPPFLAGS'
22215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22220 /* end confdefs.h. */
22221 #include <math.h>
22222 #ifdef HAVE_IEEEFP_H
22223 #include <ieeefp.h>
22224 #endif
22227 main ()
22229 log10f(0);
22231 return 0;
22233 _ACEOF
22234 if ac_fn_cxx_try_compile "$LINENO"; then :
22235 glibcxx_cv_func_log10f_use=yes
22236 else
22237 glibcxx_cv_func_log10f_use=no
22239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22240 ac_ext=c
22241 ac_cpp='$CPP $CPPFLAGS'
22242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
22251 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
22253 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
22254 for ac_func in log10f
22255 do :
22256 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
22257 if test "x$ac_cv_func_log10f" = x""yes; then :
22258 cat >>confdefs.h <<_ACEOF
22259 #define HAVE_LOG10F 1
22260 _ACEOF
22263 done
22265 else
22267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
22268 $as_echo_n "checking for _log10f declaration... " >&6; }
22269 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
22270 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
22271 $as_echo_n "(cached) " >&6
22272 else
22275 ac_ext=cpp
22276 ac_cpp='$CXXCPP $CPPFLAGS'
22277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22282 /* end confdefs.h. */
22283 #include <math.h>
22284 #ifdef HAVE_IEEEFP_H
22285 #include <ieeefp.h>
22286 #endif
22289 main ()
22291 _log10f(0);
22293 return 0;
22295 _ACEOF
22296 if ac_fn_cxx_try_compile "$LINENO"; then :
22297 glibcxx_cv_func__log10f_use=yes
22298 else
22299 glibcxx_cv_func__log10f_use=no
22301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22302 ac_ext=c
22303 ac_cpp='$CPP $CPPFLAGS'
22304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
22313 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
22315 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
22316 for ac_func in _log10f
22317 do :
22318 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
22319 if test "x$ac_cv_func__log10f" = x""yes; then :
22320 cat >>confdefs.h <<_ACEOF
22321 #define HAVE__LOG10F 1
22322 _ACEOF
22325 done
22334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
22335 $as_echo_n "checking for modff declaration... " >&6; }
22336 if test x${glibcxx_cv_func_modff_use+set} != xset; then
22337 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
22338 $as_echo_n "(cached) " >&6
22339 else
22342 ac_ext=cpp
22343 ac_cpp='$CXXCPP $CPPFLAGS'
22344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22349 /* end confdefs.h. */
22350 #include <math.h>
22352 main ()
22354 modff(0, 0);
22356 return 0;
22358 _ACEOF
22359 if ac_fn_cxx_try_compile "$LINENO"; then :
22360 glibcxx_cv_func_modff_use=yes
22361 else
22362 glibcxx_cv_func_modff_use=no
22364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22365 ac_ext=c
22366 ac_cpp='$CPP $CPPFLAGS'
22367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
22376 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
22378 if test x$glibcxx_cv_func_modff_use = x"yes"; then
22379 for ac_func in modff
22380 do :
22381 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
22382 if test "x$ac_cv_func_modff" = x""yes; then :
22383 cat >>confdefs.h <<_ACEOF
22384 #define HAVE_MODFF 1
22385 _ACEOF
22388 done
22390 else
22392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
22393 $as_echo_n "checking for _modff declaration... " >&6; }
22394 if test x${glibcxx_cv_func__modff_use+set} != xset; then
22395 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
22396 $as_echo_n "(cached) " >&6
22397 else
22400 ac_ext=cpp
22401 ac_cpp='$CXXCPP $CPPFLAGS'
22402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22407 /* end confdefs.h. */
22408 #include <math.h>
22410 main ()
22412 _modff(0, 0);
22414 return 0;
22416 _ACEOF
22417 if ac_fn_cxx_try_compile "$LINENO"; then :
22418 glibcxx_cv_func__modff_use=yes
22419 else
22420 glibcxx_cv_func__modff_use=no
22422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22423 ac_ext=c
22424 ac_cpp='$CPP $CPPFLAGS'
22425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
22434 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
22436 if test x$glibcxx_cv_func__modff_use = x"yes"; then
22437 for ac_func in _modff
22438 do :
22439 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
22440 if test "x$ac_cv_func__modff" = x""yes; then :
22441 cat >>confdefs.h <<_ACEOF
22442 #define HAVE__MODFF 1
22443 _ACEOF
22446 done
22455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
22456 $as_echo_n "checking for modf declaration... " >&6; }
22457 if test x${glibcxx_cv_func_modf_use+set} != xset; then
22458 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
22459 $as_echo_n "(cached) " >&6
22460 else
22463 ac_ext=cpp
22464 ac_cpp='$CXXCPP $CPPFLAGS'
22465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22470 /* end confdefs.h. */
22471 #include <math.h>
22473 main ()
22475 modf(0, 0);
22477 return 0;
22479 _ACEOF
22480 if ac_fn_cxx_try_compile "$LINENO"; then :
22481 glibcxx_cv_func_modf_use=yes
22482 else
22483 glibcxx_cv_func_modf_use=no
22485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22486 ac_ext=c
22487 ac_cpp='$CPP $CPPFLAGS'
22488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
22497 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
22499 if test x$glibcxx_cv_func_modf_use = x"yes"; then
22500 for ac_func in modf
22501 do :
22502 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
22503 if test "x$ac_cv_func_modf" = x""yes; then :
22504 cat >>confdefs.h <<_ACEOF
22505 #define HAVE_MODF 1
22506 _ACEOF
22509 done
22511 else
22513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
22514 $as_echo_n "checking for _modf declaration... " >&6; }
22515 if test x${glibcxx_cv_func__modf_use+set} != xset; then
22516 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
22517 $as_echo_n "(cached) " >&6
22518 else
22521 ac_ext=cpp
22522 ac_cpp='$CXXCPP $CPPFLAGS'
22523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22528 /* end confdefs.h. */
22529 #include <math.h>
22531 main ()
22533 _modf(0, 0);
22535 return 0;
22537 _ACEOF
22538 if ac_fn_cxx_try_compile "$LINENO"; then :
22539 glibcxx_cv_func__modf_use=yes
22540 else
22541 glibcxx_cv_func__modf_use=no
22543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22544 ac_ext=c
22545 ac_cpp='$CPP $CPPFLAGS'
22546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
22555 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
22557 if test x$glibcxx_cv_func__modf_use = x"yes"; then
22558 for ac_func in _modf
22559 do :
22560 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
22561 if test "x$ac_cv_func__modf" = x""yes; then :
22562 cat >>confdefs.h <<_ACEOF
22563 #define HAVE__MODF 1
22564 _ACEOF
22567 done
22576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
22577 $as_echo_n "checking for powf declaration... " >&6; }
22578 if test x${glibcxx_cv_func_powf_use+set} != xset; then
22579 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
22580 $as_echo_n "(cached) " >&6
22581 else
22584 ac_ext=cpp
22585 ac_cpp='$CXXCPP $CPPFLAGS'
22586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22591 /* end confdefs.h. */
22592 #include <math.h>
22594 main ()
22596 powf(0, 0);
22598 return 0;
22600 _ACEOF
22601 if ac_fn_cxx_try_compile "$LINENO"; then :
22602 glibcxx_cv_func_powf_use=yes
22603 else
22604 glibcxx_cv_func_powf_use=no
22606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22607 ac_ext=c
22608 ac_cpp='$CPP $CPPFLAGS'
22609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
22618 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
22620 if test x$glibcxx_cv_func_powf_use = x"yes"; then
22621 for ac_func in powf
22622 do :
22623 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
22624 if test "x$ac_cv_func_powf" = x""yes; then :
22625 cat >>confdefs.h <<_ACEOF
22626 #define HAVE_POWF 1
22627 _ACEOF
22630 done
22632 else
22634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
22635 $as_echo_n "checking for _powf declaration... " >&6; }
22636 if test x${glibcxx_cv_func__powf_use+set} != xset; then
22637 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
22638 $as_echo_n "(cached) " >&6
22639 else
22642 ac_ext=cpp
22643 ac_cpp='$CXXCPP $CPPFLAGS'
22644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22649 /* end confdefs.h. */
22650 #include <math.h>
22652 main ()
22654 _powf(0, 0);
22656 return 0;
22658 _ACEOF
22659 if ac_fn_cxx_try_compile "$LINENO"; then :
22660 glibcxx_cv_func__powf_use=yes
22661 else
22662 glibcxx_cv_func__powf_use=no
22664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22665 ac_ext=c
22666 ac_cpp='$CPP $CPPFLAGS'
22667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
22676 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
22678 if test x$glibcxx_cv_func__powf_use = x"yes"; then
22679 for ac_func in _powf
22680 do :
22681 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
22682 if test "x$ac_cv_func__powf" = x""yes; then :
22683 cat >>confdefs.h <<_ACEOF
22684 #define HAVE__POWF 1
22685 _ACEOF
22688 done
22697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
22698 $as_echo_n "checking for sqrtf declaration... " >&6; }
22699 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
22700 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
22701 $as_echo_n "(cached) " >&6
22702 else
22705 ac_ext=cpp
22706 ac_cpp='$CXXCPP $CPPFLAGS'
22707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22712 /* end confdefs.h. */
22713 #include <math.h>
22714 #ifdef HAVE_IEEEFP_H
22715 #include <ieeefp.h>
22716 #endif
22719 main ()
22721 sqrtf(0);
22723 return 0;
22725 _ACEOF
22726 if ac_fn_cxx_try_compile "$LINENO"; then :
22727 glibcxx_cv_func_sqrtf_use=yes
22728 else
22729 glibcxx_cv_func_sqrtf_use=no
22731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22732 ac_ext=c
22733 ac_cpp='$CPP $CPPFLAGS'
22734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
22743 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
22745 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
22746 for ac_func in sqrtf
22747 do :
22748 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
22749 if test "x$ac_cv_func_sqrtf" = x""yes; then :
22750 cat >>confdefs.h <<_ACEOF
22751 #define HAVE_SQRTF 1
22752 _ACEOF
22755 done
22757 else
22759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
22760 $as_echo_n "checking for _sqrtf declaration... " >&6; }
22761 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
22762 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
22763 $as_echo_n "(cached) " >&6
22764 else
22767 ac_ext=cpp
22768 ac_cpp='$CXXCPP $CPPFLAGS'
22769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22774 /* end confdefs.h. */
22775 #include <math.h>
22776 #ifdef HAVE_IEEEFP_H
22777 #include <ieeefp.h>
22778 #endif
22781 main ()
22783 _sqrtf(0);
22785 return 0;
22787 _ACEOF
22788 if ac_fn_cxx_try_compile "$LINENO"; then :
22789 glibcxx_cv_func__sqrtf_use=yes
22790 else
22791 glibcxx_cv_func__sqrtf_use=no
22793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22794 ac_ext=c
22795 ac_cpp='$CPP $CPPFLAGS'
22796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
22805 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
22807 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
22808 for ac_func in _sqrtf
22809 do :
22810 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
22811 if test "x$ac_cv_func__sqrtf" = x""yes; then :
22812 cat >>confdefs.h <<_ACEOF
22813 #define HAVE__SQRTF 1
22814 _ACEOF
22817 done
22826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
22827 $as_echo_n "checking for sincosf declaration... " >&6; }
22828 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
22829 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
22830 $as_echo_n "(cached) " >&6
22831 else
22834 ac_ext=cpp
22835 ac_cpp='$CXXCPP $CPPFLAGS'
22836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22841 /* end confdefs.h. */
22842 #include <math.h>
22844 main ()
22846 sincosf(0, 0, 0);
22848 return 0;
22850 _ACEOF
22851 if ac_fn_cxx_try_compile "$LINENO"; then :
22852 glibcxx_cv_func_sincosf_use=yes
22853 else
22854 glibcxx_cv_func_sincosf_use=no
22856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22857 ac_ext=c
22858 ac_cpp='$CPP $CPPFLAGS'
22859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
22868 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
22870 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
22871 for ac_func in sincosf
22872 do :
22873 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
22874 if test "x$ac_cv_func_sincosf" = x""yes; then :
22875 cat >>confdefs.h <<_ACEOF
22876 #define HAVE_SINCOSF 1
22877 _ACEOF
22880 done
22882 else
22884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
22885 $as_echo_n "checking for _sincosf declaration... " >&6; }
22886 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
22887 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
22888 $as_echo_n "(cached) " >&6
22889 else
22892 ac_ext=cpp
22893 ac_cpp='$CXXCPP $CPPFLAGS'
22894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22899 /* end confdefs.h. */
22900 #include <math.h>
22902 main ()
22904 _sincosf(0, 0, 0);
22906 return 0;
22908 _ACEOF
22909 if ac_fn_cxx_try_compile "$LINENO"; then :
22910 glibcxx_cv_func__sincosf_use=yes
22911 else
22912 glibcxx_cv_func__sincosf_use=no
22914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22915 ac_ext=c
22916 ac_cpp='$CPP $CPPFLAGS'
22917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
22926 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
22928 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
22929 for ac_func in _sincosf
22930 do :
22931 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
22932 if test "x$ac_cv_func__sincosf" = x""yes; then :
22933 cat >>confdefs.h <<_ACEOF
22934 #define HAVE__SINCOSF 1
22935 _ACEOF
22938 done
22947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
22948 $as_echo_n "checking for finitef declaration... " >&6; }
22949 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
22950 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
22951 $as_echo_n "(cached) " >&6
22952 else
22955 ac_ext=cpp
22956 ac_cpp='$CXXCPP $CPPFLAGS'
22957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22962 /* end confdefs.h. */
22963 #include <math.h>
22964 #ifdef HAVE_IEEEFP_H
22965 #include <ieeefp.h>
22966 #endif
22969 main ()
22971 finitef(0);
22973 return 0;
22975 _ACEOF
22976 if ac_fn_cxx_try_compile "$LINENO"; then :
22977 glibcxx_cv_func_finitef_use=yes
22978 else
22979 glibcxx_cv_func_finitef_use=no
22981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22982 ac_ext=c
22983 ac_cpp='$CPP $CPPFLAGS'
22984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
22993 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
22995 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
22996 for ac_func in finitef
22997 do :
22998 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
22999 if test "x$ac_cv_func_finitef" = x""yes; then :
23000 cat >>confdefs.h <<_ACEOF
23001 #define HAVE_FINITEF 1
23002 _ACEOF
23005 done
23007 else
23009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
23010 $as_echo_n "checking for _finitef declaration... " >&6; }
23011 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
23012 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
23013 $as_echo_n "(cached) " >&6
23014 else
23017 ac_ext=cpp
23018 ac_cpp='$CXXCPP $CPPFLAGS'
23019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23024 /* end confdefs.h. */
23025 #include <math.h>
23026 #ifdef HAVE_IEEEFP_H
23027 #include <ieeefp.h>
23028 #endif
23031 main ()
23033 _finitef(0);
23035 return 0;
23037 _ACEOF
23038 if ac_fn_cxx_try_compile "$LINENO"; then :
23039 glibcxx_cv_func__finitef_use=yes
23040 else
23041 glibcxx_cv_func__finitef_use=no
23043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23044 ac_ext=c
23045 ac_cpp='$CPP $CPPFLAGS'
23046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23055 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23057 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23058 for ac_func in _finitef
23059 do :
23060 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23061 if test "x$ac_cv_func__finitef" = x""yes; then :
23062 cat >>confdefs.h <<_ACEOF
23063 #define HAVE__FINITEF 1
23064 _ACEOF
23067 done
23076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23077 $as_echo_n "checking for long double trig functions... " >&6; }
23078 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23079 $as_echo_n "(cached) " >&6
23080 else
23083 ac_ext=cpp
23084 ac_cpp='$CXXCPP $CPPFLAGS'
23085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23090 /* end confdefs.h. */
23091 #include <math.h>
23093 main ()
23095 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23097 return 0;
23099 _ACEOF
23100 if ac_fn_cxx_try_compile "$LINENO"; then :
23101 glibcxx_cv_func_long_double_trig_use=yes
23102 else
23103 glibcxx_cv_func_long_double_trig_use=no
23105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23106 ac_ext=c
23107 ac_cpp='$CPP $CPPFLAGS'
23108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23115 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23116 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23117 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23118 do :
23119 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23120 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23121 eval as_val=\$$as_ac_var
23122 if test "x$as_val" = x""yes; then :
23123 cat >>confdefs.h <<_ACEOF
23124 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23125 _ACEOF
23128 done
23130 else
23131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23132 $as_echo_n "checking for _long double trig functions... " >&6; }
23133 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23134 $as_echo_n "(cached) " >&6
23135 else
23138 ac_ext=cpp
23139 ac_cpp='$CXXCPP $CPPFLAGS'
23140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23145 /* end confdefs.h. */
23146 #include <math.h>
23148 main ()
23150 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23152 return 0;
23154 _ACEOF
23155 if ac_fn_cxx_try_compile "$LINENO"; then :
23156 glibcxx_cv_func__long_double_trig_use=yes
23157 else
23158 glibcxx_cv_func__long_double_trig_use=no
23160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23161 ac_ext=c
23162 ac_cpp='$CPP $CPPFLAGS'
23163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23170 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23171 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23172 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23173 do :
23174 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23175 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23176 eval as_val=\$$as_ac_var
23177 if test "x$as_val" = x""yes; then :
23178 cat >>confdefs.h <<_ACEOF
23179 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23180 _ACEOF
23183 done
23192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
23193 $as_echo_n "checking for long double round functions... " >&6; }
23194 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
23195 $as_echo_n "(cached) " >&6
23196 else
23199 ac_ext=cpp
23200 ac_cpp='$CXXCPP $CPPFLAGS'
23201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23206 /* end confdefs.h. */
23207 #include <math.h>
23209 main ()
23211 ceill (0); floorl (0);
23213 return 0;
23215 _ACEOF
23216 if ac_fn_cxx_try_compile "$LINENO"; then :
23217 glibcxx_cv_func_long_double_round_use=yes
23218 else
23219 glibcxx_cv_func_long_double_round_use=no
23221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23222 ac_ext=c
23223 ac_cpp='$CPP $CPPFLAGS'
23224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
23231 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
23232 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
23233 for ac_func in ceill floorl
23234 do :
23235 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23236 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23237 eval as_val=\$$as_ac_var
23238 if test "x$as_val" = x""yes; then :
23239 cat >>confdefs.h <<_ACEOF
23240 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23241 _ACEOF
23244 done
23246 else
23247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
23248 $as_echo_n "checking for _long double round functions... " >&6; }
23249 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
23250 $as_echo_n "(cached) " >&6
23251 else
23254 ac_ext=cpp
23255 ac_cpp='$CXXCPP $CPPFLAGS'
23256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23261 /* end confdefs.h. */
23262 #include <math.h>
23264 main ()
23266 _ceill (0); _floorl (0);
23268 return 0;
23270 _ACEOF
23271 if ac_fn_cxx_try_compile "$LINENO"; then :
23272 glibcxx_cv_func__long_double_round_use=yes
23273 else
23274 glibcxx_cv_func__long_double_round_use=no
23276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23277 ac_ext=c
23278 ac_cpp='$CPP $CPPFLAGS'
23279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
23286 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
23287 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
23288 for ac_func in _ceill _floorl
23289 do :
23290 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23291 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23292 eval as_val=\$$as_ac_var
23293 if test "x$as_val" = x""yes; then :
23294 cat >>confdefs.h <<_ACEOF
23295 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23296 _ACEOF
23299 done
23309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
23310 $as_echo_n "checking for isnanl declaration... " >&6; }
23311 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
23312 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
23313 $as_echo_n "(cached) " >&6
23314 else
23317 ac_ext=cpp
23318 ac_cpp='$CXXCPP $CPPFLAGS'
23319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23324 /* end confdefs.h. */
23325 #include <math.h>
23326 #ifdef HAVE_IEEEFP_H
23327 #include <ieeefp.h>
23328 #endif
23331 main ()
23333 isnanl(0);
23335 return 0;
23337 _ACEOF
23338 if ac_fn_cxx_try_compile "$LINENO"; then :
23339 glibcxx_cv_func_isnanl_use=yes
23340 else
23341 glibcxx_cv_func_isnanl_use=no
23343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23344 ac_ext=c
23345 ac_cpp='$CPP $CPPFLAGS'
23346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
23355 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
23357 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
23358 for ac_func in isnanl
23359 do :
23360 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
23361 if test "x$ac_cv_func_isnanl" = x""yes; then :
23362 cat >>confdefs.h <<_ACEOF
23363 #define HAVE_ISNANL 1
23364 _ACEOF
23367 done
23369 else
23371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
23372 $as_echo_n "checking for _isnanl declaration... " >&6; }
23373 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
23374 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
23375 $as_echo_n "(cached) " >&6
23376 else
23379 ac_ext=cpp
23380 ac_cpp='$CXXCPP $CPPFLAGS'
23381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23386 /* end confdefs.h. */
23387 #include <math.h>
23388 #ifdef HAVE_IEEEFP_H
23389 #include <ieeefp.h>
23390 #endif
23393 main ()
23395 _isnanl(0);
23397 return 0;
23399 _ACEOF
23400 if ac_fn_cxx_try_compile "$LINENO"; then :
23401 glibcxx_cv_func__isnanl_use=yes
23402 else
23403 glibcxx_cv_func__isnanl_use=no
23405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23406 ac_ext=c
23407 ac_cpp='$CPP $CPPFLAGS'
23408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
23417 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
23419 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
23420 for ac_func in _isnanl
23421 do :
23422 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
23423 if test "x$ac_cv_func__isnanl" = x""yes; then :
23424 cat >>confdefs.h <<_ACEOF
23425 #define HAVE__ISNANL 1
23426 _ACEOF
23429 done
23438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
23439 $as_echo_n "checking for isinfl declaration... " >&6; }
23440 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
23441 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
23442 $as_echo_n "(cached) " >&6
23443 else
23446 ac_ext=cpp
23447 ac_cpp='$CXXCPP $CPPFLAGS'
23448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23453 /* end confdefs.h. */
23454 #include <math.h>
23455 #ifdef HAVE_IEEEFP_H
23456 #include <ieeefp.h>
23457 #endif
23460 main ()
23462 isinfl(0);
23464 return 0;
23466 _ACEOF
23467 if ac_fn_cxx_try_compile "$LINENO"; then :
23468 glibcxx_cv_func_isinfl_use=yes
23469 else
23470 glibcxx_cv_func_isinfl_use=no
23472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23473 ac_ext=c
23474 ac_cpp='$CPP $CPPFLAGS'
23475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
23484 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
23486 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
23487 for ac_func in isinfl
23488 do :
23489 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
23490 if test "x$ac_cv_func_isinfl" = x""yes; then :
23491 cat >>confdefs.h <<_ACEOF
23492 #define HAVE_ISINFL 1
23493 _ACEOF
23496 done
23498 else
23500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
23501 $as_echo_n "checking for _isinfl declaration... " >&6; }
23502 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
23503 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
23504 $as_echo_n "(cached) " >&6
23505 else
23508 ac_ext=cpp
23509 ac_cpp='$CXXCPP $CPPFLAGS'
23510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23515 /* end confdefs.h. */
23516 #include <math.h>
23517 #ifdef HAVE_IEEEFP_H
23518 #include <ieeefp.h>
23519 #endif
23522 main ()
23524 _isinfl(0);
23526 return 0;
23528 _ACEOF
23529 if ac_fn_cxx_try_compile "$LINENO"; then :
23530 glibcxx_cv_func__isinfl_use=yes
23531 else
23532 glibcxx_cv_func__isinfl_use=no
23534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23535 ac_ext=c
23536 ac_cpp='$CPP $CPPFLAGS'
23537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
23546 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
23548 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
23549 for ac_func in _isinfl
23550 do :
23551 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
23552 if test "x$ac_cv_func__isinfl" = x""yes; then :
23553 cat >>confdefs.h <<_ACEOF
23554 #define HAVE__ISINFL 1
23555 _ACEOF
23558 done
23567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
23568 $as_echo_n "checking for atan2l declaration... " >&6; }
23569 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
23570 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
23571 $as_echo_n "(cached) " >&6
23572 else
23575 ac_ext=cpp
23576 ac_cpp='$CXXCPP $CPPFLAGS'
23577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23582 /* end confdefs.h. */
23583 #include <math.h>
23585 main ()
23587 atan2l(0, 0);
23589 return 0;
23591 _ACEOF
23592 if ac_fn_cxx_try_compile "$LINENO"; then :
23593 glibcxx_cv_func_atan2l_use=yes
23594 else
23595 glibcxx_cv_func_atan2l_use=no
23597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23598 ac_ext=c
23599 ac_cpp='$CPP $CPPFLAGS'
23600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
23609 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
23611 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
23612 for ac_func in atan2l
23613 do :
23614 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
23615 if test "x$ac_cv_func_atan2l" = x""yes; then :
23616 cat >>confdefs.h <<_ACEOF
23617 #define HAVE_ATAN2L 1
23618 _ACEOF
23621 done
23623 else
23625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
23626 $as_echo_n "checking for _atan2l declaration... " >&6; }
23627 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
23628 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
23629 $as_echo_n "(cached) " >&6
23630 else
23633 ac_ext=cpp
23634 ac_cpp='$CXXCPP $CPPFLAGS'
23635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23640 /* end confdefs.h. */
23641 #include <math.h>
23643 main ()
23645 _atan2l(0, 0);
23647 return 0;
23649 _ACEOF
23650 if ac_fn_cxx_try_compile "$LINENO"; then :
23651 glibcxx_cv_func__atan2l_use=yes
23652 else
23653 glibcxx_cv_func__atan2l_use=no
23655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23656 ac_ext=c
23657 ac_cpp='$CPP $CPPFLAGS'
23658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
23667 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
23669 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
23670 for ac_func in _atan2l
23671 do :
23672 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
23673 if test "x$ac_cv_func__atan2l" = x""yes; then :
23674 cat >>confdefs.h <<_ACEOF
23675 #define HAVE__ATAN2L 1
23676 _ACEOF
23679 done
23688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
23689 $as_echo_n "checking for expl declaration... " >&6; }
23690 if test x${glibcxx_cv_func_expl_use+set} != xset; then
23691 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
23692 $as_echo_n "(cached) " >&6
23693 else
23696 ac_ext=cpp
23697 ac_cpp='$CXXCPP $CPPFLAGS'
23698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23703 /* end confdefs.h. */
23704 #include <math.h>
23705 #ifdef HAVE_IEEEFP_H
23706 #include <ieeefp.h>
23707 #endif
23710 main ()
23712 expl(0);
23714 return 0;
23716 _ACEOF
23717 if ac_fn_cxx_try_compile "$LINENO"; then :
23718 glibcxx_cv_func_expl_use=yes
23719 else
23720 glibcxx_cv_func_expl_use=no
23722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23723 ac_ext=c
23724 ac_cpp='$CPP $CPPFLAGS'
23725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
23734 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
23736 if test x$glibcxx_cv_func_expl_use = x"yes"; then
23737 for ac_func in expl
23738 do :
23739 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
23740 if test "x$ac_cv_func_expl" = x""yes; then :
23741 cat >>confdefs.h <<_ACEOF
23742 #define HAVE_EXPL 1
23743 _ACEOF
23746 done
23748 else
23750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
23751 $as_echo_n "checking for _expl declaration... " >&6; }
23752 if test x${glibcxx_cv_func__expl_use+set} != xset; then
23753 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
23754 $as_echo_n "(cached) " >&6
23755 else
23758 ac_ext=cpp
23759 ac_cpp='$CXXCPP $CPPFLAGS'
23760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23765 /* end confdefs.h. */
23766 #include <math.h>
23767 #ifdef HAVE_IEEEFP_H
23768 #include <ieeefp.h>
23769 #endif
23772 main ()
23774 _expl(0);
23776 return 0;
23778 _ACEOF
23779 if ac_fn_cxx_try_compile "$LINENO"; then :
23780 glibcxx_cv_func__expl_use=yes
23781 else
23782 glibcxx_cv_func__expl_use=no
23784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23785 ac_ext=c
23786 ac_cpp='$CPP $CPPFLAGS'
23787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
23796 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
23798 if test x$glibcxx_cv_func__expl_use = x"yes"; then
23799 for ac_func in _expl
23800 do :
23801 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
23802 if test "x$ac_cv_func__expl" = x""yes; then :
23803 cat >>confdefs.h <<_ACEOF
23804 #define HAVE__EXPL 1
23805 _ACEOF
23808 done
23817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
23818 $as_echo_n "checking for fabsl declaration... " >&6; }
23819 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
23820 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
23821 $as_echo_n "(cached) " >&6
23822 else
23825 ac_ext=cpp
23826 ac_cpp='$CXXCPP $CPPFLAGS'
23827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23832 /* end confdefs.h. */
23833 #include <math.h>
23834 #ifdef HAVE_IEEEFP_H
23835 #include <ieeefp.h>
23836 #endif
23839 main ()
23841 fabsl(0);
23843 return 0;
23845 _ACEOF
23846 if ac_fn_cxx_try_compile "$LINENO"; then :
23847 glibcxx_cv_func_fabsl_use=yes
23848 else
23849 glibcxx_cv_func_fabsl_use=no
23851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23852 ac_ext=c
23853 ac_cpp='$CPP $CPPFLAGS'
23854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
23863 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
23865 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
23866 for ac_func in fabsl
23867 do :
23868 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
23869 if test "x$ac_cv_func_fabsl" = x""yes; then :
23870 cat >>confdefs.h <<_ACEOF
23871 #define HAVE_FABSL 1
23872 _ACEOF
23875 done
23877 else
23879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
23880 $as_echo_n "checking for _fabsl declaration... " >&6; }
23881 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
23882 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
23883 $as_echo_n "(cached) " >&6
23884 else
23887 ac_ext=cpp
23888 ac_cpp='$CXXCPP $CPPFLAGS'
23889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23894 /* end confdefs.h. */
23895 #include <math.h>
23896 #ifdef HAVE_IEEEFP_H
23897 #include <ieeefp.h>
23898 #endif
23901 main ()
23903 _fabsl(0);
23905 return 0;
23907 _ACEOF
23908 if ac_fn_cxx_try_compile "$LINENO"; then :
23909 glibcxx_cv_func__fabsl_use=yes
23910 else
23911 glibcxx_cv_func__fabsl_use=no
23913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23914 ac_ext=c
23915 ac_cpp='$CPP $CPPFLAGS'
23916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
23925 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
23927 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
23928 for ac_func in _fabsl
23929 do :
23930 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
23931 if test "x$ac_cv_func__fabsl" = x""yes; then :
23932 cat >>confdefs.h <<_ACEOF
23933 #define HAVE__FABSL 1
23934 _ACEOF
23937 done
23946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
23947 $as_echo_n "checking for fmodl declaration... " >&6; }
23948 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
23949 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
23950 $as_echo_n "(cached) " >&6
23951 else
23954 ac_ext=cpp
23955 ac_cpp='$CXXCPP $CPPFLAGS'
23956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23961 /* end confdefs.h. */
23962 #include <math.h>
23964 main ()
23966 fmodl(0, 0);
23968 return 0;
23970 _ACEOF
23971 if ac_fn_cxx_try_compile "$LINENO"; then :
23972 glibcxx_cv_func_fmodl_use=yes
23973 else
23974 glibcxx_cv_func_fmodl_use=no
23976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23977 ac_ext=c
23978 ac_cpp='$CPP $CPPFLAGS'
23979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
23988 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
23990 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
23991 for ac_func in fmodl
23992 do :
23993 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
23994 if test "x$ac_cv_func_fmodl" = x""yes; then :
23995 cat >>confdefs.h <<_ACEOF
23996 #define HAVE_FMODL 1
23997 _ACEOF
24000 done
24002 else
24004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
24005 $as_echo_n "checking for _fmodl declaration... " >&6; }
24006 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
24007 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
24008 $as_echo_n "(cached) " >&6
24009 else
24012 ac_ext=cpp
24013 ac_cpp='$CXXCPP $CPPFLAGS'
24014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24019 /* end confdefs.h. */
24020 #include <math.h>
24022 main ()
24024 _fmodl(0, 0);
24026 return 0;
24028 _ACEOF
24029 if ac_fn_cxx_try_compile "$LINENO"; then :
24030 glibcxx_cv_func__fmodl_use=yes
24031 else
24032 glibcxx_cv_func__fmodl_use=no
24034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24035 ac_ext=c
24036 ac_cpp='$CPP $CPPFLAGS'
24037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24046 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24048 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24049 for ac_func in _fmodl
24050 do :
24051 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24052 if test "x$ac_cv_func__fmodl" = x""yes; then :
24053 cat >>confdefs.h <<_ACEOF
24054 #define HAVE__FMODL 1
24055 _ACEOF
24058 done
24067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24068 $as_echo_n "checking for frexpl declaration... " >&6; }
24069 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24070 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24071 $as_echo_n "(cached) " >&6
24072 else
24075 ac_ext=cpp
24076 ac_cpp='$CXXCPP $CPPFLAGS'
24077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24082 /* end confdefs.h. */
24083 #include <math.h>
24085 main ()
24087 frexpl(0, 0);
24089 return 0;
24091 _ACEOF
24092 if ac_fn_cxx_try_compile "$LINENO"; then :
24093 glibcxx_cv_func_frexpl_use=yes
24094 else
24095 glibcxx_cv_func_frexpl_use=no
24097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24098 ac_ext=c
24099 ac_cpp='$CPP $CPPFLAGS'
24100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24109 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24111 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24112 for ac_func in frexpl
24113 do :
24114 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24115 if test "x$ac_cv_func_frexpl" = x""yes; then :
24116 cat >>confdefs.h <<_ACEOF
24117 #define HAVE_FREXPL 1
24118 _ACEOF
24121 done
24123 else
24125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24126 $as_echo_n "checking for _frexpl declaration... " >&6; }
24127 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24128 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24129 $as_echo_n "(cached) " >&6
24130 else
24133 ac_ext=cpp
24134 ac_cpp='$CXXCPP $CPPFLAGS'
24135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24140 /* end confdefs.h. */
24141 #include <math.h>
24143 main ()
24145 _frexpl(0, 0);
24147 return 0;
24149 _ACEOF
24150 if ac_fn_cxx_try_compile "$LINENO"; then :
24151 glibcxx_cv_func__frexpl_use=yes
24152 else
24153 glibcxx_cv_func__frexpl_use=no
24155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24156 ac_ext=c
24157 ac_cpp='$CPP $CPPFLAGS'
24158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24167 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24169 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24170 for ac_func in _frexpl
24171 do :
24172 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24173 if test "x$ac_cv_func__frexpl" = x""yes; then :
24174 cat >>confdefs.h <<_ACEOF
24175 #define HAVE__FREXPL 1
24176 _ACEOF
24179 done
24188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
24189 $as_echo_n "checking for hypotl declaration... " >&6; }
24190 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
24191 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
24192 $as_echo_n "(cached) " >&6
24193 else
24196 ac_ext=cpp
24197 ac_cpp='$CXXCPP $CPPFLAGS'
24198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24203 /* end confdefs.h. */
24204 #include <math.h>
24206 main ()
24208 hypotl(0, 0);
24210 return 0;
24212 _ACEOF
24213 if ac_fn_cxx_try_compile "$LINENO"; then :
24214 glibcxx_cv_func_hypotl_use=yes
24215 else
24216 glibcxx_cv_func_hypotl_use=no
24218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24219 ac_ext=c
24220 ac_cpp='$CPP $CPPFLAGS'
24221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
24230 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
24232 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
24233 for ac_func in hypotl
24234 do :
24235 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
24236 if test "x$ac_cv_func_hypotl" = x""yes; then :
24237 cat >>confdefs.h <<_ACEOF
24238 #define HAVE_HYPOTL 1
24239 _ACEOF
24242 done
24244 else
24246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
24247 $as_echo_n "checking for _hypotl declaration... " >&6; }
24248 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
24249 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
24250 $as_echo_n "(cached) " >&6
24251 else
24254 ac_ext=cpp
24255 ac_cpp='$CXXCPP $CPPFLAGS'
24256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24261 /* end confdefs.h. */
24262 #include <math.h>
24264 main ()
24266 _hypotl(0, 0);
24268 return 0;
24270 _ACEOF
24271 if ac_fn_cxx_try_compile "$LINENO"; then :
24272 glibcxx_cv_func__hypotl_use=yes
24273 else
24274 glibcxx_cv_func__hypotl_use=no
24276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24277 ac_ext=c
24278 ac_cpp='$CPP $CPPFLAGS'
24279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
24288 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
24290 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
24291 for ac_func in _hypotl
24292 do :
24293 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
24294 if test "x$ac_cv_func__hypotl" = x""yes; then :
24295 cat >>confdefs.h <<_ACEOF
24296 #define HAVE__HYPOTL 1
24297 _ACEOF
24300 done
24309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
24310 $as_echo_n "checking for ldexpl declaration... " >&6; }
24311 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
24312 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
24313 $as_echo_n "(cached) " >&6
24314 else
24317 ac_ext=cpp
24318 ac_cpp='$CXXCPP $CPPFLAGS'
24319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24324 /* end confdefs.h. */
24325 #include <math.h>
24327 main ()
24329 ldexpl(0, 0);
24331 return 0;
24333 _ACEOF
24334 if ac_fn_cxx_try_compile "$LINENO"; then :
24335 glibcxx_cv_func_ldexpl_use=yes
24336 else
24337 glibcxx_cv_func_ldexpl_use=no
24339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24340 ac_ext=c
24341 ac_cpp='$CPP $CPPFLAGS'
24342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
24351 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
24353 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
24354 for ac_func in ldexpl
24355 do :
24356 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
24357 if test "x$ac_cv_func_ldexpl" = x""yes; then :
24358 cat >>confdefs.h <<_ACEOF
24359 #define HAVE_LDEXPL 1
24360 _ACEOF
24363 done
24365 else
24367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
24368 $as_echo_n "checking for _ldexpl declaration... " >&6; }
24369 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
24370 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
24371 $as_echo_n "(cached) " >&6
24372 else
24375 ac_ext=cpp
24376 ac_cpp='$CXXCPP $CPPFLAGS'
24377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24382 /* end confdefs.h. */
24383 #include <math.h>
24385 main ()
24387 _ldexpl(0, 0);
24389 return 0;
24391 _ACEOF
24392 if ac_fn_cxx_try_compile "$LINENO"; then :
24393 glibcxx_cv_func__ldexpl_use=yes
24394 else
24395 glibcxx_cv_func__ldexpl_use=no
24397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24398 ac_ext=c
24399 ac_cpp='$CPP $CPPFLAGS'
24400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
24409 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
24411 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
24412 for ac_func in _ldexpl
24413 do :
24414 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
24415 if test "x$ac_cv_func__ldexpl" = x""yes; then :
24416 cat >>confdefs.h <<_ACEOF
24417 #define HAVE__LDEXPL 1
24418 _ACEOF
24421 done
24430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
24431 $as_echo_n "checking for logl declaration... " >&6; }
24432 if test x${glibcxx_cv_func_logl_use+set} != xset; then
24433 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
24434 $as_echo_n "(cached) " >&6
24435 else
24438 ac_ext=cpp
24439 ac_cpp='$CXXCPP $CPPFLAGS'
24440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24445 /* end confdefs.h. */
24446 #include <math.h>
24447 #ifdef HAVE_IEEEFP_H
24448 #include <ieeefp.h>
24449 #endif
24452 main ()
24454 logl(0);
24456 return 0;
24458 _ACEOF
24459 if ac_fn_cxx_try_compile "$LINENO"; then :
24460 glibcxx_cv_func_logl_use=yes
24461 else
24462 glibcxx_cv_func_logl_use=no
24464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24465 ac_ext=c
24466 ac_cpp='$CPP $CPPFLAGS'
24467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
24476 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
24478 if test x$glibcxx_cv_func_logl_use = x"yes"; then
24479 for ac_func in logl
24480 do :
24481 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
24482 if test "x$ac_cv_func_logl" = x""yes; then :
24483 cat >>confdefs.h <<_ACEOF
24484 #define HAVE_LOGL 1
24485 _ACEOF
24488 done
24490 else
24492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
24493 $as_echo_n "checking for _logl declaration... " >&6; }
24494 if test x${glibcxx_cv_func__logl_use+set} != xset; then
24495 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
24496 $as_echo_n "(cached) " >&6
24497 else
24500 ac_ext=cpp
24501 ac_cpp='$CXXCPP $CPPFLAGS'
24502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24507 /* end confdefs.h. */
24508 #include <math.h>
24509 #ifdef HAVE_IEEEFP_H
24510 #include <ieeefp.h>
24511 #endif
24514 main ()
24516 _logl(0);
24518 return 0;
24520 _ACEOF
24521 if ac_fn_cxx_try_compile "$LINENO"; then :
24522 glibcxx_cv_func__logl_use=yes
24523 else
24524 glibcxx_cv_func__logl_use=no
24526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24527 ac_ext=c
24528 ac_cpp='$CPP $CPPFLAGS'
24529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
24538 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
24540 if test x$glibcxx_cv_func__logl_use = x"yes"; then
24541 for ac_func in _logl
24542 do :
24543 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
24544 if test "x$ac_cv_func__logl" = x""yes; then :
24545 cat >>confdefs.h <<_ACEOF
24546 #define HAVE__LOGL 1
24547 _ACEOF
24550 done
24559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
24560 $as_echo_n "checking for log10l declaration... " >&6; }
24561 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
24562 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
24563 $as_echo_n "(cached) " >&6
24564 else
24567 ac_ext=cpp
24568 ac_cpp='$CXXCPP $CPPFLAGS'
24569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24574 /* end confdefs.h. */
24575 #include <math.h>
24576 #ifdef HAVE_IEEEFP_H
24577 #include <ieeefp.h>
24578 #endif
24581 main ()
24583 log10l(0);
24585 return 0;
24587 _ACEOF
24588 if ac_fn_cxx_try_compile "$LINENO"; then :
24589 glibcxx_cv_func_log10l_use=yes
24590 else
24591 glibcxx_cv_func_log10l_use=no
24593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24594 ac_ext=c
24595 ac_cpp='$CPP $CPPFLAGS'
24596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
24605 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
24607 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
24608 for ac_func in log10l
24609 do :
24610 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
24611 if test "x$ac_cv_func_log10l" = x""yes; then :
24612 cat >>confdefs.h <<_ACEOF
24613 #define HAVE_LOG10L 1
24614 _ACEOF
24617 done
24619 else
24621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
24622 $as_echo_n "checking for _log10l declaration... " >&6; }
24623 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
24624 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
24625 $as_echo_n "(cached) " >&6
24626 else
24629 ac_ext=cpp
24630 ac_cpp='$CXXCPP $CPPFLAGS'
24631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24636 /* end confdefs.h. */
24637 #include <math.h>
24638 #ifdef HAVE_IEEEFP_H
24639 #include <ieeefp.h>
24640 #endif
24643 main ()
24645 _log10l(0);
24647 return 0;
24649 _ACEOF
24650 if ac_fn_cxx_try_compile "$LINENO"; then :
24651 glibcxx_cv_func__log10l_use=yes
24652 else
24653 glibcxx_cv_func__log10l_use=no
24655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24656 ac_ext=c
24657 ac_cpp='$CPP $CPPFLAGS'
24658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
24667 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
24669 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
24670 for ac_func in _log10l
24671 do :
24672 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
24673 if test "x$ac_cv_func__log10l" = x""yes; then :
24674 cat >>confdefs.h <<_ACEOF
24675 #define HAVE__LOG10L 1
24676 _ACEOF
24679 done
24688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
24689 $as_echo_n "checking for modfl declaration... " >&6; }
24690 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
24691 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
24692 $as_echo_n "(cached) " >&6
24693 else
24696 ac_ext=cpp
24697 ac_cpp='$CXXCPP $CPPFLAGS'
24698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24703 /* end confdefs.h. */
24704 #include <math.h>
24706 main ()
24708 modfl(0, 0);
24710 return 0;
24712 _ACEOF
24713 if ac_fn_cxx_try_compile "$LINENO"; then :
24714 glibcxx_cv_func_modfl_use=yes
24715 else
24716 glibcxx_cv_func_modfl_use=no
24718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24719 ac_ext=c
24720 ac_cpp='$CPP $CPPFLAGS'
24721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
24730 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
24732 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24733 for ac_func in modfl
24734 do :
24735 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
24736 if test "x$ac_cv_func_modfl" = x""yes; then :
24737 cat >>confdefs.h <<_ACEOF
24738 #define HAVE_MODFL 1
24739 _ACEOF
24742 done
24744 else
24746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
24747 $as_echo_n "checking for _modfl declaration... " >&6; }
24748 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24749 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
24750 $as_echo_n "(cached) " >&6
24751 else
24754 ac_ext=cpp
24755 ac_cpp='$CXXCPP $CPPFLAGS'
24756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24761 /* end confdefs.h. */
24762 #include <math.h>
24764 main ()
24766 _modfl(0, 0);
24768 return 0;
24770 _ACEOF
24771 if ac_fn_cxx_try_compile "$LINENO"; then :
24772 glibcxx_cv_func__modfl_use=yes
24773 else
24774 glibcxx_cv_func__modfl_use=no
24776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24777 ac_ext=c
24778 ac_cpp='$CPP $CPPFLAGS'
24779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
24788 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
24790 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24791 for ac_func in _modfl
24792 do :
24793 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
24794 if test "x$ac_cv_func__modfl" = x""yes; then :
24795 cat >>confdefs.h <<_ACEOF
24796 #define HAVE__MODFL 1
24797 _ACEOF
24800 done
24809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
24810 $as_echo_n "checking for powl declaration... " >&6; }
24811 if test x${glibcxx_cv_func_powl_use+set} != xset; then
24812 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
24813 $as_echo_n "(cached) " >&6
24814 else
24817 ac_ext=cpp
24818 ac_cpp='$CXXCPP $CPPFLAGS'
24819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24824 /* end confdefs.h. */
24825 #include <math.h>
24827 main ()
24829 powl(0, 0);
24831 return 0;
24833 _ACEOF
24834 if ac_fn_cxx_try_compile "$LINENO"; then :
24835 glibcxx_cv_func_powl_use=yes
24836 else
24837 glibcxx_cv_func_powl_use=no
24839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24840 ac_ext=c
24841 ac_cpp='$CPP $CPPFLAGS'
24842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
24851 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
24853 if test x$glibcxx_cv_func_powl_use = x"yes"; then
24854 for ac_func in powl
24855 do :
24856 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
24857 if test "x$ac_cv_func_powl" = x""yes; then :
24858 cat >>confdefs.h <<_ACEOF
24859 #define HAVE_POWL 1
24860 _ACEOF
24863 done
24865 else
24867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
24868 $as_echo_n "checking for _powl declaration... " >&6; }
24869 if test x${glibcxx_cv_func__powl_use+set} != xset; then
24870 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
24871 $as_echo_n "(cached) " >&6
24872 else
24875 ac_ext=cpp
24876 ac_cpp='$CXXCPP $CPPFLAGS'
24877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24882 /* end confdefs.h. */
24883 #include <math.h>
24885 main ()
24887 _powl(0, 0);
24889 return 0;
24891 _ACEOF
24892 if ac_fn_cxx_try_compile "$LINENO"; then :
24893 glibcxx_cv_func__powl_use=yes
24894 else
24895 glibcxx_cv_func__powl_use=no
24897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24898 ac_ext=c
24899 ac_cpp='$CPP $CPPFLAGS'
24900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
24909 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
24911 if test x$glibcxx_cv_func__powl_use = x"yes"; then
24912 for ac_func in _powl
24913 do :
24914 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
24915 if test "x$ac_cv_func__powl" = x""yes; then :
24916 cat >>confdefs.h <<_ACEOF
24917 #define HAVE__POWL 1
24918 _ACEOF
24921 done
24930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
24931 $as_echo_n "checking for sqrtl declaration... " >&6; }
24932 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24933 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
24934 $as_echo_n "(cached) " >&6
24935 else
24938 ac_ext=cpp
24939 ac_cpp='$CXXCPP $CPPFLAGS'
24940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24945 /* end confdefs.h. */
24946 #include <math.h>
24947 #ifdef HAVE_IEEEFP_H
24948 #include <ieeefp.h>
24949 #endif
24952 main ()
24954 sqrtl(0);
24956 return 0;
24958 _ACEOF
24959 if ac_fn_cxx_try_compile "$LINENO"; then :
24960 glibcxx_cv_func_sqrtl_use=yes
24961 else
24962 glibcxx_cv_func_sqrtl_use=no
24964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24965 ac_ext=c
24966 ac_cpp='$CPP $CPPFLAGS'
24967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
24976 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
24978 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24979 for ac_func in sqrtl
24980 do :
24981 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
24982 if test "x$ac_cv_func_sqrtl" = x""yes; then :
24983 cat >>confdefs.h <<_ACEOF
24984 #define HAVE_SQRTL 1
24985 _ACEOF
24988 done
24990 else
24992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
24993 $as_echo_n "checking for _sqrtl declaration... " >&6; }
24994 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24995 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
24996 $as_echo_n "(cached) " >&6
24997 else
25000 ac_ext=cpp
25001 ac_cpp='$CXXCPP $CPPFLAGS'
25002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25007 /* end confdefs.h. */
25008 #include <math.h>
25009 #ifdef HAVE_IEEEFP_H
25010 #include <ieeefp.h>
25011 #endif
25014 main ()
25016 _sqrtl(0);
25018 return 0;
25020 _ACEOF
25021 if ac_fn_cxx_try_compile "$LINENO"; then :
25022 glibcxx_cv_func__sqrtl_use=yes
25023 else
25024 glibcxx_cv_func__sqrtl_use=no
25026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25027 ac_ext=c
25028 ac_cpp='$CPP $CPPFLAGS'
25029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
25038 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25040 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25041 for ac_func in _sqrtl
25042 do :
25043 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25044 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25045 cat >>confdefs.h <<_ACEOF
25046 #define HAVE__SQRTL 1
25047 _ACEOF
25050 done
25059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25060 $as_echo_n "checking for sincosl declaration... " >&6; }
25061 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25062 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25063 $as_echo_n "(cached) " >&6
25064 else
25067 ac_ext=cpp
25068 ac_cpp='$CXXCPP $CPPFLAGS'
25069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25074 /* end confdefs.h. */
25075 #include <math.h>
25077 main ()
25079 sincosl(0, 0, 0);
25081 return 0;
25083 _ACEOF
25084 if ac_fn_cxx_try_compile "$LINENO"; then :
25085 glibcxx_cv_func_sincosl_use=yes
25086 else
25087 glibcxx_cv_func_sincosl_use=no
25089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25090 ac_ext=c
25091 ac_cpp='$CPP $CPPFLAGS'
25092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25101 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25103 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25104 for ac_func in sincosl
25105 do :
25106 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25107 if test "x$ac_cv_func_sincosl" = x""yes; then :
25108 cat >>confdefs.h <<_ACEOF
25109 #define HAVE_SINCOSL 1
25110 _ACEOF
25113 done
25115 else
25117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25118 $as_echo_n "checking for _sincosl declaration... " >&6; }
25119 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25120 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25121 $as_echo_n "(cached) " >&6
25122 else
25125 ac_ext=cpp
25126 ac_cpp='$CXXCPP $CPPFLAGS'
25127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25132 /* end confdefs.h. */
25133 #include <math.h>
25135 main ()
25137 _sincosl(0, 0, 0);
25139 return 0;
25141 _ACEOF
25142 if ac_fn_cxx_try_compile "$LINENO"; then :
25143 glibcxx_cv_func__sincosl_use=yes
25144 else
25145 glibcxx_cv_func__sincosl_use=no
25147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25148 ac_ext=c
25149 ac_cpp='$CPP $CPPFLAGS'
25150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
25159 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25161 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25162 for ac_func in _sincosl
25163 do :
25164 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25165 if test "x$ac_cv_func__sincosl" = x""yes; then :
25166 cat >>confdefs.h <<_ACEOF
25167 #define HAVE__SINCOSL 1
25168 _ACEOF
25171 done
25180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25181 $as_echo_n "checking for finitel declaration... " >&6; }
25182 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25183 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
25184 $as_echo_n "(cached) " >&6
25185 else
25188 ac_ext=cpp
25189 ac_cpp='$CXXCPP $CPPFLAGS'
25190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25195 /* end confdefs.h. */
25196 #include <math.h>
25197 #ifdef HAVE_IEEEFP_H
25198 #include <ieeefp.h>
25199 #endif
25202 main ()
25204 finitel(0);
25206 return 0;
25208 _ACEOF
25209 if ac_fn_cxx_try_compile "$LINENO"; then :
25210 glibcxx_cv_func_finitel_use=yes
25211 else
25212 glibcxx_cv_func_finitel_use=no
25214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25215 ac_ext=c
25216 ac_cpp='$CPP $CPPFLAGS'
25217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
25226 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
25228 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25229 for ac_func in finitel
25230 do :
25231 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
25232 if test "x$ac_cv_func_finitel" = x""yes; then :
25233 cat >>confdefs.h <<_ACEOF
25234 #define HAVE_FINITEL 1
25235 _ACEOF
25238 done
25240 else
25242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
25243 $as_echo_n "checking for _finitel declaration... " >&6; }
25244 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25245 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
25246 $as_echo_n "(cached) " >&6
25247 else
25250 ac_ext=cpp
25251 ac_cpp='$CXXCPP $CPPFLAGS'
25252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25257 /* end confdefs.h. */
25258 #include <math.h>
25259 #ifdef HAVE_IEEEFP_H
25260 #include <ieeefp.h>
25261 #endif
25264 main ()
25266 _finitel(0);
25268 return 0;
25270 _ACEOF
25271 if ac_fn_cxx_try_compile "$LINENO"; then :
25272 glibcxx_cv_func__finitel_use=yes
25273 else
25274 glibcxx_cv_func__finitel_use=no
25276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25277 ac_ext=c
25278 ac_cpp='$CPP $CPPFLAGS'
25279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
25288 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
25290 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25291 for ac_func in _finitel
25292 do :
25293 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
25294 if test "x$ac_cv_func__finitel" = x""yes; then :
25295 cat >>confdefs.h <<_ACEOF
25296 #define HAVE__FINITEL 1
25297 _ACEOF
25300 done
25308 LIBS="$ac_save_LIBS"
25309 CXXFLAGS="$ac_save_CXXFLAGS"
25312 ac_test_CXXFLAGS="${CXXFLAGS+set}"
25313 ac_save_CXXFLAGS="$CXXFLAGS"
25314 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
25318 $as_echo_n "checking for strtold declaration... " >&6; }
25319 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25320 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
25321 $as_echo_n "(cached) " >&6
25322 else
25325 ac_ext=cpp
25326 ac_cpp='$CXXCPP $CPPFLAGS'
25327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25332 /* end confdefs.h. */
25333 #include <stdlib.h>
25335 main ()
25337 strtold(0, 0);
25339 return 0;
25341 _ACEOF
25342 if ac_fn_cxx_try_compile "$LINENO"; then :
25343 glibcxx_cv_func_strtold_use=yes
25344 else
25345 glibcxx_cv_func_strtold_use=no
25347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25348 ac_ext=c
25349 ac_cpp='$CPP $CPPFLAGS'
25350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
25359 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
25360 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25361 for ac_func in strtold
25362 do :
25363 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
25364 if test "x$ac_cv_func_strtold" = x""yes; then :
25365 cat >>confdefs.h <<_ACEOF
25366 #define HAVE_STRTOLD 1
25367 _ACEOF
25370 done
25377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
25378 $as_echo_n "checking for strtof declaration... " >&6; }
25379 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
25380 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
25381 $as_echo_n "(cached) " >&6
25382 else
25385 ac_ext=cpp
25386 ac_cpp='$CXXCPP $CPPFLAGS'
25387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25392 /* end confdefs.h. */
25393 #include <stdlib.h>
25395 main ()
25397 strtof(0, 0);
25399 return 0;
25401 _ACEOF
25402 if ac_fn_cxx_try_compile "$LINENO"; then :
25403 glibcxx_cv_func_strtof_use=yes
25404 else
25405 glibcxx_cv_func_strtof_use=no
25407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25408 ac_ext=c
25409 ac_cpp='$CPP $CPPFLAGS'
25410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
25419 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
25420 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
25421 for ac_func in strtof
25422 do :
25423 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
25424 if test "x$ac_cv_func_strtof" = x""yes; then :
25425 cat >>confdefs.h <<_ACEOF
25426 #define HAVE_STRTOF 1
25427 _ACEOF
25430 done
25437 CXXFLAGS="$ac_save_CXXFLAGS"
25440 # For /dev/random and /dev/urandom for TR1.
25443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
25444 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
25445 if test "${glibcxx_cv_random_tr1+set}" = set; then :
25446 $as_echo_n "(cached) " >&6
25447 else
25449 if test -r /dev/random && test -r /dev/urandom; then
25450 glibcxx_cv_random_tr1=yes;
25451 else
25452 glibcxx_cv_random_tr1=no;
25457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
25458 $as_echo "$glibcxx_cv_random_tr1" >&6; }
25460 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
25462 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
25468 # For TLS support.
25471 # Check whether --enable-tls was given.
25472 if test "${enable_tls+set}" = set; then :
25473 enableval=$enable_tls;
25474 case "$enableval" in
25475 yes|no) ;;
25476 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
25477 esac
25479 else
25480 enable_tls=yes
25484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
25485 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
25486 if test "${gcc_cv_have_tls+set}" = set; then :
25487 $as_echo_n "(cached) " >&6
25488 else
25490 if test "$cross_compiling" = yes; then :
25491 if test x$gcc_no_link = xyes; then
25492 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25495 /* end confdefs.h. */
25496 __thread int a; int b; int main() { return a = b; }
25497 _ACEOF
25498 if ac_fn_c_try_link "$LINENO"; then :
25499 chktls_save_LDFLAGS="$LDFLAGS"
25500 case $host in
25501 *-*-linux*)
25502 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
25504 esac
25505 chktls_save_CFLAGS="$CFLAGS"
25506 CFLAGS="-fPIC $CFLAGS"
25507 if test x$gcc_no_link = xyes; then
25508 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25511 /* end confdefs.h. */
25512 int f() { return 0; }
25513 _ACEOF
25514 if ac_fn_c_try_link "$LINENO"; then :
25515 if test x$gcc_no_link = xyes; then
25516 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25519 /* end confdefs.h. */
25520 __thread int a; int b; int f() { return a = b; }
25521 _ACEOF
25522 if ac_fn_c_try_link "$LINENO"; then :
25523 gcc_cv_have_tls=yes
25524 else
25525 gcc_cv_have_tls=no
25527 rm -f core conftest.err conftest.$ac_objext \
25528 conftest$ac_exeext conftest.$ac_ext
25529 else
25530 gcc_cv_have_tls=yes
25532 rm -f core conftest.err conftest.$ac_objext \
25533 conftest$ac_exeext conftest.$ac_ext
25534 CFLAGS="$chktls_save_CFLAGS"
25535 LDFLAGS="$chktls_save_LDFLAGS"
25536 else
25537 gcc_cv_have_tls=no
25539 rm -f core conftest.err conftest.$ac_objext \
25540 conftest$ac_exeext conftest.$ac_ext
25543 else
25544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25545 /* end confdefs.h. */
25546 __thread int a; int b; int main() { return a = b; }
25547 _ACEOF
25548 if ac_fn_c_try_run "$LINENO"; then :
25549 chktls_save_LDFLAGS="$LDFLAGS"
25550 LDFLAGS="-static $LDFLAGS"
25551 if test x$gcc_no_link = xyes; then
25552 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25555 /* end confdefs.h. */
25556 int main() { return 0; }
25557 _ACEOF
25558 if ac_fn_c_try_link "$LINENO"; then :
25559 if test "$cross_compiling" = yes; then :
25560 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25561 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25562 as_fn_error "cannot run test program while cross compiling
25563 See \`config.log' for more details." "$LINENO" 5; }
25564 else
25565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25566 /* end confdefs.h. */
25567 __thread int a; int b; int main() { return a = b; }
25568 _ACEOF
25569 if ac_fn_c_try_run "$LINENO"; then :
25570 gcc_cv_have_tls=yes
25571 else
25572 gcc_cv_have_tls=no
25574 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25575 conftest.$ac_objext conftest.beam conftest.$ac_ext
25578 else
25579 gcc_cv_have_tls=yes
25581 rm -f core conftest.err conftest.$ac_objext \
25582 conftest$ac_exeext conftest.$ac_ext
25583 LDFLAGS="$chktls_save_LDFLAGS"
25584 if test $gcc_cv_have_tls = yes; then
25585 chktls_save_CFLAGS="$CFLAGS"
25586 thread_CFLAGS=failed
25587 for flag in '' '-pthread' '-lpthread'; do
25588 CFLAGS="$flag $chktls_save_CFLAGS"
25589 if test x$gcc_no_link = xyes; then
25590 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25593 /* end confdefs.h. */
25594 #include <pthread.h>
25595 void *g(void *d) { return NULL; }
25597 main ()
25599 pthread_t t; pthread_create(&t,NULL,g,NULL);
25601 return 0;
25603 _ACEOF
25604 if ac_fn_c_try_link "$LINENO"; then :
25605 thread_CFLAGS="$flag"
25607 rm -f core conftest.err conftest.$ac_objext \
25608 conftest$ac_exeext conftest.$ac_ext
25609 if test "X$thread_CFLAGS" != Xfailed; then
25610 break
25612 done
25613 CFLAGS="$chktls_save_CFLAGS"
25614 if test "X$thread_CFLAGS" != Xfailed; then
25615 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
25616 if test "$cross_compiling" = yes; then :
25617 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25618 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25619 as_fn_error "cannot run test program while cross compiling
25620 See \`config.log' for more details." "$LINENO" 5; }
25621 else
25622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25623 /* end confdefs.h. */
25624 #include <pthread.h>
25625 __thread int a;
25626 static int *volatile a_in_other_thread;
25627 static void *
25628 thread_func (void *arg)
25630 a_in_other_thread = &a;
25631 return (void *)0;
25634 main ()
25636 pthread_t thread;
25637 void *thread_retval;
25638 int *volatile a_in_main_thread;
25639 a_in_main_thread = &a;
25640 if (pthread_create (&thread, (pthread_attr_t *)0,
25641 thread_func, (void *)0))
25642 return 0;
25643 if (pthread_join (thread, &thread_retval))
25644 return 0;
25645 return (a_in_other_thread == a_in_main_thread);
25647 return 0;
25649 _ACEOF
25650 if ac_fn_c_try_run "$LINENO"; then :
25651 gcc_cv_have_tls=yes
25652 else
25653 gcc_cv_have_tls=no
25655 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25656 conftest.$ac_objext conftest.beam conftest.$ac_ext
25659 CFLAGS="$chktls_save_CFLAGS"
25662 else
25663 gcc_cv_have_tls=no
25665 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25666 conftest.$ac_objext conftest.beam conftest.$ac_ext
25670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
25671 $as_echo "$gcc_cv_have_tls" >&6; }
25672 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
25674 $as_echo "#define HAVE_TLS 1" >>confdefs.h
25678 # For iconv support.
25680 if test "X$prefix" = "XNONE"; then
25681 acl_final_prefix="$ac_default_prefix"
25682 else
25683 acl_final_prefix="$prefix"
25685 if test "X$exec_prefix" = "XNONE"; then
25686 acl_final_exec_prefix='${prefix}'
25687 else
25688 acl_final_exec_prefix="$exec_prefix"
25690 acl_save_prefix="$prefix"
25691 prefix="$acl_final_prefix"
25692 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
25693 prefix="$acl_save_prefix"
25696 # Check whether --with-gnu-ld was given.
25697 if test "${with_gnu_ld+set}" = set; then :
25698 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
25699 else
25700 with_gnu_ld=no
25703 # Prepare PATH_SEPARATOR.
25704 # The user is always right.
25705 if test "${PATH_SEPARATOR+set}" != set; then
25706 echo "#! /bin/sh" >conf$$.sh
25707 echo "exit 0" >>conf$$.sh
25708 chmod +x conf$$.sh
25709 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25710 PATH_SEPARATOR=';'
25711 else
25712 PATH_SEPARATOR=:
25714 rm -f conf$$.sh
25716 ac_prog=ld
25717 if test "$GCC" = yes; then
25718 # Check if gcc -print-prog-name=ld gives a path.
25719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
25720 $as_echo_n "checking for ld used by GCC... " >&6; }
25721 case $host in
25722 *-*-mingw*)
25723 # gcc leaves a trailing carriage return which upsets mingw
25724 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
25726 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
25727 esac
25728 case $ac_prog in
25729 # Accept absolute paths.
25730 [\\/]* | [A-Za-z]:[\\/]*)
25731 re_direlt='/[^/][^/]*/\.\./'
25732 # Canonicalize the path of ld
25733 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
25734 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
25735 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
25736 done
25737 test -z "$LD" && LD="$ac_prog"
25740 # If it fails, then pretend we aren't using GCC.
25741 ac_prog=ld
25744 # If it is relative, then search for the first ld in PATH.
25745 with_gnu_ld=unknown
25747 esac
25748 elif test "$with_gnu_ld" = yes; then
25749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
25750 $as_echo_n "checking for GNU ld... " >&6; }
25751 else
25752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
25753 $as_echo_n "checking for non-GNU ld... " >&6; }
25755 if test "${acl_cv_path_LD+set}" = set; then :
25756 $as_echo_n "(cached) " >&6
25757 else
25758 if test -z "$LD"; then
25759 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
25760 for ac_dir in $PATH; do
25761 test -z "$ac_dir" && ac_dir=.
25762 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
25763 acl_cv_path_LD="$ac_dir/$ac_prog"
25764 # Check to see if the program is GNU ld. I'd rather use --version,
25765 # but apparently some GNU ld's only accept -v.
25766 # Break only if it was the GNU/non-GNU ld that we prefer.
25767 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
25768 test "$with_gnu_ld" != no && break
25769 else
25770 test "$with_gnu_ld" != yes && break
25773 done
25774 IFS="$ac_save_ifs"
25775 else
25776 acl_cv_path_LD="$LD" # Let the user override the test with a path.
25780 LD="$acl_cv_path_LD"
25781 if test -n "$LD"; then
25782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
25783 $as_echo "$LD" >&6; }
25784 else
25785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25786 $as_echo "no" >&6; }
25788 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
25789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
25790 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
25791 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
25792 $as_echo_n "(cached) " >&6
25793 else
25794 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
25795 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
25796 acl_cv_prog_gnu_ld=yes
25797 else
25798 acl_cv_prog_gnu_ld=no
25801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
25802 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
25803 with_gnu_ld=$acl_cv_prog_gnu_ld
25807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
25808 $as_echo_n "checking for shared library run path origin... " >&6; }
25809 if test "${acl_cv_rpath+set}" = set; then :
25810 $as_echo_n "(cached) " >&6
25811 else
25813 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
25814 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
25815 . ./conftest.sh
25816 rm -f ./conftest.sh
25817 acl_cv_rpath=done
25820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
25821 $as_echo "$acl_cv_rpath" >&6; }
25822 wl="$acl_cv_wl"
25823 libext="$acl_cv_libext"
25824 shlibext="$acl_cv_shlibext"
25825 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
25826 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
25827 hardcode_direct="$acl_cv_hardcode_direct"
25828 hardcode_minus_L="$acl_cv_hardcode_minus_L"
25829 # Check whether --enable-rpath was given.
25830 if test "${enable_rpath+set}" = set; then :
25831 enableval=$enable_rpath; :
25832 else
25833 enable_rpath=yes
25843 use_additional=yes
25845 acl_save_prefix="$prefix"
25846 prefix="$acl_final_prefix"
25847 acl_save_exec_prefix="$exec_prefix"
25848 exec_prefix="$acl_final_exec_prefix"
25850 eval additional_includedir=\"$includedir\"
25851 eval additional_libdir=\"$libdir\"
25853 exec_prefix="$acl_save_exec_prefix"
25854 prefix="$acl_save_prefix"
25857 # Check whether --with-libiconv-prefix was given.
25858 if test "${with_libiconv_prefix+set}" = set; then :
25859 withval=$with_libiconv_prefix;
25860 if test "X$withval" = "Xno"; then
25861 use_additional=no
25862 else
25863 if test "X$withval" = "X"; then
25865 acl_save_prefix="$prefix"
25866 prefix="$acl_final_prefix"
25867 acl_save_exec_prefix="$exec_prefix"
25868 exec_prefix="$acl_final_exec_prefix"
25870 eval additional_includedir=\"$includedir\"
25871 eval additional_libdir=\"$libdir\"
25873 exec_prefix="$acl_save_exec_prefix"
25874 prefix="$acl_save_prefix"
25876 else
25877 additional_includedir="$withval/include"
25878 additional_libdir="$withval/lib"
25884 LIBICONV=
25885 LTLIBICONV=
25886 INCICONV=
25887 rpathdirs=
25888 ltrpathdirs=
25889 names_already_handled=
25890 names_next_round='iconv '
25891 while test -n "$names_next_round"; do
25892 names_this_round="$names_next_round"
25893 names_next_round=
25894 for name in $names_this_round; do
25895 already_handled=
25896 for n in $names_already_handled; do
25897 if test "$n" = "$name"; then
25898 already_handled=yes
25899 break
25901 done
25902 if test -z "$already_handled"; then
25903 names_already_handled="$names_already_handled $name"
25904 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
25905 eval value=\"\$HAVE_LIB$uppername\"
25906 if test -n "$value"; then
25907 if test "$value" = yes; then
25908 eval value=\"\$LIB$uppername\"
25909 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
25910 eval value=\"\$LTLIB$uppername\"
25911 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
25912 else
25915 else
25916 found_dir=
25917 found_la=
25918 found_so=
25919 found_a=
25920 if test $use_additional = yes; then
25921 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
25922 found_dir="$additional_libdir"
25923 found_so="$additional_libdir/lib$name.$shlibext"
25924 if test -f "$additional_libdir/lib$name.la"; then
25925 found_la="$additional_libdir/lib$name.la"
25927 else
25928 if test -f "$additional_libdir/lib$name.$libext"; then
25929 found_dir="$additional_libdir"
25930 found_a="$additional_libdir/lib$name.$libext"
25931 if test -f "$additional_libdir/lib$name.la"; then
25932 found_la="$additional_libdir/lib$name.la"
25937 if test "X$found_dir" = "X"; then
25938 for x in $LDFLAGS $LTLIBICONV; do
25940 acl_save_prefix="$prefix"
25941 prefix="$acl_final_prefix"
25942 acl_save_exec_prefix="$exec_prefix"
25943 exec_prefix="$acl_final_exec_prefix"
25944 eval x=\"$x\"
25945 exec_prefix="$acl_save_exec_prefix"
25946 prefix="$acl_save_prefix"
25948 case "$x" in
25949 -L*)
25950 dir=`echo "X$x" | sed -e 's/^X-L//'`
25951 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
25952 found_dir="$dir"
25953 found_so="$dir/lib$name.$shlibext"
25954 if test -f "$dir/lib$name.la"; then
25955 found_la="$dir/lib$name.la"
25957 else
25958 if test -f "$dir/lib$name.$libext"; then
25959 found_dir="$dir"
25960 found_a="$dir/lib$name.$libext"
25961 if test -f "$dir/lib$name.la"; then
25962 found_la="$dir/lib$name.la"
25967 esac
25968 if test "X$found_dir" != "X"; then
25969 break
25971 done
25973 if test "X$found_dir" != "X"; then
25974 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
25975 if test "X$found_so" != "X"; then
25976 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
25977 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25978 else
25979 haveit=
25980 for x in $ltrpathdirs; do
25981 if test "X$x" = "X$found_dir"; then
25982 haveit=yes
25983 break
25985 done
25986 if test -z "$haveit"; then
25987 ltrpathdirs="$ltrpathdirs $found_dir"
25989 if test "$hardcode_direct" = yes; then
25990 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25991 else
25992 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
25993 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25994 haveit=
25995 for x in $rpathdirs; do
25996 if test "X$x" = "X$found_dir"; then
25997 haveit=yes
25998 break
26000 done
26001 if test -z "$haveit"; then
26002 rpathdirs="$rpathdirs $found_dir"
26004 else
26005 haveit=
26006 for x in $LDFLAGS $LIBICONV; do
26008 acl_save_prefix="$prefix"
26009 prefix="$acl_final_prefix"
26010 acl_save_exec_prefix="$exec_prefix"
26011 exec_prefix="$acl_final_exec_prefix"
26012 eval x=\"$x\"
26013 exec_prefix="$acl_save_exec_prefix"
26014 prefix="$acl_save_prefix"
26016 if test "X$x" = "X-L$found_dir"; then
26017 haveit=yes
26018 break
26020 done
26021 if test -z "$haveit"; then
26022 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
26024 if test "$hardcode_minus_L" != no; then
26025 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26026 else
26027 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26032 else
26033 if test "X$found_a" != "X"; then
26034 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
26035 else
26036 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
26039 additional_includedir=
26040 case "$found_dir" in
26041 */lib | */lib/)
26042 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26043 additional_includedir="$basedir/include"
26045 esac
26046 if test "X$additional_includedir" != "X"; then
26047 if test "X$additional_includedir" != "X/usr/include"; then
26048 haveit=
26049 if test "X$additional_includedir" = "X/usr/local/include"; then
26050 if test -n "$GCC"; then
26051 case $host_os in
26052 linux*) haveit=yes;;
26053 esac
26056 if test -z "$haveit"; then
26057 for x in $CPPFLAGS $INCICONV; do
26059 acl_save_prefix="$prefix"
26060 prefix="$acl_final_prefix"
26061 acl_save_exec_prefix="$exec_prefix"
26062 exec_prefix="$acl_final_exec_prefix"
26063 eval x=\"$x\"
26064 exec_prefix="$acl_save_exec_prefix"
26065 prefix="$acl_save_prefix"
26067 if test "X$x" = "X-I$additional_includedir"; then
26068 haveit=yes
26069 break
26071 done
26072 if test -z "$haveit"; then
26073 if test -d "$additional_includedir"; then
26074 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26080 if test -n "$found_la"; then
26081 save_libdir="$libdir"
26082 case "$found_la" in
26083 */* | *\\*) . "$found_la" ;;
26084 *) . "./$found_la" ;;
26085 esac
26086 libdir="$save_libdir"
26087 for dep in $dependency_libs; do
26088 case "$dep" in
26089 -L*)
26090 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26091 if test "X$additional_libdir" != "X/usr/lib"; then
26092 haveit=
26093 if test "X$additional_libdir" = "X/usr/local/lib"; then
26094 if test -n "$GCC"; then
26095 case $host_os in
26096 linux*) haveit=yes;;
26097 esac
26100 if test -z "$haveit"; then
26101 haveit=
26102 for x in $LDFLAGS $LIBICONV; do
26104 acl_save_prefix="$prefix"
26105 prefix="$acl_final_prefix"
26106 acl_save_exec_prefix="$exec_prefix"
26107 exec_prefix="$acl_final_exec_prefix"
26108 eval x=\"$x\"
26109 exec_prefix="$acl_save_exec_prefix"
26110 prefix="$acl_save_prefix"
26112 if test "X$x" = "X-L$additional_libdir"; then
26113 haveit=yes
26114 break
26116 done
26117 if test -z "$haveit"; then
26118 if test -d "$additional_libdir"; then
26119 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26122 haveit=
26123 for x in $LDFLAGS $LTLIBICONV; do
26125 acl_save_prefix="$prefix"
26126 prefix="$acl_final_prefix"
26127 acl_save_exec_prefix="$exec_prefix"
26128 exec_prefix="$acl_final_exec_prefix"
26129 eval x=\"$x\"
26130 exec_prefix="$acl_save_exec_prefix"
26131 prefix="$acl_save_prefix"
26133 if test "X$x" = "X-L$additional_libdir"; then
26134 haveit=yes
26135 break
26137 done
26138 if test -z "$haveit"; then
26139 if test -d "$additional_libdir"; then
26140 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26146 -R*)
26147 dir=`echo "X$dep" | sed -e 's/^X-R//'`
26148 if test "$enable_rpath" != no; then
26149 haveit=
26150 for x in $rpathdirs; do
26151 if test "X$x" = "X$dir"; then
26152 haveit=yes
26153 break
26155 done
26156 if test -z "$haveit"; then
26157 rpathdirs="$rpathdirs $dir"
26159 haveit=
26160 for x in $ltrpathdirs; do
26161 if test "X$x" = "X$dir"; then
26162 haveit=yes
26163 break
26165 done
26166 if test -z "$haveit"; then
26167 ltrpathdirs="$ltrpathdirs $dir"
26171 -l*)
26172 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26174 *.la)
26175 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26178 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26179 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26181 esac
26182 done
26184 else
26185 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26186 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26190 done
26191 done
26192 if test "X$rpathdirs" != "X"; then
26193 if test -n "$hardcode_libdir_separator"; then
26194 alldirs=
26195 for found_dir in $rpathdirs; do
26196 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
26197 done
26198 acl_save_libdir="$libdir"
26199 libdir="$alldirs"
26200 eval flag=\"$hardcode_libdir_flag_spec\"
26201 libdir="$acl_save_libdir"
26202 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26203 else
26204 for found_dir in $rpathdirs; do
26205 acl_save_libdir="$libdir"
26206 libdir="$found_dir"
26207 eval flag=\"$hardcode_libdir_flag_spec\"
26208 libdir="$acl_save_libdir"
26209 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26210 done
26213 if test "X$ltrpathdirs" != "X"; then
26214 for found_dir in $ltrpathdirs; do
26215 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
26216 done
26225 am_save_CPPFLAGS="$CPPFLAGS"
26227 for element in $INCICONV; do
26228 haveit=
26229 for x in $CPPFLAGS; do
26231 acl_save_prefix="$prefix"
26232 prefix="$acl_final_prefix"
26233 acl_save_exec_prefix="$exec_prefix"
26234 exec_prefix="$acl_final_exec_prefix"
26235 eval x=\"$x\"
26236 exec_prefix="$acl_save_exec_prefix"
26237 prefix="$acl_save_prefix"
26239 if test "X$x" = "X$element"; then
26240 haveit=yes
26241 break
26243 done
26244 if test -z "$haveit"; then
26245 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
26247 done
26250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
26251 $as_echo_n "checking for iconv... " >&6; }
26252 if test "${am_cv_func_iconv+set}" = set; then :
26253 $as_echo_n "(cached) " >&6
26254 else
26256 am_cv_func_iconv="no, consider installing GNU libiconv"
26257 am_cv_lib_iconv=no
26258 if test x$gcc_no_link = xyes; then
26259 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26262 /* end confdefs.h. */
26263 #include <stdlib.h>
26264 #include <iconv.h>
26266 main ()
26268 iconv_t cd = iconv_open("","");
26269 iconv(cd,NULL,NULL,NULL,NULL);
26270 iconv_close(cd);
26272 return 0;
26274 _ACEOF
26275 if ac_fn_c_try_link "$LINENO"; then :
26276 am_cv_func_iconv=yes
26278 rm -f core conftest.err conftest.$ac_objext \
26279 conftest$ac_exeext conftest.$ac_ext
26280 if test "$am_cv_func_iconv" != yes; then
26281 am_save_LIBS="$LIBS"
26282 LIBS="$LIBS $LIBICONV"
26283 if test x$gcc_no_link = xyes; then
26284 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26287 /* end confdefs.h. */
26288 #include <stdlib.h>
26289 #include <iconv.h>
26291 main ()
26293 iconv_t cd = iconv_open("","");
26294 iconv(cd,NULL,NULL,NULL,NULL);
26295 iconv_close(cd);
26297 return 0;
26299 _ACEOF
26300 if ac_fn_c_try_link "$LINENO"; then :
26301 am_cv_lib_iconv=yes
26302 am_cv_func_iconv=yes
26304 rm -f core conftest.err conftest.$ac_objext \
26305 conftest$ac_exeext conftest.$ac_ext
26306 LIBS="$am_save_LIBS"
26310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
26311 $as_echo "$am_cv_func_iconv" >&6; }
26312 if test "$am_cv_func_iconv" = yes; then
26314 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26317 if test "$am_cv_lib_iconv" = yes; then
26318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
26319 $as_echo_n "checking how to link with libiconv... " >&6; }
26320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
26321 $as_echo "$LIBICONV" >&6; }
26322 else
26323 CPPFLAGS="$am_save_CPPFLAGS"
26324 LIBICONV=
26325 LTLIBICONV=
26330 if test "$am_cv_func_iconv" = yes; then
26331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
26332 $as_echo_n "checking for iconv declaration... " >&6; }
26333 if test "${am_cv_proto_iconv+set}" = set; then :
26334 $as_echo_n "(cached) " >&6
26335 else
26337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26338 /* end confdefs.h. */
26340 #include <stdlib.h>
26341 #include <iconv.h>
26342 extern
26343 #ifdef __cplusplus
26345 #endif
26346 #if defined(__STDC__) || defined(__cplusplus)
26347 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26348 #else
26349 size_t iconv();
26350 #endif
26353 main ()
26357 return 0;
26359 _ACEOF
26360 if ac_fn_c_try_compile "$LINENO"; then :
26361 am_cv_proto_iconv_arg1=""
26362 else
26363 am_cv_proto_iconv_arg1="const"
26365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26366 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);"
26369 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
26370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
26371 }$am_cv_proto_iconv" >&5
26372 $as_echo "${ac_t:-
26373 }$am_cv_proto_iconv" >&6; }
26375 cat >>confdefs.h <<_ACEOF
26376 #define ICONV_CONST $am_cv_proto_iconv_arg1
26377 _ACEOF
26382 else
26384 # This lets us hard-code the functionality we know we'll have in the cross
26385 # target environment. "Let" is a sugar-coated word placed on an especially
26386 # dull and tedious hack, actually.
26388 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
26389 # that involve linking, can't be used:
26390 # "cannot open sim-crt0.o"
26391 # "cannot open crt0.o"
26392 # etc. All this is because there currently exists no unified, consistent
26393 # way for top level CC information to be passed down to target directories:
26394 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
26395 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
26396 # crosses can be removed.
26398 # If Canadian cross, then don't pick up tools from the build directory.
26399 # Used only in GLIBCXX_EXPORT_INCLUDES.
26400 if test -n "$with_cross_host" &&
26401 test x"$build_alias" != x"$with_cross_host" &&
26402 test x"$build" != x"$target";
26403 then
26404 CANADIAN=yes
26405 else
26406 CANADIAN=no
26409 # Construct crosses by hand, eliminating bits that need ld...
26410 # GLIBCXX_CHECK_MATH_SUPPORT
26412 # First, test for "known" system libraries. We may be using newlib even
26413 # on a hosted environment.
26414 if test "x${with_newlib}" = "xyes"; then
26415 os_include_dir="os/newlib"
26416 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
26419 # GLIBCXX_CHECK_STDLIB_SUPPORT
26420 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
26423 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
26425 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
26427 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
26429 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
26431 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
26433 $as_echo "#define HAVE_COSF 1" >>confdefs.h
26435 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
26437 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
26439 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
26441 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
26443 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
26445 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
26447 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
26449 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
26451 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
26453 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
26455 $as_echo "#define HAVE_POWF 1" >>confdefs.h
26457 $as_echo "#define HAVE_SINF 1" >>confdefs.h
26459 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
26461 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
26463 $as_echo "#define HAVE_TANF 1" >>confdefs.h
26465 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
26468 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26470 else
26472 # Base decisions on target environment.
26473 case "${host}" in
26474 arm*-*-symbianelf*)
26475 # This is a freestanding configuration; there is nothing to do here.
26478 mips*-sde-elf*)
26479 # These definitions are for the SDE C library rather than newlib.
26480 SECTION_FLAGS='-ffunction-sections -fdata-sections'
26483 # All these tests are for C++; save the language and the compiler flags.
26484 # The CXXFLAGS thing is suspicious, but based on similar bits previously
26485 # found in GLIBCXX_CONFIGURE.
26487 ac_ext=cpp
26488 ac_cpp='$CXXCPP $CPPFLAGS'
26489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26493 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26494 ac_save_CXXFLAGS="$CXXFLAGS"
26496 # Check for maintainer-mode bits.
26497 if test x"$USE_MAINTAINER_MODE" = xno; then
26498 WERROR=''
26499 else
26500 WERROR='-Werror'
26503 # Check for -ffunction-sections -fdata-sections
26504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
26505 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
26506 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
26507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26508 /* end confdefs.h. */
26509 int foo; void bar() { };
26511 main ()
26515 return 0;
26517 _ACEOF
26518 if ac_fn_cxx_try_compile "$LINENO"; then :
26519 ac_fdsections=yes
26520 else
26521 ac_fdsections=no
26523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26524 if test "$ac_test_CXXFLAGS" = set; then
26525 CXXFLAGS="$ac_save_CXXFLAGS"
26526 else
26527 # this is the suspicious part
26528 CXXFLAGS=''
26530 if test x"$ac_fdsections" = x"yes"; then
26531 SECTION_FLAGS='-ffunction-sections -fdata-sections'
26533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
26534 $as_echo "$ac_fdsections" >&6; }
26536 ac_ext=c
26537 ac_cpp='$CPP $CPPFLAGS'
26538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26546 # If we're not using GNU ld, then there's no point in even trying these
26547 # tests. Check for that first. We should have already tested for gld
26548 # by now (in libtool), but require it now just to be safe...
26549 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
26550 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
26554 # The name set by libtool depends on the version of libtool. Shame on us
26555 # for depending on an impl detail, but c'est la vie. Older versions used
26556 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
26557 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
26558 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
26559 # set (hence we're using an older libtool), then set it.
26560 if test x${with_gnu_ld+set} != xset; then
26561 if test x${ac_cv_prog_gnu_ld+set} != xset; then
26562 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
26563 with_gnu_ld=no
26564 else
26565 with_gnu_ld=$ac_cv_prog_gnu_ld
26569 # Start by getting the version number. I think the libtool test already
26570 # does some of this, but throws away the result.
26571 glibcxx_ld_is_gold=no
26572 if test x"$with_gnu_ld" = x"yes"; then
26573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
26574 $as_echo_n "checking for ld version... " >&6; }
26576 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
26577 glibcxx_ld_is_gold=yes
26579 ldver=`$LD --version 2>/dev/null |
26580 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'`
26582 glibcxx_gnu_ld_version=`echo $ldver | \
26583 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
26584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
26585 $as_echo "$glibcxx_gnu_ld_version" >&6; }
26588 # Set --gc-sections.
26589 glibcxx_have_gc_sections=no
26590 if test "$glibcxx_ld_is_gold" = "yes"; then
26591 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
26592 glibcxx_have_gc_sections=yes
26594 else
26595 glibcxx_gcsections_min_ld=21602
26596 if test x"$with_gnu_ld" = x"yes" &&
26597 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
26598 glibcxx_have_gc_sections=yes
26601 if test "$glibcxx_have_gc_sections" = "yes"; then
26602 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
26603 # NB: This flag only works reliably after 2.16.1. Configure tests
26604 # for this are difficult, so hard wire a value that should work.
26606 ac_test_CFLAGS="${CFLAGS+set}"
26607 ac_save_CFLAGS="$CFLAGS"
26608 CFLAGS='-Wl,--gc-sections'
26610 # Check for -Wl,--gc-sections
26611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
26612 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
26613 if test x$gcc_no_link = xyes; then
26614 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26617 /* end confdefs.h. */
26618 int one(void) { return 1; }
26619 int two(void) { return 2; }
26622 main ()
26624 two();
26626 return 0;
26628 _ACEOF
26629 if ac_fn_c_try_link "$LINENO"; then :
26630 ac_gcsections=yes
26631 else
26632 ac_gcsections=no
26634 rm -f core conftest.err conftest.$ac_objext \
26635 conftest$ac_exeext conftest.$ac_ext
26636 if test "$ac_gcsections" = "yes"; then
26637 rm -f conftest.c
26638 touch conftest.c
26639 if $CC -c conftest.c; then
26640 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
26641 grep "Warning: gc-sections option ignored" > /dev/null; then
26642 ac_gcsections=no
26645 rm -f conftest.c conftest.o conftest
26647 if test "$ac_gcsections" = "yes"; then
26648 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
26650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
26651 $as_echo "$ac_gcsections" >&6; }
26653 if test "$ac_test_CFLAGS" = set; then
26654 CFLAGS="$ac_save_CFLAGS"
26655 else
26656 # this is the suspicious part
26657 CFLAGS=''
26661 # Set -z,relro.
26662 # Note this is only for shared objects.
26663 ac_ld_relro=no
26664 if test x"$with_gnu_ld" = x"yes"; then
26665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
26666 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
26667 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
26668 if test -n "$cxx_z_relo"; then
26669 OPT_LDFLAGS="-Wl,-z,relro"
26670 ac_ld_relro=yes
26672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
26673 $as_echo "$ac_ld_relro" >&6; }
26676 # Set linker optimization flags.
26677 if test x"$with_gnu_ld" = x"yes"; then
26678 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
26685 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26686 ac_save_CXXFLAGS="$CXXFLAGS"
26687 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
26690 $as_echo_n "checking for sin in -lm... " >&6; }
26691 if test "${ac_cv_lib_m_sin+set}" = set; then :
26692 $as_echo_n "(cached) " >&6
26693 else
26694 ac_check_lib_save_LIBS=$LIBS
26695 LIBS="-lm $LIBS"
26696 if test x$gcc_no_link = xyes; then
26697 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26700 /* end confdefs.h. */
26702 /* Override any GCC internal prototype to avoid an error.
26703 Use char because int might match the return type of a GCC
26704 builtin and then its argument prototype would still apply. */
26705 #ifdef __cplusplus
26706 extern "C"
26707 #endif
26708 char sin ();
26710 main ()
26712 return sin ();
26714 return 0;
26716 _ACEOF
26717 if ac_fn_c_try_link "$LINENO"; then :
26718 ac_cv_lib_m_sin=yes
26719 else
26720 ac_cv_lib_m_sin=no
26722 rm -f core conftest.err conftest.$ac_objext \
26723 conftest$ac_exeext conftest.$ac_ext
26724 LIBS=$ac_check_lib_save_LIBS
26726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
26727 $as_echo "$ac_cv_lib_m_sin" >&6; }
26728 if test "x$ac_cv_lib_m_sin" = x""yes; then :
26729 libm="-lm"
26732 ac_save_LIBS="$LIBS"
26733 LIBS="$LIBS $libm"
26737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
26738 $as_echo_n "checking for isinf declaration... " >&6; }
26739 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
26740 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
26741 $as_echo_n "(cached) " >&6
26742 else
26745 ac_ext=cpp
26746 ac_cpp='$CXXCPP $CPPFLAGS'
26747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26752 /* end confdefs.h. */
26753 #include <math.h>
26754 #ifdef HAVE_IEEEFP_H
26755 #include <ieeefp.h>
26756 #endif
26759 main ()
26761 isinf(0);
26763 return 0;
26765 _ACEOF
26766 if ac_fn_cxx_try_compile "$LINENO"; then :
26767 glibcxx_cv_func_isinf_use=yes
26768 else
26769 glibcxx_cv_func_isinf_use=no
26771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26772 ac_ext=c
26773 ac_cpp='$CPP $CPPFLAGS'
26774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
26783 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
26785 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
26786 for ac_func in isinf
26787 do :
26788 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
26789 if test "x$ac_cv_func_isinf" = x""yes; then :
26790 cat >>confdefs.h <<_ACEOF
26791 #define HAVE_ISINF 1
26792 _ACEOF
26795 done
26797 else
26799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
26800 $as_echo_n "checking for _isinf declaration... " >&6; }
26801 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
26802 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
26803 $as_echo_n "(cached) " >&6
26804 else
26807 ac_ext=cpp
26808 ac_cpp='$CXXCPP $CPPFLAGS'
26809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26814 /* end confdefs.h. */
26815 #include <math.h>
26816 #ifdef HAVE_IEEEFP_H
26817 #include <ieeefp.h>
26818 #endif
26821 main ()
26823 _isinf(0);
26825 return 0;
26827 _ACEOF
26828 if ac_fn_cxx_try_compile "$LINENO"; then :
26829 glibcxx_cv_func__isinf_use=yes
26830 else
26831 glibcxx_cv_func__isinf_use=no
26833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26834 ac_ext=c
26835 ac_cpp='$CPP $CPPFLAGS'
26836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
26845 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
26847 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
26848 for ac_func in _isinf
26849 do :
26850 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
26851 if test "x$ac_cv_func__isinf" = x""yes; then :
26852 cat >>confdefs.h <<_ACEOF
26853 #define HAVE__ISINF 1
26854 _ACEOF
26857 done
26866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
26867 $as_echo_n "checking for isnan declaration... " >&6; }
26868 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
26869 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
26870 $as_echo_n "(cached) " >&6
26871 else
26874 ac_ext=cpp
26875 ac_cpp='$CXXCPP $CPPFLAGS'
26876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26881 /* end confdefs.h. */
26882 #include <math.h>
26883 #ifdef HAVE_IEEEFP_H
26884 #include <ieeefp.h>
26885 #endif
26888 main ()
26890 isnan(0);
26892 return 0;
26894 _ACEOF
26895 if ac_fn_cxx_try_compile "$LINENO"; then :
26896 glibcxx_cv_func_isnan_use=yes
26897 else
26898 glibcxx_cv_func_isnan_use=no
26900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26901 ac_ext=c
26902 ac_cpp='$CPP $CPPFLAGS'
26903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
26912 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
26914 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
26915 for ac_func in isnan
26916 do :
26917 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
26918 if test "x$ac_cv_func_isnan" = x""yes; then :
26919 cat >>confdefs.h <<_ACEOF
26920 #define HAVE_ISNAN 1
26921 _ACEOF
26924 done
26926 else
26928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
26929 $as_echo_n "checking for _isnan declaration... " >&6; }
26930 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
26931 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
26932 $as_echo_n "(cached) " >&6
26933 else
26936 ac_ext=cpp
26937 ac_cpp='$CXXCPP $CPPFLAGS'
26938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26943 /* end confdefs.h. */
26944 #include <math.h>
26945 #ifdef HAVE_IEEEFP_H
26946 #include <ieeefp.h>
26947 #endif
26950 main ()
26952 _isnan(0);
26954 return 0;
26956 _ACEOF
26957 if ac_fn_cxx_try_compile "$LINENO"; then :
26958 glibcxx_cv_func__isnan_use=yes
26959 else
26960 glibcxx_cv_func__isnan_use=no
26962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26963 ac_ext=c
26964 ac_cpp='$CPP $CPPFLAGS'
26965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
26974 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
26976 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
26977 for ac_func in _isnan
26978 do :
26979 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
26980 if test "x$ac_cv_func__isnan" = x""yes; then :
26981 cat >>confdefs.h <<_ACEOF
26982 #define HAVE__ISNAN 1
26983 _ACEOF
26986 done
26995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
26996 $as_echo_n "checking for finite declaration... " >&6; }
26997 if test x${glibcxx_cv_func_finite_use+set} != xset; then
26998 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
26999 $as_echo_n "(cached) " >&6
27000 else
27003 ac_ext=cpp
27004 ac_cpp='$CXXCPP $CPPFLAGS'
27005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27010 /* end confdefs.h. */
27011 #include <math.h>
27012 #ifdef HAVE_IEEEFP_H
27013 #include <ieeefp.h>
27014 #endif
27017 main ()
27019 finite(0);
27021 return 0;
27023 _ACEOF
27024 if ac_fn_cxx_try_compile "$LINENO"; then :
27025 glibcxx_cv_func_finite_use=yes
27026 else
27027 glibcxx_cv_func_finite_use=no
27029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27030 ac_ext=c
27031 ac_cpp='$CPP $CPPFLAGS'
27032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
27041 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27043 if test x$glibcxx_cv_func_finite_use = x"yes"; then
27044 for ac_func in finite
27045 do :
27046 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27047 if test "x$ac_cv_func_finite" = x""yes; then :
27048 cat >>confdefs.h <<_ACEOF
27049 #define HAVE_FINITE 1
27050 _ACEOF
27053 done
27055 else
27057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27058 $as_echo_n "checking for _finite declaration... " >&6; }
27059 if test x${glibcxx_cv_func__finite_use+set} != xset; then
27060 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27061 $as_echo_n "(cached) " >&6
27062 else
27065 ac_ext=cpp
27066 ac_cpp='$CXXCPP $CPPFLAGS'
27067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27072 /* end confdefs.h. */
27073 #include <math.h>
27074 #ifdef HAVE_IEEEFP_H
27075 #include <ieeefp.h>
27076 #endif
27079 main ()
27081 _finite(0);
27083 return 0;
27085 _ACEOF
27086 if ac_fn_cxx_try_compile "$LINENO"; then :
27087 glibcxx_cv_func__finite_use=yes
27088 else
27089 glibcxx_cv_func__finite_use=no
27091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27092 ac_ext=c
27093 ac_cpp='$CPP $CPPFLAGS'
27094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27103 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27105 if test x$glibcxx_cv_func__finite_use = x"yes"; then
27106 for ac_func in _finite
27107 do :
27108 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27109 if test "x$ac_cv_func__finite" = x""yes; then :
27110 cat >>confdefs.h <<_ACEOF
27111 #define HAVE__FINITE 1
27112 _ACEOF
27115 done
27124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27125 $as_echo_n "checking for sincos declaration... " >&6; }
27126 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27127 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27128 $as_echo_n "(cached) " >&6
27129 else
27132 ac_ext=cpp
27133 ac_cpp='$CXXCPP $CPPFLAGS'
27134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27139 /* end confdefs.h. */
27140 #include <math.h>
27142 main ()
27144 sincos(0, 0, 0);
27146 return 0;
27148 _ACEOF
27149 if ac_fn_cxx_try_compile "$LINENO"; then :
27150 glibcxx_cv_func_sincos_use=yes
27151 else
27152 glibcxx_cv_func_sincos_use=no
27154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27155 ac_ext=c
27156 ac_cpp='$CPP $CPPFLAGS'
27157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27166 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27168 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27169 for ac_func in sincos
27170 do :
27171 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27172 if test "x$ac_cv_func_sincos" = x""yes; then :
27173 cat >>confdefs.h <<_ACEOF
27174 #define HAVE_SINCOS 1
27175 _ACEOF
27178 done
27180 else
27182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27183 $as_echo_n "checking for _sincos declaration... " >&6; }
27184 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27185 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27186 $as_echo_n "(cached) " >&6
27187 else
27190 ac_ext=cpp
27191 ac_cpp='$CXXCPP $CPPFLAGS'
27192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27197 /* end confdefs.h. */
27198 #include <math.h>
27200 main ()
27202 _sincos(0, 0, 0);
27204 return 0;
27206 _ACEOF
27207 if ac_fn_cxx_try_compile "$LINENO"; then :
27208 glibcxx_cv_func__sincos_use=yes
27209 else
27210 glibcxx_cv_func__sincos_use=no
27212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27213 ac_ext=c
27214 ac_cpp='$CPP $CPPFLAGS'
27215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
27224 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
27226 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
27227 for ac_func in _sincos
27228 do :
27229 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
27230 if test "x$ac_cv_func__sincos" = x""yes; then :
27231 cat >>confdefs.h <<_ACEOF
27232 #define HAVE__SINCOS 1
27233 _ACEOF
27236 done
27245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
27246 $as_echo_n "checking for fpclass declaration... " >&6; }
27247 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
27248 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
27249 $as_echo_n "(cached) " >&6
27250 else
27253 ac_ext=cpp
27254 ac_cpp='$CXXCPP $CPPFLAGS'
27255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27260 /* end confdefs.h. */
27261 #include <math.h>
27262 #ifdef HAVE_IEEEFP_H
27263 #include <ieeefp.h>
27264 #endif
27267 main ()
27269 fpclass(0);
27271 return 0;
27273 _ACEOF
27274 if ac_fn_cxx_try_compile "$LINENO"; then :
27275 glibcxx_cv_func_fpclass_use=yes
27276 else
27277 glibcxx_cv_func_fpclass_use=no
27279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27280 ac_ext=c
27281 ac_cpp='$CPP $CPPFLAGS'
27282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
27291 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
27293 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
27294 for ac_func in fpclass
27295 do :
27296 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
27297 if test "x$ac_cv_func_fpclass" = x""yes; then :
27298 cat >>confdefs.h <<_ACEOF
27299 #define HAVE_FPCLASS 1
27300 _ACEOF
27303 done
27305 else
27307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
27308 $as_echo_n "checking for _fpclass declaration... " >&6; }
27309 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
27310 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
27311 $as_echo_n "(cached) " >&6
27312 else
27315 ac_ext=cpp
27316 ac_cpp='$CXXCPP $CPPFLAGS'
27317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27322 /* end confdefs.h. */
27323 #include <math.h>
27324 #ifdef HAVE_IEEEFP_H
27325 #include <ieeefp.h>
27326 #endif
27329 main ()
27331 _fpclass(0);
27333 return 0;
27335 _ACEOF
27336 if ac_fn_cxx_try_compile "$LINENO"; then :
27337 glibcxx_cv_func__fpclass_use=yes
27338 else
27339 glibcxx_cv_func__fpclass_use=no
27341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27342 ac_ext=c
27343 ac_cpp='$CPP $CPPFLAGS'
27344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
27353 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
27355 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
27356 for ac_func in _fpclass
27357 do :
27358 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
27359 if test "x$ac_cv_func__fpclass" = x""yes; then :
27360 cat >>confdefs.h <<_ACEOF
27361 #define HAVE__FPCLASS 1
27362 _ACEOF
27365 done
27374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
27375 $as_echo_n "checking for qfpclass declaration... " >&6; }
27376 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
27377 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
27378 $as_echo_n "(cached) " >&6
27379 else
27382 ac_ext=cpp
27383 ac_cpp='$CXXCPP $CPPFLAGS'
27384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27389 /* end confdefs.h. */
27390 #include <math.h>
27391 #ifdef HAVE_IEEEFP_H
27392 #include <ieeefp.h>
27393 #endif
27396 main ()
27398 qfpclass(0);
27400 return 0;
27402 _ACEOF
27403 if ac_fn_cxx_try_compile "$LINENO"; then :
27404 glibcxx_cv_func_qfpclass_use=yes
27405 else
27406 glibcxx_cv_func_qfpclass_use=no
27408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27409 ac_ext=c
27410 ac_cpp='$CPP $CPPFLAGS'
27411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
27420 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
27422 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
27423 for ac_func in qfpclass
27424 do :
27425 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
27426 if test "x$ac_cv_func_qfpclass" = x""yes; then :
27427 cat >>confdefs.h <<_ACEOF
27428 #define HAVE_QFPCLASS 1
27429 _ACEOF
27432 done
27434 else
27436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
27437 $as_echo_n "checking for _qfpclass declaration... " >&6; }
27438 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
27439 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
27440 $as_echo_n "(cached) " >&6
27441 else
27444 ac_ext=cpp
27445 ac_cpp='$CXXCPP $CPPFLAGS'
27446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27451 /* end confdefs.h. */
27452 #include <math.h>
27453 #ifdef HAVE_IEEEFP_H
27454 #include <ieeefp.h>
27455 #endif
27458 main ()
27460 _qfpclass(0);
27462 return 0;
27464 _ACEOF
27465 if ac_fn_cxx_try_compile "$LINENO"; then :
27466 glibcxx_cv_func__qfpclass_use=yes
27467 else
27468 glibcxx_cv_func__qfpclass_use=no
27470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27471 ac_ext=c
27472 ac_cpp='$CPP $CPPFLAGS'
27473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
27482 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
27484 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
27485 for ac_func in _qfpclass
27486 do :
27487 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
27488 if test "x$ac_cv_func__qfpclass" = x""yes; then :
27489 cat >>confdefs.h <<_ACEOF
27490 #define HAVE__QFPCLASS 1
27491 _ACEOF
27494 done
27503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
27504 $as_echo_n "checking for hypot declaration... " >&6; }
27505 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
27506 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
27507 $as_echo_n "(cached) " >&6
27508 else
27511 ac_ext=cpp
27512 ac_cpp='$CXXCPP $CPPFLAGS'
27513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27518 /* end confdefs.h. */
27519 #include <math.h>
27521 main ()
27523 hypot(0, 0);
27525 return 0;
27527 _ACEOF
27528 if ac_fn_cxx_try_compile "$LINENO"; then :
27529 glibcxx_cv_func_hypot_use=yes
27530 else
27531 glibcxx_cv_func_hypot_use=no
27533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27534 ac_ext=c
27535 ac_cpp='$CPP $CPPFLAGS'
27536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
27545 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
27547 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
27548 for ac_func in hypot
27549 do :
27550 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
27551 if test "x$ac_cv_func_hypot" = x""yes; then :
27552 cat >>confdefs.h <<_ACEOF
27553 #define HAVE_HYPOT 1
27554 _ACEOF
27557 done
27559 else
27561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
27562 $as_echo_n "checking for _hypot declaration... " >&6; }
27563 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
27564 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
27565 $as_echo_n "(cached) " >&6
27566 else
27569 ac_ext=cpp
27570 ac_cpp='$CXXCPP $CPPFLAGS'
27571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27576 /* end confdefs.h. */
27577 #include <math.h>
27579 main ()
27581 _hypot(0, 0);
27583 return 0;
27585 _ACEOF
27586 if ac_fn_cxx_try_compile "$LINENO"; then :
27587 glibcxx_cv_func__hypot_use=yes
27588 else
27589 glibcxx_cv_func__hypot_use=no
27591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27592 ac_ext=c
27593 ac_cpp='$CPP $CPPFLAGS'
27594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
27603 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
27605 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
27606 for ac_func in _hypot
27607 do :
27608 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
27609 if test "x$ac_cv_func__hypot" = x""yes; then :
27610 cat >>confdefs.h <<_ACEOF
27611 #define HAVE__HYPOT 1
27612 _ACEOF
27615 done
27624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
27625 $as_echo_n "checking for float trig functions... " >&6; }
27626 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
27627 $as_echo_n "(cached) " >&6
27628 else
27631 ac_ext=cpp
27632 ac_cpp='$CXXCPP $CPPFLAGS'
27633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27638 /* end confdefs.h. */
27639 #include <math.h>
27641 main ()
27643 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
27645 return 0;
27647 _ACEOF
27648 if ac_fn_cxx_try_compile "$LINENO"; then :
27649 glibcxx_cv_func_float_trig_use=yes
27650 else
27651 glibcxx_cv_func_float_trig_use=no
27653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27654 ac_ext=c
27655 ac_cpp='$CPP $CPPFLAGS'
27656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
27663 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
27664 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
27665 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
27666 do :
27667 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27668 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27669 eval as_val=\$$as_ac_var
27670 if test "x$as_val" = x""yes; then :
27671 cat >>confdefs.h <<_ACEOF
27672 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27673 _ACEOF
27676 done
27678 else
27679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
27680 $as_echo_n "checking for _float trig functions... " >&6; }
27681 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
27682 $as_echo_n "(cached) " >&6
27683 else
27686 ac_ext=cpp
27687 ac_cpp='$CXXCPP $CPPFLAGS'
27688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27693 /* end confdefs.h. */
27694 #include <math.h>
27696 main ()
27698 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
27700 return 0;
27702 _ACEOF
27703 if ac_fn_cxx_try_compile "$LINENO"; then :
27704 glibcxx_cv_func__float_trig_use=yes
27705 else
27706 glibcxx_cv_func__float_trig_use=no
27708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27709 ac_ext=c
27710 ac_cpp='$CPP $CPPFLAGS'
27711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
27718 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
27719 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
27720 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
27721 do :
27722 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27723 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27724 eval as_val=\$$as_ac_var
27725 if test "x$as_val" = x""yes; then :
27726 cat >>confdefs.h <<_ACEOF
27727 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27728 _ACEOF
27731 done
27740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
27741 $as_echo_n "checking for float round functions... " >&6; }
27742 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
27743 $as_echo_n "(cached) " >&6
27744 else
27747 ac_ext=cpp
27748 ac_cpp='$CXXCPP $CPPFLAGS'
27749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27754 /* end confdefs.h. */
27755 #include <math.h>
27757 main ()
27759 ceilf (0); floorf (0);
27761 return 0;
27763 _ACEOF
27764 if ac_fn_cxx_try_compile "$LINENO"; then :
27765 glibcxx_cv_func_float_round_use=yes
27766 else
27767 glibcxx_cv_func_float_round_use=no
27769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27770 ac_ext=c
27771 ac_cpp='$CPP $CPPFLAGS'
27772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
27779 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
27780 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
27781 for ac_func in ceilf floorf
27782 do :
27783 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27784 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27785 eval as_val=\$$as_ac_var
27786 if test "x$as_val" = x""yes; then :
27787 cat >>confdefs.h <<_ACEOF
27788 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27789 _ACEOF
27792 done
27794 else
27795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
27796 $as_echo_n "checking for _float round functions... " >&6; }
27797 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
27798 $as_echo_n "(cached) " >&6
27799 else
27802 ac_ext=cpp
27803 ac_cpp='$CXXCPP $CPPFLAGS'
27804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27809 /* end confdefs.h. */
27810 #include <math.h>
27812 main ()
27814 _ceilf (0); _floorf (0);
27816 return 0;
27818 _ACEOF
27819 if ac_fn_cxx_try_compile "$LINENO"; then :
27820 glibcxx_cv_func__float_round_use=yes
27821 else
27822 glibcxx_cv_func__float_round_use=no
27824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27825 ac_ext=c
27826 ac_cpp='$CPP $CPPFLAGS'
27827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
27834 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
27835 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
27836 for ac_func in _ceilf _floorf
27837 do :
27838 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27839 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27840 eval as_val=\$$as_ac_var
27841 if test "x$as_val" = x""yes; then :
27842 cat >>confdefs.h <<_ACEOF
27843 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27844 _ACEOF
27847 done
27857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
27858 $as_echo_n "checking for expf declaration... " >&6; }
27859 if test x${glibcxx_cv_func_expf_use+set} != xset; then
27860 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
27861 $as_echo_n "(cached) " >&6
27862 else
27865 ac_ext=cpp
27866 ac_cpp='$CXXCPP $CPPFLAGS'
27867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27872 /* end confdefs.h. */
27873 #include <math.h>
27874 #ifdef HAVE_IEEEFP_H
27875 #include <ieeefp.h>
27876 #endif
27879 main ()
27881 expf(0);
27883 return 0;
27885 _ACEOF
27886 if ac_fn_cxx_try_compile "$LINENO"; then :
27887 glibcxx_cv_func_expf_use=yes
27888 else
27889 glibcxx_cv_func_expf_use=no
27891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27892 ac_ext=c
27893 ac_cpp='$CPP $CPPFLAGS'
27894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
27903 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
27905 if test x$glibcxx_cv_func_expf_use = x"yes"; then
27906 for ac_func in expf
27907 do :
27908 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
27909 if test "x$ac_cv_func_expf" = x""yes; then :
27910 cat >>confdefs.h <<_ACEOF
27911 #define HAVE_EXPF 1
27912 _ACEOF
27915 done
27917 else
27919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
27920 $as_echo_n "checking for _expf declaration... " >&6; }
27921 if test x${glibcxx_cv_func__expf_use+set} != xset; then
27922 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
27923 $as_echo_n "(cached) " >&6
27924 else
27927 ac_ext=cpp
27928 ac_cpp='$CXXCPP $CPPFLAGS'
27929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27934 /* end confdefs.h. */
27935 #include <math.h>
27936 #ifdef HAVE_IEEEFP_H
27937 #include <ieeefp.h>
27938 #endif
27941 main ()
27943 _expf(0);
27945 return 0;
27947 _ACEOF
27948 if ac_fn_cxx_try_compile "$LINENO"; then :
27949 glibcxx_cv_func__expf_use=yes
27950 else
27951 glibcxx_cv_func__expf_use=no
27953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27954 ac_ext=c
27955 ac_cpp='$CPP $CPPFLAGS'
27956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
27965 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
27967 if test x$glibcxx_cv_func__expf_use = x"yes"; then
27968 for ac_func in _expf
27969 do :
27970 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
27971 if test "x$ac_cv_func__expf" = x""yes; then :
27972 cat >>confdefs.h <<_ACEOF
27973 #define HAVE__EXPF 1
27974 _ACEOF
27977 done
27986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
27987 $as_echo_n "checking for isnanf declaration... " >&6; }
27988 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
27989 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
27990 $as_echo_n "(cached) " >&6
27991 else
27994 ac_ext=cpp
27995 ac_cpp='$CXXCPP $CPPFLAGS'
27996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28001 /* end confdefs.h. */
28002 #include <math.h>
28003 #ifdef HAVE_IEEEFP_H
28004 #include <ieeefp.h>
28005 #endif
28008 main ()
28010 isnanf(0);
28012 return 0;
28014 _ACEOF
28015 if ac_fn_cxx_try_compile "$LINENO"; then :
28016 glibcxx_cv_func_isnanf_use=yes
28017 else
28018 glibcxx_cv_func_isnanf_use=no
28020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28021 ac_ext=c
28022 ac_cpp='$CPP $CPPFLAGS'
28023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
28032 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
28034 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
28035 for ac_func in isnanf
28036 do :
28037 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
28038 if test "x$ac_cv_func_isnanf" = x""yes; then :
28039 cat >>confdefs.h <<_ACEOF
28040 #define HAVE_ISNANF 1
28041 _ACEOF
28044 done
28046 else
28048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28049 $as_echo_n "checking for _isnanf declaration... " >&6; }
28050 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28051 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28052 $as_echo_n "(cached) " >&6
28053 else
28056 ac_ext=cpp
28057 ac_cpp='$CXXCPP $CPPFLAGS'
28058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28063 /* end confdefs.h. */
28064 #include <math.h>
28065 #ifdef HAVE_IEEEFP_H
28066 #include <ieeefp.h>
28067 #endif
28070 main ()
28072 _isnanf(0);
28074 return 0;
28076 _ACEOF
28077 if ac_fn_cxx_try_compile "$LINENO"; then :
28078 glibcxx_cv_func__isnanf_use=yes
28079 else
28080 glibcxx_cv_func__isnanf_use=no
28082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28083 ac_ext=c
28084 ac_cpp='$CPP $CPPFLAGS'
28085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28094 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28096 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28097 for ac_func in _isnanf
28098 do :
28099 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28100 if test "x$ac_cv_func__isnanf" = x""yes; then :
28101 cat >>confdefs.h <<_ACEOF
28102 #define HAVE__ISNANF 1
28103 _ACEOF
28106 done
28115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28116 $as_echo_n "checking for isinff declaration... " >&6; }
28117 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28118 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28119 $as_echo_n "(cached) " >&6
28120 else
28123 ac_ext=cpp
28124 ac_cpp='$CXXCPP $CPPFLAGS'
28125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28130 /* end confdefs.h. */
28131 #include <math.h>
28132 #ifdef HAVE_IEEEFP_H
28133 #include <ieeefp.h>
28134 #endif
28137 main ()
28139 isinff(0);
28141 return 0;
28143 _ACEOF
28144 if ac_fn_cxx_try_compile "$LINENO"; then :
28145 glibcxx_cv_func_isinff_use=yes
28146 else
28147 glibcxx_cv_func_isinff_use=no
28149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28150 ac_ext=c
28151 ac_cpp='$CPP $CPPFLAGS'
28152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28161 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28163 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28164 for ac_func in isinff
28165 do :
28166 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28167 if test "x$ac_cv_func_isinff" = x""yes; then :
28168 cat >>confdefs.h <<_ACEOF
28169 #define HAVE_ISINFF 1
28170 _ACEOF
28173 done
28175 else
28177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28178 $as_echo_n "checking for _isinff declaration... " >&6; }
28179 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28180 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
28181 $as_echo_n "(cached) " >&6
28182 else
28185 ac_ext=cpp
28186 ac_cpp='$CXXCPP $CPPFLAGS'
28187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28192 /* end confdefs.h. */
28193 #include <math.h>
28194 #ifdef HAVE_IEEEFP_H
28195 #include <ieeefp.h>
28196 #endif
28199 main ()
28201 _isinff(0);
28203 return 0;
28205 _ACEOF
28206 if ac_fn_cxx_try_compile "$LINENO"; then :
28207 glibcxx_cv_func__isinff_use=yes
28208 else
28209 glibcxx_cv_func__isinff_use=no
28211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28212 ac_ext=c
28213 ac_cpp='$CPP $CPPFLAGS'
28214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
28223 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
28225 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28226 for ac_func in _isinff
28227 do :
28228 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
28229 if test "x$ac_cv_func__isinff" = x""yes; then :
28230 cat >>confdefs.h <<_ACEOF
28231 #define HAVE__ISINFF 1
28232 _ACEOF
28235 done
28244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
28245 $as_echo_n "checking for atan2f declaration... " >&6; }
28246 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
28247 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
28248 $as_echo_n "(cached) " >&6
28249 else
28252 ac_ext=cpp
28253 ac_cpp='$CXXCPP $CPPFLAGS'
28254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28259 /* end confdefs.h. */
28260 #include <math.h>
28262 main ()
28264 atan2f(0, 0);
28266 return 0;
28268 _ACEOF
28269 if ac_fn_cxx_try_compile "$LINENO"; then :
28270 glibcxx_cv_func_atan2f_use=yes
28271 else
28272 glibcxx_cv_func_atan2f_use=no
28274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28275 ac_ext=c
28276 ac_cpp='$CPP $CPPFLAGS'
28277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
28286 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
28288 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
28289 for ac_func in atan2f
28290 do :
28291 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
28292 if test "x$ac_cv_func_atan2f" = x""yes; then :
28293 cat >>confdefs.h <<_ACEOF
28294 #define HAVE_ATAN2F 1
28295 _ACEOF
28298 done
28300 else
28302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
28303 $as_echo_n "checking for _atan2f declaration... " >&6; }
28304 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
28305 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
28306 $as_echo_n "(cached) " >&6
28307 else
28310 ac_ext=cpp
28311 ac_cpp='$CXXCPP $CPPFLAGS'
28312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28317 /* end confdefs.h. */
28318 #include <math.h>
28320 main ()
28322 _atan2f(0, 0);
28324 return 0;
28326 _ACEOF
28327 if ac_fn_cxx_try_compile "$LINENO"; then :
28328 glibcxx_cv_func__atan2f_use=yes
28329 else
28330 glibcxx_cv_func__atan2f_use=no
28332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28333 ac_ext=c
28334 ac_cpp='$CPP $CPPFLAGS'
28335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
28344 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
28346 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
28347 for ac_func in _atan2f
28348 do :
28349 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
28350 if test "x$ac_cv_func__atan2f" = x""yes; then :
28351 cat >>confdefs.h <<_ACEOF
28352 #define HAVE__ATAN2F 1
28353 _ACEOF
28356 done
28365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
28366 $as_echo_n "checking for fabsf declaration... " >&6; }
28367 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
28368 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
28369 $as_echo_n "(cached) " >&6
28370 else
28373 ac_ext=cpp
28374 ac_cpp='$CXXCPP $CPPFLAGS'
28375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28380 /* end confdefs.h. */
28381 #include <math.h>
28382 #ifdef HAVE_IEEEFP_H
28383 #include <ieeefp.h>
28384 #endif
28387 main ()
28389 fabsf(0);
28391 return 0;
28393 _ACEOF
28394 if ac_fn_cxx_try_compile "$LINENO"; then :
28395 glibcxx_cv_func_fabsf_use=yes
28396 else
28397 glibcxx_cv_func_fabsf_use=no
28399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28400 ac_ext=c
28401 ac_cpp='$CPP $CPPFLAGS'
28402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
28411 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
28413 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
28414 for ac_func in fabsf
28415 do :
28416 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
28417 if test "x$ac_cv_func_fabsf" = x""yes; then :
28418 cat >>confdefs.h <<_ACEOF
28419 #define HAVE_FABSF 1
28420 _ACEOF
28423 done
28425 else
28427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
28428 $as_echo_n "checking for _fabsf declaration... " >&6; }
28429 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
28430 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
28431 $as_echo_n "(cached) " >&6
28432 else
28435 ac_ext=cpp
28436 ac_cpp='$CXXCPP $CPPFLAGS'
28437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28442 /* end confdefs.h. */
28443 #include <math.h>
28444 #ifdef HAVE_IEEEFP_H
28445 #include <ieeefp.h>
28446 #endif
28449 main ()
28451 _fabsf(0);
28453 return 0;
28455 _ACEOF
28456 if ac_fn_cxx_try_compile "$LINENO"; then :
28457 glibcxx_cv_func__fabsf_use=yes
28458 else
28459 glibcxx_cv_func__fabsf_use=no
28461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28462 ac_ext=c
28463 ac_cpp='$CPP $CPPFLAGS'
28464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
28473 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
28475 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
28476 for ac_func in _fabsf
28477 do :
28478 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
28479 if test "x$ac_cv_func__fabsf" = x""yes; then :
28480 cat >>confdefs.h <<_ACEOF
28481 #define HAVE__FABSF 1
28482 _ACEOF
28485 done
28494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
28495 $as_echo_n "checking for fmodf declaration... " >&6; }
28496 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
28497 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
28498 $as_echo_n "(cached) " >&6
28499 else
28502 ac_ext=cpp
28503 ac_cpp='$CXXCPP $CPPFLAGS'
28504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28509 /* end confdefs.h. */
28510 #include <math.h>
28512 main ()
28514 fmodf(0, 0);
28516 return 0;
28518 _ACEOF
28519 if ac_fn_cxx_try_compile "$LINENO"; then :
28520 glibcxx_cv_func_fmodf_use=yes
28521 else
28522 glibcxx_cv_func_fmodf_use=no
28524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28525 ac_ext=c
28526 ac_cpp='$CPP $CPPFLAGS'
28527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
28536 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
28538 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
28539 for ac_func in fmodf
28540 do :
28541 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
28542 if test "x$ac_cv_func_fmodf" = x""yes; then :
28543 cat >>confdefs.h <<_ACEOF
28544 #define HAVE_FMODF 1
28545 _ACEOF
28548 done
28550 else
28552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
28553 $as_echo_n "checking for _fmodf declaration... " >&6; }
28554 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
28555 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
28556 $as_echo_n "(cached) " >&6
28557 else
28560 ac_ext=cpp
28561 ac_cpp='$CXXCPP $CPPFLAGS'
28562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28567 /* end confdefs.h. */
28568 #include <math.h>
28570 main ()
28572 _fmodf(0, 0);
28574 return 0;
28576 _ACEOF
28577 if ac_fn_cxx_try_compile "$LINENO"; then :
28578 glibcxx_cv_func__fmodf_use=yes
28579 else
28580 glibcxx_cv_func__fmodf_use=no
28582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28583 ac_ext=c
28584 ac_cpp='$CPP $CPPFLAGS'
28585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
28594 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
28596 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
28597 for ac_func in _fmodf
28598 do :
28599 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
28600 if test "x$ac_cv_func__fmodf" = x""yes; then :
28601 cat >>confdefs.h <<_ACEOF
28602 #define HAVE__FMODF 1
28603 _ACEOF
28606 done
28615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
28616 $as_echo_n "checking for frexpf declaration... " >&6; }
28617 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
28618 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
28619 $as_echo_n "(cached) " >&6
28620 else
28623 ac_ext=cpp
28624 ac_cpp='$CXXCPP $CPPFLAGS'
28625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28630 /* end confdefs.h. */
28631 #include <math.h>
28633 main ()
28635 frexpf(0, 0);
28637 return 0;
28639 _ACEOF
28640 if ac_fn_cxx_try_compile "$LINENO"; then :
28641 glibcxx_cv_func_frexpf_use=yes
28642 else
28643 glibcxx_cv_func_frexpf_use=no
28645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28646 ac_ext=c
28647 ac_cpp='$CPP $CPPFLAGS'
28648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
28657 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
28659 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
28660 for ac_func in frexpf
28661 do :
28662 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
28663 if test "x$ac_cv_func_frexpf" = x""yes; then :
28664 cat >>confdefs.h <<_ACEOF
28665 #define HAVE_FREXPF 1
28666 _ACEOF
28669 done
28671 else
28673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
28674 $as_echo_n "checking for _frexpf declaration... " >&6; }
28675 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
28676 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
28677 $as_echo_n "(cached) " >&6
28678 else
28681 ac_ext=cpp
28682 ac_cpp='$CXXCPP $CPPFLAGS'
28683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28688 /* end confdefs.h. */
28689 #include <math.h>
28691 main ()
28693 _frexpf(0, 0);
28695 return 0;
28697 _ACEOF
28698 if ac_fn_cxx_try_compile "$LINENO"; then :
28699 glibcxx_cv_func__frexpf_use=yes
28700 else
28701 glibcxx_cv_func__frexpf_use=no
28703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28704 ac_ext=c
28705 ac_cpp='$CPP $CPPFLAGS'
28706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
28715 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
28717 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
28718 for ac_func in _frexpf
28719 do :
28720 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
28721 if test "x$ac_cv_func__frexpf" = x""yes; then :
28722 cat >>confdefs.h <<_ACEOF
28723 #define HAVE__FREXPF 1
28724 _ACEOF
28727 done
28736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
28737 $as_echo_n "checking for hypotf declaration... " >&6; }
28738 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
28739 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
28740 $as_echo_n "(cached) " >&6
28741 else
28744 ac_ext=cpp
28745 ac_cpp='$CXXCPP $CPPFLAGS'
28746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28751 /* end confdefs.h. */
28752 #include <math.h>
28754 main ()
28756 hypotf(0, 0);
28758 return 0;
28760 _ACEOF
28761 if ac_fn_cxx_try_compile "$LINENO"; then :
28762 glibcxx_cv_func_hypotf_use=yes
28763 else
28764 glibcxx_cv_func_hypotf_use=no
28766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28767 ac_ext=c
28768 ac_cpp='$CPP $CPPFLAGS'
28769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
28778 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
28780 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
28781 for ac_func in hypotf
28782 do :
28783 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
28784 if test "x$ac_cv_func_hypotf" = x""yes; then :
28785 cat >>confdefs.h <<_ACEOF
28786 #define HAVE_HYPOTF 1
28787 _ACEOF
28790 done
28792 else
28794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
28795 $as_echo_n "checking for _hypotf declaration... " >&6; }
28796 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
28797 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
28798 $as_echo_n "(cached) " >&6
28799 else
28802 ac_ext=cpp
28803 ac_cpp='$CXXCPP $CPPFLAGS'
28804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28809 /* end confdefs.h. */
28810 #include <math.h>
28812 main ()
28814 _hypotf(0, 0);
28816 return 0;
28818 _ACEOF
28819 if ac_fn_cxx_try_compile "$LINENO"; then :
28820 glibcxx_cv_func__hypotf_use=yes
28821 else
28822 glibcxx_cv_func__hypotf_use=no
28824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28825 ac_ext=c
28826 ac_cpp='$CPP $CPPFLAGS'
28827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
28836 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
28838 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
28839 for ac_func in _hypotf
28840 do :
28841 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
28842 if test "x$ac_cv_func__hypotf" = x""yes; then :
28843 cat >>confdefs.h <<_ACEOF
28844 #define HAVE__HYPOTF 1
28845 _ACEOF
28848 done
28857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
28858 $as_echo_n "checking for ldexpf declaration... " >&6; }
28859 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
28860 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
28861 $as_echo_n "(cached) " >&6
28862 else
28865 ac_ext=cpp
28866 ac_cpp='$CXXCPP $CPPFLAGS'
28867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28872 /* end confdefs.h. */
28873 #include <math.h>
28875 main ()
28877 ldexpf(0, 0);
28879 return 0;
28881 _ACEOF
28882 if ac_fn_cxx_try_compile "$LINENO"; then :
28883 glibcxx_cv_func_ldexpf_use=yes
28884 else
28885 glibcxx_cv_func_ldexpf_use=no
28887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28888 ac_ext=c
28889 ac_cpp='$CPP $CPPFLAGS'
28890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
28899 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
28901 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
28902 for ac_func in ldexpf
28903 do :
28904 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
28905 if test "x$ac_cv_func_ldexpf" = x""yes; then :
28906 cat >>confdefs.h <<_ACEOF
28907 #define HAVE_LDEXPF 1
28908 _ACEOF
28911 done
28913 else
28915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
28916 $as_echo_n "checking for _ldexpf declaration... " >&6; }
28917 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
28918 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
28919 $as_echo_n "(cached) " >&6
28920 else
28923 ac_ext=cpp
28924 ac_cpp='$CXXCPP $CPPFLAGS'
28925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28930 /* end confdefs.h. */
28931 #include <math.h>
28933 main ()
28935 _ldexpf(0, 0);
28937 return 0;
28939 _ACEOF
28940 if ac_fn_cxx_try_compile "$LINENO"; then :
28941 glibcxx_cv_func__ldexpf_use=yes
28942 else
28943 glibcxx_cv_func__ldexpf_use=no
28945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28946 ac_ext=c
28947 ac_cpp='$CPP $CPPFLAGS'
28948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
28957 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
28959 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
28960 for ac_func in _ldexpf
28961 do :
28962 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
28963 if test "x$ac_cv_func__ldexpf" = x""yes; then :
28964 cat >>confdefs.h <<_ACEOF
28965 #define HAVE__LDEXPF 1
28966 _ACEOF
28969 done
28978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
28979 $as_echo_n "checking for logf declaration... " >&6; }
28980 if test x${glibcxx_cv_func_logf_use+set} != xset; then
28981 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
28982 $as_echo_n "(cached) " >&6
28983 else
28986 ac_ext=cpp
28987 ac_cpp='$CXXCPP $CPPFLAGS'
28988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28993 /* end confdefs.h. */
28994 #include <math.h>
28995 #ifdef HAVE_IEEEFP_H
28996 #include <ieeefp.h>
28997 #endif
29000 main ()
29002 logf(0);
29004 return 0;
29006 _ACEOF
29007 if ac_fn_cxx_try_compile "$LINENO"; then :
29008 glibcxx_cv_func_logf_use=yes
29009 else
29010 glibcxx_cv_func_logf_use=no
29012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29013 ac_ext=c
29014 ac_cpp='$CPP $CPPFLAGS'
29015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
29024 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
29026 if test x$glibcxx_cv_func_logf_use = x"yes"; then
29027 for ac_func in logf
29028 do :
29029 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
29030 if test "x$ac_cv_func_logf" = x""yes; then :
29031 cat >>confdefs.h <<_ACEOF
29032 #define HAVE_LOGF 1
29033 _ACEOF
29036 done
29038 else
29040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
29041 $as_echo_n "checking for _logf declaration... " >&6; }
29042 if test x${glibcxx_cv_func__logf_use+set} != xset; then
29043 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29044 $as_echo_n "(cached) " >&6
29045 else
29048 ac_ext=cpp
29049 ac_cpp='$CXXCPP $CPPFLAGS'
29050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29055 /* end confdefs.h. */
29056 #include <math.h>
29057 #ifdef HAVE_IEEEFP_H
29058 #include <ieeefp.h>
29059 #endif
29062 main ()
29064 _logf(0);
29066 return 0;
29068 _ACEOF
29069 if ac_fn_cxx_try_compile "$LINENO"; then :
29070 glibcxx_cv_func__logf_use=yes
29071 else
29072 glibcxx_cv_func__logf_use=no
29074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29075 ac_ext=c
29076 ac_cpp='$CPP $CPPFLAGS'
29077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29086 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29088 if test x$glibcxx_cv_func__logf_use = x"yes"; then
29089 for ac_func in _logf
29090 do :
29091 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29092 if test "x$ac_cv_func__logf" = x""yes; then :
29093 cat >>confdefs.h <<_ACEOF
29094 #define HAVE__LOGF 1
29095 _ACEOF
29098 done
29107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29108 $as_echo_n "checking for log10f declaration... " >&6; }
29109 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29110 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29111 $as_echo_n "(cached) " >&6
29112 else
29115 ac_ext=cpp
29116 ac_cpp='$CXXCPP $CPPFLAGS'
29117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29122 /* end confdefs.h. */
29123 #include <math.h>
29124 #ifdef HAVE_IEEEFP_H
29125 #include <ieeefp.h>
29126 #endif
29129 main ()
29131 log10f(0);
29133 return 0;
29135 _ACEOF
29136 if ac_fn_cxx_try_compile "$LINENO"; then :
29137 glibcxx_cv_func_log10f_use=yes
29138 else
29139 glibcxx_cv_func_log10f_use=no
29141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29142 ac_ext=c
29143 ac_cpp='$CPP $CPPFLAGS'
29144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
29153 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29155 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29156 for ac_func in log10f
29157 do :
29158 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29159 if test "x$ac_cv_func_log10f" = x""yes; then :
29160 cat >>confdefs.h <<_ACEOF
29161 #define HAVE_LOG10F 1
29162 _ACEOF
29165 done
29167 else
29169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29170 $as_echo_n "checking for _log10f declaration... " >&6; }
29171 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29172 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29173 $as_echo_n "(cached) " >&6
29174 else
29177 ac_ext=cpp
29178 ac_cpp='$CXXCPP $CPPFLAGS'
29179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29184 /* end confdefs.h. */
29185 #include <math.h>
29186 #ifdef HAVE_IEEEFP_H
29187 #include <ieeefp.h>
29188 #endif
29191 main ()
29193 _log10f(0);
29195 return 0;
29197 _ACEOF
29198 if ac_fn_cxx_try_compile "$LINENO"; then :
29199 glibcxx_cv_func__log10f_use=yes
29200 else
29201 glibcxx_cv_func__log10f_use=no
29203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29204 ac_ext=c
29205 ac_cpp='$CPP $CPPFLAGS'
29206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
29215 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
29217 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
29218 for ac_func in _log10f
29219 do :
29220 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
29221 if test "x$ac_cv_func__log10f" = x""yes; then :
29222 cat >>confdefs.h <<_ACEOF
29223 #define HAVE__LOG10F 1
29224 _ACEOF
29227 done
29236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
29237 $as_echo_n "checking for modff declaration... " >&6; }
29238 if test x${glibcxx_cv_func_modff_use+set} != xset; then
29239 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
29240 $as_echo_n "(cached) " >&6
29241 else
29244 ac_ext=cpp
29245 ac_cpp='$CXXCPP $CPPFLAGS'
29246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29251 /* end confdefs.h. */
29252 #include <math.h>
29254 main ()
29256 modff(0, 0);
29258 return 0;
29260 _ACEOF
29261 if ac_fn_cxx_try_compile "$LINENO"; then :
29262 glibcxx_cv_func_modff_use=yes
29263 else
29264 glibcxx_cv_func_modff_use=no
29266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29267 ac_ext=c
29268 ac_cpp='$CPP $CPPFLAGS'
29269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
29278 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
29280 if test x$glibcxx_cv_func_modff_use = x"yes"; then
29281 for ac_func in modff
29282 do :
29283 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
29284 if test "x$ac_cv_func_modff" = x""yes; then :
29285 cat >>confdefs.h <<_ACEOF
29286 #define HAVE_MODFF 1
29287 _ACEOF
29290 done
29292 else
29294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
29295 $as_echo_n "checking for _modff declaration... " >&6; }
29296 if test x${glibcxx_cv_func__modff_use+set} != xset; then
29297 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
29298 $as_echo_n "(cached) " >&6
29299 else
29302 ac_ext=cpp
29303 ac_cpp='$CXXCPP $CPPFLAGS'
29304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29309 /* end confdefs.h. */
29310 #include <math.h>
29312 main ()
29314 _modff(0, 0);
29316 return 0;
29318 _ACEOF
29319 if ac_fn_cxx_try_compile "$LINENO"; then :
29320 glibcxx_cv_func__modff_use=yes
29321 else
29322 glibcxx_cv_func__modff_use=no
29324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29325 ac_ext=c
29326 ac_cpp='$CPP $CPPFLAGS'
29327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
29336 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
29338 if test x$glibcxx_cv_func__modff_use = x"yes"; then
29339 for ac_func in _modff
29340 do :
29341 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
29342 if test "x$ac_cv_func__modff" = x""yes; then :
29343 cat >>confdefs.h <<_ACEOF
29344 #define HAVE__MODFF 1
29345 _ACEOF
29348 done
29357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
29358 $as_echo_n "checking for modf declaration... " >&6; }
29359 if test x${glibcxx_cv_func_modf_use+set} != xset; then
29360 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
29361 $as_echo_n "(cached) " >&6
29362 else
29365 ac_ext=cpp
29366 ac_cpp='$CXXCPP $CPPFLAGS'
29367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29372 /* end confdefs.h. */
29373 #include <math.h>
29375 main ()
29377 modf(0, 0);
29379 return 0;
29381 _ACEOF
29382 if ac_fn_cxx_try_compile "$LINENO"; then :
29383 glibcxx_cv_func_modf_use=yes
29384 else
29385 glibcxx_cv_func_modf_use=no
29387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29388 ac_ext=c
29389 ac_cpp='$CPP $CPPFLAGS'
29390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
29399 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
29401 if test x$glibcxx_cv_func_modf_use = x"yes"; then
29402 for ac_func in modf
29403 do :
29404 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
29405 if test "x$ac_cv_func_modf" = x""yes; then :
29406 cat >>confdefs.h <<_ACEOF
29407 #define HAVE_MODF 1
29408 _ACEOF
29411 done
29413 else
29415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
29416 $as_echo_n "checking for _modf declaration... " >&6; }
29417 if test x${glibcxx_cv_func__modf_use+set} != xset; then
29418 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
29419 $as_echo_n "(cached) " >&6
29420 else
29423 ac_ext=cpp
29424 ac_cpp='$CXXCPP $CPPFLAGS'
29425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29430 /* end confdefs.h. */
29431 #include <math.h>
29433 main ()
29435 _modf(0, 0);
29437 return 0;
29439 _ACEOF
29440 if ac_fn_cxx_try_compile "$LINENO"; then :
29441 glibcxx_cv_func__modf_use=yes
29442 else
29443 glibcxx_cv_func__modf_use=no
29445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29446 ac_ext=c
29447 ac_cpp='$CPP $CPPFLAGS'
29448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
29457 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
29459 if test x$glibcxx_cv_func__modf_use = x"yes"; then
29460 for ac_func in _modf
29461 do :
29462 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
29463 if test "x$ac_cv_func__modf" = x""yes; then :
29464 cat >>confdefs.h <<_ACEOF
29465 #define HAVE__MODF 1
29466 _ACEOF
29469 done
29478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
29479 $as_echo_n "checking for powf declaration... " >&6; }
29480 if test x${glibcxx_cv_func_powf_use+set} != xset; then
29481 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
29482 $as_echo_n "(cached) " >&6
29483 else
29486 ac_ext=cpp
29487 ac_cpp='$CXXCPP $CPPFLAGS'
29488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29493 /* end confdefs.h. */
29494 #include <math.h>
29496 main ()
29498 powf(0, 0);
29500 return 0;
29502 _ACEOF
29503 if ac_fn_cxx_try_compile "$LINENO"; then :
29504 glibcxx_cv_func_powf_use=yes
29505 else
29506 glibcxx_cv_func_powf_use=no
29508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29509 ac_ext=c
29510 ac_cpp='$CPP $CPPFLAGS'
29511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
29520 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
29522 if test x$glibcxx_cv_func_powf_use = x"yes"; then
29523 for ac_func in powf
29524 do :
29525 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
29526 if test "x$ac_cv_func_powf" = x""yes; then :
29527 cat >>confdefs.h <<_ACEOF
29528 #define HAVE_POWF 1
29529 _ACEOF
29532 done
29534 else
29536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
29537 $as_echo_n "checking for _powf declaration... " >&6; }
29538 if test x${glibcxx_cv_func__powf_use+set} != xset; then
29539 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
29540 $as_echo_n "(cached) " >&6
29541 else
29544 ac_ext=cpp
29545 ac_cpp='$CXXCPP $CPPFLAGS'
29546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29551 /* end confdefs.h. */
29552 #include <math.h>
29554 main ()
29556 _powf(0, 0);
29558 return 0;
29560 _ACEOF
29561 if ac_fn_cxx_try_compile "$LINENO"; then :
29562 glibcxx_cv_func__powf_use=yes
29563 else
29564 glibcxx_cv_func__powf_use=no
29566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29567 ac_ext=c
29568 ac_cpp='$CPP $CPPFLAGS'
29569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
29578 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
29580 if test x$glibcxx_cv_func__powf_use = x"yes"; then
29581 for ac_func in _powf
29582 do :
29583 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
29584 if test "x$ac_cv_func__powf" = x""yes; then :
29585 cat >>confdefs.h <<_ACEOF
29586 #define HAVE__POWF 1
29587 _ACEOF
29590 done
29599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
29600 $as_echo_n "checking for sqrtf declaration... " >&6; }
29601 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
29602 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
29603 $as_echo_n "(cached) " >&6
29604 else
29607 ac_ext=cpp
29608 ac_cpp='$CXXCPP $CPPFLAGS'
29609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29614 /* end confdefs.h. */
29615 #include <math.h>
29616 #ifdef HAVE_IEEEFP_H
29617 #include <ieeefp.h>
29618 #endif
29621 main ()
29623 sqrtf(0);
29625 return 0;
29627 _ACEOF
29628 if ac_fn_cxx_try_compile "$LINENO"; then :
29629 glibcxx_cv_func_sqrtf_use=yes
29630 else
29631 glibcxx_cv_func_sqrtf_use=no
29633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29634 ac_ext=c
29635 ac_cpp='$CPP $CPPFLAGS'
29636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
29645 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
29647 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
29648 for ac_func in sqrtf
29649 do :
29650 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
29651 if test "x$ac_cv_func_sqrtf" = x""yes; then :
29652 cat >>confdefs.h <<_ACEOF
29653 #define HAVE_SQRTF 1
29654 _ACEOF
29657 done
29659 else
29661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
29662 $as_echo_n "checking for _sqrtf declaration... " >&6; }
29663 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
29664 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
29665 $as_echo_n "(cached) " >&6
29666 else
29669 ac_ext=cpp
29670 ac_cpp='$CXXCPP $CPPFLAGS'
29671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29676 /* end confdefs.h. */
29677 #include <math.h>
29678 #ifdef HAVE_IEEEFP_H
29679 #include <ieeefp.h>
29680 #endif
29683 main ()
29685 _sqrtf(0);
29687 return 0;
29689 _ACEOF
29690 if ac_fn_cxx_try_compile "$LINENO"; then :
29691 glibcxx_cv_func__sqrtf_use=yes
29692 else
29693 glibcxx_cv_func__sqrtf_use=no
29695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29696 ac_ext=c
29697 ac_cpp='$CPP $CPPFLAGS'
29698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
29707 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
29709 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
29710 for ac_func in _sqrtf
29711 do :
29712 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
29713 if test "x$ac_cv_func__sqrtf" = x""yes; then :
29714 cat >>confdefs.h <<_ACEOF
29715 #define HAVE__SQRTF 1
29716 _ACEOF
29719 done
29728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
29729 $as_echo_n "checking for sincosf declaration... " >&6; }
29730 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
29731 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
29732 $as_echo_n "(cached) " >&6
29733 else
29736 ac_ext=cpp
29737 ac_cpp='$CXXCPP $CPPFLAGS'
29738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29743 /* end confdefs.h. */
29744 #include <math.h>
29746 main ()
29748 sincosf(0, 0, 0);
29750 return 0;
29752 _ACEOF
29753 if ac_fn_cxx_try_compile "$LINENO"; then :
29754 glibcxx_cv_func_sincosf_use=yes
29755 else
29756 glibcxx_cv_func_sincosf_use=no
29758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29759 ac_ext=c
29760 ac_cpp='$CPP $CPPFLAGS'
29761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
29770 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
29772 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
29773 for ac_func in sincosf
29774 do :
29775 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
29776 if test "x$ac_cv_func_sincosf" = x""yes; then :
29777 cat >>confdefs.h <<_ACEOF
29778 #define HAVE_SINCOSF 1
29779 _ACEOF
29782 done
29784 else
29786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
29787 $as_echo_n "checking for _sincosf declaration... " >&6; }
29788 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
29789 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
29790 $as_echo_n "(cached) " >&6
29791 else
29794 ac_ext=cpp
29795 ac_cpp='$CXXCPP $CPPFLAGS'
29796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29801 /* end confdefs.h. */
29802 #include <math.h>
29804 main ()
29806 _sincosf(0, 0, 0);
29808 return 0;
29810 _ACEOF
29811 if ac_fn_cxx_try_compile "$LINENO"; then :
29812 glibcxx_cv_func__sincosf_use=yes
29813 else
29814 glibcxx_cv_func__sincosf_use=no
29816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29817 ac_ext=c
29818 ac_cpp='$CPP $CPPFLAGS'
29819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
29828 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
29830 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
29831 for ac_func in _sincosf
29832 do :
29833 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
29834 if test "x$ac_cv_func__sincosf" = x""yes; then :
29835 cat >>confdefs.h <<_ACEOF
29836 #define HAVE__SINCOSF 1
29837 _ACEOF
29840 done
29849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
29850 $as_echo_n "checking for finitef declaration... " >&6; }
29851 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
29852 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
29853 $as_echo_n "(cached) " >&6
29854 else
29857 ac_ext=cpp
29858 ac_cpp='$CXXCPP $CPPFLAGS'
29859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29864 /* end confdefs.h. */
29865 #include <math.h>
29866 #ifdef HAVE_IEEEFP_H
29867 #include <ieeefp.h>
29868 #endif
29871 main ()
29873 finitef(0);
29875 return 0;
29877 _ACEOF
29878 if ac_fn_cxx_try_compile "$LINENO"; then :
29879 glibcxx_cv_func_finitef_use=yes
29880 else
29881 glibcxx_cv_func_finitef_use=no
29883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29884 ac_ext=c
29885 ac_cpp='$CPP $CPPFLAGS'
29886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
29895 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
29897 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
29898 for ac_func in finitef
29899 do :
29900 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
29901 if test "x$ac_cv_func_finitef" = x""yes; then :
29902 cat >>confdefs.h <<_ACEOF
29903 #define HAVE_FINITEF 1
29904 _ACEOF
29907 done
29909 else
29911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
29912 $as_echo_n "checking for _finitef declaration... " >&6; }
29913 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
29914 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
29915 $as_echo_n "(cached) " >&6
29916 else
29919 ac_ext=cpp
29920 ac_cpp='$CXXCPP $CPPFLAGS'
29921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29926 /* end confdefs.h. */
29927 #include <math.h>
29928 #ifdef HAVE_IEEEFP_H
29929 #include <ieeefp.h>
29930 #endif
29933 main ()
29935 _finitef(0);
29937 return 0;
29939 _ACEOF
29940 if ac_fn_cxx_try_compile "$LINENO"; then :
29941 glibcxx_cv_func__finitef_use=yes
29942 else
29943 glibcxx_cv_func__finitef_use=no
29945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29946 ac_ext=c
29947 ac_cpp='$CPP $CPPFLAGS'
29948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
29957 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
29959 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
29960 for ac_func in _finitef
29961 do :
29962 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
29963 if test "x$ac_cv_func__finitef" = x""yes; then :
29964 cat >>confdefs.h <<_ACEOF
29965 #define HAVE__FINITEF 1
29966 _ACEOF
29969 done
29978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
29979 $as_echo_n "checking for long double trig functions... " >&6; }
29980 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
29981 $as_echo_n "(cached) " >&6
29982 else
29985 ac_ext=cpp
29986 ac_cpp='$CXXCPP $CPPFLAGS'
29987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29992 /* end confdefs.h. */
29993 #include <math.h>
29995 main ()
29997 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
29999 return 0;
30001 _ACEOF
30002 if ac_fn_cxx_try_compile "$LINENO"; then :
30003 glibcxx_cv_func_long_double_trig_use=yes
30004 else
30005 glibcxx_cv_func_long_double_trig_use=no
30007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30008 ac_ext=c
30009 ac_cpp='$CPP $CPPFLAGS'
30010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
30017 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
30018 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
30019 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
30020 do :
30021 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30022 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30023 eval as_val=\$$as_ac_var
30024 if test "x$as_val" = x""yes; then :
30025 cat >>confdefs.h <<_ACEOF
30026 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30027 _ACEOF
30030 done
30032 else
30033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
30034 $as_echo_n "checking for _long double trig functions... " >&6; }
30035 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
30036 $as_echo_n "(cached) " >&6
30037 else
30040 ac_ext=cpp
30041 ac_cpp='$CXXCPP $CPPFLAGS'
30042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30047 /* end confdefs.h. */
30048 #include <math.h>
30050 main ()
30052 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30054 return 0;
30056 _ACEOF
30057 if ac_fn_cxx_try_compile "$LINENO"; then :
30058 glibcxx_cv_func__long_double_trig_use=yes
30059 else
30060 glibcxx_cv_func__long_double_trig_use=no
30062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30063 ac_ext=c
30064 ac_cpp='$CPP $CPPFLAGS'
30065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30072 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30073 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30074 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30075 do :
30076 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30077 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30078 eval as_val=\$$as_ac_var
30079 if test "x$as_val" = x""yes; then :
30080 cat >>confdefs.h <<_ACEOF
30081 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30082 _ACEOF
30085 done
30094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30095 $as_echo_n "checking for long double round functions... " >&6; }
30096 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30097 $as_echo_n "(cached) " >&6
30098 else
30101 ac_ext=cpp
30102 ac_cpp='$CXXCPP $CPPFLAGS'
30103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30108 /* end confdefs.h. */
30109 #include <math.h>
30111 main ()
30113 ceill (0); floorl (0);
30115 return 0;
30117 _ACEOF
30118 if ac_fn_cxx_try_compile "$LINENO"; then :
30119 glibcxx_cv_func_long_double_round_use=yes
30120 else
30121 glibcxx_cv_func_long_double_round_use=no
30123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30124 ac_ext=c
30125 ac_cpp='$CPP $CPPFLAGS'
30126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30133 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30134 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30135 for ac_func in ceill floorl
30136 do :
30137 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30138 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30139 eval as_val=\$$as_ac_var
30140 if test "x$as_val" = x""yes; then :
30141 cat >>confdefs.h <<_ACEOF
30142 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30143 _ACEOF
30146 done
30148 else
30149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30150 $as_echo_n "checking for _long double round functions... " >&6; }
30151 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30152 $as_echo_n "(cached) " >&6
30153 else
30156 ac_ext=cpp
30157 ac_cpp='$CXXCPP $CPPFLAGS'
30158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30163 /* end confdefs.h. */
30164 #include <math.h>
30166 main ()
30168 _ceill (0); _floorl (0);
30170 return 0;
30172 _ACEOF
30173 if ac_fn_cxx_try_compile "$LINENO"; then :
30174 glibcxx_cv_func__long_double_round_use=yes
30175 else
30176 glibcxx_cv_func__long_double_round_use=no
30178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30179 ac_ext=c
30180 ac_cpp='$CPP $CPPFLAGS'
30181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30188 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
30189 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
30190 for ac_func in _ceill _floorl
30191 do :
30192 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30193 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30194 eval as_val=\$$as_ac_var
30195 if test "x$as_val" = x""yes; then :
30196 cat >>confdefs.h <<_ACEOF
30197 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30198 _ACEOF
30201 done
30211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
30212 $as_echo_n "checking for isnanl declaration... " >&6; }
30213 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
30214 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
30215 $as_echo_n "(cached) " >&6
30216 else
30219 ac_ext=cpp
30220 ac_cpp='$CXXCPP $CPPFLAGS'
30221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30226 /* end confdefs.h. */
30227 #include <math.h>
30228 #ifdef HAVE_IEEEFP_H
30229 #include <ieeefp.h>
30230 #endif
30233 main ()
30235 isnanl(0);
30237 return 0;
30239 _ACEOF
30240 if ac_fn_cxx_try_compile "$LINENO"; then :
30241 glibcxx_cv_func_isnanl_use=yes
30242 else
30243 glibcxx_cv_func_isnanl_use=no
30245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30246 ac_ext=c
30247 ac_cpp='$CPP $CPPFLAGS'
30248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
30257 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
30259 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
30260 for ac_func in isnanl
30261 do :
30262 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
30263 if test "x$ac_cv_func_isnanl" = x""yes; then :
30264 cat >>confdefs.h <<_ACEOF
30265 #define HAVE_ISNANL 1
30266 _ACEOF
30269 done
30271 else
30273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
30274 $as_echo_n "checking for _isnanl declaration... " >&6; }
30275 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
30276 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
30277 $as_echo_n "(cached) " >&6
30278 else
30281 ac_ext=cpp
30282 ac_cpp='$CXXCPP $CPPFLAGS'
30283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30288 /* end confdefs.h. */
30289 #include <math.h>
30290 #ifdef HAVE_IEEEFP_H
30291 #include <ieeefp.h>
30292 #endif
30295 main ()
30297 _isnanl(0);
30299 return 0;
30301 _ACEOF
30302 if ac_fn_cxx_try_compile "$LINENO"; then :
30303 glibcxx_cv_func__isnanl_use=yes
30304 else
30305 glibcxx_cv_func__isnanl_use=no
30307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30308 ac_ext=c
30309 ac_cpp='$CPP $CPPFLAGS'
30310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
30319 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
30321 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
30322 for ac_func in _isnanl
30323 do :
30324 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
30325 if test "x$ac_cv_func__isnanl" = x""yes; then :
30326 cat >>confdefs.h <<_ACEOF
30327 #define HAVE__ISNANL 1
30328 _ACEOF
30331 done
30340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
30341 $as_echo_n "checking for isinfl declaration... " >&6; }
30342 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
30343 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
30344 $as_echo_n "(cached) " >&6
30345 else
30348 ac_ext=cpp
30349 ac_cpp='$CXXCPP $CPPFLAGS'
30350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30355 /* end confdefs.h. */
30356 #include <math.h>
30357 #ifdef HAVE_IEEEFP_H
30358 #include <ieeefp.h>
30359 #endif
30362 main ()
30364 isinfl(0);
30366 return 0;
30368 _ACEOF
30369 if ac_fn_cxx_try_compile "$LINENO"; then :
30370 glibcxx_cv_func_isinfl_use=yes
30371 else
30372 glibcxx_cv_func_isinfl_use=no
30374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30375 ac_ext=c
30376 ac_cpp='$CPP $CPPFLAGS'
30377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
30386 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
30388 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
30389 for ac_func in isinfl
30390 do :
30391 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
30392 if test "x$ac_cv_func_isinfl" = x""yes; then :
30393 cat >>confdefs.h <<_ACEOF
30394 #define HAVE_ISINFL 1
30395 _ACEOF
30398 done
30400 else
30402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
30403 $as_echo_n "checking for _isinfl declaration... " >&6; }
30404 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
30405 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
30406 $as_echo_n "(cached) " >&6
30407 else
30410 ac_ext=cpp
30411 ac_cpp='$CXXCPP $CPPFLAGS'
30412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30417 /* end confdefs.h. */
30418 #include <math.h>
30419 #ifdef HAVE_IEEEFP_H
30420 #include <ieeefp.h>
30421 #endif
30424 main ()
30426 _isinfl(0);
30428 return 0;
30430 _ACEOF
30431 if ac_fn_cxx_try_compile "$LINENO"; then :
30432 glibcxx_cv_func__isinfl_use=yes
30433 else
30434 glibcxx_cv_func__isinfl_use=no
30436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30437 ac_ext=c
30438 ac_cpp='$CPP $CPPFLAGS'
30439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
30448 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
30450 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30451 for ac_func in _isinfl
30452 do :
30453 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
30454 if test "x$ac_cv_func__isinfl" = x""yes; then :
30455 cat >>confdefs.h <<_ACEOF
30456 #define HAVE__ISINFL 1
30457 _ACEOF
30460 done
30469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
30470 $as_echo_n "checking for atan2l declaration... " >&6; }
30471 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30472 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
30473 $as_echo_n "(cached) " >&6
30474 else
30477 ac_ext=cpp
30478 ac_cpp='$CXXCPP $CPPFLAGS'
30479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30484 /* end confdefs.h. */
30485 #include <math.h>
30487 main ()
30489 atan2l(0, 0);
30491 return 0;
30493 _ACEOF
30494 if ac_fn_cxx_try_compile "$LINENO"; then :
30495 glibcxx_cv_func_atan2l_use=yes
30496 else
30497 glibcxx_cv_func_atan2l_use=no
30499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30500 ac_ext=c
30501 ac_cpp='$CPP $CPPFLAGS'
30502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
30511 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
30513 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30514 for ac_func in atan2l
30515 do :
30516 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
30517 if test "x$ac_cv_func_atan2l" = x""yes; then :
30518 cat >>confdefs.h <<_ACEOF
30519 #define HAVE_ATAN2L 1
30520 _ACEOF
30523 done
30525 else
30527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
30528 $as_echo_n "checking for _atan2l declaration... " >&6; }
30529 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
30530 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
30531 $as_echo_n "(cached) " >&6
30532 else
30535 ac_ext=cpp
30536 ac_cpp='$CXXCPP $CPPFLAGS'
30537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30542 /* end confdefs.h. */
30543 #include <math.h>
30545 main ()
30547 _atan2l(0, 0);
30549 return 0;
30551 _ACEOF
30552 if ac_fn_cxx_try_compile "$LINENO"; then :
30553 glibcxx_cv_func__atan2l_use=yes
30554 else
30555 glibcxx_cv_func__atan2l_use=no
30557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30558 ac_ext=c
30559 ac_cpp='$CPP $CPPFLAGS'
30560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
30569 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
30571 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
30572 for ac_func in _atan2l
30573 do :
30574 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
30575 if test "x$ac_cv_func__atan2l" = x""yes; then :
30576 cat >>confdefs.h <<_ACEOF
30577 #define HAVE__ATAN2L 1
30578 _ACEOF
30581 done
30590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
30591 $as_echo_n "checking for expl declaration... " >&6; }
30592 if test x${glibcxx_cv_func_expl_use+set} != xset; then
30593 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
30594 $as_echo_n "(cached) " >&6
30595 else
30598 ac_ext=cpp
30599 ac_cpp='$CXXCPP $CPPFLAGS'
30600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30605 /* end confdefs.h. */
30606 #include <math.h>
30607 #ifdef HAVE_IEEEFP_H
30608 #include <ieeefp.h>
30609 #endif
30612 main ()
30614 expl(0);
30616 return 0;
30618 _ACEOF
30619 if ac_fn_cxx_try_compile "$LINENO"; then :
30620 glibcxx_cv_func_expl_use=yes
30621 else
30622 glibcxx_cv_func_expl_use=no
30624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30625 ac_ext=c
30626 ac_cpp='$CPP $CPPFLAGS'
30627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
30636 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
30638 if test x$glibcxx_cv_func_expl_use = x"yes"; then
30639 for ac_func in expl
30640 do :
30641 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
30642 if test "x$ac_cv_func_expl" = x""yes; then :
30643 cat >>confdefs.h <<_ACEOF
30644 #define HAVE_EXPL 1
30645 _ACEOF
30648 done
30650 else
30652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
30653 $as_echo_n "checking for _expl declaration... " >&6; }
30654 if test x${glibcxx_cv_func__expl_use+set} != xset; then
30655 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
30656 $as_echo_n "(cached) " >&6
30657 else
30660 ac_ext=cpp
30661 ac_cpp='$CXXCPP $CPPFLAGS'
30662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30667 /* end confdefs.h. */
30668 #include <math.h>
30669 #ifdef HAVE_IEEEFP_H
30670 #include <ieeefp.h>
30671 #endif
30674 main ()
30676 _expl(0);
30678 return 0;
30680 _ACEOF
30681 if ac_fn_cxx_try_compile "$LINENO"; then :
30682 glibcxx_cv_func__expl_use=yes
30683 else
30684 glibcxx_cv_func__expl_use=no
30686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30687 ac_ext=c
30688 ac_cpp='$CPP $CPPFLAGS'
30689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
30698 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
30700 if test x$glibcxx_cv_func__expl_use = x"yes"; then
30701 for ac_func in _expl
30702 do :
30703 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
30704 if test "x$ac_cv_func__expl" = x""yes; then :
30705 cat >>confdefs.h <<_ACEOF
30706 #define HAVE__EXPL 1
30707 _ACEOF
30710 done
30719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
30720 $as_echo_n "checking for fabsl declaration... " >&6; }
30721 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
30722 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
30723 $as_echo_n "(cached) " >&6
30724 else
30727 ac_ext=cpp
30728 ac_cpp='$CXXCPP $CPPFLAGS'
30729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30734 /* end confdefs.h. */
30735 #include <math.h>
30736 #ifdef HAVE_IEEEFP_H
30737 #include <ieeefp.h>
30738 #endif
30741 main ()
30743 fabsl(0);
30745 return 0;
30747 _ACEOF
30748 if ac_fn_cxx_try_compile "$LINENO"; then :
30749 glibcxx_cv_func_fabsl_use=yes
30750 else
30751 glibcxx_cv_func_fabsl_use=no
30753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30754 ac_ext=c
30755 ac_cpp='$CPP $CPPFLAGS'
30756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
30765 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
30767 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
30768 for ac_func in fabsl
30769 do :
30770 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
30771 if test "x$ac_cv_func_fabsl" = x""yes; then :
30772 cat >>confdefs.h <<_ACEOF
30773 #define HAVE_FABSL 1
30774 _ACEOF
30777 done
30779 else
30781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
30782 $as_echo_n "checking for _fabsl declaration... " >&6; }
30783 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
30784 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
30785 $as_echo_n "(cached) " >&6
30786 else
30789 ac_ext=cpp
30790 ac_cpp='$CXXCPP $CPPFLAGS'
30791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30796 /* end confdefs.h. */
30797 #include <math.h>
30798 #ifdef HAVE_IEEEFP_H
30799 #include <ieeefp.h>
30800 #endif
30803 main ()
30805 _fabsl(0);
30807 return 0;
30809 _ACEOF
30810 if ac_fn_cxx_try_compile "$LINENO"; then :
30811 glibcxx_cv_func__fabsl_use=yes
30812 else
30813 glibcxx_cv_func__fabsl_use=no
30815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30816 ac_ext=c
30817 ac_cpp='$CPP $CPPFLAGS'
30818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
30827 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
30829 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
30830 for ac_func in _fabsl
30831 do :
30832 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
30833 if test "x$ac_cv_func__fabsl" = x""yes; then :
30834 cat >>confdefs.h <<_ACEOF
30835 #define HAVE__FABSL 1
30836 _ACEOF
30839 done
30848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
30849 $as_echo_n "checking for fmodl declaration... " >&6; }
30850 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
30851 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
30852 $as_echo_n "(cached) " >&6
30853 else
30856 ac_ext=cpp
30857 ac_cpp='$CXXCPP $CPPFLAGS'
30858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30863 /* end confdefs.h. */
30864 #include <math.h>
30866 main ()
30868 fmodl(0, 0);
30870 return 0;
30872 _ACEOF
30873 if ac_fn_cxx_try_compile "$LINENO"; then :
30874 glibcxx_cv_func_fmodl_use=yes
30875 else
30876 glibcxx_cv_func_fmodl_use=no
30878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30879 ac_ext=c
30880 ac_cpp='$CPP $CPPFLAGS'
30881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
30890 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
30892 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
30893 for ac_func in fmodl
30894 do :
30895 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
30896 if test "x$ac_cv_func_fmodl" = x""yes; then :
30897 cat >>confdefs.h <<_ACEOF
30898 #define HAVE_FMODL 1
30899 _ACEOF
30902 done
30904 else
30906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
30907 $as_echo_n "checking for _fmodl declaration... " >&6; }
30908 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
30909 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
30910 $as_echo_n "(cached) " >&6
30911 else
30914 ac_ext=cpp
30915 ac_cpp='$CXXCPP $CPPFLAGS'
30916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30921 /* end confdefs.h. */
30922 #include <math.h>
30924 main ()
30926 _fmodl(0, 0);
30928 return 0;
30930 _ACEOF
30931 if ac_fn_cxx_try_compile "$LINENO"; then :
30932 glibcxx_cv_func__fmodl_use=yes
30933 else
30934 glibcxx_cv_func__fmodl_use=no
30936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30937 ac_ext=c
30938 ac_cpp='$CPP $CPPFLAGS'
30939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
30948 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
30950 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
30951 for ac_func in _fmodl
30952 do :
30953 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
30954 if test "x$ac_cv_func__fmodl" = x""yes; then :
30955 cat >>confdefs.h <<_ACEOF
30956 #define HAVE__FMODL 1
30957 _ACEOF
30960 done
30969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
30970 $as_echo_n "checking for frexpl declaration... " >&6; }
30971 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
30972 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
30973 $as_echo_n "(cached) " >&6
30974 else
30977 ac_ext=cpp
30978 ac_cpp='$CXXCPP $CPPFLAGS'
30979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30984 /* end confdefs.h. */
30985 #include <math.h>
30987 main ()
30989 frexpl(0, 0);
30991 return 0;
30993 _ACEOF
30994 if ac_fn_cxx_try_compile "$LINENO"; then :
30995 glibcxx_cv_func_frexpl_use=yes
30996 else
30997 glibcxx_cv_func_frexpl_use=no
30999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31000 ac_ext=c
31001 ac_cpp='$CPP $CPPFLAGS'
31002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
31011 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
31013 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31014 for ac_func in frexpl
31015 do :
31016 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
31017 if test "x$ac_cv_func_frexpl" = x""yes; then :
31018 cat >>confdefs.h <<_ACEOF
31019 #define HAVE_FREXPL 1
31020 _ACEOF
31023 done
31025 else
31027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
31028 $as_echo_n "checking for _frexpl declaration... " >&6; }
31029 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31030 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
31031 $as_echo_n "(cached) " >&6
31032 else
31035 ac_ext=cpp
31036 ac_cpp='$CXXCPP $CPPFLAGS'
31037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31042 /* end confdefs.h. */
31043 #include <math.h>
31045 main ()
31047 _frexpl(0, 0);
31049 return 0;
31051 _ACEOF
31052 if ac_fn_cxx_try_compile "$LINENO"; then :
31053 glibcxx_cv_func__frexpl_use=yes
31054 else
31055 glibcxx_cv_func__frexpl_use=no
31057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31058 ac_ext=c
31059 ac_cpp='$CPP $CPPFLAGS'
31060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31069 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31071 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31072 for ac_func in _frexpl
31073 do :
31074 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31075 if test "x$ac_cv_func__frexpl" = x""yes; then :
31076 cat >>confdefs.h <<_ACEOF
31077 #define HAVE__FREXPL 1
31078 _ACEOF
31081 done
31090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31091 $as_echo_n "checking for hypotl declaration... " >&6; }
31092 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31093 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31094 $as_echo_n "(cached) " >&6
31095 else
31098 ac_ext=cpp
31099 ac_cpp='$CXXCPP $CPPFLAGS'
31100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31105 /* end confdefs.h. */
31106 #include <math.h>
31108 main ()
31110 hypotl(0, 0);
31112 return 0;
31114 _ACEOF
31115 if ac_fn_cxx_try_compile "$LINENO"; then :
31116 glibcxx_cv_func_hypotl_use=yes
31117 else
31118 glibcxx_cv_func_hypotl_use=no
31120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31121 ac_ext=c
31122 ac_cpp='$CPP $CPPFLAGS'
31123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31132 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31134 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31135 for ac_func in hypotl
31136 do :
31137 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31138 if test "x$ac_cv_func_hypotl" = x""yes; then :
31139 cat >>confdefs.h <<_ACEOF
31140 #define HAVE_HYPOTL 1
31141 _ACEOF
31144 done
31146 else
31148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31149 $as_echo_n "checking for _hypotl declaration... " >&6; }
31150 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31151 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31152 $as_echo_n "(cached) " >&6
31153 else
31156 ac_ext=cpp
31157 ac_cpp='$CXXCPP $CPPFLAGS'
31158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31163 /* end confdefs.h. */
31164 #include <math.h>
31166 main ()
31168 _hypotl(0, 0);
31170 return 0;
31172 _ACEOF
31173 if ac_fn_cxx_try_compile "$LINENO"; then :
31174 glibcxx_cv_func__hypotl_use=yes
31175 else
31176 glibcxx_cv_func__hypotl_use=no
31178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31179 ac_ext=c
31180 ac_cpp='$CPP $CPPFLAGS'
31181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
31190 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
31192 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
31193 for ac_func in _hypotl
31194 do :
31195 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
31196 if test "x$ac_cv_func__hypotl" = x""yes; then :
31197 cat >>confdefs.h <<_ACEOF
31198 #define HAVE__HYPOTL 1
31199 _ACEOF
31202 done
31211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
31212 $as_echo_n "checking for ldexpl declaration... " >&6; }
31213 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
31214 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
31215 $as_echo_n "(cached) " >&6
31216 else
31219 ac_ext=cpp
31220 ac_cpp='$CXXCPP $CPPFLAGS'
31221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31226 /* end confdefs.h. */
31227 #include <math.h>
31229 main ()
31231 ldexpl(0, 0);
31233 return 0;
31235 _ACEOF
31236 if ac_fn_cxx_try_compile "$LINENO"; then :
31237 glibcxx_cv_func_ldexpl_use=yes
31238 else
31239 glibcxx_cv_func_ldexpl_use=no
31241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31242 ac_ext=c
31243 ac_cpp='$CPP $CPPFLAGS'
31244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
31253 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
31255 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
31256 for ac_func in ldexpl
31257 do :
31258 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
31259 if test "x$ac_cv_func_ldexpl" = x""yes; then :
31260 cat >>confdefs.h <<_ACEOF
31261 #define HAVE_LDEXPL 1
31262 _ACEOF
31265 done
31267 else
31269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
31270 $as_echo_n "checking for _ldexpl declaration... " >&6; }
31271 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
31272 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
31273 $as_echo_n "(cached) " >&6
31274 else
31277 ac_ext=cpp
31278 ac_cpp='$CXXCPP $CPPFLAGS'
31279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31284 /* end confdefs.h. */
31285 #include <math.h>
31287 main ()
31289 _ldexpl(0, 0);
31291 return 0;
31293 _ACEOF
31294 if ac_fn_cxx_try_compile "$LINENO"; then :
31295 glibcxx_cv_func__ldexpl_use=yes
31296 else
31297 glibcxx_cv_func__ldexpl_use=no
31299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31300 ac_ext=c
31301 ac_cpp='$CPP $CPPFLAGS'
31302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
31311 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
31313 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
31314 for ac_func in _ldexpl
31315 do :
31316 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
31317 if test "x$ac_cv_func__ldexpl" = x""yes; then :
31318 cat >>confdefs.h <<_ACEOF
31319 #define HAVE__LDEXPL 1
31320 _ACEOF
31323 done
31332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
31333 $as_echo_n "checking for logl declaration... " >&6; }
31334 if test x${glibcxx_cv_func_logl_use+set} != xset; then
31335 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
31336 $as_echo_n "(cached) " >&6
31337 else
31340 ac_ext=cpp
31341 ac_cpp='$CXXCPP $CPPFLAGS'
31342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31347 /* end confdefs.h. */
31348 #include <math.h>
31349 #ifdef HAVE_IEEEFP_H
31350 #include <ieeefp.h>
31351 #endif
31354 main ()
31356 logl(0);
31358 return 0;
31360 _ACEOF
31361 if ac_fn_cxx_try_compile "$LINENO"; then :
31362 glibcxx_cv_func_logl_use=yes
31363 else
31364 glibcxx_cv_func_logl_use=no
31366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31367 ac_ext=c
31368 ac_cpp='$CPP $CPPFLAGS'
31369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
31378 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
31380 if test x$glibcxx_cv_func_logl_use = x"yes"; then
31381 for ac_func in logl
31382 do :
31383 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
31384 if test "x$ac_cv_func_logl" = x""yes; then :
31385 cat >>confdefs.h <<_ACEOF
31386 #define HAVE_LOGL 1
31387 _ACEOF
31390 done
31392 else
31394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
31395 $as_echo_n "checking for _logl declaration... " >&6; }
31396 if test x${glibcxx_cv_func__logl_use+set} != xset; then
31397 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
31398 $as_echo_n "(cached) " >&6
31399 else
31402 ac_ext=cpp
31403 ac_cpp='$CXXCPP $CPPFLAGS'
31404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31409 /* end confdefs.h. */
31410 #include <math.h>
31411 #ifdef HAVE_IEEEFP_H
31412 #include <ieeefp.h>
31413 #endif
31416 main ()
31418 _logl(0);
31420 return 0;
31422 _ACEOF
31423 if ac_fn_cxx_try_compile "$LINENO"; then :
31424 glibcxx_cv_func__logl_use=yes
31425 else
31426 glibcxx_cv_func__logl_use=no
31428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31429 ac_ext=c
31430 ac_cpp='$CPP $CPPFLAGS'
31431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
31440 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
31442 if test x$glibcxx_cv_func__logl_use = x"yes"; then
31443 for ac_func in _logl
31444 do :
31445 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
31446 if test "x$ac_cv_func__logl" = x""yes; then :
31447 cat >>confdefs.h <<_ACEOF
31448 #define HAVE__LOGL 1
31449 _ACEOF
31452 done
31461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
31462 $as_echo_n "checking for log10l declaration... " >&6; }
31463 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
31464 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
31465 $as_echo_n "(cached) " >&6
31466 else
31469 ac_ext=cpp
31470 ac_cpp='$CXXCPP $CPPFLAGS'
31471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31476 /* end confdefs.h. */
31477 #include <math.h>
31478 #ifdef HAVE_IEEEFP_H
31479 #include <ieeefp.h>
31480 #endif
31483 main ()
31485 log10l(0);
31487 return 0;
31489 _ACEOF
31490 if ac_fn_cxx_try_compile "$LINENO"; then :
31491 glibcxx_cv_func_log10l_use=yes
31492 else
31493 glibcxx_cv_func_log10l_use=no
31495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31496 ac_ext=c
31497 ac_cpp='$CPP $CPPFLAGS'
31498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
31507 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
31509 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
31510 for ac_func in log10l
31511 do :
31512 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
31513 if test "x$ac_cv_func_log10l" = x""yes; then :
31514 cat >>confdefs.h <<_ACEOF
31515 #define HAVE_LOG10L 1
31516 _ACEOF
31519 done
31521 else
31523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
31524 $as_echo_n "checking for _log10l declaration... " >&6; }
31525 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
31526 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
31527 $as_echo_n "(cached) " >&6
31528 else
31531 ac_ext=cpp
31532 ac_cpp='$CXXCPP $CPPFLAGS'
31533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31538 /* end confdefs.h. */
31539 #include <math.h>
31540 #ifdef HAVE_IEEEFP_H
31541 #include <ieeefp.h>
31542 #endif
31545 main ()
31547 _log10l(0);
31549 return 0;
31551 _ACEOF
31552 if ac_fn_cxx_try_compile "$LINENO"; then :
31553 glibcxx_cv_func__log10l_use=yes
31554 else
31555 glibcxx_cv_func__log10l_use=no
31557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31558 ac_ext=c
31559 ac_cpp='$CPP $CPPFLAGS'
31560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
31569 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
31571 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
31572 for ac_func in _log10l
31573 do :
31574 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
31575 if test "x$ac_cv_func__log10l" = x""yes; then :
31576 cat >>confdefs.h <<_ACEOF
31577 #define HAVE__LOG10L 1
31578 _ACEOF
31581 done
31590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
31591 $as_echo_n "checking for modfl declaration... " >&6; }
31592 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
31593 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
31594 $as_echo_n "(cached) " >&6
31595 else
31598 ac_ext=cpp
31599 ac_cpp='$CXXCPP $CPPFLAGS'
31600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31605 /* end confdefs.h. */
31606 #include <math.h>
31608 main ()
31610 modfl(0, 0);
31612 return 0;
31614 _ACEOF
31615 if ac_fn_cxx_try_compile "$LINENO"; then :
31616 glibcxx_cv_func_modfl_use=yes
31617 else
31618 glibcxx_cv_func_modfl_use=no
31620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31621 ac_ext=c
31622 ac_cpp='$CPP $CPPFLAGS'
31623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
31632 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
31634 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
31635 for ac_func in modfl
31636 do :
31637 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
31638 if test "x$ac_cv_func_modfl" = x""yes; then :
31639 cat >>confdefs.h <<_ACEOF
31640 #define HAVE_MODFL 1
31641 _ACEOF
31644 done
31646 else
31648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
31649 $as_echo_n "checking for _modfl declaration... " >&6; }
31650 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
31651 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
31652 $as_echo_n "(cached) " >&6
31653 else
31656 ac_ext=cpp
31657 ac_cpp='$CXXCPP $CPPFLAGS'
31658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31663 /* end confdefs.h. */
31664 #include <math.h>
31666 main ()
31668 _modfl(0, 0);
31670 return 0;
31672 _ACEOF
31673 if ac_fn_cxx_try_compile "$LINENO"; then :
31674 glibcxx_cv_func__modfl_use=yes
31675 else
31676 glibcxx_cv_func__modfl_use=no
31678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31679 ac_ext=c
31680 ac_cpp='$CPP $CPPFLAGS'
31681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
31690 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
31692 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
31693 for ac_func in _modfl
31694 do :
31695 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
31696 if test "x$ac_cv_func__modfl" = x""yes; then :
31697 cat >>confdefs.h <<_ACEOF
31698 #define HAVE__MODFL 1
31699 _ACEOF
31702 done
31711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
31712 $as_echo_n "checking for powl declaration... " >&6; }
31713 if test x${glibcxx_cv_func_powl_use+set} != xset; then
31714 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
31715 $as_echo_n "(cached) " >&6
31716 else
31719 ac_ext=cpp
31720 ac_cpp='$CXXCPP $CPPFLAGS'
31721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31726 /* end confdefs.h. */
31727 #include <math.h>
31729 main ()
31731 powl(0, 0);
31733 return 0;
31735 _ACEOF
31736 if ac_fn_cxx_try_compile "$LINENO"; then :
31737 glibcxx_cv_func_powl_use=yes
31738 else
31739 glibcxx_cv_func_powl_use=no
31741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31742 ac_ext=c
31743 ac_cpp='$CPP $CPPFLAGS'
31744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
31753 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
31755 if test x$glibcxx_cv_func_powl_use = x"yes"; then
31756 for ac_func in powl
31757 do :
31758 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
31759 if test "x$ac_cv_func_powl" = x""yes; then :
31760 cat >>confdefs.h <<_ACEOF
31761 #define HAVE_POWL 1
31762 _ACEOF
31765 done
31767 else
31769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
31770 $as_echo_n "checking for _powl declaration... " >&6; }
31771 if test x${glibcxx_cv_func__powl_use+set} != xset; then
31772 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
31773 $as_echo_n "(cached) " >&6
31774 else
31777 ac_ext=cpp
31778 ac_cpp='$CXXCPP $CPPFLAGS'
31779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31784 /* end confdefs.h. */
31785 #include <math.h>
31787 main ()
31789 _powl(0, 0);
31791 return 0;
31793 _ACEOF
31794 if ac_fn_cxx_try_compile "$LINENO"; then :
31795 glibcxx_cv_func__powl_use=yes
31796 else
31797 glibcxx_cv_func__powl_use=no
31799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31800 ac_ext=c
31801 ac_cpp='$CPP $CPPFLAGS'
31802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
31811 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
31813 if test x$glibcxx_cv_func__powl_use = x"yes"; then
31814 for ac_func in _powl
31815 do :
31816 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
31817 if test "x$ac_cv_func__powl" = x""yes; then :
31818 cat >>confdefs.h <<_ACEOF
31819 #define HAVE__POWL 1
31820 _ACEOF
31823 done
31832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
31833 $as_echo_n "checking for sqrtl declaration... " >&6; }
31834 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
31835 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
31836 $as_echo_n "(cached) " >&6
31837 else
31840 ac_ext=cpp
31841 ac_cpp='$CXXCPP $CPPFLAGS'
31842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31847 /* end confdefs.h. */
31848 #include <math.h>
31849 #ifdef HAVE_IEEEFP_H
31850 #include <ieeefp.h>
31851 #endif
31854 main ()
31856 sqrtl(0);
31858 return 0;
31860 _ACEOF
31861 if ac_fn_cxx_try_compile "$LINENO"; then :
31862 glibcxx_cv_func_sqrtl_use=yes
31863 else
31864 glibcxx_cv_func_sqrtl_use=no
31866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31867 ac_ext=c
31868 ac_cpp='$CPP $CPPFLAGS'
31869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
31878 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
31880 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
31881 for ac_func in sqrtl
31882 do :
31883 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
31884 if test "x$ac_cv_func_sqrtl" = x""yes; then :
31885 cat >>confdefs.h <<_ACEOF
31886 #define HAVE_SQRTL 1
31887 _ACEOF
31890 done
31892 else
31894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
31895 $as_echo_n "checking for _sqrtl declaration... " >&6; }
31896 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
31897 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
31898 $as_echo_n "(cached) " >&6
31899 else
31902 ac_ext=cpp
31903 ac_cpp='$CXXCPP $CPPFLAGS'
31904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31909 /* end confdefs.h. */
31910 #include <math.h>
31911 #ifdef HAVE_IEEEFP_H
31912 #include <ieeefp.h>
31913 #endif
31916 main ()
31918 _sqrtl(0);
31920 return 0;
31922 _ACEOF
31923 if ac_fn_cxx_try_compile "$LINENO"; then :
31924 glibcxx_cv_func__sqrtl_use=yes
31925 else
31926 glibcxx_cv_func__sqrtl_use=no
31928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31929 ac_ext=c
31930 ac_cpp='$CPP $CPPFLAGS'
31931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
31940 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
31942 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
31943 for ac_func in _sqrtl
31944 do :
31945 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
31946 if test "x$ac_cv_func__sqrtl" = x""yes; then :
31947 cat >>confdefs.h <<_ACEOF
31948 #define HAVE__SQRTL 1
31949 _ACEOF
31952 done
31961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
31962 $as_echo_n "checking for sincosl declaration... " >&6; }
31963 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
31964 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
31965 $as_echo_n "(cached) " >&6
31966 else
31969 ac_ext=cpp
31970 ac_cpp='$CXXCPP $CPPFLAGS'
31971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31976 /* end confdefs.h. */
31977 #include <math.h>
31979 main ()
31981 sincosl(0, 0, 0);
31983 return 0;
31985 _ACEOF
31986 if ac_fn_cxx_try_compile "$LINENO"; then :
31987 glibcxx_cv_func_sincosl_use=yes
31988 else
31989 glibcxx_cv_func_sincosl_use=no
31991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31992 ac_ext=c
31993 ac_cpp='$CPP $CPPFLAGS'
31994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
32003 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
32005 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
32006 for ac_func in sincosl
32007 do :
32008 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
32009 if test "x$ac_cv_func_sincosl" = x""yes; then :
32010 cat >>confdefs.h <<_ACEOF
32011 #define HAVE_SINCOSL 1
32012 _ACEOF
32015 done
32017 else
32019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
32020 $as_echo_n "checking for _sincosl declaration... " >&6; }
32021 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
32022 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
32023 $as_echo_n "(cached) " >&6
32024 else
32027 ac_ext=cpp
32028 ac_cpp='$CXXCPP $CPPFLAGS'
32029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32034 /* end confdefs.h. */
32035 #include <math.h>
32037 main ()
32039 _sincosl(0, 0, 0);
32041 return 0;
32043 _ACEOF
32044 if ac_fn_cxx_try_compile "$LINENO"; then :
32045 glibcxx_cv_func__sincosl_use=yes
32046 else
32047 glibcxx_cv_func__sincosl_use=no
32049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32050 ac_ext=c
32051 ac_cpp='$CPP $CPPFLAGS'
32052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32061 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32063 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32064 for ac_func in _sincosl
32065 do :
32066 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32067 if test "x$ac_cv_func__sincosl" = x""yes; then :
32068 cat >>confdefs.h <<_ACEOF
32069 #define HAVE__SINCOSL 1
32070 _ACEOF
32073 done
32082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32083 $as_echo_n "checking for finitel declaration... " >&6; }
32084 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32085 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32086 $as_echo_n "(cached) " >&6
32087 else
32090 ac_ext=cpp
32091 ac_cpp='$CXXCPP $CPPFLAGS'
32092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32097 /* end confdefs.h. */
32098 #include <math.h>
32099 #ifdef HAVE_IEEEFP_H
32100 #include <ieeefp.h>
32101 #endif
32104 main ()
32106 finitel(0);
32108 return 0;
32110 _ACEOF
32111 if ac_fn_cxx_try_compile "$LINENO"; then :
32112 glibcxx_cv_func_finitel_use=yes
32113 else
32114 glibcxx_cv_func_finitel_use=no
32116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32117 ac_ext=c
32118 ac_cpp='$CPP $CPPFLAGS'
32119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32128 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32130 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32131 for ac_func in finitel
32132 do :
32133 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32134 if test "x$ac_cv_func_finitel" = x""yes; then :
32135 cat >>confdefs.h <<_ACEOF
32136 #define HAVE_FINITEL 1
32137 _ACEOF
32140 done
32142 else
32144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32145 $as_echo_n "checking for _finitel declaration... " >&6; }
32146 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32147 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32148 $as_echo_n "(cached) " >&6
32149 else
32152 ac_ext=cpp
32153 ac_cpp='$CXXCPP $CPPFLAGS'
32154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32159 /* end confdefs.h. */
32160 #include <math.h>
32161 #ifdef HAVE_IEEEFP_H
32162 #include <ieeefp.h>
32163 #endif
32166 main ()
32168 _finitel(0);
32170 return 0;
32172 _ACEOF
32173 if ac_fn_cxx_try_compile "$LINENO"; then :
32174 glibcxx_cv_func__finitel_use=yes
32175 else
32176 glibcxx_cv_func__finitel_use=no
32178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32179 ac_ext=c
32180 ac_cpp='$CPP $CPPFLAGS'
32181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
32190 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
32192 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
32193 for ac_func in _finitel
32194 do :
32195 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
32196 if test "x$ac_cv_func__finitel" = x""yes; then :
32197 cat >>confdefs.h <<_ACEOF
32198 #define HAVE__FINITEL 1
32199 _ACEOF
32202 done
32210 LIBS="$ac_save_LIBS"
32211 CXXFLAGS="$ac_save_CXXFLAGS"
32214 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32215 ac_save_CXXFLAGS="$CXXFLAGS"
32216 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
32220 $as_echo_n "checking for strtold declaration... " >&6; }
32221 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
32222 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
32223 $as_echo_n "(cached) " >&6
32224 else
32227 ac_ext=cpp
32228 ac_cpp='$CXXCPP $CPPFLAGS'
32229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32234 /* end confdefs.h. */
32235 #include <stdlib.h>
32237 main ()
32239 strtold(0, 0);
32241 return 0;
32243 _ACEOF
32244 if ac_fn_cxx_try_compile "$LINENO"; then :
32245 glibcxx_cv_func_strtold_use=yes
32246 else
32247 glibcxx_cv_func_strtold_use=no
32249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32250 ac_ext=c
32251 ac_cpp='$CPP $CPPFLAGS'
32252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
32261 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
32262 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
32263 for ac_func in strtold
32264 do :
32265 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
32266 if test "x$ac_cv_func_strtold" = x""yes; then :
32267 cat >>confdefs.h <<_ACEOF
32268 #define HAVE_STRTOLD 1
32269 _ACEOF
32272 done
32279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
32280 $as_echo_n "checking for strtof declaration... " >&6; }
32281 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
32282 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
32283 $as_echo_n "(cached) " >&6
32284 else
32287 ac_ext=cpp
32288 ac_cpp='$CXXCPP $CPPFLAGS'
32289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32294 /* end confdefs.h. */
32295 #include <stdlib.h>
32297 main ()
32299 strtof(0, 0);
32301 return 0;
32303 _ACEOF
32304 if ac_fn_cxx_try_compile "$LINENO"; then :
32305 glibcxx_cv_func_strtof_use=yes
32306 else
32307 glibcxx_cv_func_strtof_use=no
32309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32310 ac_ext=c
32311 ac_cpp='$CPP $CPPFLAGS'
32312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
32321 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
32322 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
32323 for ac_func in strtof
32324 do :
32325 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
32326 if test "x$ac_cv_func_strtof" = x""yes; then :
32327 cat >>confdefs.h <<_ACEOF
32328 #define HAVE_STRTOF 1
32329 _ACEOF
32332 done
32339 CXXFLAGS="$ac_save_CXXFLAGS"
32342 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
32344 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
32346 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
32348 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
32351 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
32353 $as_echo "#define HAVE_MODF 1" >>confdefs.h
32355 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
32359 *-aix*)
32361 # If we're not using GNU ld, then there's no point in even trying these
32362 # tests. Check for that first. We should have already tested for gld
32363 # by now (in libtool), but require it now just to be safe...
32364 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
32365 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
32369 # The name set by libtool depends on the version of libtool. Shame on us
32370 # for depending on an impl detail, but c'est la vie. Older versions used
32371 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
32372 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
32373 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
32374 # set (hence we're using an older libtool), then set it.
32375 if test x${with_gnu_ld+set} != xset; then
32376 if test x${ac_cv_prog_gnu_ld+set} != xset; then
32377 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
32378 with_gnu_ld=no
32379 else
32380 with_gnu_ld=$ac_cv_prog_gnu_ld
32384 # Start by getting the version number. I think the libtool test already
32385 # does some of this, but throws away the result.
32386 glibcxx_ld_is_gold=no
32387 if test x"$with_gnu_ld" = x"yes"; then
32388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
32389 $as_echo_n "checking for ld version... " >&6; }
32391 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
32392 glibcxx_ld_is_gold=yes
32394 ldver=`$LD --version 2>/dev/null |
32395 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'`
32397 glibcxx_gnu_ld_version=`echo $ldver | \
32398 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
32399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
32400 $as_echo "$glibcxx_gnu_ld_version" >&6; }
32403 # Set --gc-sections.
32404 glibcxx_have_gc_sections=no
32405 if test "$glibcxx_ld_is_gold" = "yes"; then
32406 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
32407 glibcxx_have_gc_sections=yes
32409 else
32410 glibcxx_gcsections_min_ld=21602
32411 if test x"$with_gnu_ld" = x"yes" &&
32412 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
32413 glibcxx_have_gc_sections=yes
32416 if test "$glibcxx_have_gc_sections" = "yes"; then
32417 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
32418 # NB: This flag only works reliably after 2.16.1. Configure tests
32419 # for this are difficult, so hard wire a value that should work.
32421 ac_test_CFLAGS="${CFLAGS+set}"
32422 ac_save_CFLAGS="$CFLAGS"
32423 CFLAGS='-Wl,--gc-sections'
32425 # Check for -Wl,--gc-sections
32426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
32427 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
32428 if test x$gcc_no_link = xyes; then
32429 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32432 /* end confdefs.h. */
32433 int one(void) { return 1; }
32434 int two(void) { return 2; }
32437 main ()
32439 two();
32441 return 0;
32443 _ACEOF
32444 if ac_fn_c_try_link "$LINENO"; then :
32445 ac_gcsections=yes
32446 else
32447 ac_gcsections=no
32449 rm -f core conftest.err conftest.$ac_objext \
32450 conftest$ac_exeext conftest.$ac_ext
32451 if test "$ac_gcsections" = "yes"; then
32452 rm -f conftest.c
32453 touch conftest.c
32454 if $CC -c conftest.c; then
32455 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
32456 grep "Warning: gc-sections option ignored" > /dev/null; then
32457 ac_gcsections=no
32460 rm -f conftest.c conftest.o conftest
32462 if test "$ac_gcsections" = "yes"; then
32463 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
32465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
32466 $as_echo "$ac_gcsections" >&6; }
32468 if test "$ac_test_CFLAGS" = set; then
32469 CFLAGS="$ac_save_CFLAGS"
32470 else
32471 # this is the suspicious part
32472 CFLAGS=''
32476 # Set -z,relro.
32477 # Note this is only for shared objects.
32478 ac_ld_relro=no
32479 if test x"$with_gnu_ld" = x"yes"; then
32480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
32481 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
32482 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
32483 if test -n "$cxx_z_relo"; then
32484 OPT_LDFLAGS="-Wl,-z,relro"
32485 ac_ld_relro=yes
32487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
32488 $as_echo "$ac_ld_relro" >&6; }
32491 # Set linker optimization flags.
32492 if test x"$with_gnu_ld" = x"yes"; then
32493 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
32500 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32501 ac_save_CXXFLAGS="$CXXFLAGS"
32502 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
32505 $as_echo_n "checking for sin in -lm... " >&6; }
32506 if test "${ac_cv_lib_m_sin+set}" = set; then :
32507 $as_echo_n "(cached) " >&6
32508 else
32509 ac_check_lib_save_LIBS=$LIBS
32510 LIBS="-lm $LIBS"
32511 if test x$gcc_no_link = xyes; then
32512 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32515 /* end confdefs.h. */
32517 /* Override any GCC internal prototype to avoid an error.
32518 Use char because int might match the return type of a GCC
32519 builtin and then its argument prototype would still apply. */
32520 #ifdef __cplusplus
32521 extern "C"
32522 #endif
32523 char sin ();
32525 main ()
32527 return sin ();
32529 return 0;
32531 _ACEOF
32532 if ac_fn_c_try_link "$LINENO"; then :
32533 ac_cv_lib_m_sin=yes
32534 else
32535 ac_cv_lib_m_sin=no
32537 rm -f core conftest.err conftest.$ac_objext \
32538 conftest$ac_exeext conftest.$ac_ext
32539 LIBS=$ac_check_lib_save_LIBS
32541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
32542 $as_echo "$ac_cv_lib_m_sin" >&6; }
32543 if test "x$ac_cv_lib_m_sin" = x""yes; then :
32544 libm="-lm"
32547 ac_save_LIBS="$LIBS"
32548 LIBS="$LIBS $libm"
32552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
32553 $as_echo_n "checking for isinf declaration... " >&6; }
32554 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
32555 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
32556 $as_echo_n "(cached) " >&6
32557 else
32560 ac_ext=cpp
32561 ac_cpp='$CXXCPP $CPPFLAGS'
32562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32567 /* end confdefs.h. */
32568 #include <math.h>
32569 #ifdef HAVE_IEEEFP_H
32570 #include <ieeefp.h>
32571 #endif
32574 main ()
32576 isinf(0);
32578 return 0;
32580 _ACEOF
32581 if ac_fn_cxx_try_compile "$LINENO"; then :
32582 glibcxx_cv_func_isinf_use=yes
32583 else
32584 glibcxx_cv_func_isinf_use=no
32586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32587 ac_ext=c
32588 ac_cpp='$CPP $CPPFLAGS'
32589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
32598 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
32600 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
32601 for ac_func in isinf
32602 do :
32603 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
32604 if test "x$ac_cv_func_isinf" = x""yes; then :
32605 cat >>confdefs.h <<_ACEOF
32606 #define HAVE_ISINF 1
32607 _ACEOF
32610 done
32612 else
32614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
32615 $as_echo_n "checking for _isinf declaration... " >&6; }
32616 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
32617 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
32618 $as_echo_n "(cached) " >&6
32619 else
32622 ac_ext=cpp
32623 ac_cpp='$CXXCPP $CPPFLAGS'
32624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32629 /* end confdefs.h. */
32630 #include <math.h>
32631 #ifdef HAVE_IEEEFP_H
32632 #include <ieeefp.h>
32633 #endif
32636 main ()
32638 _isinf(0);
32640 return 0;
32642 _ACEOF
32643 if ac_fn_cxx_try_compile "$LINENO"; then :
32644 glibcxx_cv_func__isinf_use=yes
32645 else
32646 glibcxx_cv_func__isinf_use=no
32648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32649 ac_ext=c
32650 ac_cpp='$CPP $CPPFLAGS'
32651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
32660 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
32662 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
32663 for ac_func in _isinf
32664 do :
32665 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
32666 if test "x$ac_cv_func__isinf" = x""yes; then :
32667 cat >>confdefs.h <<_ACEOF
32668 #define HAVE__ISINF 1
32669 _ACEOF
32672 done
32681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
32682 $as_echo_n "checking for isnan declaration... " >&6; }
32683 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
32684 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
32685 $as_echo_n "(cached) " >&6
32686 else
32689 ac_ext=cpp
32690 ac_cpp='$CXXCPP $CPPFLAGS'
32691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32696 /* end confdefs.h. */
32697 #include <math.h>
32698 #ifdef HAVE_IEEEFP_H
32699 #include <ieeefp.h>
32700 #endif
32703 main ()
32705 isnan(0);
32707 return 0;
32709 _ACEOF
32710 if ac_fn_cxx_try_compile "$LINENO"; then :
32711 glibcxx_cv_func_isnan_use=yes
32712 else
32713 glibcxx_cv_func_isnan_use=no
32715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32716 ac_ext=c
32717 ac_cpp='$CPP $CPPFLAGS'
32718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
32727 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
32729 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
32730 for ac_func in isnan
32731 do :
32732 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
32733 if test "x$ac_cv_func_isnan" = x""yes; then :
32734 cat >>confdefs.h <<_ACEOF
32735 #define HAVE_ISNAN 1
32736 _ACEOF
32739 done
32741 else
32743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
32744 $as_echo_n "checking for _isnan declaration... " >&6; }
32745 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
32746 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
32747 $as_echo_n "(cached) " >&6
32748 else
32751 ac_ext=cpp
32752 ac_cpp='$CXXCPP $CPPFLAGS'
32753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32758 /* end confdefs.h. */
32759 #include <math.h>
32760 #ifdef HAVE_IEEEFP_H
32761 #include <ieeefp.h>
32762 #endif
32765 main ()
32767 _isnan(0);
32769 return 0;
32771 _ACEOF
32772 if ac_fn_cxx_try_compile "$LINENO"; then :
32773 glibcxx_cv_func__isnan_use=yes
32774 else
32775 glibcxx_cv_func__isnan_use=no
32777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32778 ac_ext=c
32779 ac_cpp='$CPP $CPPFLAGS'
32780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
32789 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
32791 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32792 for ac_func in _isnan
32793 do :
32794 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
32795 if test "x$ac_cv_func__isnan" = x""yes; then :
32796 cat >>confdefs.h <<_ACEOF
32797 #define HAVE__ISNAN 1
32798 _ACEOF
32801 done
32810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
32811 $as_echo_n "checking for finite declaration... " >&6; }
32812 if test x${glibcxx_cv_func_finite_use+set} != xset; then
32813 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
32814 $as_echo_n "(cached) " >&6
32815 else
32818 ac_ext=cpp
32819 ac_cpp='$CXXCPP $CPPFLAGS'
32820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32825 /* end confdefs.h. */
32826 #include <math.h>
32827 #ifdef HAVE_IEEEFP_H
32828 #include <ieeefp.h>
32829 #endif
32832 main ()
32834 finite(0);
32836 return 0;
32838 _ACEOF
32839 if ac_fn_cxx_try_compile "$LINENO"; then :
32840 glibcxx_cv_func_finite_use=yes
32841 else
32842 glibcxx_cv_func_finite_use=no
32844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32845 ac_ext=c
32846 ac_cpp='$CPP $CPPFLAGS'
32847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
32856 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
32858 if test x$glibcxx_cv_func_finite_use = x"yes"; then
32859 for ac_func in finite
32860 do :
32861 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
32862 if test "x$ac_cv_func_finite" = x""yes; then :
32863 cat >>confdefs.h <<_ACEOF
32864 #define HAVE_FINITE 1
32865 _ACEOF
32868 done
32870 else
32872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
32873 $as_echo_n "checking for _finite declaration... " >&6; }
32874 if test x${glibcxx_cv_func__finite_use+set} != xset; then
32875 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
32876 $as_echo_n "(cached) " >&6
32877 else
32880 ac_ext=cpp
32881 ac_cpp='$CXXCPP $CPPFLAGS'
32882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32887 /* end confdefs.h. */
32888 #include <math.h>
32889 #ifdef HAVE_IEEEFP_H
32890 #include <ieeefp.h>
32891 #endif
32894 main ()
32896 _finite(0);
32898 return 0;
32900 _ACEOF
32901 if ac_fn_cxx_try_compile "$LINENO"; then :
32902 glibcxx_cv_func__finite_use=yes
32903 else
32904 glibcxx_cv_func__finite_use=no
32906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32907 ac_ext=c
32908 ac_cpp='$CPP $CPPFLAGS'
32909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
32918 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
32920 if test x$glibcxx_cv_func__finite_use = x"yes"; then
32921 for ac_func in _finite
32922 do :
32923 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
32924 if test "x$ac_cv_func__finite" = x""yes; then :
32925 cat >>confdefs.h <<_ACEOF
32926 #define HAVE__FINITE 1
32927 _ACEOF
32930 done
32939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
32940 $as_echo_n "checking for sincos declaration... " >&6; }
32941 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32942 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
32943 $as_echo_n "(cached) " >&6
32944 else
32947 ac_ext=cpp
32948 ac_cpp='$CXXCPP $CPPFLAGS'
32949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32954 /* end confdefs.h. */
32955 #include <math.h>
32957 main ()
32959 sincos(0, 0, 0);
32961 return 0;
32963 _ACEOF
32964 if ac_fn_cxx_try_compile "$LINENO"; then :
32965 glibcxx_cv_func_sincos_use=yes
32966 else
32967 glibcxx_cv_func_sincos_use=no
32969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32970 ac_ext=c
32971 ac_cpp='$CPP $CPPFLAGS'
32972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
32981 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
32983 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
32984 for ac_func in sincos
32985 do :
32986 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
32987 if test "x$ac_cv_func_sincos" = x""yes; then :
32988 cat >>confdefs.h <<_ACEOF
32989 #define HAVE_SINCOS 1
32990 _ACEOF
32993 done
32995 else
32997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
32998 $as_echo_n "checking for _sincos declaration... " >&6; }
32999 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33000 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
33001 $as_echo_n "(cached) " >&6
33002 else
33005 ac_ext=cpp
33006 ac_cpp='$CXXCPP $CPPFLAGS'
33007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33012 /* end confdefs.h. */
33013 #include <math.h>
33015 main ()
33017 _sincos(0, 0, 0);
33019 return 0;
33021 _ACEOF
33022 if ac_fn_cxx_try_compile "$LINENO"; then :
33023 glibcxx_cv_func__sincos_use=yes
33024 else
33025 glibcxx_cv_func__sincos_use=no
33027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33028 ac_ext=c
33029 ac_cpp='$CPP $CPPFLAGS'
33030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
33039 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
33041 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33042 for ac_func in _sincos
33043 do :
33044 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33045 if test "x$ac_cv_func__sincos" = x""yes; then :
33046 cat >>confdefs.h <<_ACEOF
33047 #define HAVE__SINCOS 1
33048 _ACEOF
33051 done
33060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33061 $as_echo_n "checking for fpclass declaration... " >&6; }
33062 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33063 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33064 $as_echo_n "(cached) " >&6
33065 else
33068 ac_ext=cpp
33069 ac_cpp='$CXXCPP $CPPFLAGS'
33070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33075 /* end confdefs.h. */
33076 #include <math.h>
33077 #ifdef HAVE_IEEEFP_H
33078 #include <ieeefp.h>
33079 #endif
33082 main ()
33084 fpclass(0);
33086 return 0;
33088 _ACEOF
33089 if ac_fn_cxx_try_compile "$LINENO"; then :
33090 glibcxx_cv_func_fpclass_use=yes
33091 else
33092 glibcxx_cv_func_fpclass_use=no
33094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33095 ac_ext=c
33096 ac_cpp='$CPP $CPPFLAGS'
33097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33106 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33108 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33109 for ac_func in fpclass
33110 do :
33111 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33112 if test "x$ac_cv_func_fpclass" = x""yes; then :
33113 cat >>confdefs.h <<_ACEOF
33114 #define HAVE_FPCLASS 1
33115 _ACEOF
33118 done
33120 else
33122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33123 $as_echo_n "checking for _fpclass declaration... " >&6; }
33124 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33125 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33126 $as_echo_n "(cached) " >&6
33127 else
33130 ac_ext=cpp
33131 ac_cpp='$CXXCPP $CPPFLAGS'
33132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33137 /* end confdefs.h. */
33138 #include <math.h>
33139 #ifdef HAVE_IEEEFP_H
33140 #include <ieeefp.h>
33141 #endif
33144 main ()
33146 _fpclass(0);
33148 return 0;
33150 _ACEOF
33151 if ac_fn_cxx_try_compile "$LINENO"; then :
33152 glibcxx_cv_func__fpclass_use=yes
33153 else
33154 glibcxx_cv_func__fpclass_use=no
33156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33157 ac_ext=c
33158 ac_cpp='$CPP $CPPFLAGS'
33159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33168 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33170 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33171 for ac_func in _fpclass
33172 do :
33173 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33174 if test "x$ac_cv_func__fpclass" = x""yes; then :
33175 cat >>confdefs.h <<_ACEOF
33176 #define HAVE__FPCLASS 1
33177 _ACEOF
33180 done
33189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
33190 $as_echo_n "checking for qfpclass declaration... " >&6; }
33191 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33192 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
33193 $as_echo_n "(cached) " >&6
33194 else
33197 ac_ext=cpp
33198 ac_cpp='$CXXCPP $CPPFLAGS'
33199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33204 /* end confdefs.h. */
33205 #include <math.h>
33206 #ifdef HAVE_IEEEFP_H
33207 #include <ieeefp.h>
33208 #endif
33211 main ()
33213 qfpclass(0);
33215 return 0;
33217 _ACEOF
33218 if ac_fn_cxx_try_compile "$LINENO"; then :
33219 glibcxx_cv_func_qfpclass_use=yes
33220 else
33221 glibcxx_cv_func_qfpclass_use=no
33223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33224 ac_ext=c
33225 ac_cpp='$CPP $CPPFLAGS'
33226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
33235 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
33237 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33238 for ac_func in qfpclass
33239 do :
33240 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
33241 if test "x$ac_cv_func_qfpclass" = x""yes; then :
33242 cat >>confdefs.h <<_ACEOF
33243 #define HAVE_QFPCLASS 1
33244 _ACEOF
33247 done
33249 else
33251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
33252 $as_echo_n "checking for _qfpclass declaration... " >&6; }
33253 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33254 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
33255 $as_echo_n "(cached) " >&6
33256 else
33259 ac_ext=cpp
33260 ac_cpp='$CXXCPP $CPPFLAGS'
33261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33266 /* end confdefs.h. */
33267 #include <math.h>
33268 #ifdef HAVE_IEEEFP_H
33269 #include <ieeefp.h>
33270 #endif
33273 main ()
33275 _qfpclass(0);
33277 return 0;
33279 _ACEOF
33280 if ac_fn_cxx_try_compile "$LINENO"; then :
33281 glibcxx_cv_func__qfpclass_use=yes
33282 else
33283 glibcxx_cv_func__qfpclass_use=no
33285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33286 ac_ext=c
33287 ac_cpp='$CPP $CPPFLAGS'
33288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
33297 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
33299 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33300 for ac_func in _qfpclass
33301 do :
33302 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
33303 if test "x$ac_cv_func__qfpclass" = x""yes; then :
33304 cat >>confdefs.h <<_ACEOF
33305 #define HAVE__QFPCLASS 1
33306 _ACEOF
33309 done
33318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
33319 $as_echo_n "checking for hypot declaration... " >&6; }
33320 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33321 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
33322 $as_echo_n "(cached) " >&6
33323 else
33326 ac_ext=cpp
33327 ac_cpp='$CXXCPP $CPPFLAGS'
33328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33333 /* end confdefs.h. */
33334 #include <math.h>
33336 main ()
33338 hypot(0, 0);
33340 return 0;
33342 _ACEOF
33343 if ac_fn_cxx_try_compile "$LINENO"; then :
33344 glibcxx_cv_func_hypot_use=yes
33345 else
33346 glibcxx_cv_func_hypot_use=no
33348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33349 ac_ext=c
33350 ac_cpp='$CPP $CPPFLAGS'
33351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
33360 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
33362 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33363 for ac_func in hypot
33364 do :
33365 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
33366 if test "x$ac_cv_func_hypot" = x""yes; then :
33367 cat >>confdefs.h <<_ACEOF
33368 #define HAVE_HYPOT 1
33369 _ACEOF
33372 done
33374 else
33376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
33377 $as_echo_n "checking for _hypot declaration... " >&6; }
33378 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
33379 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
33380 $as_echo_n "(cached) " >&6
33381 else
33384 ac_ext=cpp
33385 ac_cpp='$CXXCPP $CPPFLAGS'
33386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33391 /* end confdefs.h. */
33392 #include <math.h>
33394 main ()
33396 _hypot(0, 0);
33398 return 0;
33400 _ACEOF
33401 if ac_fn_cxx_try_compile "$LINENO"; then :
33402 glibcxx_cv_func__hypot_use=yes
33403 else
33404 glibcxx_cv_func__hypot_use=no
33406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33407 ac_ext=c
33408 ac_cpp='$CPP $CPPFLAGS'
33409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
33418 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
33420 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
33421 for ac_func in _hypot
33422 do :
33423 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
33424 if test "x$ac_cv_func__hypot" = x""yes; then :
33425 cat >>confdefs.h <<_ACEOF
33426 #define HAVE__HYPOT 1
33427 _ACEOF
33430 done
33439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
33440 $as_echo_n "checking for float trig functions... " >&6; }
33441 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
33442 $as_echo_n "(cached) " >&6
33443 else
33446 ac_ext=cpp
33447 ac_cpp='$CXXCPP $CPPFLAGS'
33448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33453 /* end confdefs.h. */
33454 #include <math.h>
33456 main ()
33458 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
33460 return 0;
33462 _ACEOF
33463 if ac_fn_cxx_try_compile "$LINENO"; then :
33464 glibcxx_cv_func_float_trig_use=yes
33465 else
33466 glibcxx_cv_func_float_trig_use=no
33468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33469 ac_ext=c
33470 ac_cpp='$CPP $CPPFLAGS'
33471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
33478 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
33479 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
33480 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
33481 do :
33482 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33483 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33484 eval as_val=\$$as_ac_var
33485 if test "x$as_val" = x""yes; then :
33486 cat >>confdefs.h <<_ACEOF
33487 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33488 _ACEOF
33491 done
33493 else
33494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
33495 $as_echo_n "checking for _float trig functions... " >&6; }
33496 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
33497 $as_echo_n "(cached) " >&6
33498 else
33501 ac_ext=cpp
33502 ac_cpp='$CXXCPP $CPPFLAGS'
33503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33508 /* end confdefs.h. */
33509 #include <math.h>
33511 main ()
33513 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
33515 return 0;
33517 _ACEOF
33518 if ac_fn_cxx_try_compile "$LINENO"; then :
33519 glibcxx_cv_func__float_trig_use=yes
33520 else
33521 glibcxx_cv_func__float_trig_use=no
33523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33524 ac_ext=c
33525 ac_cpp='$CPP $CPPFLAGS'
33526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
33533 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
33534 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
33535 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
33536 do :
33537 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33538 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33539 eval as_val=\$$as_ac_var
33540 if test "x$as_val" = x""yes; then :
33541 cat >>confdefs.h <<_ACEOF
33542 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33543 _ACEOF
33546 done
33555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
33556 $as_echo_n "checking for float round functions... " >&6; }
33557 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
33558 $as_echo_n "(cached) " >&6
33559 else
33562 ac_ext=cpp
33563 ac_cpp='$CXXCPP $CPPFLAGS'
33564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33569 /* end confdefs.h. */
33570 #include <math.h>
33572 main ()
33574 ceilf (0); floorf (0);
33576 return 0;
33578 _ACEOF
33579 if ac_fn_cxx_try_compile "$LINENO"; then :
33580 glibcxx_cv_func_float_round_use=yes
33581 else
33582 glibcxx_cv_func_float_round_use=no
33584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33585 ac_ext=c
33586 ac_cpp='$CPP $CPPFLAGS'
33587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
33594 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
33595 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
33596 for ac_func in ceilf floorf
33597 do :
33598 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33599 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33600 eval as_val=\$$as_ac_var
33601 if test "x$as_val" = x""yes; then :
33602 cat >>confdefs.h <<_ACEOF
33603 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33604 _ACEOF
33607 done
33609 else
33610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
33611 $as_echo_n "checking for _float round functions... " >&6; }
33612 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
33613 $as_echo_n "(cached) " >&6
33614 else
33617 ac_ext=cpp
33618 ac_cpp='$CXXCPP $CPPFLAGS'
33619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33624 /* end confdefs.h. */
33625 #include <math.h>
33627 main ()
33629 _ceilf (0); _floorf (0);
33631 return 0;
33633 _ACEOF
33634 if ac_fn_cxx_try_compile "$LINENO"; then :
33635 glibcxx_cv_func__float_round_use=yes
33636 else
33637 glibcxx_cv_func__float_round_use=no
33639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33640 ac_ext=c
33641 ac_cpp='$CPP $CPPFLAGS'
33642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
33649 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
33650 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
33651 for ac_func in _ceilf _floorf
33652 do :
33653 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33654 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33655 eval as_val=\$$as_ac_var
33656 if test "x$as_val" = x""yes; then :
33657 cat >>confdefs.h <<_ACEOF
33658 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33659 _ACEOF
33662 done
33672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
33673 $as_echo_n "checking for expf declaration... " >&6; }
33674 if test x${glibcxx_cv_func_expf_use+set} != xset; then
33675 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
33676 $as_echo_n "(cached) " >&6
33677 else
33680 ac_ext=cpp
33681 ac_cpp='$CXXCPP $CPPFLAGS'
33682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33687 /* end confdefs.h. */
33688 #include <math.h>
33689 #ifdef HAVE_IEEEFP_H
33690 #include <ieeefp.h>
33691 #endif
33694 main ()
33696 expf(0);
33698 return 0;
33700 _ACEOF
33701 if ac_fn_cxx_try_compile "$LINENO"; then :
33702 glibcxx_cv_func_expf_use=yes
33703 else
33704 glibcxx_cv_func_expf_use=no
33706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33707 ac_ext=c
33708 ac_cpp='$CPP $CPPFLAGS'
33709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
33718 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
33720 if test x$glibcxx_cv_func_expf_use = x"yes"; then
33721 for ac_func in expf
33722 do :
33723 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
33724 if test "x$ac_cv_func_expf" = x""yes; then :
33725 cat >>confdefs.h <<_ACEOF
33726 #define HAVE_EXPF 1
33727 _ACEOF
33730 done
33732 else
33734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
33735 $as_echo_n "checking for _expf declaration... " >&6; }
33736 if test x${glibcxx_cv_func__expf_use+set} != xset; then
33737 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
33738 $as_echo_n "(cached) " >&6
33739 else
33742 ac_ext=cpp
33743 ac_cpp='$CXXCPP $CPPFLAGS'
33744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33749 /* end confdefs.h. */
33750 #include <math.h>
33751 #ifdef HAVE_IEEEFP_H
33752 #include <ieeefp.h>
33753 #endif
33756 main ()
33758 _expf(0);
33760 return 0;
33762 _ACEOF
33763 if ac_fn_cxx_try_compile "$LINENO"; then :
33764 glibcxx_cv_func__expf_use=yes
33765 else
33766 glibcxx_cv_func__expf_use=no
33768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33769 ac_ext=c
33770 ac_cpp='$CPP $CPPFLAGS'
33771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
33780 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
33782 if test x$glibcxx_cv_func__expf_use = x"yes"; then
33783 for ac_func in _expf
33784 do :
33785 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
33786 if test "x$ac_cv_func__expf" = x""yes; then :
33787 cat >>confdefs.h <<_ACEOF
33788 #define HAVE__EXPF 1
33789 _ACEOF
33792 done
33801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
33802 $as_echo_n "checking for isnanf declaration... " >&6; }
33803 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
33804 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
33805 $as_echo_n "(cached) " >&6
33806 else
33809 ac_ext=cpp
33810 ac_cpp='$CXXCPP $CPPFLAGS'
33811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33816 /* end confdefs.h. */
33817 #include <math.h>
33818 #ifdef HAVE_IEEEFP_H
33819 #include <ieeefp.h>
33820 #endif
33823 main ()
33825 isnanf(0);
33827 return 0;
33829 _ACEOF
33830 if ac_fn_cxx_try_compile "$LINENO"; then :
33831 glibcxx_cv_func_isnanf_use=yes
33832 else
33833 glibcxx_cv_func_isnanf_use=no
33835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33836 ac_ext=c
33837 ac_cpp='$CPP $CPPFLAGS'
33838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
33847 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
33849 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
33850 for ac_func in isnanf
33851 do :
33852 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
33853 if test "x$ac_cv_func_isnanf" = x""yes; then :
33854 cat >>confdefs.h <<_ACEOF
33855 #define HAVE_ISNANF 1
33856 _ACEOF
33859 done
33861 else
33863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
33864 $as_echo_n "checking for _isnanf declaration... " >&6; }
33865 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
33866 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
33867 $as_echo_n "(cached) " >&6
33868 else
33871 ac_ext=cpp
33872 ac_cpp='$CXXCPP $CPPFLAGS'
33873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33878 /* end confdefs.h. */
33879 #include <math.h>
33880 #ifdef HAVE_IEEEFP_H
33881 #include <ieeefp.h>
33882 #endif
33885 main ()
33887 _isnanf(0);
33889 return 0;
33891 _ACEOF
33892 if ac_fn_cxx_try_compile "$LINENO"; then :
33893 glibcxx_cv_func__isnanf_use=yes
33894 else
33895 glibcxx_cv_func__isnanf_use=no
33897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33898 ac_ext=c
33899 ac_cpp='$CPP $CPPFLAGS'
33900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
33909 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
33911 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
33912 for ac_func in _isnanf
33913 do :
33914 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
33915 if test "x$ac_cv_func__isnanf" = x""yes; then :
33916 cat >>confdefs.h <<_ACEOF
33917 #define HAVE__ISNANF 1
33918 _ACEOF
33921 done
33930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
33931 $as_echo_n "checking for isinff declaration... " >&6; }
33932 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
33933 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
33934 $as_echo_n "(cached) " >&6
33935 else
33938 ac_ext=cpp
33939 ac_cpp='$CXXCPP $CPPFLAGS'
33940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33945 /* end confdefs.h. */
33946 #include <math.h>
33947 #ifdef HAVE_IEEEFP_H
33948 #include <ieeefp.h>
33949 #endif
33952 main ()
33954 isinff(0);
33956 return 0;
33958 _ACEOF
33959 if ac_fn_cxx_try_compile "$LINENO"; then :
33960 glibcxx_cv_func_isinff_use=yes
33961 else
33962 glibcxx_cv_func_isinff_use=no
33964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33965 ac_ext=c
33966 ac_cpp='$CPP $CPPFLAGS'
33967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
33976 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
33978 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
33979 for ac_func in isinff
33980 do :
33981 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
33982 if test "x$ac_cv_func_isinff" = x""yes; then :
33983 cat >>confdefs.h <<_ACEOF
33984 #define HAVE_ISINFF 1
33985 _ACEOF
33988 done
33990 else
33992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
33993 $as_echo_n "checking for _isinff declaration... " >&6; }
33994 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
33995 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
33996 $as_echo_n "(cached) " >&6
33997 else
34000 ac_ext=cpp
34001 ac_cpp='$CXXCPP $CPPFLAGS'
34002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34007 /* end confdefs.h. */
34008 #include <math.h>
34009 #ifdef HAVE_IEEEFP_H
34010 #include <ieeefp.h>
34011 #endif
34014 main ()
34016 _isinff(0);
34018 return 0;
34020 _ACEOF
34021 if ac_fn_cxx_try_compile "$LINENO"; then :
34022 glibcxx_cv_func__isinff_use=yes
34023 else
34024 glibcxx_cv_func__isinff_use=no
34026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34027 ac_ext=c
34028 ac_cpp='$CPP $CPPFLAGS'
34029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
34038 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
34040 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34041 for ac_func in _isinff
34042 do :
34043 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34044 if test "x$ac_cv_func__isinff" = x""yes; then :
34045 cat >>confdefs.h <<_ACEOF
34046 #define HAVE__ISINFF 1
34047 _ACEOF
34050 done
34059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34060 $as_echo_n "checking for atan2f declaration... " >&6; }
34061 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34062 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34063 $as_echo_n "(cached) " >&6
34064 else
34067 ac_ext=cpp
34068 ac_cpp='$CXXCPP $CPPFLAGS'
34069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34074 /* end confdefs.h. */
34075 #include <math.h>
34077 main ()
34079 atan2f(0, 0);
34081 return 0;
34083 _ACEOF
34084 if ac_fn_cxx_try_compile "$LINENO"; then :
34085 glibcxx_cv_func_atan2f_use=yes
34086 else
34087 glibcxx_cv_func_atan2f_use=no
34089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34090 ac_ext=c
34091 ac_cpp='$CPP $CPPFLAGS'
34092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34101 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34103 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34104 for ac_func in atan2f
34105 do :
34106 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34107 if test "x$ac_cv_func_atan2f" = x""yes; then :
34108 cat >>confdefs.h <<_ACEOF
34109 #define HAVE_ATAN2F 1
34110 _ACEOF
34113 done
34115 else
34117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34118 $as_echo_n "checking for _atan2f declaration... " >&6; }
34119 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34120 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34121 $as_echo_n "(cached) " >&6
34122 else
34125 ac_ext=cpp
34126 ac_cpp='$CXXCPP $CPPFLAGS'
34127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34132 /* end confdefs.h. */
34133 #include <math.h>
34135 main ()
34137 _atan2f(0, 0);
34139 return 0;
34141 _ACEOF
34142 if ac_fn_cxx_try_compile "$LINENO"; then :
34143 glibcxx_cv_func__atan2f_use=yes
34144 else
34145 glibcxx_cv_func__atan2f_use=no
34147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34148 ac_ext=c
34149 ac_cpp='$CPP $CPPFLAGS'
34150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
34159 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34161 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34162 for ac_func in _atan2f
34163 do :
34164 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34165 if test "x$ac_cv_func__atan2f" = x""yes; then :
34166 cat >>confdefs.h <<_ACEOF
34167 #define HAVE__ATAN2F 1
34168 _ACEOF
34171 done
34180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34181 $as_echo_n "checking for fabsf declaration... " >&6; }
34182 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34183 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34184 $as_echo_n "(cached) " >&6
34185 else
34188 ac_ext=cpp
34189 ac_cpp='$CXXCPP $CPPFLAGS'
34190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34195 /* end confdefs.h. */
34196 #include <math.h>
34197 #ifdef HAVE_IEEEFP_H
34198 #include <ieeefp.h>
34199 #endif
34202 main ()
34204 fabsf(0);
34206 return 0;
34208 _ACEOF
34209 if ac_fn_cxx_try_compile "$LINENO"; then :
34210 glibcxx_cv_func_fabsf_use=yes
34211 else
34212 glibcxx_cv_func_fabsf_use=no
34214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34215 ac_ext=c
34216 ac_cpp='$CPP $CPPFLAGS'
34217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
34226 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
34228 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
34229 for ac_func in fabsf
34230 do :
34231 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
34232 if test "x$ac_cv_func_fabsf" = x""yes; then :
34233 cat >>confdefs.h <<_ACEOF
34234 #define HAVE_FABSF 1
34235 _ACEOF
34238 done
34240 else
34242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
34243 $as_echo_n "checking for _fabsf declaration... " >&6; }
34244 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
34245 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
34246 $as_echo_n "(cached) " >&6
34247 else
34250 ac_ext=cpp
34251 ac_cpp='$CXXCPP $CPPFLAGS'
34252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34257 /* end confdefs.h. */
34258 #include <math.h>
34259 #ifdef HAVE_IEEEFP_H
34260 #include <ieeefp.h>
34261 #endif
34264 main ()
34266 _fabsf(0);
34268 return 0;
34270 _ACEOF
34271 if ac_fn_cxx_try_compile "$LINENO"; then :
34272 glibcxx_cv_func__fabsf_use=yes
34273 else
34274 glibcxx_cv_func__fabsf_use=no
34276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34277 ac_ext=c
34278 ac_cpp='$CPP $CPPFLAGS'
34279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
34288 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
34290 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
34291 for ac_func in _fabsf
34292 do :
34293 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
34294 if test "x$ac_cv_func__fabsf" = x""yes; then :
34295 cat >>confdefs.h <<_ACEOF
34296 #define HAVE__FABSF 1
34297 _ACEOF
34300 done
34309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
34310 $as_echo_n "checking for fmodf declaration... " >&6; }
34311 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
34312 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
34313 $as_echo_n "(cached) " >&6
34314 else
34317 ac_ext=cpp
34318 ac_cpp='$CXXCPP $CPPFLAGS'
34319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34324 /* end confdefs.h. */
34325 #include <math.h>
34327 main ()
34329 fmodf(0, 0);
34331 return 0;
34333 _ACEOF
34334 if ac_fn_cxx_try_compile "$LINENO"; then :
34335 glibcxx_cv_func_fmodf_use=yes
34336 else
34337 glibcxx_cv_func_fmodf_use=no
34339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34340 ac_ext=c
34341 ac_cpp='$CPP $CPPFLAGS'
34342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
34351 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
34353 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
34354 for ac_func in fmodf
34355 do :
34356 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
34357 if test "x$ac_cv_func_fmodf" = x""yes; then :
34358 cat >>confdefs.h <<_ACEOF
34359 #define HAVE_FMODF 1
34360 _ACEOF
34363 done
34365 else
34367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
34368 $as_echo_n "checking for _fmodf declaration... " >&6; }
34369 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
34370 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
34371 $as_echo_n "(cached) " >&6
34372 else
34375 ac_ext=cpp
34376 ac_cpp='$CXXCPP $CPPFLAGS'
34377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34382 /* end confdefs.h. */
34383 #include <math.h>
34385 main ()
34387 _fmodf(0, 0);
34389 return 0;
34391 _ACEOF
34392 if ac_fn_cxx_try_compile "$LINENO"; then :
34393 glibcxx_cv_func__fmodf_use=yes
34394 else
34395 glibcxx_cv_func__fmodf_use=no
34397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34398 ac_ext=c
34399 ac_cpp='$CPP $CPPFLAGS'
34400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
34409 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
34411 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
34412 for ac_func in _fmodf
34413 do :
34414 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
34415 if test "x$ac_cv_func__fmodf" = x""yes; then :
34416 cat >>confdefs.h <<_ACEOF
34417 #define HAVE__FMODF 1
34418 _ACEOF
34421 done
34430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
34431 $as_echo_n "checking for frexpf declaration... " >&6; }
34432 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
34433 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
34434 $as_echo_n "(cached) " >&6
34435 else
34438 ac_ext=cpp
34439 ac_cpp='$CXXCPP $CPPFLAGS'
34440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34445 /* end confdefs.h. */
34446 #include <math.h>
34448 main ()
34450 frexpf(0, 0);
34452 return 0;
34454 _ACEOF
34455 if ac_fn_cxx_try_compile "$LINENO"; then :
34456 glibcxx_cv_func_frexpf_use=yes
34457 else
34458 glibcxx_cv_func_frexpf_use=no
34460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34461 ac_ext=c
34462 ac_cpp='$CPP $CPPFLAGS'
34463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
34472 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
34474 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
34475 for ac_func in frexpf
34476 do :
34477 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
34478 if test "x$ac_cv_func_frexpf" = x""yes; then :
34479 cat >>confdefs.h <<_ACEOF
34480 #define HAVE_FREXPF 1
34481 _ACEOF
34484 done
34486 else
34488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
34489 $as_echo_n "checking for _frexpf declaration... " >&6; }
34490 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
34491 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
34492 $as_echo_n "(cached) " >&6
34493 else
34496 ac_ext=cpp
34497 ac_cpp='$CXXCPP $CPPFLAGS'
34498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34503 /* end confdefs.h. */
34504 #include <math.h>
34506 main ()
34508 _frexpf(0, 0);
34510 return 0;
34512 _ACEOF
34513 if ac_fn_cxx_try_compile "$LINENO"; then :
34514 glibcxx_cv_func__frexpf_use=yes
34515 else
34516 glibcxx_cv_func__frexpf_use=no
34518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34519 ac_ext=c
34520 ac_cpp='$CPP $CPPFLAGS'
34521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
34530 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
34532 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
34533 for ac_func in _frexpf
34534 do :
34535 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
34536 if test "x$ac_cv_func__frexpf" = x""yes; then :
34537 cat >>confdefs.h <<_ACEOF
34538 #define HAVE__FREXPF 1
34539 _ACEOF
34542 done
34551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
34552 $as_echo_n "checking for hypotf declaration... " >&6; }
34553 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
34554 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
34555 $as_echo_n "(cached) " >&6
34556 else
34559 ac_ext=cpp
34560 ac_cpp='$CXXCPP $CPPFLAGS'
34561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34566 /* end confdefs.h. */
34567 #include <math.h>
34569 main ()
34571 hypotf(0, 0);
34573 return 0;
34575 _ACEOF
34576 if ac_fn_cxx_try_compile "$LINENO"; then :
34577 glibcxx_cv_func_hypotf_use=yes
34578 else
34579 glibcxx_cv_func_hypotf_use=no
34581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34582 ac_ext=c
34583 ac_cpp='$CPP $CPPFLAGS'
34584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
34593 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
34595 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
34596 for ac_func in hypotf
34597 do :
34598 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
34599 if test "x$ac_cv_func_hypotf" = x""yes; then :
34600 cat >>confdefs.h <<_ACEOF
34601 #define HAVE_HYPOTF 1
34602 _ACEOF
34605 done
34607 else
34609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
34610 $as_echo_n "checking for _hypotf declaration... " >&6; }
34611 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
34612 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
34613 $as_echo_n "(cached) " >&6
34614 else
34617 ac_ext=cpp
34618 ac_cpp='$CXXCPP $CPPFLAGS'
34619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34624 /* end confdefs.h. */
34625 #include <math.h>
34627 main ()
34629 _hypotf(0, 0);
34631 return 0;
34633 _ACEOF
34634 if ac_fn_cxx_try_compile "$LINENO"; then :
34635 glibcxx_cv_func__hypotf_use=yes
34636 else
34637 glibcxx_cv_func__hypotf_use=no
34639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34640 ac_ext=c
34641 ac_cpp='$CPP $CPPFLAGS'
34642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
34651 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
34653 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
34654 for ac_func in _hypotf
34655 do :
34656 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
34657 if test "x$ac_cv_func__hypotf" = x""yes; then :
34658 cat >>confdefs.h <<_ACEOF
34659 #define HAVE__HYPOTF 1
34660 _ACEOF
34663 done
34672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
34673 $as_echo_n "checking for ldexpf declaration... " >&6; }
34674 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
34675 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
34676 $as_echo_n "(cached) " >&6
34677 else
34680 ac_ext=cpp
34681 ac_cpp='$CXXCPP $CPPFLAGS'
34682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34687 /* end confdefs.h. */
34688 #include <math.h>
34690 main ()
34692 ldexpf(0, 0);
34694 return 0;
34696 _ACEOF
34697 if ac_fn_cxx_try_compile "$LINENO"; then :
34698 glibcxx_cv_func_ldexpf_use=yes
34699 else
34700 glibcxx_cv_func_ldexpf_use=no
34702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34703 ac_ext=c
34704 ac_cpp='$CPP $CPPFLAGS'
34705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
34714 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
34716 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
34717 for ac_func in ldexpf
34718 do :
34719 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
34720 if test "x$ac_cv_func_ldexpf" = x""yes; then :
34721 cat >>confdefs.h <<_ACEOF
34722 #define HAVE_LDEXPF 1
34723 _ACEOF
34726 done
34728 else
34730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
34731 $as_echo_n "checking for _ldexpf declaration... " >&6; }
34732 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
34733 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
34734 $as_echo_n "(cached) " >&6
34735 else
34738 ac_ext=cpp
34739 ac_cpp='$CXXCPP $CPPFLAGS'
34740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34745 /* end confdefs.h. */
34746 #include <math.h>
34748 main ()
34750 _ldexpf(0, 0);
34752 return 0;
34754 _ACEOF
34755 if ac_fn_cxx_try_compile "$LINENO"; then :
34756 glibcxx_cv_func__ldexpf_use=yes
34757 else
34758 glibcxx_cv_func__ldexpf_use=no
34760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34761 ac_ext=c
34762 ac_cpp='$CPP $CPPFLAGS'
34763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
34772 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
34774 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
34775 for ac_func in _ldexpf
34776 do :
34777 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
34778 if test "x$ac_cv_func__ldexpf" = x""yes; then :
34779 cat >>confdefs.h <<_ACEOF
34780 #define HAVE__LDEXPF 1
34781 _ACEOF
34784 done
34793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
34794 $as_echo_n "checking for logf declaration... " >&6; }
34795 if test x${glibcxx_cv_func_logf_use+set} != xset; then
34796 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
34797 $as_echo_n "(cached) " >&6
34798 else
34801 ac_ext=cpp
34802 ac_cpp='$CXXCPP $CPPFLAGS'
34803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34808 /* end confdefs.h. */
34809 #include <math.h>
34810 #ifdef HAVE_IEEEFP_H
34811 #include <ieeefp.h>
34812 #endif
34815 main ()
34817 logf(0);
34819 return 0;
34821 _ACEOF
34822 if ac_fn_cxx_try_compile "$LINENO"; then :
34823 glibcxx_cv_func_logf_use=yes
34824 else
34825 glibcxx_cv_func_logf_use=no
34827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34828 ac_ext=c
34829 ac_cpp='$CPP $CPPFLAGS'
34830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
34839 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
34841 if test x$glibcxx_cv_func_logf_use = x"yes"; then
34842 for ac_func in logf
34843 do :
34844 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
34845 if test "x$ac_cv_func_logf" = x""yes; then :
34846 cat >>confdefs.h <<_ACEOF
34847 #define HAVE_LOGF 1
34848 _ACEOF
34851 done
34853 else
34855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
34856 $as_echo_n "checking for _logf declaration... " >&6; }
34857 if test x${glibcxx_cv_func__logf_use+set} != xset; then
34858 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
34859 $as_echo_n "(cached) " >&6
34860 else
34863 ac_ext=cpp
34864 ac_cpp='$CXXCPP $CPPFLAGS'
34865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34870 /* end confdefs.h. */
34871 #include <math.h>
34872 #ifdef HAVE_IEEEFP_H
34873 #include <ieeefp.h>
34874 #endif
34877 main ()
34879 _logf(0);
34881 return 0;
34883 _ACEOF
34884 if ac_fn_cxx_try_compile "$LINENO"; then :
34885 glibcxx_cv_func__logf_use=yes
34886 else
34887 glibcxx_cv_func__logf_use=no
34889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34890 ac_ext=c
34891 ac_cpp='$CPP $CPPFLAGS'
34892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
34901 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
34903 if test x$glibcxx_cv_func__logf_use = x"yes"; then
34904 for ac_func in _logf
34905 do :
34906 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
34907 if test "x$ac_cv_func__logf" = x""yes; then :
34908 cat >>confdefs.h <<_ACEOF
34909 #define HAVE__LOGF 1
34910 _ACEOF
34913 done
34922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
34923 $as_echo_n "checking for log10f declaration... " >&6; }
34924 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
34925 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
34926 $as_echo_n "(cached) " >&6
34927 else
34930 ac_ext=cpp
34931 ac_cpp='$CXXCPP $CPPFLAGS'
34932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34937 /* end confdefs.h. */
34938 #include <math.h>
34939 #ifdef HAVE_IEEEFP_H
34940 #include <ieeefp.h>
34941 #endif
34944 main ()
34946 log10f(0);
34948 return 0;
34950 _ACEOF
34951 if ac_fn_cxx_try_compile "$LINENO"; then :
34952 glibcxx_cv_func_log10f_use=yes
34953 else
34954 glibcxx_cv_func_log10f_use=no
34956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34957 ac_ext=c
34958 ac_cpp='$CPP $CPPFLAGS'
34959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
34968 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
34970 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
34971 for ac_func in log10f
34972 do :
34973 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
34974 if test "x$ac_cv_func_log10f" = x""yes; then :
34975 cat >>confdefs.h <<_ACEOF
34976 #define HAVE_LOG10F 1
34977 _ACEOF
34980 done
34982 else
34984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
34985 $as_echo_n "checking for _log10f declaration... " >&6; }
34986 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
34987 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
34988 $as_echo_n "(cached) " >&6
34989 else
34992 ac_ext=cpp
34993 ac_cpp='$CXXCPP $CPPFLAGS'
34994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34999 /* end confdefs.h. */
35000 #include <math.h>
35001 #ifdef HAVE_IEEEFP_H
35002 #include <ieeefp.h>
35003 #endif
35006 main ()
35008 _log10f(0);
35010 return 0;
35012 _ACEOF
35013 if ac_fn_cxx_try_compile "$LINENO"; then :
35014 glibcxx_cv_func__log10f_use=yes
35015 else
35016 glibcxx_cv_func__log10f_use=no
35018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35019 ac_ext=c
35020 ac_cpp='$CPP $CPPFLAGS'
35021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
35030 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
35032 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
35033 for ac_func in _log10f
35034 do :
35035 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
35036 if test "x$ac_cv_func__log10f" = x""yes; then :
35037 cat >>confdefs.h <<_ACEOF
35038 #define HAVE__LOG10F 1
35039 _ACEOF
35042 done
35051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35052 $as_echo_n "checking for modff declaration... " >&6; }
35053 if test x${glibcxx_cv_func_modff_use+set} != xset; then
35054 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35055 $as_echo_n "(cached) " >&6
35056 else
35059 ac_ext=cpp
35060 ac_cpp='$CXXCPP $CPPFLAGS'
35061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35066 /* end confdefs.h. */
35067 #include <math.h>
35069 main ()
35071 modff(0, 0);
35073 return 0;
35075 _ACEOF
35076 if ac_fn_cxx_try_compile "$LINENO"; then :
35077 glibcxx_cv_func_modff_use=yes
35078 else
35079 glibcxx_cv_func_modff_use=no
35081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35082 ac_ext=c
35083 ac_cpp='$CPP $CPPFLAGS'
35084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35093 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35095 if test x$glibcxx_cv_func_modff_use = x"yes"; then
35096 for ac_func in modff
35097 do :
35098 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35099 if test "x$ac_cv_func_modff" = x""yes; then :
35100 cat >>confdefs.h <<_ACEOF
35101 #define HAVE_MODFF 1
35102 _ACEOF
35105 done
35107 else
35109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35110 $as_echo_n "checking for _modff declaration... " >&6; }
35111 if test x${glibcxx_cv_func__modff_use+set} != xset; then
35112 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35113 $as_echo_n "(cached) " >&6
35114 else
35117 ac_ext=cpp
35118 ac_cpp='$CXXCPP $CPPFLAGS'
35119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35124 /* end confdefs.h. */
35125 #include <math.h>
35127 main ()
35129 _modff(0, 0);
35131 return 0;
35133 _ACEOF
35134 if ac_fn_cxx_try_compile "$LINENO"; then :
35135 glibcxx_cv_func__modff_use=yes
35136 else
35137 glibcxx_cv_func__modff_use=no
35139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35140 ac_ext=c
35141 ac_cpp='$CPP $CPPFLAGS'
35142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35151 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35153 if test x$glibcxx_cv_func__modff_use = x"yes"; then
35154 for ac_func in _modff
35155 do :
35156 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35157 if test "x$ac_cv_func__modff" = x""yes; then :
35158 cat >>confdefs.h <<_ACEOF
35159 #define HAVE__MODFF 1
35160 _ACEOF
35163 done
35172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35173 $as_echo_n "checking for modf declaration... " >&6; }
35174 if test x${glibcxx_cv_func_modf_use+set} != xset; then
35175 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35176 $as_echo_n "(cached) " >&6
35177 else
35180 ac_ext=cpp
35181 ac_cpp='$CXXCPP $CPPFLAGS'
35182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35187 /* end confdefs.h. */
35188 #include <math.h>
35190 main ()
35192 modf(0, 0);
35194 return 0;
35196 _ACEOF
35197 if ac_fn_cxx_try_compile "$LINENO"; then :
35198 glibcxx_cv_func_modf_use=yes
35199 else
35200 glibcxx_cv_func_modf_use=no
35202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35203 ac_ext=c
35204 ac_cpp='$CPP $CPPFLAGS'
35205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
35214 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
35216 if test x$glibcxx_cv_func_modf_use = x"yes"; then
35217 for ac_func in modf
35218 do :
35219 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
35220 if test "x$ac_cv_func_modf" = x""yes; then :
35221 cat >>confdefs.h <<_ACEOF
35222 #define HAVE_MODF 1
35223 _ACEOF
35226 done
35228 else
35230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
35231 $as_echo_n "checking for _modf declaration... " >&6; }
35232 if test x${glibcxx_cv_func__modf_use+set} != xset; then
35233 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
35234 $as_echo_n "(cached) " >&6
35235 else
35238 ac_ext=cpp
35239 ac_cpp='$CXXCPP $CPPFLAGS'
35240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35245 /* end confdefs.h. */
35246 #include <math.h>
35248 main ()
35250 _modf(0, 0);
35252 return 0;
35254 _ACEOF
35255 if ac_fn_cxx_try_compile "$LINENO"; then :
35256 glibcxx_cv_func__modf_use=yes
35257 else
35258 glibcxx_cv_func__modf_use=no
35260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35261 ac_ext=c
35262 ac_cpp='$CPP $CPPFLAGS'
35263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
35272 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
35274 if test x$glibcxx_cv_func__modf_use = x"yes"; then
35275 for ac_func in _modf
35276 do :
35277 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
35278 if test "x$ac_cv_func__modf" = x""yes; then :
35279 cat >>confdefs.h <<_ACEOF
35280 #define HAVE__MODF 1
35281 _ACEOF
35284 done
35293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
35294 $as_echo_n "checking for powf declaration... " >&6; }
35295 if test x${glibcxx_cv_func_powf_use+set} != xset; then
35296 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
35297 $as_echo_n "(cached) " >&6
35298 else
35301 ac_ext=cpp
35302 ac_cpp='$CXXCPP $CPPFLAGS'
35303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35308 /* end confdefs.h. */
35309 #include <math.h>
35311 main ()
35313 powf(0, 0);
35315 return 0;
35317 _ACEOF
35318 if ac_fn_cxx_try_compile "$LINENO"; then :
35319 glibcxx_cv_func_powf_use=yes
35320 else
35321 glibcxx_cv_func_powf_use=no
35323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35324 ac_ext=c
35325 ac_cpp='$CPP $CPPFLAGS'
35326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
35335 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
35337 if test x$glibcxx_cv_func_powf_use = x"yes"; then
35338 for ac_func in powf
35339 do :
35340 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
35341 if test "x$ac_cv_func_powf" = x""yes; then :
35342 cat >>confdefs.h <<_ACEOF
35343 #define HAVE_POWF 1
35344 _ACEOF
35347 done
35349 else
35351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
35352 $as_echo_n "checking for _powf declaration... " >&6; }
35353 if test x${glibcxx_cv_func__powf_use+set} != xset; then
35354 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
35355 $as_echo_n "(cached) " >&6
35356 else
35359 ac_ext=cpp
35360 ac_cpp='$CXXCPP $CPPFLAGS'
35361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35366 /* end confdefs.h. */
35367 #include <math.h>
35369 main ()
35371 _powf(0, 0);
35373 return 0;
35375 _ACEOF
35376 if ac_fn_cxx_try_compile "$LINENO"; then :
35377 glibcxx_cv_func__powf_use=yes
35378 else
35379 glibcxx_cv_func__powf_use=no
35381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35382 ac_ext=c
35383 ac_cpp='$CPP $CPPFLAGS'
35384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
35393 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
35395 if test x$glibcxx_cv_func__powf_use = x"yes"; then
35396 for ac_func in _powf
35397 do :
35398 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
35399 if test "x$ac_cv_func__powf" = x""yes; then :
35400 cat >>confdefs.h <<_ACEOF
35401 #define HAVE__POWF 1
35402 _ACEOF
35405 done
35414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
35415 $as_echo_n "checking for sqrtf declaration... " >&6; }
35416 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
35417 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
35418 $as_echo_n "(cached) " >&6
35419 else
35422 ac_ext=cpp
35423 ac_cpp='$CXXCPP $CPPFLAGS'
35424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35429 /* end confdefs.h. */
35430 #include <math.h>
35431 #ifdef HAVE_IEEEFP_H
35432 #include <ieeefp.h>
35433 #endif
35436 main ()
35438 sqrtf(0);
35440 return 0;
35442 _ACEOF
35443 if ac_fn_cxx_try_compile "$LINENO"; then :
35444 glibcxx_cv_func_sqrtf_use=yes
35445 else
35446 glibcxx_cv_func_sqrtf_use=no
35448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35449 ac_ext=c
35450 ac_cpp='$CPP $CPPFLAGS'
35451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
35460 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
35462 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
35463 for ac_func in sqrtf
35464 do :
35465 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
35466 if test "x$ac_cv_func_sqrtf" = x""yes; then :
35467 cat >>confdefs.h <<_ACEOF
35468 #define HAVE_SQRTF 1
35469 _ACEOF
35472 done
35474 else
35476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
35477 $as_echo_n "checking for _sqrtf declaration... " >&6; }
35478 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
35479 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
35480 $as_echo_n "(cached) " >&6
35481 else
35484 ac_ext=cpp
35485 ac_cpp='$CXXCPP $CPPFLAGS'
35486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35491 /* end confdefs.h. */
35492 #include <math.h>
35493 #ifdef HAVE_IEEEFP_H
35494 #include <ieeefp.h>
35495 #endif
35498 main ()
35500 _sqrtf(0);
35502 return 0;
35504 _ACEOF
35505 if ac_fn_cxx_try_compile "$LINENO"; then :
35506 glibcxx_cv_func__sqrtf_use=yes
35507 else
35508 glibcxx_cv_func__sqrtf_use=no
35510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35511 ac_ext=c
35512 ac_cpp='$CPP $CPPFLAGS'
35513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
35522 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
35524 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
35525 for ac_func in _sqrtf
35526 do :
35527 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
35528 if test "x$ac_cv_func__sqrtf" = x""yes; then :
35529 cat >>confdefs.h <<_ACEOF
35530 #define HAVE__SQRTF 1
35531 _ACEOF
35534 done
35543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
35544 $as_echo_n "checking for sincosf declaration... " >&6; }
35545 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
35546 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
35547 $as_echo_n "(cached) " >&6
35548 else
35551 ac_ext=cpp
35552 ac_cpp='$CXXCPP $CPPFLAGS'
35553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35558 /* end confdefs.h. */
35559 #include <math.h>
35561 main ()
35563 sincosf(0, 0, 0);
35565 return 0;
35567 _ACEOF
35568 if ac_fn_cxx_try_compile "$LINENO"; then :
35569 glibcxx_cv_func_sincosf_use=yes
35570 else
35571 glibcxx_cv_func_sincosf_use=no
35573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35574 ac_ext=c
35575 ac_cpp='$CPP $CPPFLAGS'
35576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
35585 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
35587 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
35588 for ac_func in sincosf
35589 do :
35590 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
35591 if test "x$ac_cv_func_sincosf" = x""yes; then :
35592 cat >>confdefs.h <<_ACEOF
35593 #define HAVE_SINCOSF 1
35594 _ACEOF
35597 done
35599 else
35601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
35602 $as_echo_n "checking for _sincosf declaration... " >&6; }
35603 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
35604 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
35605 $as_echo_n "(cached) " >&6
35606 else
35609 ac_ext=cpp
35610 ac_cpp='$CXXCPP $CPPFLAGS'
35611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35616 /* end confdefs.h. */
35617 #include <math.h>
35619 main ()
35621 _sincosf(0, 0, 0);
35623 return 0;
35625 _ACEOF
35626 if ac_fn_cxx_try_compile "$LINENO"; then :
35627 glibcxx_cv_func__sincosf_use=yes
35628 else
35629 glibcxx_cv_func__sincosf_use=no
35631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35632 ac_ext=c
35633 ac_cpp='$CPP $CPPFLAGS'
35634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
35643 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
35645 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
35646 for ac_func in _sincosf
35647 do :
35648 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
35649 if test "x$ac_cv_func__sincosf" = x""yes; then :
35650 cat >>confdefs.h <<_ACEOF
35651 #define HAVE__SINCOSF 1
35652 _ACEOF
35655 done
35664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
35665 $as_echo_n "checking for finitef declaration... " >&6; }
35666 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
35667 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
35668 $as_echo_n "(cached) " >&6
35669 else
35672 ac_ext=cpp
35673 ac_cpp='$CXXCPP $CPPFLAGS'
35674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35679 /* end confdefs.h. */
35680 #include <math.h>
35681 #ifdef HAVE_IEEEFP_H
35682 #include <ieeefp.h>
35683 #endif
35686 main ()
35688 finitef(0);
35690 return 0;
35692 _ACEOF
35693 if ac_fn_cxx_try_compile "$LINENO"; then :
35694 glibcxx_cv_func_finitef_use=yes
35695 else
35696 glibcxx_cv_func_finitef_use=no
35698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35699 ac_ext=c
35700 ac_cpp='$CPP $CPPFLAGS'
35701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
35710 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
35712 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
35713 for ac_func in finitef
35714 do :
35715 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
35716 if test "x$ac_cv_func_finitef" = x""yes; then :
35717 cat >>confdefs.h <<_ACEOF
35718 #define HAVE_FINITEF 1
35719 _ACEOF
35722 done
35724 else
35726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
35727 $as_echo_n "checking for _finitef declaration... " >&6; }
35728 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
35729 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
35730 $as_echo_n "(cached) " >&6
35731 else
35734 ac_ext=cpp
35735 ac_cpp='$CXXCPP $CPPFLAGS'
35736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35741 /* end confdefs.h. */
35742 #include <math.h>
35743 #ifdef HAVE_IEEEFP_H
35744 #include <ieeefp.h>
35745 #endif
35748 main ()
35750 _finitef(0);
35752 return 0;
35754 _ACEOF
35755 if ac_fn_cxx_try_compile "$LINENO"; then :
35756 glibcxx_cv_func__finitef_use=yes
35757 else
35758 glibcxx_cv_func__finitef_use=no
35760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35761 ac_ext=c
35762 ac_cpp='$CPP $CPPFLAGS'
35763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
35772 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
35774 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
35775 for ac_func in _finitef
35776 do :
35777 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
35778 if test "x$ac_cv_func__finitef" = x""yes; then :
35779 cat >>confdefs.h <<_ACEOF
35780 #define HAVE__FINITEF 1
35781 _ACEOF
35784 done
35793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
35794 $as_echo_n "checking for long double trig functions... " >&6; }
35795 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
35796 $as_echo_n "(cached) " >&6
35797 else
35800 ac_ext=cpp
35801 ac_cpp='$CXXCPP $CPPFLAGS'
35802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35807 /* end confdefs.h. */
35808 #include <math.h>
35810 main ()
35812 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
35814 return 0;
35816 _ACEOF
35817 if ac_fn_cxx_try_compile "$LINENO"; then :
35818 glibcxx_cv_func_long_double_trig_use=yes
35819 else
35820 glibcxx_cv_func_long_double_trig_use=no
35822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35823 ac_ext=c
35824 ac_cpp='$CPP $CPPFLAGS'
35825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
35832 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
35833 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
35834 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
35835 do :
35836 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35837 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35838 eval as_val=\$$as_ac_var
35839 if test "x$as_val" = x""yes; then :
35840 cat >>confdefs.h <<_ACEOF
35841 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35842 _ACEOF
35845 done
35847 else
35848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
35849 $as_echo_n "checking for _long double trig functions... " >&6; }
35850 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
35851 $as_echo_n "(cached) " >&6
35852 else
35855 ac_ext=cpp
35856 ac_cpp='$CXXCPP $CPPFLAGS'
35857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35862 /* end confdefs.h. */
35863 #include <math.h>
35865 main ()
35867 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
35869 return 0;
35871 _ACEOF
35872 if ac_fn_cxx_try_compile "$LINENO"; then :
35873 glibcxx_cv_func__long_double_trig_use=yes
35874 else
35875 glibcxx_cv_func__long_double_trig_use=no
35877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35878 ac_ext=c
35879 ac_cpp='$CPP $CPPFLAGS'
35880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
35887 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
35888 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
35889 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
35890 do :
35891 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35892 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35893 eval as_val=\$$as_ac_var
35894 if test "x$as_val" = x""yes; then :
35895 cat >>confdefs.h <<_ACEOF
35896 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35897 _ACEOF
35900 done
35909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
35910 $as_echo_n "checking for long double round functions... " >&6; }
35911 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
35912 $as_echo_n "(cached) " >&6
35913 else
35916 ac_ext=cpp
35917 ac_cpp='$CXXCPP $CPPFLAGS'
35918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35923 /* end confdefs.h. */
35924 #include <math.h>
35926 main ()
35928 ceill (0); floorl (0);
35930 return 0;
35932 _ACEOF
35933 if ac_fn_cxx_try_compile "$LINENO"; then :
35934 glibcxx_cv_func_long_double_round_use=yes
35935 else
35936 glibcxx_cv_func_long_double_round_use=no
35938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35939 ac_ext=c
35940 ac_cpp='$CPP $CPPFLAGS'
35941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
35948 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
35949 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
35950 for ac_func in ceill floorl
35951 do :
35952 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35953 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35954 eval as_val=\$$as_ac_var
35955 if test "x$as_val" = x""yes; then :
35956 cat >>confdefs.h <<_ACEOF
35957 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35958 _ACEOF
35961 done
35963 else
35964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
35965 $as_echo_n "checking for _long double round functions... " >&6; }
35966 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
35967 $as_echo_n "(cached) " >&6
35968 else
35971 ac_ext=cpp
35972 ac_cpp='$CXXCPP $CPPFLAGS'
35973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35978 /* end confdefs.h. */
35979 #include <math.h>
35981 main ()
35983 _ceill (0); _floorl (0);
35985 return 0;
35987 _ACEOF
35988 if ac_fn_cxx_try_compile "$LINENO"; then :
35989 glibcxx_cv_func__long_double_round_use=yes
35990 else
35991 glibcxx_cv_func__long_double_round_use=no
35993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35994 ac_ext=c
35995 ac_cpp='$CPP $CPPFLAGS'
35996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
36003 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
36004 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
36005 for ac_func in _ceill _floorl
36006 do :
36007 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36008 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36009 eval as_val=\$$as_ac_var
36010 if test "x$as_val" = x""yes; then :
36011 cat >>confdefs.h <<_ACEOF
36012 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36013 _ACEOF
36016 done
36026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
36027 $as_echo_n "checking for isnanl declaration... " >&6; }
36028 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36029 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
36030 $as_echo_n "(cached) " >&6
36031 else
36034 ac_ext=cpp
36035 ac_cpp='$CXXCPP $CPPFLAGS'
36036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36041 /* end confdefs.h. */
36042 #include <math.h>
36043 #ifdef HAVE_IEEEFP_H
36044 #include <ieeefp.h>
36045 #endif
36048 main ()
36050 isnanl(0);
36052 return 0;
36054 _ACEOF
36055 if ac_fn_cxx_try_compile "$LINENO"; then :
36056 glibcxx_cv_func_isnanl_use=yes
36057 else
36058 glibcxx_cv_func_isnanl_use=no
36060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36061 ac_ext=c
36062 ac_cpp='$CPP $CPPFLAGS'
36063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36072 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36074 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36075 for ac_func in isnanl
36076 do :
36077 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36078 if test "x$ac_cv_func_isnanl" = x""yes; then :
36079 cat >>confdefs.h <<_ACEOF
36080 #define HAVE_ISNANL 1
36081 _ACEOF
36084 done
36086 else
36088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36089 $as_echo_n "checking for _isnanl declaration... " >&6; }
36090 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36091 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36092 $as_echo_n "(cached) " >&6
36093 else
36096 ac_ext=cpp
36097 ac_cpp='$CXXCPP $CPPFLAGS'
36098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36103 /* end confdefs.h. */
36104 #include <math.h>
36105 #ifdef HAVE_IEEEFP_H
36106 #include <ieeefp.h>
36107 #endif
36110 main ()
36112 _isnanl(0);
36114 return 0;
36116 _ACEOF
36117 if ac_fn_cxx_try_compile "$LINENO"; then :
36118 glibcxx_cv_func__isnanl_use=yes
36119 else
36120 glibcxx_cv_func__isnanl_use=no
36122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36123 ac_ext=c
36124 ac_cpp='$CPP $CPPFLAGS'
36125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36134 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36136 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36137 for ac_func in _isnanl
36138 do :
36139 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36140 if test "x$ac_cv_func__isnanl" = x""yes; then :
36141 cat >>confdefs.h <<_ACEOF
36142 #define HAVE__ISNANL 1
36143 _ACEOF
36146 done
36155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36156 $as_echo_n "checking for isinfl declaration... " >&6; }
36157 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36158 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36159 $as_echo_n "(cached) " >&6
36160 else
36163 ac_ext=cpp
36164 ac_cpp='$CXXCPP $CPPFLAGS'
36165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36170 /* end confdefs.h. */
36171 #include <math.h>
36172 #ifdef HAVE_IEEEFP_H
36173 #include <ieeefp.h>
36174 #endif
36177 main ()
36179 isinfl(0);
36181 return 0;
36183 _ACEOF
36184 if ac_fn_cxx_try_compile "$LINENO"; then :
36185 glibcxx_cv_func_isinfl_use=yes
36186 else
36187 glibcxx_cv_func_isinfl_use=no
36189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36190 ac_ext=c
36191 ac_cpp='$CPP $CPPFLAGS'
36192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
36201 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
36203 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36204 for ac_func in isinfl
36205 do :
36206 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
36207 if test "x$ac_cv_func_isinfl" = x""yes; then :
36208 cat >>confdefs.h <<_ACEOF
36209 #define HAVE_ISINFL 1
36210 _ACEOF
36213 done
36215 else
36217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
36218 $as_echo_n "checking for _isinfl declaration... " >&6; }
36219 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36220 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
36221 $as_echo_n "(cached) " >&6
36222 else
36225 ac_ext=cpp
36226 ac_cpp='$CXXCPP $CPPFLAGS'
36227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36232 /* end confdefs.h. */
36233 #include <math.h>
36234 #ifdef HAVE_IEEEFP_H
36235 #include <ieeefp.h>
36236 #endif
36239 main ()
36241 _isinfl(0);
36243 return 0;
36245 _ACEOF
36246 if ac_fn_cxx_try_compile "$LINENO"; then :
36247 glibcxx_cv_func__isinfl_use=yes
36248 else
36249 glibcxx_cv_func__isinfl_use=no
36251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36252 ac_ext=c
36253 ac_cpp='$CPP $CPPFLAGS'
36254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
36263 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
36265 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
36266 for ac_func in _isinfl
36267 do :
36268 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
36269 if test "x$ac_cv_func__isinfl" = x""yes; then :
36270 cat >>confdefs.h <<_ACEOF
36271 #define HAVE__ISINFL 1
36272 _ACEOF
36275 done
36284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
36285 $as_echo_n "checking for atan2l declaration... " >&6; }
36286 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
36287 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
36288 $as_echo_n "(cached) " >&6
36289 else
36292 ac_ext=cpp
36293 ac_cpp='$CXXCPP $CPPFLAGS'
36294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36299 /* end confdefs.h. */
36300 #include <math.h>
36302 main ()
36304 atan2l(0, 0);
36306 return 0;
36308 _ACEOF
36309 if ac_fn_cxx_try_compile "$LINENO"; then :
36310 glibcxx_cv_func_atan2l_use=yes
36311 else
36312 glibcxx_cv_func_atan2l_use=no
36314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36315 ac_ext=c
36316 ac_cpp='$CPP $CPPFLAGS'
36317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
36326 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
36328 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
36329 for ac_func in atan2l
36330 do :
36331 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
36332 if test "x$ac_cv_func_atan2l" = x""yes; then :
36333 cat >>confdefs.h <<_ACEOF
36334 #define HAVE_ATAN2L 1
36335 _ACEOF
36338 done
36340 else
36342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
36343 $as_echo_n "checking for _atan2l declaration... " >&6; }
36344 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
36345 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
36346 $as_echo_n "(cached) " >&6
36347 else
36350 ac_ext=cpp
36351 ac_cpp='$CXXCPP $CPPFLAGS'
36352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36357 /* end confdefs.h. */
36358 #include <math.h>
36360 main ()
36362 _atan2l(0, 0);
36364 return 0;
36366 _ACEOF
36367 if ac_fn_cxx_try_compile "$LINENO"; then :
36368 glibcxx_cv_func__atan2l_use=yes
36369 else
36370 glibcxx_cv_func__atan2l_use=no
36372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36373 ac_ext=c
36374 ac_cpp='$CPP $CPPFLAGS'
36375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
36384 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
36386 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
36387 for ac_func in _atan2l
36388 do :
36389 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
36390 if test "x$ac_cv_func__atan2l" = x""yes; then :
36391 cat >>confdefs.h <<_ACEOF
36392 #define HAVE__ATAN2L 1
36393 _ACEOF
36396 done
36405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
36406 $as_echo_n "checking for expl declaration... " >&6; }
36407 if test x${glibcxx_cv_func_expl_use+set} != xset; then
36408 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
36409 $as_echo_n "(cached) " >&6
36410 else
36413 ac_ext=cpp
36414 ac_cpp='$CXXCPP $CPPFLAGS'
36415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36420 /* end confdefs.h. */
36421 #include <math.h>
36422 #ifdef HAVE_IEEEFP_H
36423 #include <ieeefp.h>
36424 #endif
36427 main ()
36429 expl(0);
36431 return 0;
36433 _ACEOF
36434 if ac_fn_cxx_try_compile "$LINENO"; then :
36435 glibcxx_cv_func_expl_use=yes
36436 else
36437 glibcxx_cv_func_expl_use=no
36439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36440 ac_ext=c
36441 ac_cpp='$CPP $CPPFLAGS'
36442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
36451 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
36453 if test x$glibcxx_cv_func_expl_use = x"yes"; then
36454 for ac_func in expl
36455 do :
36456 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
36457 if test "x$ac_cv_func_expl" = x""yes; then :
36458 cat >>confdefs.h <<_ACEOF
36459 #define HAVE_EXPL 1
36460 _ACEOF
36463 done
36465 else
36467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
36468 $as_echo_n "checking for _expl declaration... " >&6; }
36469 if test x${glibcxx_cv_func__expl_use+set} != xset; then
36470 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
36471 $as_echo_n "(cached) " >&6
36472 else
36475 ac_ext=cpp
36476 ac_cpp='$CXXCPP $CPPFLAGS'
36477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36482 /* end confdefs.h. */
36483 #include <math.h>
36484 #ifdef HAVE_IEEEFP_H
36485 #include <ieeefp.h>
36486 #endif
36489 main ()
36491 _expl(0);
36493 return 0;
36495 _ACEOF
36496 if ac_fn_cxx_try_compile "$LINENO"; then :
36497 glibcxx_cv_func__expl_use=yes
36498 else
36499 glibcxx_cv_func__expl_use=no
36501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36502 ac_ext=c
36503 ac_cpp='$CPP $CPPFLAGS'
36504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
36513 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
36515 if test x$glibcxx_cv_func__expl_use = x"yes"; then
36516 for ac_func in _expl
36517 do :
36518 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
36519 if test "x$ac_cv_func__expl" = x""yes; then :
36520 cat >>confdefs.h <<_ACEOF
36521 #define HAVE__EXPL 1
36522 _ACEOF
36525 done
36534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
36535 $as_echo_n "checking for fabsl declaration... " >&6; }
36536 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
36537 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
36538 $as_echo_n "(cached) " >&6
36539 else
36542 ac_ext=cpp
36543 ac_cpp='$CXXCPP $CPPFLAGS'
36544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36549 /* end confdefs.h. */
36550 #include <math.h>
36551 #ifdef HAVE_IEEEFP_H
36552 #include <ieeefp.h>
36553 #endif
36556 main ()
36558 fabsl(0);
36560 return 0;
36562 _ACEOF
36563 if ac_fn_cxx_try_compile "$LINENO"; then :
36564 glibcxx_cv_func_fabsl_use=yes
36565 else
36566 glibcxx_cv_func_fabsl_use=no
36568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36569 ac_ext=c
36570 ac_cpp='$CPP $CPPFLAGS'
36571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
36580 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
36582 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
36583 for ac_func in fabsl
36584 do :
36585 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
36586 if test "x$ac_cv_func_fabsl" = x""yes; then :
36587 cat >>confdefs.h <<_ACEOF
36588 #define HAVE_FABSL 1
36589 _ACEOF
36592 done
36594 else
36596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
36597 $as_echo_n "checking for _fabsl declaration... " >&6; }
36598 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
36599 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
36600 $as_echo_n "(cached) " >&6
36601 else
36604 ac_ext=cpp
36605 ac_cpp='$CXXCPP $CPPFLAGS'
36606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36611 /* end confdefs.h. */
36612 #include <math.h>
36613 #ifdef HAVE_IEEEFP_H
36614 #include <ieeefp.h>
36615 #endif
36618 main ()
36620 _fabsl(0);
36622 return 0;
36624 _ACEOF
36625 if ac_fn_cxx_try_compile "$LINENO"; then :
36626 glibcxx_cv_func__fabsl_use=yes
36627 else
36628 glibcxx_cv_func__fabsl_use=no
36630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36631 ac_ext=c
36632 ac_cpp='$CPP $CPPFLAGS'
36633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
36642 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
36644 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
36645 for ac_func in _fabsl
36646 do :
36647 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
36648 if test "x$ac_cv_func__fabsl" = x""yes; then :
36649 cat >>confdefs.h <<_ACEOF
36650 #define HAVE__FABSL 1
36651 _ACEOF
36654 done
36663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
36664 $as_echo_n "checking for fmodl declaration... " >&6; }
36665 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
36666 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
36667 $as_echo_n "(cached) " >&6
36668 else
36671 ac_ext=cpp
36672 ac_cpp='$CXXCPP $CPPFLAGS'
36673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36678 /* end confdefs.h. */
36679 #include <math.h>
36681 main ()
36683 fmodl(0, 0);
36685 return 0;
36687 _ACEOF
36688 if ac_fn_cxx_try_compile "$LINENO"; then :
36689 glibcxx_cv_func_fmodl_use=yes
36690 else
36691 glibcxx_cv_func_fmodl_use=no
36693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36694 ac_ext=c
36695 ac_cpp='$CPP $CPPFLAGS'
36696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
36705 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
36707 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
36708 for ac_func in fmodl
36709 do :
36710 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
36711 if test "x$ac_cv_func_fmodl" = x""yes; then :
36712 cat >>confdefs.h <<_ACEOF
36713 #define HAVE_FMODL 1
36714 _ACEOF
36717 done
36719 else
36721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
36722 $as_echo_n "checking for _fmodl declaration... " >&6; }
36723 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
36724 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
36725 $as_echo_n "(cached) " >&6
36726 else
36729 ac_ext=cpp
36730 ac_cpp='$CXXCPP $CPPFLAGS'
36731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36736 /* end confdefs.h. */
36737 #include <math.h>
36739 main ()
36741 _fmodl(0, 0);
36743 return 0;
36745 _ACEOF
36746 if ac_fn_cxx_try_compile "$LINENO"; then :
36747 glibcxx_cv_func__fmodl_use=yes
36748 else
36749 glibcxx_cv_func__fmodl_use=no
36751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36752 ac_ext=c
36753 ac_cpp='$CPP $CPPFLAGS'
36754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
36763 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
36765 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
36766 for ac_func in _fmodl
36767 do :
36768 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
36769 if test "x$ac_cv_func__fmodl" = x""yes; then :
36770 cat >>confdefs.h <<_ACEOF
36771 #define HAVE__FMODL 1
36772 _ACEOF
36775 done
36784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
36785 $as_echo_n "checking for frexpl declaration... " >&6; }
36786 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
36787 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
36788 $as_echo_n "(cached) " >&6
36789 else
36792 ac_ext=cpp
36793 ac_cpp='$CXXCPP $CPPFLAGS'
36794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36799 /* end confdefs.h. */
36800 #include <math.h>
36802 main ()
36804 frexpl(0, 0);
36806 return 0;
36808 _ACEOF
36809 if ac_fn_cxx_try_compile "$LINENO"; then :
36810 glibcxx_cv_func_frexpl_use=yes
36811 else
36812 glibcxx_cv_func_frexpl_use=no
36814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36815 ac_ext=c
36816 ac_cpp='$CPP $CPPFLAGS'
36817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
36826 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
36828 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
36829 for ac_func in frexpl
36830 do :
36831 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
36832 if test "x$ac_cv_func_frexpl" = x""yes; then :
36833 cat >>confdefs.h <<_ACEOF
36834 #define HAVE_FREXPL 1
36835 _ACEOF
36838 done
36840 else
36842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
36843 $as_echo_n "checking for _frexpl declaration... " >&6; }
36844 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
36845 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
36846 $as_echo_n "(cached) " >&6
36847 else
36850 ac_ext=cpp
36851 ac_cpp='$CXXCPP $CPPFLAGS'
36852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36857 /* end confdefs.h. */
36858 #include <math.h>
36860 main ()
36862 _frexpl(0, 0);
36864 return 0;
36866 _ACEOF
36867 if ac_fn_cxx_try_compile "$LINENO"; then :
36868 glibcxx_cv_func__frexpl_use=yes
36869 else
36870 glibcxx_cv_func__frexpl_use=no
36872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36873 ac_ext=c
36874 ac_cpp='$CPP $CPPFLAGS'
36875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
36884 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
36886 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
36887 for ac_func in _frexpl
36888 do :
36889 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
36890 if test "x$ac_cv_func__frexpl" = x""yes; then :
36891 cat >>confdefs.h <<_ACEOF
36892 #define HAVE__FREXPL 1
36893 _ACEOF
36896 done
36905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
36906 $as_echo_n "checking for hypotl declaration... " >&6; }
36907 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
36908 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
36909 $as_echo_n "(cached) " >&6
36910 else
36913 ac_ext=cpp
36914 ac_cpp='$CXXCPP $CPPFLAGS'
36915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36920 /* end confdefs.h. */
36921 #include <math.h>
36923 main ()
36925 hypotl(0, 0);
36927 return 0;
36929 _ACEOF
36930 if ac_fn_cxx_try_compile "$LINENO"; then :
36931 glibcxx_cv_func_hypotl_use=yes
36932 else
36933 glibcxx_cv_func_hypotl_use=no
36935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36936 ac_ext=c
36937 ac_cpp='$CPP $CPPFLAGS'
36938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
36947 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
36949 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
36950 for ac_func in hypotl
36951 do :
36952 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
36953 if test "x$ac_cv_func_hypotl" = x""yes; then :
36954 cat >>confdefs.h <<_ACEOF
36955 #define HAVE_HYPOTL 1
36956 _ACEOF
36959 done
36961 else
36963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
36964 $as_echo_n "checking for _hypotl declaration... " >&6; }
36965 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
36966 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
36967 $as_echo_n "(cached) " >&6
36968 else
36971 ac_ext=cpp
36972 ac_cpp='$CXXCPP $CPPFLAGS'
36973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36978 /* end confdefs.h. */
36979 #include <math.h>
36981 main ()
36983 _hypotl(0, 0);
36985 return 0;
36987 _ACEOF
36988 if ac_fn_cxx_try_compile "$LINENO"; then :
36989 glibcxx_cv_func__hypotl_use=yes
36990 else
36991 glibcxx_cv_func__hypotl_use=no
36993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36994 ac_ext=c
36995 ac_cpp='$CPP $CPPFLAGS'
36996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
37005 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
37007 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37008 for ac_func in _hypotl
37009 do :
37010 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
37011 if test "x$ac_cv_func__hypotl" = x""yes; then :
37012 cat >>confdefs.h <<_ACEOF
37013 #define HAVE__HYPOTL 1
37014 _ACEOF
37017 done
37026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
37027 $as_echo_n "checking for ldexpl declaration... " >&6; }
37028 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37029 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
37030 $as_echo_n "(cached) " >&6
37031 else
37034 ac_ext=cpp
37035 ac_cpp='$CXXCPP $CPPFLAGS'
37036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37041 /* end confdefs.h. */
37042 #include <math.h>
37044 main ()
37046 ldexpl(0, 0);
37048 return 0;
37050 _ACEOF
37051 if ac_fn_cxx_try_compile "$LINENO"; then :
37052 glibcxx_cv_func_ldexpl_use=yes
37053 else
37054 glibcxx_cv_func_ldexpl_use=no
37056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37057 ac_ext=c
37058 ac_cpp='$CPP $CPPFLAGS'
37059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37068 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37070 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37071 for ac_func in ldexpl
37072 do :
37073 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37074 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37075 cat >>confdefs.h <<_ACEOF
37076 #define HAVE_LDEXPL 1
37077 _ACEOF
37080 done
37082 else
37084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37085 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37086 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37087 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37088 $as_echo_n "(cached) " >&6
37089 else
37092 ac_ext=cpp
37093 ac_cpp='$CXXCPP $CPPFLAGS'
37094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37099 /* end confdefs.h. */
37100 #include <math.h>
37102 main ()
37104 _ldexpl(0, 0);
37106 return 0;
37108 _ACEOF
37109 if ac_fn_cxx_try_compile "$LINENO"; then :
37110 glibcxx_cv_func__ldexpl_use=yes
37111 else
37112 glibcxx_cv_func__ldexpl_use=no
37114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37115 ac_ext=c
37116 ac_cpp='$CPP $CPPFLAGS'
37117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37126 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37128 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37129 for ac_func in _ldexpl
37130 do :
37131 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37132 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37133 cat >>confdefs.h <<_ACEOF
37134 #define HAVE__LDEXPL 1
37135 _ACEOF
37138 done
37147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37148 $as_echo_n "checking for logl declaration... " >&6; }
37149 if test x${glibcxx_cv_func_logl_use+set} != xset; then
37150 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37151 $as_echo_n "(cached) " >&6
37152 else
37155 ac_ext=cpp
37156 ac_cpp='$CXXCPP $CPPFLAGS'
37157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37162 /* end confdefs.h. */
37163 #include <math.h>
37164 #ifdef HAVE_IEEEFP_H
37165 #include <ieeefp.h>
37166 #endif
37169 main ()
37171 logl(0);
37173 return 0;
37175 _ACEOF
37176 if ac_fn_cxx_try_compile "$LINENO"; then :
37177 glibcxx_cv_func_logl_use=yes
37178 else
37179 glibcxx_cv_func_logl_use=no
37181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37182 ac_ext=c
37183 ac_cpp='$CPP $CPPFLAGS'
37184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
37193 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
37195 if test x$glibcxx_cv_func_logl_use = x"yes"; then
37196 for ac_func in logl
37197 do :
37198 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
37199 if test "x$ac_cv_func_logl" = x""yes; then :
37200 cat >>confdefs.h <<_ACEOF
37201 #define HAVE_LOGL 1
37202 _ACEOF
37205 done
37207 else
37209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
37210 $as_echo_n "checking for _logl declaration... " >&6; }
37211 if test x${glibcxx_cv_func__logl_use+set} != xset; then
37212 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
37213 $as_echo_n "(cached) " >&6
37214 else
37217 ac_ext=cpp
37218 ac_cpp='$CXXCPP $CPPFLAGS'
37219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37224 /* end confdefs.h. */
37225 #include <math.h>
37226 #ifdef HAVE_IEEEFP_H
37227 #include <ieeefp.h>
37228 #endif
37231 main ()
37233 _logl(0);
37235 return 0;
37237 _ACEOF
37238 if ac_fn_cxx_try_compile "$LINENO"; then :
37239 glibcxx_cv_func__logl_use=yes
37240 else
37241 glibcxx_cv_func__logl_use=no
37243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37244 ac_ext=c
37245 ac_cpp='$CPP $CPPFLAGS'
37246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
37255 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
37257 if test x$glibcxx_cv_func__logl_use = x"yes"; then
37258 for ac_func in _logl
37259 do :
37260 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
37261 if test "x$ac_cv_func__logl" = x""yes; then :
37262 cat >>confdefs.h <<_ACEOF
37263 #define HAVE__LOGL 1
37264 _ACEOF
37267 done
37276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
37277 $as_echo_n "checking for log10l declaration... " >&6; }
37278 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
37279 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
37280 $as_echo_n "(cached) " >&6
37281 else
37284 ac_ext=cpp
37285 ac_cpp='$CXXCPP $CPPFLAGS'
37286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37291 /* end confdefs.h. */
37292 #include <math.h>
37293 #ifdef HAVE_IEEEFP_H
37294 #include <ieeefp.h>
37295 #endif
37298 main ()
37300 log10l(0);
37302 return 0;
37304 _ACEOF
37305 if ac_fn_cxx_try_compile "$LINENO"; then :
37306 glibcxx_cv_func_log10l_use=yes
37307 else
37308 glibcxx_cv_func_log10l_use=no
37310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37311 ac_ext=c
37312 ac_cpp='$CPP $CPPFLAGS'
37313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
37322 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
37324 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
37325 for ac_func in log10l
37326 do :
37327 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
37328 if test "x$ac_cv_func_log10l" = x""yes; then :
37329 cat >>confdefs.h <<_ACEOF
37330 #define HAVE_LOG10L 1
37331 _ACEOF
37334 done
37336 else
37338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
37339 $as_echo_n "checking for _log10l declaration... " >&6; }
37340 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
37341 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
37342 $as_echo_n "(cached) " >&6
37343 else
37346 ac_ext=cpp
37347 ac_cpp='$CXXCPP $CPPFLAGS'
37348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37353 /* end confdefs.h. */
37354 #include <math.h>
37355 #ifdef HAVE_IEEEFP_H
37356 #include <ieeefp.h>
37357 #endif
37360 main ()
37362 _log10l(0);
37364 return 0;
37366 _ACEOF
37367 if ac_fn_cxx_try_compile "$LINENO"; then :
37368 glibcxx_cv_func__log10l_use=yes
37369 else
37370 glibcxx_cv_func__log10l_use=no
37372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37373 ac_ext=c
37374 ac_cpp='$CPP $CPPFLAGS'
37375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
37384 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
37386 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
37387 for ac_func in _log10l
37388 do :
37389 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
37390 if test "x$ac_cv_func__log10l" = x""yes; then :
37391 cat >>confdefs.h <<_ACEOF
37392 #define HAVE__LOG10L 1
37393 _ACEOF
37396 done
37405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
37406 $as_echo_n "checking for modfl declaration... " >&6; }
37407 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
37408 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
37409 $as_echo_n "(cached) " >&6
37410 else
37413 ac_ext=cpp
37414 ac_cpp='$CXXCPP $CPPFLAGS'
37415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37420 /* end confdefs.h. */
37421 #include <math.h>
37423 main ()
37425 modfl(0, 0);
37427 return 0;
37429 _ACEOF
37430 if ac_fn_cxx_try_compile "$LINENO"; then :
37431 glibcxx_cv_func_modfl_use=yes
37432 else
37433 glibcxx_cv_func_modfl_use=no
37435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37436 ac_ext=c
37437 ac_cpp='$CPP $CPPFLAGS'
37438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
37447 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
37449 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
37450 for ac_func in modfl
37451 do :
37452 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
37453 if test "x$ac_cv_func_modfl" = x""yes; then :
37454 cat >>confdefs.h <<_ACEOF
37455 #define HAVE_MODFL 1
37456 _ACEOF
37459 done
37461 else
37463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
37464 $as_echo_n "checking for _modfl declaration... " >&6; }
37465 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
37466 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
37467 $as_echo_n "(cached) " >&6
37468 else
37471 ac_ext=cpp
37472 ac_cpp='$CXXCPP $CPPFLAGS'
37473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37478 /* end confdefs.h. */
37479 #include <math.h>
37481 main ()
37483 _modfl(0, 0);
37485 return 0;
37487 _ACEOF
37488 if ac_fn_cxx_try_compile "$LINENO"; then :
37489 glibcxx_cv_func__modfl_use=yes
37490 else
37491 glibcxx_cv_func__modfl_use=no
37493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37494 ac_ext=c
37495 ac_cpp='$CPP $CPPFLAGS'
37496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
37505 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
37507 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
37508 for ac_func in _modfl
37509 do :
37510 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
37511 if test "x$ac_cv_func__modfl" = x""yes; then :
37512 cat >>confdefs.h <<_ACEOF
37513 #define HAVE__MODFL 1
37514 _ACEOF
37517 done
37526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
37527 $as_echo_n "checking for powl declaration... " >&6; }
37528 if test x${glibcxx_cv_func_powl_use+set} != xset; then
37529 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
37530 $as_echo_n "(cached) " >&6
37531 else
37534 ac_ext=cpp
37535 ac_cpp='$CXXCPP $CPPFLAGS'
37536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37541 /* end confdefs.h. */
37542 #include <math.h>
37544 main ()
37546 powl(0, 0);
37548 return 0;
37550 _ACEOF
37551 if ac_fn_cxx_try_compile "$LINENO"; then :
37552 glibcxx_cv_func_powl_use=yes
37553 else
37554 glibcxx_cv_func_powl_use=no
37556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37557 ac_ext=c
37558 ac_cpp='$CPP $CPPFLAGS'
37559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
37568 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
37570 if test x$glibcxx_cv_func_powl_use = x"yes"; then
37571 for ac_func in powl
37572 do :
37573 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
37574 if test "x$ac_cv_func_powl" = x""yes; then :
37575 cat >>confdefs.h <<_ACEOF
37576 #define HAVE_POWL 1
37577 _ACEOF
37580 done
37582 else
37584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
37585 $as_echo_n "checking for _powl declaration... " >&6; }
37586 if test x${glibcxx_cv_func__powl_use+set} != xset; then
37587 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
37588 $as_echo_n "(cached) " >&6
37589 else
37592 ac_ext=cpp
37593 ac_cpp='$CXXCPP $CPPFLAGS'
37594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37599 /* end confdefs.h. */
37600 #include <math.h>
37602 main ()
37604 _powl(0, 0);
37606 return 0;
37608 _ACEOF
37609 if ac_fn_cxx_try_compile "$LINENO"; then :
37610 glibcxx_cv_func__powl_use=yes
37611 else
37612 glibcxx_cv_func__powl_use=no
37614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37615 ac_ext=c
37616 ac_cpp='$CPP $CPPFLAGS'
37617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
37626 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
37628 if test x$glibcxx_cv_func__powl_use = x"yes"; then
37629 for ac_func in _powl
37630 do :
37631 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
37632 if test "x$ac_cv_func__powl" = x""yes; then :
37633 cat >>confdefs.h <<_ACEOF
37634 #define HAVE__POWL 1
37635 _ACEOF
37638 done
37647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
37648 $as_echo_n "checking for sqrtl declaration... " >&6; }
37649 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
37650 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
37651 $as_echo_n "(cached) " >&6
37652 else
37655 ac_ext=cpp
37656 ac_cpp='$CXXCPP $CPPFLAGS'
37657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37662 /* end confdefs.h. */
37663 #include <math.h>
37664 #ifdef HAVE_IEEEFP_H
37665 #include <ieeefp.h>
37666 #endif
37669 main ()
37671 sqrtl(0);
37673 return 0;
37675 _ACEOF
37676 if ac_fn_cxx_try_compile "$LINENO"; then :
37677 glibcxx_cv_func_sqrtl_use=yes
37678 else
37679 glibcxx_cv_func_sqrtl_use=no
37681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37682 ac_ext=c
37683 ac_cpp='$CPP $CPPFLAGS'
37684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
37693 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
37695 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
37696 for ac_func in sqrtl
37697 do :
37698 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
37699 if test "x$ac_cv_func_sqrtl" = x""yes; then :
37700 cat >>confdefs.h <<_ACEOF
37701 #define HAVE_SQRTL 1
37702 _ACEOF
37705 done
37707 else
37709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
37710 $as_echo_n "checking for _sqrtl declaration... " >&6; }
37711 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
37712 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
37713 $as_echo_n "(cached) " >&6
37714 else
37717 ac_ext=cpp
37718 ac_cpp='$CXXCPP $CPPFLAGS'
37719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37724 /* end confdefs.h. */
37725 #include <math.h>
37726 #ifdef HAVE_IEEEFP_H
37727 #include <ieeefp.h>
37728 #endif
37731 main ()
37733 _sqrtl(0);
37735 return 0;
37737 _ACEOF
37738 if ac_fn_cxx_try_compile "$LINENO"; then :
37739 glibcxx_cv_func__sqrtl_use=yes
37740 else
37741 glibcxx_cv_func__sqrtl_use=no
37743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37744 ac_ext=c
37745 ac_cpp='$CPP $CPPFLAGS'
37746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
37755 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
37757 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
37758 for ac_func in _sqrtl
37759 do :
37760 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
37761 if test "x$ac_cv_func__sqrtl" = x""yes; then :
37762 cat >>confdefs.h <<_ACEOF
37763 #define HAVE__SQRTL 1
37764 _ACEOF
37767 done
37776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
37777 $as_echo_n "checking for sincosl declaration... " >&6; }
37778 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
37779 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
37780 $as_echo_n "(cached) " >&6
37781 else
37784 ac_ext=cpp
37785 ac_cpp='$CXXCPP $CPPFLAGS'
37786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37791 /* end confdefs.h. */
37792 #include <math.h>
37794 main ()
37796 sincosl(0, 0, 0);
37798 return 0;
37800 _ACEOF
37801 if ac_fn_cxx_try_compile "$LINENO"; then :
37802 glibcxx_cv_func_sincosl_use=yes
37803 else
37804 glibcxx_cv_func_sincosl_use=no
37806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37807 ac_ext=c
37808 ac_cpp='$CPP $CPPFLAGS'
37809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
37818 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
37820 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
37821 for ac_func in sincosl
37822 do :
37823 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
37824 if test "x$ac_cv_func_sincosl" = x""yes; then :
37825 cat >>confdefs.h <<_ACEOF
37826 #define HAVE_SINCOSL 1
37827 _ACEOF
37830 done
37832 else
37834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
37835 $as_echo_n "checking for _sincosl declaration... " >&6; }
37836 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
37837 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
37838 $as_echo_n "(cached) " >&6
37839 else
37842 ac_ext=cpp
37843 ac_cpp='$CXXCPP $CPPFLAGS'
37844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37849 /* end confdefs.h. */
37850 #include <math.h>
37852 main ()
37854 _sincosl(0, 0, 0);
37856 return 0;
37858 _ACEOF
37859 if ac_fn_cxx_try_compile "$LINENO"; then :
37860 glibcxx_cv_func__sincosl_use=yes
37861 else
37862 glibcxx_cv_func__sincosl_use=no
37864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37865 ac_ext=c
37866 ac_cpp='$CPP $CPPFLAGS'
37867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
37876 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
37878 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
37879 for ac_func in _sincosl
37880 do :
37881 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
37882 if test "x$ac_cv_func__sincosl" = x""yes; then :
37883 cat >>confdefs.h <<_ACEOF
37884 #define HAVE__SINCOSL 1
37885 _ACEOF
37888 done
37897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
37898 $as_echo_n "checking for finitel declaration... " >&6; }
37899 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
37900 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
37901 $as_echo_n "(cached) " >&6
37902 else
37905 ac_ext=cpp
37906 ac_cpp='$CXXCPP $CPPFLAGS'
37907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37912 /* end confdefs.h. */
37913 #include <math.h>
37914 #ifdef HAVE_IEEEFP_H
37915 #include <ieeefp.h>
37916 #endif
37919 main ()
37921 finitel(0);
37923 return 0;
37925 _ACEOF
37926 if ac_fn_cxx_try_compile "$LINENO"; then :
37927 glibcxx_cv_func_finitel_use=yes
37928 else
37929 glibcxx_cv_func_finitel_use=no
37931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37932 ac_ext=c
37933 ac_cpp='$CPP $CPPFLAGS'
37934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
37943 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
37945 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
37946 for ac_func in finitel
37947 do :
37948 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
37949 if test "x$ac_cv_func_finitel" = x""yes; then :
37950 cat >>confdefs.h <<_ACEOF
37951 #define HAVE_FINITEL 1
37952 _ACEOF
37955 done
37957 else
37959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
37960 $as_echo_n "checking for _finitel declaration... " >&6; }
37961 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
37962 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
37963 $as_echo_n "(cached) " >&6
37964 else
37967 ac_ext=cpp
37968 ac_cpp='$CXXCPP $CPPFLAGS'
37969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37974 /* end confdefs.h. */
37975 #include <math.h>
37976 #ifdef HAVE_IEEEFP_H
37977 #include <ieeefp.h>
37978 #endif
37981 main ()
37983 _finitel(0);
37985 return 0;
37987 _ACEOF
37988 if ac_fn_cxx_try_compile "$LINENO"; then :
37989 glibcxx_cv_func__finitel_use=yes
37990 else
37991 glibcxx_cv_func__finitel_use=no
37993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37994 ac_ext=c
37995 ac_cpp='$CPP $CPPFLAGS'
37996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
38005 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
38007 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
38008 for ac_func in _finitel
38009 do :
38010 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
38011 if test "x$ac_cv_func__finitel" = x""yes; then :
38012 cat >>confdefs.h <<_ACEOF
38013 #define HAVE__FINITEL 1
38014 _ACEOF
38017 done
38025 LIBS="$ac_save_LIBS"
38026 CXXFLAGS="$ac_save_CXXFLAGS"
38029 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38030 ac_save_CXXFLAGS="$CXXFLAGS"
38031 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
38035 $as_echo_n "checking for strtold declaration... " >&6; }
38036 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38037 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
38038 $as_echo_n "(cached) " >&6
38039 else
38042 ac_ext=cpp
38043 ac_cpp='$CXXCPP $CPPFLAGS'
38044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38049 /* end confdefs.h. */
38050 #include <stdlib.h>
38052 main ()
38054 strtold(0, 0);
38056 return 0;
38058 _ACEOF
38059 if ac_fn_cxx_try_compile "$LINENO"; then :
38060 glibcxx_cv_func_strtold_use=yes
38061 else
38062 glibcxx_cv_func_strtold_use=no
38064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38065 ac_ext=c
38066 ac_cpp='$CPP $CPPFLAGS'
38067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38076 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38077 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38078 for ac_func in strtold
38079 do :
38080 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38081 if test "x$ac_cv_func_strtold" = x""yes; then :
38082 cat >>confdefs.h <<_ACEOF
38083 #define HAVE_STRTOLD 1
38084 _ACEOF
38087 done
38094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38095 $as_echo_n "checking for strtof declaration... " >&6; }
38096 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38097 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38098 $as_echo_n "(cached) " >&6
38099 else
38102 ac_ext=cpp
38103 ac_cpp='$CXXCPP $CPPFLAGS'
38104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38109 /* end confdefs.h. */
38110 #include <stdlib.h>
38112 main ()
38114 strtof(0, 0);
38116 return 0;
38118 _ACEOF
38119 if ac_fn_cxx_try_compile "$LINENO"; then :
38120 glibcxx_cv_func_strtof_use=yes
38121 else
38122 glibcxx_cv_func_strtof_use=no
38124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38125 ac_ext=c
38126 ac_cpp='$CPP $CPPFLAGS'
38127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38136 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38137 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38138 for ac_func in strtof
38139 do :
38140 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38141 if test "x$ac_cv_func_strtof" = x""yes; then :
38142 cat >>confdefs.h <<_ACEOF
38143 #define HAVE_STRTOF 1
38144 _ACEOF
38147 done
38154 CXXFLAGS="$ac_save_CXXFLAGS"
38156 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38158 # We don't yet support AIX's TLS ABI.
38159 #GCC_CHECK_TLS
38165 am_save_CPPFLAGS="$CPPFLAGS"
38167 for element in $INCICONV; do
38168 haveit=
38169 for x in $CPPFLAGS; do
38171 acl_save_prefix="$prefix"
38172 prefix="$acl_final_prefix"
38173 acl_save_exec_prefix="$exec_prefix"
38174 exec_prefix="$acl_final_exec_prefix"
38175 eval x=\"$x\"
38176 exec_prefix="$acl_save_exec_prefix"
38177 prefix="$acl_save_prefix"
38179 if test "X$x" = "X$element"; then
38180 haveit=yes
38181 break
38183 done
38184 if test -z "$haveit"; then
38185 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38187 done
38190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
38191 $as_echo_n "checking for iconv... " >&6; }
38192 if test "${am_cv_func_iconv+set}" = set; then :
38193 $as_echo_n "(cached) " >&6
38194 else
38196 am_cv_func_iconv="no, consider installing GNU libiconv"
38197 am_cv_lib_iconv=no
38198 if test x$gcc_no_link = xyes; then
38199 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38202 /* end confdefs.h. */
38203 #include <stdlib.h>
38204 #include <iconv.h>
38206 main ()
38208 iconv_t cd = iconv_open("","");
38209 iconv(cd,NULL,NULL,NULL,NULL);
38210 iconv_close(cd);
38212 return 0;
38214 _ACEOF
38215 if ac_fn_c_try_link "$LINENO"; then :
38216 am_cv_func_iconv=yes
38218 rm -f core conftest.err conftest.$ac_objext \
38219 conftest$ac_exeext conftest.$ac_ext
38220 if test "$am_cv_func_iconv" != yes; then
38221 am_save_LIBS="$LIBS"
38222 LIBS="$LIBS $LIBICONV"
38223 if test x$gcc_no_link = xyes; then
38224 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38227 /* end confdefs.h. */
38228 #include <stdlib.h>
38229 #include <iconv.h>
38231 main ()
38233 iconv_t cd = iconv_open("","");
38234 iconv(cd,NULL,NULL,NULL,NULL);
38235 iconv_close(cd);
38237 return 0;
38239 _ACEOF
38240 if ac_fn_c_try_link "$LINENO"; then :
38241 am_cv_lib_iconv=yes
38242 am_cv_func_iconv=yes
38244 rm -f core conftest.err conftest.$ac_objext \
38245 conftest$ac_exeext conftest.$ac_ext
38246 LIBS="$am_save_LIBS"
38250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
38251 $as_echo "$am_cv_func_iconv" >&6; }
38252 if test "$am_cv_func_iconv" = yes; then
38254 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
38257 if test "$am_cv_lib_iconv" = yes; then
38258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
38259 $as_echo_n "checking how to link with libiconv... " >&6; }
38260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
38261 $as_echo "$LIBICONV" >&6; }
38262 else
38263 CPPFLAGS="$am_save_CPPFLAGS"
38264 LIBICONV=
38265 LTLIBICONV=
38270 if test "$am_cv_func_iconv" = yes; then
38271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
38272 $as_echo_n "checking for iconv declaration... " >&6; }
38273 if test "${am_cv_proto_iconv+set}" = set; then :
38274 $as_echo_n "(cached) " >&6
38275 else
38277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38278 /* end confdefs.h. */
38280 #include <stdlib.h>
38281 #include <iconv.h>
38282 extern
38283 #ifdef __cplusplus
38285 #endif
38286 #if defined(__STDC__) || defined(__cplusplus)
38287 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38288 #else
38289 size_t iconv();
38290 #endif
38293 main ()
38297 return 0;
38299 _ACEOF
38300 if ac_fn_c_try_compile "$LINENO"; then :
38301 am_cv_proto_iconv_arg1=""
38302 else
38303 am_cv_proto_iconv_arg1="const"
38305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38306 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);"
38309 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
38310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
38311 }$am_cv_proto_iconv" >&5
38312 $as_echo "${ac_t:-
38313 }$am_cv_proto_iconv" >&6; }
38315 cat >>confdefs.h <<_ACEOF
38316 #define ICONV_CONST $am_cv_proto_iconv_arg1
38317 _ACEOF
38323 *-darwin*)
38324 # Darwin versions vary, but the linker should work in a cross environment,
38325 # so we just check for all the features here.
38326 # Check for available headers.
38328 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
38330 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38331 ac_save_CXXFLAGS="$CXXFLAGS"
38332 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
38335 $as_echo_n "checking for sin in -lm... " >&6; }
38336 if test "${ac_cv_lib_m_sin+set}" = set; then :
38337 $as_echo_n "(cached) " >&6
38338 else
38339 ac_check_lib_save_LIBS=$LIBS
38340 LIBS="-lm $LIBS"
38341 if test x$gcc_no_link = xyes; then
38342 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38345 /* end confdefs.h. */
38347 /* Override any GCC internal prototype to avoid an error.
38348 Use char because int might match the return type of a GCC
38349 builtin and then its argument prototype would still apply. */
38350 #ifdef __cplusplus
38351 extern "C"
38352 #endif
38353 char sin ();
38355 main ()
38357 return sin ();
38359 return 0;
38361 _ACEOF
38362 if ac_fn_c_try_link "$LINENO"; then :
38363 ac_cv_lib_m_sin=yes
38364 else
38365 ac_cv_lib_m_sin=no
38367 rm -f core conftest.err conftest.$ac_objext \
38368 conftest$ac_exeext conftest.$ac_ext
38369 LIBS=$ac_check_lib_save_LIBS
38371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
38372 $as_echo "$ac_cv_lib_m_sin" >&6; }
38373 if test "x$ac_cv_lib_m_sin" = x""yes; then :
38374 libm="-lm"
38377 ac_save_LIBS="$LIBS"
38378 LIBS="$LIBS $libm"
38382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
38383 $as_echo_n "checking for isinf declaration... " >&6; }
38384 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
38385 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
38386 $as_echo_n "(cached) " >&6
38387 else
38390 ac_ext=cpp
38391 ac_cpp='$CXXCPP $CPPFLAGS'
38392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38397 /* end confdefs.h. */
38398 #include <math.h>
38399 #ifdef HAVE_IEEEFP_H
38400 #include <ieeefp.h>
38401 #endif
38404 main ()
38406 isinf(0);
38408 return 0;
38410 _ACEOF
38411 if ac_fn_cxx_try_compile "$LINENO"; then :
38412 glibcxx_cv_func_isinf_use=yes
38413 else
38414 glibcxx_cv_func_isinf_use=no
38416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38417 ac_ext=c
38418 ac_cpp='$CPP $CPPFLAGS'
38419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
38428 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
38430 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
38431 for ac_func in isinf
38432 do :
38433 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
38434 if test "x$ac_cv_func_isinf" = x""yes; then :
38435 cat >>confdefs.h <<_ACEOF
38436 #define HAVE_ISINF 1
38437 _ACEOF
38440 done
38442 else
38444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
38445 $as_echo_n "checking for _isinf declaration... " >&6; }
38446 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
38447 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
38448 $as_echo_n "(cached) " >&6
38449 else
38452 ac_ext=cpp
38453 ac_cpp='$CXXCPP $CPPFLAGS'
38454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38459 /* end confdefs.h. */
38460 #include <math.h>
38461 #ifdef HAVE_IEEEFP_H
38462 #include <ieeefp.h>
38463 #endif
38466 main ()
38468 _isinf(0);
38470 return 0;
38472 _ACEOF
38473 if ac_fn_cxx_try_compile "$LINENO"; then :
38474 glibcxx_cv_func__isinf_use=yes
38475 else
38476 glibcxx_cv_func__isinf_use=no
38478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38479 ac_ext=c
38480 ac_cpp='$CPP $CPPFLAGS'
38481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
38490 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
38492 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
38493 for ac_func in _isinf
38494 do :
38495 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
38496 if test "x$ac_cv_func__isinf" = x""yes; then :
38497 cat >>confdefs.h <<_ACEOF
38498 #define HAVE__ISINF 1
38499 _ACEOF
38502 done
38511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
38512 $as_echo_n "checking for isnan declaration... " >&6; }
38513 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
38514 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
38515 $as_echo_n "(cached) " >&6
38516 else
38519 ac_ext=cpp
38520 ac_cpp='$CXXCPP $CPPFLAGS'
38521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38526 /* end confdefs.h. */
38527 #include <math.h>
38528 #ifdef HAVE_IEEEFP_H
38529 #include <ieeefp.h>
38530 #endif
38533 main ()
38535 isnan(0);
38537 return 0;
38539 _ACEOF
38540 if ac_fn_cxx_try_compile "$LINENO"; then :
38541 glibcxx_cv_func_isnan_use=yes
38542 else
38543 glibcxx_cv_func_isnan_use=no
38545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38546 ac_ext=c
38547 ac_cpp='$CPP $CPPFLAGS'
38548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
38557 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
38559 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
38560 for ac_func in isnan
38561 do :
38562 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
38563 if test "x$ac_cv_func_isnan" = x""yes; then :
38564 cat >>confdefs.h <<_ACEOF
38565 #define HAVE_ISNAN 1
38566 _ACEOF
38569 done
38571 else
38573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
38574 $as_echo_n "checking for _isnan declaration... " >&6; }
38575 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
38576 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
38577 $as_echo_n "(cached) " >&6
38578 else
38581 ac_ext=cpp
38582 ac_cpp='$CXXCPP $CPPFLAGS'
38583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38588 /* end confdefs.h. */
38589 #include <math.h>
38590 #ifdef HAVE_IEEEFP_H
38591 #include <ieeefp.h>
38592 #endif
38595 main ()
38597 _isnan(0);
38599 return 0;
38601 _ACEOF
38602 if ac_fn_cxx_try_compile "$LINENO"; then :
38603 glibcxx_cv_func__isnan_use=yes
38604 else
38605 glibcxx_cv_func__isnan_use=no
38607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38608 ac_ext=c
38609 ac_cpp='$CPP $CPPFLAGS'
38610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
38619 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
38621 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
38622 for ac_func in _isnan
38623 do :
38624 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
38625 if test "x$ac_cv_func__isnan" = x""yes; then :
38626 cat >>confdefs.h <<_ACEOF
38627 #define HAVE__ISNAN 1
38628 _ACEOF
38631 done
38640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
38641 $as_echo_n "checking for finite declaration... " >&6; }
38642 if test x${glibcxx_cv_func_finite_use+set} != xset; then
38643 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
38644 $as_echo_n "(cached) " >&6
38645 else
38648 ac_ext=cpp
38649 ac_cpp='$CXXCPP $CPPFLAGS'
38650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38655 /* end confdefs.h. */
38656 #include <math.h>
38657 #ifdef HAVE_IEEEFP_H
38658 #include <ieeefp.h>
38659 #endif
38662 main ()
38664 finite(0);
38666 return 0;
38668 _ACEOF
38669 if ac_fn_cxx_try_compile "$LINENO"; then :
38670 glibcxx_cv_func_finite_use=yes
38671 else
38672 glibcxx_cv_func_finite_use=no
38674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38675 ac_ext=c
38676 ac_cpp='$CPP $CPPFLAGS'
38677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
38686 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
38688 if test x$glibcxx_cv_func_finite_use = x"yes"; then
38689 for ac_func in finite
38690 do :
38691 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
38692 if test "x$ac_cv_func_finite" = x""yes; then :
38693 cat >>confdefs.h <<_ACEOF
38694 #define HAVE_FINITE 1
38695 _ACEOF
38698 done
38700 else
38702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
38703 $as_echo_n "checking for _finite declaration... " >&6; }
38704 if test x${glibcxx_cv_func__finite_use+set} != xset; then
38705 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
38706 $as_echo_n "(cached) " >&6
38707 else
38710 ac_ext=cpp
38711 ac_cpp='$CXXCPP $CPPFLAGS'
38712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38717 /* end confdefs.h. */
38718 #include <math.h>
38719 #ifdef HAVE_IEEEFP_H
38720 #include <ieeefp.h>
38721 #endif
38724 main ()
38726 _finite(0);
38728 return 0;
38730 _ACEOF
38731 if ac_fn_cxx_try_compile "$LINENO"; then :
38732 glibcxx_cv_func__finite_use=yes
38733 else
38734 glibcxx_cv_func__finite_use=no
38736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38737 ac_ext=c
38738 ac_cpp='$CPP $CPPFLAGS'
38739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
38748 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
38750 if test x$glibcxx_cv_func__finite_use = x"yes"; then
38751 for ac_func in _finite
38752 do :
38753 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
38754 if test "x$ac_cv_func__finite" = x""yes; then :
38755 cat >>confdefs.h <<_ACEOF
38756 #define HAVE__FINITE 1
38757 _ACEOF
38760 done
38769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
38770 $as_echo_n "checking for sincos declaration... " >&6; }
38771 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
38772 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
38773 $as_echo_n "(cached) " >&6
38774 else
38777 ac_ext=cpp
38778 ac_cpp='$CXXCPP $CPPFLAGS'
38779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38784 /* end confdefs.h. */
38785 #include <math.h>
38787 main ()
38789 sincos(0, 0, 0);
38791 return 0;
38793 _ACEOF
38794 if ac_fn_cxx_try_compile "$LINENO"; then :
38795 glibcxx_cv_func_sincos_use=yes
38796 else
38797 glibcxx_cv_func_sincos_use=no
38799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38800 ac_ext=c
38801 ac_cpp='$CPP $CPPFLAGS'
38802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
38811 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
38813 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
38814 for ac_func in sincos
38815 do :
38816 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
38817 if test "x$ac_cv_func_sincos" = x""yes; then :
38818 cat >>confdefs.h <<_ACEOF
38819 #define HAVE_SINCOS 1
38820 _ACEOF
38823 done
38825 else
38827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
38828 $as_echo_n "checking for _sincos declaration... " >&6; }
38829 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
38830 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
38831 $as_echo_n "(cached) " >&6
38832 else
38835 ac_ext=cpp
38836 ac_cpp='$CXXCPP $CPPFLAGS'
38837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38842 /* end confdefs.h. */
38843 #include <math.h>
38845 main ()
38847 _sincos(0, 0, 0);
38849 return 0;
38851 _ACEOF
38852 if ac_fn_cxx_try_compile "$LINENO"; then :
38853 glibcxx_cv_func__sincos_use=yes
38854 else
38855 glibcxx_cv_func__sincos_use=no
38857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38858 ac_ext=c
38859 ac_cpp='$CPP $CPPFLAGS'
38860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
38869 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
38871 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
38872 for ac_func in _sincos
38873 do :
38874 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
38875 if test "x$ac_cv_func__sincos" = x""yes; then :
38876 cat >>confdefs.h <<_ACEOF
38877 #define HAVE__SINCOS 1
38878 _ACEOF
38881 done
38890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
38891 $as_echo_n "checking for fpclass declaration... " >&6; }
38892 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
38893 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
38894 $as_echo_n "(cached) " >&6
38895 else
38898 ac_ext=cpp
38899 ac_cpp='$CXXCPP $CPPFLAGS'
38900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38905 /* end confdefs.h. */
38906 #include <math.h>
38907 #ifdef HAVE_IEEEFP_H
38908 #include <ieeefp.h>
38909 #endif
38912 main ()
38914 fpclass(0);
38916 return 0;
38918 _ACEOF
38919 if ac_fn_cxx_try_compile "$LINENO"; then :
38920 glibcxx_cv_func_fpclass_use=yes
38921 else
38922 glibcxx_cv_func_fpclass_use=no
38924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38925 ac_ext=c
38926 ac_cpp='$CPP $CPPFLAGS'
38927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
38936 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
38938 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
38939 for ac_func in fpclass
38940 do :
38941 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
38942 if test "x$ac_cv_func_fpclass" = x""yes; then :
38943 cat >>confdefs.h <<_ACEOF
38944 #define HAVE_FPCLASS 1
38945 _ACEOF
38948 done
38950 else
38952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
38953 $as_echo_n "checking for _fpclass declaration... " >&6; }
38954 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
38955 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
38956 $as_echo_n "(cached) " >&6
38957 else
38960 ac_ext=cpp
38961 ac_cpp='$CXXCPP $CPPFLAGS'
38962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38967 /* end confdefs.h. */
38968 #include <math.h>
38969 #ifdef HAVE_IEEEFP_H
38970 #include <ieeefp.h>
38971 #endif
38974 main ()
38976 _fpclass(0);
38978 return 0;
38980 _ACEOF
38981 if ac_fn_cxx_try_compile "$LINENO"; then :
38982 glibcxx_cv_func__fpclass_use=yes
38983 else
38984 glibcxx_cv_func__fpclass_use=no
38986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38987 ac_ext=c
38988 ac_cpp='$CPP $CPPFLAGS'
38989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
38998 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
39000 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
39001 for ac_func in _fpclass
39002 do :
39003 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
39004 if test "x$ac_cv_func__fpclass" = x""yes; then :
39005 cat >>confdefs.h <<_ACEOF
39006 #define HAVE__FPCLASS 1
39007 _ACEOF
39010 done
39019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
39020 $as_echo_n "checking for qfpclass declaration... " >&6; }
39021 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
39022 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
39023 $as_echo_n "(cached) " >&6
39024 else
39027 ac_ext=cpp
39028 ac_cpp='$CXXCPP $CPPFLAGS'
39029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39034 /* end confdefs.h. */
39035 #include <math.h>
39036 #ifdef HAVE_IEEEFP_H
39037 #include <ieeefp.h>
39038 #endif
39041 main ()
39043 qfpclass(0);
39045 return 0;
39047 _ACEOF
39048 if ac_fn_cxx_try_compile "$LINENO"; then :
39049 glibcxx_cv_func_qfpclass_use=yes
39050 else
39051 glibcxx_cv_func_qfpclass_use=no
39053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39054 ac_ext=c
39055 ac_cpp='$CPP $CPPFLAGS'
39056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39065 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39067 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39068 for ac_func in qfpclass
39069 do :
39070 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39071 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39072 cat >>confdefs.h <<_ACEOF
39073 #define HAVE_QFPCLASS 1
39074 _ACEOF
39077 done
39079 else
39081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39082 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39083 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39084 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39085 $as_echo_n "(cached) " >&6
39086 else
39089 ac_ext=cpp
39090 ac_cpp='$CXXCPP $CPPFLAGS'
39091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39096 /* end confdefs.h. */
39097 #include <math.h>
39098 #ifdef HAVE_IEEEFP_H
39099 #include <ieeefp.h>
39100 #endif
39103 main ()
39105 _qfpclass(0);
39107 return 0;
39109 _ACEOF
39110 if ac_fn_cxx_try_compile "$LINENO"; then :
39111 glibcxx_cv_func__qfpclass_use=yes
39112 else
39113 glibcxx_cv_func__qfpclass_use=no
39115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39116 ac_ext=c
39117 ac_cpp='$CPP $CPPFLAGS'
39118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39127 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39129 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39130 for ac_func in _qfpclass
39131 do :
39132 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39133 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39134 cat >>confdefs.h <<_ACEOF
39135 #define HAVE__QFPCLASS 1
39136 _ACEOF
39139 done
39148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39149 $as_echo_n "checking for hypot declaration... " >&6; }
39150 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39151 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39152 $as_echo_n "(cached) " >&6
39153 else
39156 ac_ext=cpp
39157 ac_cpp='$CXXCPP $CPPFLAGS'
39158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39163 /* end confdefs.h. */
39164 #include <math.h>
39166 main ()
39168 hypot(0, 0);
39170 return 0;
39172 _ACEOF
39173 if ac_fn_cxx_try_compile "$LINENO"; then :
39174 glibcxx_cv_func_hypot_use=yes
39175 else
39176 glibcxx_cv_func_hypot_use=no
39178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39179 ac_ext=c
39180 ac_cpp='$CPP $CPPFLAGS'
39181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
39190 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
39192 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
39193 for ac_func in hypot
39194 do :
39195 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
39196 if test "x$ac_cv_func_hypot" = x""yes; then :
39197 cat >>confdefs.h <<_ACEOF
39198 #define HAVE_HYPOT 1
39199 _ACEOF
39202 done
39204 else
39206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
39207 $as_echo_n "checking for _hypot declaration... " >&6; }
39208 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
39209 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
39210 $as_echo_n "(cached) " >&6
39211 else
39214 ac_ext=cpp
39215 ac_cpp='$CXXCPP $CPPFLAGS'
39216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39221 /* end confdefs.h. */
39222 #include <math.h>
39224 main ()
39226 _hypot(0, 0);
39228 return 0;
39230 _ACEOF
39231 if ac_fn_cxx_try_compile "$LINENO"; then :
39232 glibcxx_cv_func__hypot_use=yes
39233 else
39234 glibcxx_cv_func__hypot_use=no
39236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39237 ac_ext=c
39238 ac_cpp='$CPP $CPPFLAGS'
39239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
39248 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
39250 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
39251 for ac_func in _hypot
39252 do :
39253 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
39254 if test "x$ac_cv_func__hypot" = x""yes; then :
39255 cat >>confdefs.h <<_ACEOF
39256 #define HAVE__HYPOT 1
39257 _ACEOF
39260 done
39269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
39270 $as_echo_n "checking for float trig functions... " >&6; }
39271 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
39272 $as_echo_n "(cached) " >&6
39273 else
39276 ac_ext=cpp
39277 ac_cpp='$CXXCPP $CPPFLAGS'
39278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39283 /* end confdefs.h. */
39284 #include <math.h>
39286 main ()
39288 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
39290 return 0;
39292 _ACEOF
39293 if ac_fn_cxx_try_compile "$LINENO"; then :
39294 glibcxx_cv_func_float_trig_use=yes
39295 else
39296 glibcxx_cv_func_float_trig_use=no
39298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39299 ac_ext=c
39300 ac_cpp='$CPP $CPPFLAGS'
39301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
39308 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
39309 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
39310 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
39311 do :
39312 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39313 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39314 eval as_val=\$$as_ac_var
39315 if test "x$as_val" = x""yes; then :
39316 cat >>confdefs.h <<_ACEOF
39317 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39318 _ACEOF
39321 done
39323 else
39324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
39325 $as_echo_n "checking for _float trig functions... " >&6; }
39326 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
39327 $as_echo_n "(cached) " >&6
39328 else
39331 ac_ext=cpp
39332 ac_cpp='$CXXCPP $CPPFLAGS'
39333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39338 /* end confdefs.h. */
39339 #include <math.h>
39341 main ()
39343 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
39345 return 0;
39347 _ACEOF
39348 if ac_fn_cxx_try_compile "$LINENO"; then :
39349 glibcxx_cv_func__float_trig_use=yes
39350 else
39351 glibcxx_cv_func__float_trig_use=no
39353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39354 ac_ext=c
39355 ac_cpp='$CPP $CPPFLAGS'
39356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
39363 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
39364 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
39365 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
39366 do :
39367 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39368 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39369 eval as_val=\$$as_ac_var
39370 if test "x$as_val" = x""yes; then :
39371 cat >>confdefs.h <<_ACEOF
39372 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39373 _ACEOF
39376 done
39385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
39386 $as_echo_n "checking for float round functions... " >&6; }
39387 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
39388 $as_echo_n "(cached) " >&6
39389 else
39392 ac_ext=cpp
39393 ac_cpp='$CXXCPP $CPPFLAGS'
39394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39399 /* end confdefs.h. */
39400 #include <math.h>
39402 main ()
39404 ceilf (0); floorf (0);
39406 return 0;
39408 _ACEOF
39409 if ac_fn_cxx_try_compile "$LINENO"; then :
39410 glibcxx_cv_func_float_round_use=yes
39411 else
39412 glibcxx_cv_func_float_round_use=no
39414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39415 ac_ext=c
39416 ac_cpp='$CPP $CPPFLAGS'
39417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
39424 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
39425 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
39426 for ac_func in ceilf floorf
39427 do :
39428 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39429 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39430 eval as_val=\$$as_ac_var
39431 if test "x$as_val" = x""yes; then :
39432 cat >>confdefs.h <<_ACEOF
39433 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39434 _ACEOF
39437 done
39439 else
39440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
39441 $as_echo_n "checking for _float round functions... " >&6; }
39442 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
39443 $as_echo_n "(cached) " >&6
39444 else
39447 ac_ext=cpp
39448 ac_cpp='$CXXCPP $CPPFLAGS'
39449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39454 /* end confdefs.h. */
39455 #include <math.h>
39457 main ()
39459 _ceilf (0); _floorf (0);
39461 return 0;
39463 _ACEOF
39464 if ac_fn_cxx_try_compile "$LINENO"; then :
39465 glibcxx_cv_func__float_round_use=yes
39466 else
39467 glibcxx_cv_func__float_round_use=no
39469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39470 ac_ext=c
39471 ac_cpp='$CPP $CPPFLAGS'
39472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
39479 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
39480 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
39481 for ac_func in _ceilf _floorf
39482 do :
39483 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39484 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39485 eval as_val=\$$as_ac_var
39486 if test "x$as_val" = x""yes; then :
39487 cat >>confdefs.h <<_ACEOF
39488 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39489 _ACEOF
39492 done
39502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
39503 $as_echo_n "checking for expf declaration... " >&6; }
39504 if test x${glibcxx_cv_func_expf_use+set} != xset; then
39505 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
39506 $as_echo_n "(cached) " >&6
39507 else
39510 ac_ext=cpp
39511 ac_cpp='$CXXCPP $CPPFLAGS'
39512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39517 /* end confdefs.h. */
39518 #include <math.h>
39519 #ifdef HAVE_IEEEFP_H
39520 #include <ieeefp.h>
39521 #endif
39524 main ()
39526 expf(0);
39528 return 0;
39530 _ACEOF
39531 if ac_fn_cxx_try_compile "$LINENO"; then :
39532 glibcxx_cv_func_expf_use=yes
39533 else
39534 glibcxx_cv_func_expf_use=no
39536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39537 ac_ext=c
39538 ac_cpp='$CPP $CPPFLAGS'
39539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
39548 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
39550 if test x$glibcxx_cv_func_expf_use = x"yes"; then
39551 for ac_func in expf
39552 do :
39553 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
39554 if test "x$ac_cv_func_expf" = x""yes; then :
39555 cat >>confdefs.h <<_ACEOF
39556 #define HAVE_EXPF 1
39557 _ACEOF
39560 done
39562 else
39564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
39565 $as_echo_n "checking for _expf declaration... " >&6; }
39566 if test x${glibcxx_cv_func__expf_use+set} != xset; then
39567 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
39568 $as_echo_n "(cached) " >&6
39569 else
39572 ac_ext=cpp
39573 ac_cpp='$CXXCPP $CPPFLAGS'
39574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39579 /* end confdefs.h. */
39580 #include <math.h>
39581 #ifdef HAVE_IEEEFP_H
39582 #include <ieeefp.h>
39583 #endif
39586 main ()
39588 _expf(0);
39590 return 0;
39592 _ACEOF
39593 if ac_fn_cxx_try_compile "$LINENO"; then :
39594 glibcxx_cv_func__expf_use=yes
39595 else
39596 glibcxx_cv_func__expf_use=no
39598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39599 ac_ext=c
39600 ac_cpp='$CPP $CPPFLAGS'
39601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
39610 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
39612 if test x$glibcxx_cv_func__expf_use = x"yes"; then
39613 for ac_func in _expf
39614 do :
39615 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
39616 if test "x$ac_cv_func__expf" = x""yes; then :
39617 cat >>confdefs.h <<_ACEOF
39618 #define HAVE__EXPF 1
39619 _ACEOF
39622 done
39631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
39632 $as_echo_n "checking for isnanf declaration... " >&6; }
39633 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
39634 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
39635 $as_echo_n "(cached) " >&6
39636 else
39639 ac_ext=cpp
39640 ac_cpp='$CXXCPP $CPPFLAGS'
39641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39646 /* end confdefs.h. */
39647 #include <math.h>
39648 #ifdef HAVE_IEEEFP_H
39649 #include <ieeefp.h>
39650 #endif
39653 main ()
39655 isnanf(0);
39657 return 0;
39659 _ACEOF
39660 if ac_fn_cxx_try_compile "$LINENO"; then :
39661 glibcxx_cv_func_isnanf_use=yes
39662 else
39663 glibcxx_cv_func_isnanf_use=no
39665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39666 ac_ext=c
39667 ac_cpp='$CPP $CPPFLAGS'
39668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
39677 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
39679 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
39680 for ac_func in isnanf
39681 do :
39682 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
39683 if test "x$ac_cv_func_isnanf" = x""yes; then :
39684 cat >>confdefs.h <<_ACEOF
39685 #define HAVE_ISNANF 1
39686 _ACEOF
39689 done
39691 else
39693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
39694 $as_echo_n "checking for _isnanf declaration... " >&6; }
39695 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
39696 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
39697 $as_echo_n "(cached) " >&6
39698 else
39701 ac_ext=cpp
39702 ac_cpp='$CXXCPP $CPPFLAGS'
39703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39708 /* end confdefs.h. */
39709 #include <math.h>
39710 #ifdef HAVE_IEEEFP_H
39711 #include <ieeefp.h>
39712 #endif
39715 main ()
39717 _isnanf(0);
39719 return 0;
39721 _ACEOF
39722 if ac_fn_cxx_try_compile "$LINENO"; then :
39723 glibcxx_cv_func__isnanf_use=yes
39724 else
39725 glibcxx_cv_func__isnanf_use=no
39727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39728 ac_ext=c
39729 ac_cpp='$CPP $CPPFLAGS'
39730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
39739 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
39741 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
39742 for ac_func in _isnanf
39743 do :
39744 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
39745 if test "x$ac_cv_func__isnanf" = x""yes; then :
39746 cat >>confdefs.h <<_ACEOF
39747 #define HAVE__ISNANF 1
39748 _ACEOF
39751 done
39760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
39761 $as_echo_n "checking for isinff declaration... " >&6; }
39762 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
39763 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
39764 $as_echo_n "(cached) " >&6
39765 else
39768 ac_ext=cpp
39769 ac_cpp='$CXXCPP $CPPFLAGS'
39770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39775 /* end confdefs.h. */
39776 #include <math.h>
39777 #ifdef HAVE_IEEEFP_H
39778 #include <ieeefp.h>
39779 #endif
39782 main ()
39784 isinff(0);
39786 return 0;
39788 _ACEOF
39789 if ac_fn_cxx_try_compile "$LINENO"; then :
39790 glibcxx_cv_func_isinff_use=yes
39791 else
39792 glibcxx_cv_func_isinff_use=no
39794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39795 ac_ext=c
39796 ac_cpp='$CPP $CPPFLAGS'
39797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
39806 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
39808 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
39809 for ac_func in isinff
39810 do :
39811 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
39812 if test "x$ac_cv_func_isinff" = x""yes; then :
39813 cat >>confdefs.h <<_ACEOF
39814 #define HAVE_ISINFF 1
39815 _ACEOF
39818 done
39820 else
39822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
39823 $as_echo_n "checking for _isinff declaration... " >&6; }
39824 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
39825 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
39826 $as_echo_n "(cached) " >&6
39827 else
39830 ac_ext=cpp
39831 ac_cpp='$CXXCPP $CPPFLAGS'
39832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39837 /* end confdefs.h. */
39838 #include <math.h>
39839 #ifdef HAVE_IEEEFP_H
39840 #include <ieeefp.h>
39841 #endif
39844 main ()
39846 _isinff(0);
39848 return 0;
39850 _ACEOF
39851 if ac_fn_cxx_try_compile "$LINENO"; then :
39852 glibcxx_cv_func__isinff_use=yes
39853 else
39854 glibcxx_cv_func__isinff_use=no
39856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39857 ac_ext=c
39858 ac_cpp='$CPP $CPPFLAGS'
39859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
39868 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
39870 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
39871 for ac_func in _isinff
39872 do :
39873 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
39874 if test "x$ac_cv_func__isinff" = x""yes; then :
39875 cat >>confdefs.h <<_ACEOF
39876 #define HAVE__ISINFF 1
39877 _ACEOF
39880 done
39889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
39890 $as_echo_n "checking for atan2f declaration... " >&6; }
39891 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
39892 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
39893 $as_echo_n "(cached) " >&6
39894 else
39897 ac_ext=cpp
39898 ac_cpp='$CXXCPP $CPPFLAGS'
39899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39904 /* end confdefs.h. */
39905 #include <math.h>
39907 main ()
39909 atan2f(0, 0);
39911 return 0;
39913 _ACEOF
39914 if ac_fn_cxx_try_compile "$LINENO"; then :
39915 glibcxx_cv_func_atan2f_use=yes
39916 else
39917 glibcxx_cv_func_atan2f_use=no
39919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39920 ac_ext=c
39921 ac_cpp='$CPP $CPPFLAGS'
39922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
39931 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
39933 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
39934 for ac_func in atan2f
39935 do :
39936 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
39937 if test "x$ac_cv_func_atan2f" = x""yes; then :
39938 cat >>confdefs.h <<_ACEOF
39939 #define HAVE_ATAN2F 1
39940 _ACEOF
39943 done
39945 else
39947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
39948 $as_echo_n "checking for _atan2f declaration... " >&6; }
39949 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
39950 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
39951 $as_echo_n "(cached) " >&6
39952 else
39955 ac_ext=cpp
39956 ac_cpp='$CXXCPP $CPPFLAGS'
39957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39962 /* end confdefs.h. */
39963 #include <math.h>
39965 main ()
39967 _atan2f(0, 0);
39969 return 0;
39971 _ACEOF
39972 if ac_fn_cxx_try_compile "$LINENO"; then :
39973 glibcxx_cv_func__atan2f_use=yes
39974 else
39975 glibcxx_cv_func__atan2f_use=no
39977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39978 ac_ext=c
39979 ac_cpp='$CPP $CPPFLAGS'
39980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
39989 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
39991 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
39992 for ac_func in _atan2f
39993 do :
39994 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
39995 if test "x$ac_cv_func__atan2f" = x""yes; then :
39996 cat >>confdefs.h <<_ACEOF
39997 #define HAVE__ATAN2F 1
39998 _ACEOF
40001 done
40010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
40011 $as_echo_n "checking for fabsf declaration... " >&6; }
40012 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
40013 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
40014 $as_echo_n "(cached) " >&6
40015 else
40018 ac_ext=cpp
40019 ac_cpp='$CXXCPP $CPPFLAGS'
40020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40025 /* end confdefs.h. */
40026 #include <math.h>
40027 #ifdef HAVE_IEEEFP_H
40028 #include <ieeefp.h>
40029 #endif
40032 main ()
40034 fabsf(0);
40036 return 0;
40038 _ACEOF
40039 if ac_fn_cxx_try_compile "$LINENO"; then :
40040 glibcxx_cv_func_fabsf_use=yes
40041 else
40042 glibcxx_cv_func_fabsf_use=no
40044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40045 ac_ext=c
40046 ac_cpp='$CPP $CPPFLAGS'
40047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40056 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40058 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40059 for ac_func in fabsf
40060 do :
40061 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40062 if test "x$ac_cv_func_fabsf" = x""yes; then :
40063 cat >>confdefs.h <<_ACEOF
40064 #define HAVE_FABSF 1
40065 _ACEOF
40068 done
40070 else
40072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40073 $as_echo_n "checking for _fabsf declaration... " >&6; }
40074 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40075 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40076 $as_echo_n "(cached) " >&6
40077 else
40080 ac_ext=cpp
40081 ac_cpp='$CXXCPP $CPPFLAGS'
40082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40087 /* end confdefs.h. */
40088 #include <math.h>
40089 #ifdef HAVE_IEEEFP_H
40090 #include <ieeefp.h>
40091 #endif
40094 main ()
40096 _fabsf(0);
40098 return 0;
40100 _ACEOF
40101 if ac_fn_cxx_try_compile "$LINENO"; then :
40102 glibcxx_cv_func__fabsf_use=yes
40103 else
40104 glibcxx_cv_func__fabsf_use=no
40106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40107 ac_ext=c
40108 ac_cpp='$CPP $CPPFLAGS'
40109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40118 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40120 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40121 for ac_func in _fabsf
40122 do :
40123 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40124 if test "x$ac_cv_func__fabsf" = x""yes; then :
40125 cat >>confdefs.h <<_ACEOF
40126 #define HAVE__FABSF 1
40127 _ACEOF
40130 done
40139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40140 $as_echo_n "checking for fmodf declaration... " >&6; }
40141 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40142 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40143 $as_echo_n "(cached) " >&6
40144 else
40147 ac_ext=cpp
40148 ac_cpp='$CXXCPP $CPPFLAGS'
40149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40154 /* end confdefs.h. */
40155 #include <math.h>
40157 main ()
40159 fmodf(0, 0);
40161 return 0;
40163 _ACEOF
40164 if ac_fn_cxx_try_compile "$LINENO"; then :
40165 glibcxx_cv_func_fmodf_use=yes
40166 else
40167 glibcxx_cv_func_fmodf_use=no
40169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40170 ac_ext=c
40171 ac_cpp='$CPP $CPPFLAGS'
40172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
40181 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40183 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40184 for ac_func in fmodf
40185 do :
40186 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40187 if test "x$ac_cv_func_fmodf" = x""yes; then :
40188 cat >>confdefs.h <<_ACEOF
40189 #define HAVE_FMODF 1
40190 _ACEOF
40193 done
40195 else
40197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
40198 $as_echo_n "checking for _fmodf declaration... " >&6; }
40199 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
40200 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
40201 $as_echo_n "(cached) " >&6
40202 else
40205 ac_ext=cpp
40206 ac_cpp='$CXXCPP $CPPFLAGS'
40207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40212 /* end confdefs.h. */
40213 #include <math.h>
40215 main ()
40217 _fmodf(0, 0);
40219 return 0;
40221 _ACEOF
40222 if ac_fn_cxx_try_compile "$LINENO"; then :
40223 glibcxx_cv_func__fmodf_use=yes
40224 else
40225 glibcxx_cv_func__fmodf_use=no
40227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40228 ac_ext=c
40229 ac_cpp='$CPP $CPPFLAGS'
40230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
40239 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
40241 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
40242 for ac_func in _fmodf
40243 do :
40244 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
40245 if test "x$ac_cv_func__fmodf" = x""yes; then :
40246 cat >>confdefs.h <<_ACEOF
40247 #define HAVE__FMODF 1
40248 _ACEOF
40251 done
40260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
40261 $as_echo_n "checking for frexpf declaration... " >&6; }
40262 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
40263 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
40264 $as_echo_n "(cached) " >&6
40265 else
40268 ac_ext=cpp
40269 ac_cpp='$CXXCPP $CPPFLAGS'
40270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40275 /* end confdefs.h. */
40276 #include <math.h>
40278 main ()
40280 frexpf(0, 0);
40282 return 0;
40284 _ACEOF
40285 if ac_fn_cxx_try_compile "$LINENO"; then :
40286 glibcxx_cv_func_frexpf_use=yes
40287 else
40288 glibcxx_cv_func_frexpf_use=no
40290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40291 ac_ext=c
40292 ac_cpp='$CPP $CPPFLAGS'
40293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
40302 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
40304 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
40305 for ac_func in frexpf
40306 do :
40307 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
40308 if test "x$ac_cv_func_frexpf" = x""yes; then :
40309 cat >>confdefs.h <<_ACEOF
40310 #define HAVE_FREXPF 1
40311 _ACEOF
40314 done
40316 else
40318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
40319 $as_echo_n "checking for _frexpf declaration... " >&6; }
40320 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
40321 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
40322 $as_echo_n "(cached) " >&6
40323 else
40326 ac_ext=cpp
40327 ac_cpp='$CXXCPP $CPPFLAGS'
40328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40333 /* end confdefs.h. */
40334 #include <math.h>
40336 main ()
40338 _frexpf(0, 0);
40340 return 0;
40342 _ACEOF
40343 if ac_fn_cxx_try_compile "$LINENO"; then :
40344 glibcxx_cv_func__frexpf_use=yes
40345 else
40346 glibcxx_cv_func__frexpf_use=no
40348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40349 ac_ext=c
40350 ac_cpp='$CPP $CPPFLAGS'
40351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
40360 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
40362 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
40363 for ac_func in _frexpf
40364 do :
40365 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
40366 if test "x$ac_cv_func__frexpf" = x""yes; then :
40367 cat >>confdefs.h <<_ACEOF
40368 #define HAVE__FREXPF 1
40369 _ACEOF
40372 done
40381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
40382 $as_echo_n "checking for hypotf declaration... " >&6; }
40383 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
40384 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
40385 $as_echo_n "(cached) " >&6
40386 else
40389 ac_ext=cpp
40390 ac_cpp='$CXXCPP $CPPFLAGS'
40391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40396 /* end confdefs.h. */
40397 #include <math.h>
40399 main ()
40401 hypotf(0, 0);
40403 return 0;
40405 _ACEOF
40406 if ac_fn_cxx_try_compile "$LINENO"; then :
40407 glibcxx_cv_func_hypotf_use=yes
40408 else
40409 glibcxx_cv_func_hypotf_use=no
40411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40412 ac_ext=c
40413 ac_cpp='$CPP $CPPFLAGS'
40414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
40423 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
40425 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
40426 for ac_func in hypotf
40427 do :
40428 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
40429 if test "x$ac_cv_func_hypotf" = x""yes; then :
40430 cat >>confdefs.h <<_ACEOF
40431 #define HAVE_HYPOTF 1
40432 _ACEOF
40435 done
40437 else
40439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
40440 $as_echo_n "checking for _hypotf declaration... " >&6; }
40441 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
40442 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
40443 $as_echo_n "(cached) " >&6
40444 else
40447 ac_ext=cpp
40448 ac_cpp='$CXXCPP $CPPFLAGS'
40449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40454 /* end confdefs.h. */
40455 #include <math.h>
40457 main ()
40459 _hypotf(0, 0);
40461 return 0;
40463 _ACEOF
40464 if ac_fn_cxx_try_compile "$LINENO"; then :
40465 glibcxx_cv_func__hypotf_use=yes
40466 else
40467 glibcxx_cv_func__hypotf_use=no
40469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40470 ac_ext=c
40471 ac_cpp='$CPP $CPPFLAGS'
40472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
40481 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
40483 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
40484 for ac_func in _hypotf
40485 do :
40486 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
40487 if test "x$ac_cv_func__hypotf" = x""yes; then :
40488 cat >>confdefs.h <<_ACEOF
40489 #define HAVE__HYPOTF 1
40490 _ACEOF
40493 done
40502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
40503 $as_echo_n "checking for ldexpf declaration... " >&6; }
40504 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
40505 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
40506 $as_echo_n "(cached) " >&6
40507 else
40510 ac_ext=cpp
40511 ac_cpp='$CXXCPP $CPPFLAGS'
40512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40517 /* end confdefs.h. */
40518 #include <math.h>
40520 main ()
40522 ldexpf(0, 0);
40524 return 0;
40526 _ACEOF
40527 if ac_fn_cxx_try_compile "$LINENO"; then :
40528 glibcxx_cv_func_ldexpf_use=yes
40529 else
40530 glibcxx_cv_func_ldexpf_use=no
40532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40533 ac_ext=c
40534 ac_cpp='$CPP $CPPFLAGS'
40535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
40544 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
40546 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
40547 for ac_func in ldexpf
40548 do :
40549 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
40550 if test "x$ac_cv_func_ldexpf" = x""yes; then :
40551 cat >>confdefs.h <<_ACEOF
40552 #define HAVE_LDEXPF 1
40553 _ACEOF
40556 done
40558 else
40560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
40561 $as_echo_n "checking for _ldexpf declaration... " >&6; }
40562 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
40563 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
40564 $as_echo_n "(cached) " >&6
40565 else
40568 ac_ext=cpp
40569 ac_cpp='$CXXCPP $CPPFLAGS'
40570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40575 /* end confdefs.h. */
40576 #include <math.h>
40578 main ()
40580 _ldexpf(0, 0);
40582 return 0;
40584 _ACEOF
40585 if ac_fn_cxx_try_compile "$LINENO"; then :
40586 glibcxx_cv_func__ldexpf_use=yes
40587 else
40588 glibcxx_cv_func__ldexpf_use=no
40590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40591 ac_ext=c
40592 ac_cpp='$CPP $CPPFLAGS'
40593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
40602 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
40604 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
40605 for ac_func in _ldexpf
40606 do :
40607 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
40608 if test "x$ac_cv_func__ldexpf" = x""yes; then :
40609 cat >>confdefs.h <<_ACEOF
40610 #define HAVE__LDEXPF 1
40611 _ACEOF
40614 done
40623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
40624 $as_echo_n "checking for logf declaration... " >&6; }
40625 if test x${glibcxx_cv_func_logf_use+set} != xset; then
40626 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
40627 $as_echo_n "(cached) " >&6
40628 else
40631 ac_ext=cpp
40632 ac_cpp='$CXXCPP $CPPFLAGS'
40633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40638 /* end confdefs.h. */
40639 #include <math.h>
40640 #ifdef HAVE_IEEEFP_H
40641 #include <ieeefp.h>
40642 #endif
40645 main ()
40647 logf(0);
40649 return 0;
40651 _ACEOF
40652 if ac_fn_cxx_try_compile "$LINENO"; then :
40653 glibcxx_cv_func_logf_use=yes
40654 else
40655 glibcxx_cv_func_logf_use=no
40657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40658 ac_ext=c
40659 ac_cpp='$CPP $CPPFLAGS'
40660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
40669 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
40671 if test x$glibcxx_cv_func_logf_use = x"yes"; then
40672 for ac_func in logf
40673 do :
40674 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
40675 if test "x$ac_cv_func_logf" = x""yes; then :
40676 cat >>confdefs.h <<_ACEOF
40677 #define HAVE_LOGF 1
40678 _ACEOF
40681 done
40683 else
40685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
40686 $as_echo_n "checking for _logf declaration... " >&6; }
40687 if test x${glibcxx_cv_func__logf_use+set} != xset; then
40688 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
40689 $as_echo_n "(cached) " >&6
40690 else
40693 ac_ext=cpp
40694 ac_cpp='$CXXCPP $CPPFLAGS'
40695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40700 /* end confdefs.h. */
40701 #include <math.h>
40702 #ifdef HAVE_IEEEFP_H
40703 #include <ieeefp.h>
40704 #endif
40707 main ()
40709 _logf(0);
40711 return 0;
40713 _ACEOF
40714 if ac_fn_cxx_try_compile "$LINENO"; then :
40715 glibcxx_cv_func__logf_use=yes
40716 else
40717 glibcxx_cv_func__logf_use=no
40719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40720 ac_ext=c
40721 ac_cpp='$CPP $CPPFLAGS'
40722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
40731 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
40733 if test x$glibcxx_cv_func__logf_use = x"yes"; then
40734 for ac_func in _logf
40735 do :
40736 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
40737 if test "x$ac_cv_func__logf" = x""yes; then :
40738 cat >>confdefs.h <<_ACEOF
40739 #define HAVE__LOGF 1
40740 _ACEOF
40743 done
40752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
40753 $as_echo_n "checking for log10f declaration... " >&6; }
40754 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
40755 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
40756 $as_echo_n "(cached) " >&6
40757 else
40760 ac_ext=cpp
40761 ac_cpp='$CXXCPP $CPPFLAGS'
40762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40767 /* end confdefs.h. */
40768 #include <math.h>
40769 #ifdef HAVE_IEEEFP_H
40770 #include <ieeefp.h>
40771 #endif
40774 main ()
40776 log10f(0);
40778 return 0;
40780 _ACEOF
40781 if ac_fn_cxx_try_compile "$LINENO"; then :
40782 glibcxx_cv_func_log10f_use=yes
40783 else
40784 glibcxx_cv_func_log10f_use=no
40786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40787 ac_ext=c
40788 ac_cpp='$CPP $CPPFLAGS'
40789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
40798 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
40800 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
40801 for ac_func in log10f
40802 do :
40803 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
40804 if test "x$ac_cv_func_log10f" = x""yes; then :
40805 cat >>confdefs.h <<_ACEOF
40806 #define HAVE_LOG10F 1
40807 _ACEOF
40810 done
40812 else
40814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
40815 $as_echo_n "checking for _log10f declaration... " >&6; }
40816 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
40817 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
40818 $as_echo_n "(cached) " >&6
40819 else
40822 ac_ext=cpp
40823 ac_cpp='$CXXCPP $CPPFLAGS'
40824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40829 /* end confdefs.h. */
40830 #include <math.h>
40831 #ifdef HAVE_IEEEFP_H
40832 #include <ieeefp.h>
40833 #endif
40836 main ()
40838 _log10f(0);
40840 return 0;
40842 _ACEOF
40843 if ac_fn_cxx_try_compile "$LINENO"; then :
40844 glibcxx_cv_func__log10f_use=yes
40845 else
40846 glibcxx_cv_func__log10f_use=no
40848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40849 ac_ext=c
40850 ac_cpp='$CPP $CPPFLAGS'
40851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
40860 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
40862 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
40863 for ac_func in _log10f
40864 do :
40865 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
40866 if test "x$ac_cv_func__log10f" = x""yes; then :
40867 cat >>confdefs.h <<_ACEOF
40868 #define HAVE__LOG10F 1
40869 _ACEOF
40872 done
40881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
40882 $as_echo_n "checking for modff declaration... " >&6; }
40883 if test x${glibcxx_cv_func_modff_use+set} != xset; then
40884 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
40885 $as_echo_n "(cached) " >&6
40886 else
40889 ac_ext=cpp
40890 ac_cpp='$CXXCPP $CPPFLAGS'
40891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40896 /* end confdefs.h. */
40897 #include <math.h>
40899 main ()
40901 modff(0, 0);
40903 return 0;
40905 _ACEOF
40906 if ac_fn_cxx_try_compile "$LINENO"; then :
40907 glibcxx_cv_func_modff_use=yes
40908 else
40909 glibcxx_cv_func_modff_use=no
40911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40912 ac_ext=c
40913 ac_cpp='$CPP $CPPFLAGS'
40914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
40923 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
40925 if test x$glibcxx_cv_func_modff_use = x"yes"; then
40926 for ac_func in modff
40927 do :
40928 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
40929 if test "x$ac_cv_func_modff" = x""yes; then :
40930 cat >>confdefs.h <<_ACEOF
40931 #define HAVE_MODFF 1
40932 _ACEOF
40935 done
40937 else
40939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
40940 $as_echo_n "checking for _modff declaration... " >&6; }
40941 if test x${glibcxx_cv_func__modff_use+set} != xset; then
40942 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
40943 $as_echo_n "(cached) " >&6
40944 else
40947 ac_ext=cpp
40948 ac_cpp='$CXXCPP $CPPFLAGS'
40949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40954 /* end confdefs.h. */
40955 #include <math.h>
40957 main ()
40959 _modff(0, 0);
40961 return 0;
40963 _ACEOF
40964 if ac_fn_cxx_try_compile "$LINENO"; then :
40965 glibcxx_cv_func__modff_use=yes
40966 else
40967 glibcxx_cv_func__modff_use=no
40969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40970 ac_ext=c
40971 ac_cpp='$CPP $CPPFLAGS'
40972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
40981 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
40983 if test x$glibcxx_cv_func__modff_use = x"yes"; then
40984 for ac_func in _modff
40985 do :
40986 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
40987 if test "x$ac_cv_func__modff" = x""yes; then :
40988 cat >>confdefs.h <<_ACEOF
40989 #define HAVE__MODFF 1
40990 _ACEOF
40993 done
41002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
41003 $as_echo_n "checking for modf declaration... " >&6; }
41004 if test x${glibcxx_cv_func_modf_use+set} != xset; then
41005 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
41006 $as_echo_n "(cached) " >&6
41007 else
41010 ac_ext=cpp
41011 ac_cpp='$CXXCPP $CPPFLAGS'
41012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41017 /* end confdefs.h. */
41018 #include <math.h>
41020 main ()
41022 modf(0, 0);
41024 return 0;
41026 _ACEOF
41027 if ac_fn_cxx_try_compile "$LINENO"; then :
41028 glibcxx_cv_func_modf_use=yes
41029 else
41030 glibcxx_cv_func_modf_use=no
41032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41033 ac_ext=c
41034 ac_cpp='$CPP $CPPFLAGS'
41035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41044 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41046 if test x$glibcxx_cv_func_modf_use = x"yes"; then
41047 for ac_func in modf
41048 do :
41049 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41050 if test "x$ac_cv_func_modf" = x""yes; then :
41051 cat >>confdefs.h <<_ACEOF
41052 #define HAVE_MODF 1
41053 _ACEOF
41056 done
41058 else
41060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41061 $as_echo_n "checking for _modf declaration... " >&6; }
41062 if test x${glibcxx_cv_func__modf_use+set} != xset; then
41063 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41064 $as_echo_n "(cached) " >&6
41065 else
41068 ac_ext=cpp
41069 ac_cpp='$CXXCPP $CPPFLAGS'
41070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41075 /* end confdefs.h. */
41076 #include <math.h>
41078 main ()
41080 _modf(0, 0);
41082 return 0;
41084 _ACEOF
41085 if ac_fn_cxx_try_compile "$LINENO"; then :
41086 glibcxx_cv_func__modf_use=yes
41087 else
41088 glibcxx_cv_func__modf_use=no
41090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41091 ac_ext=c
41092 ac_cpp='$CPP $CPPFLAGS'
41093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41102 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41104 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41105 for ac_func in _modf
41106 do :
41107 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41108 if test "x$ac_cv_func__modf" = x""yes; then :
41109 cat >>confdefs.h <<_ACEOF
41110 #define HAVE__MODF 1
41111 _ACEOF
41114 done
41123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41124 $as_echo_n "checking for powf declaration... " >&6; }
41125 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41126 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41127 $as_echo_n "(cached) " >&6
41128 else
41131 ac_ext=cpp
41132 ac_cpp='$CXXCPP $CPPFLAGS'
41133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41138 /* end confdefs.h. */
41139 #include <math.h>
41141 main ()
41143 powf(0, 0);
41145 return 0;
41147 _ACEOF
41148 if ac_fn_cxx_try_compile "$LINENO"; then :
41149 glibcxx_cv_func_powf_use=yes
41150 else
41151 glibcxx_cv_func_powf_use=no
41153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41154 ac_ext=c
41155 ac_cpp='$CPP $CPPFLAGS'
41156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41165 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41167 if test x$glibcxx_cv_func_powf_use = x"yes"; then
41168 for ac_func in powf
41169 do :
41170 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41171 if test "x$ac_cv_func_powf" = x""yes; then :
41172 cat >>confdefs.h <<_ACEOF
41173 #define HAVE_POWF 1
41174 _ACEOF
41177 done
41179 else
41181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41182 $as_echo_n "checking for _powf declaration... " >&6; }
41183 if test x${glibcxx_cv_func__powf_use+set} != xset; then
41184 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41185 $as_echo_n "(cached) " >&6
41186 else
41189 ac_ext=cpp
41190 ac_cpp='$CXXCPP $CPPFLAGS'
41191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41196 /* end confdefs.h. */
41197 #include <math.h>
41199 main ()
41201 _powf(0, 0);
41203 return 0;
41205 _ACEOF
41206 if ac_fn_cxx_try_compile "$LINENO"; then :
41207 glibcxx_cv_func__powf_use=yes
41208 else
41209 glibcxx_cv_func__powf_use=no
41211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41212 ac_ext=c
41213 ac_cpp='$CPP $CPPFLAGS'
41214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
41223 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
41225 if test x$glibcxx_cv_func__powf_use = x"yes"; then
41226 for ac_func in _powf
41227 do :
41228 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
41229 if test "x$ac_cv_func__powf" = x""yes; then :
41230 cat >>confdefs.h <<_ACEOF
41231 #define HAVE__POWF 1
41232 _ACEOF
41235 done
41244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
41245 $as_echo_n "checking for sqrtf declaration... " >&6; }
41246 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41247 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
41248 $as_echo_n "(cached) " >&6
41249 else
41252 ac_ext=cpp
41253 ac_cpp='$CXXCPP $CPPFLAGS'
41254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41259 /* end confdefs.h. */
41260 #include <math.h>
41261 #ifdef HAVE_IEEEFP_H
41262 #include <ieeefp.h>
41263 #endif
41266 main ()
41268 sqrtf(0);
41270 return 0;
41272 _ACEOF
41273 if ac_fn_cxx_try_compile "$LINENO"; then :
41274 glibcxx_cv_func_sqrtf_use=yes
41275 else
41276 glibcxx_cv_func_sqrtf_use=no
41278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41279 ac_ext=c
41280 ac_cpp='$CPP $CPPFLAGS'
41281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
41290 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
41292 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41293 for ac_func in sqrtf
41294 do :
41295 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
41296 if test "x$ac_cv_func_sqrtf" = x""yes; then :
41297 cat >>confdefs.h <<_ACEOF
41298 #define HAVE_SQRTF 1
41299 _ACEOF
41302 done
41304 else
41306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
41307 $as_echo_n "checking for _sqrtf declaration... " >&6; }
41308 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41309 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
41310 $as_echo_n "(cached) " >&6
41311 else
41314 ac_ext=cpp
41315 ac_cpp='$CXXCPP $CPPFLAGS'
41316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41321 /* end confdefs.h. */
41322 #include <math.h>
41323 #ifdef HAVE_IEEEFP_H
41324 #include <ieeefp.h>
41325 #endif
41328 main ()
41330 _sqrtf(0);
41332 return 0;
41334 _ACEOF
41335 if ac_fn_cxx_try_compile "$LINENO"; then :
41336 glibcxx_cv_func__sqrtf_use=yes
41337 else
41338 glibcxx_cv_func__sqrtf_use=no
41340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41341 ac_ext=c
41342 ac_cpp='$CPP $CPPFLAGS'
41343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
41352 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
41354 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41355 for ac_func in _sqrtf
41356 do :
41357 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
41358 if test "x$ac_cv_func__sqrtf" = x""yes; then :
41359 cat >>confdefs.h <<_ACEOF
41360 #define HAVE__SQRTF 1
41361 _ACEOF
41364 done
41373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
41374 $as_echo_n "checking for sincosf declaration... " >&6; }
41375 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
41376 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
41377 $as_echo_n "(cached) " >&6
41378 else
41381 ac_ext=cpp
41382 ac_cpp='$CXXCPP $CPPFLAGS'
41383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41388 /* end confdefs.h. */
41389 #include <math.h>
41391 main ()
41393 sincosf(0, 0, 0);
41395 return 0;
41397 _ACEOF
41398 if ac_fn_cxx_try_compile "$LINENO"; then :
41399 glibcxx_cv_func_sincosf_use=yes
41400 else
41401 glibcxx_cv_func_sincosf_use=no
41403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41404 ac_ext=c
41405 ac_cpp='$CPP $CPPFLAGS'
41406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
41415 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
41417 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
41418 for ac_func in sincosf
41419 do :
41420 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
41421 if test "x$ac_cv_func_sincosf" = x""yes; then :
41422 cat >>confdefs.h <<_ACEOF
41423 #define HAVE_SINCOSF 1
41424 _ACEOF
41427 done
41429 else
41431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
41432 $as_echo_n "checking for _sincosf declaration... " >&6; }
41433 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
41434 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
41435 $as_echo_n "(cached) " >&6
41436 else
41439 ac_ext=cpp
41440 ac_cpp='$CXXCPP $CPPFLAGS'
41441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41446 /* end confdefs.h. */
41447 #include <math.h>
41449 main ()
41451 _sincosf(0, 0, 0);
41453 return 0;
41455 _ACEOF
41456 if ac_fn_cxx_try_compile "$LINENO"; then :
41457 glibcxx_cv_func__sincosf_use=yes
41458 else
41459 glibcxx_cv_func__sincosf_use=no
41461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41462 ac_ext=c
41463 ac_cpp='$CPP $CPPFLAGS'
41464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
41473 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
41475 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
41476 for ac_func in _sincosf
41477 do :
41478 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
41479 if test "x$ac_cv_func__sincosf" = x""yes; then :
41480 cat >>confdefs.h <<_ACEOF
41481 #define HAVE__SINCOSF 1
41482 _ACEOF
41485 done
41494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
41495 $as_echo_n "checking for finitef declaration... " >&6; }
41496 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
41497 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
41498 $as_echo_n "(cached) " >&6
41499 else
41502 ac_ext=cpp
41503 ac_cpp='$CXXCPP $CPPFLAGS'
41504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41509 /* end confdefs.h. */
41510 #include <math.h>
41511 #ifdef HAVE_IEEEFP_H
41512 #include <ieeefp.h>
41513 #endif
41516 main ()
41518 finitef(0);
41520 return 0;
41522 _ACEOF
41523 if ac_fn_cxx_try_compile "$LINENO"; then :
41524 glibcxx_cv_func_finitef_use=yes
41525 else
41526 glibcxx_cv_func_finitef_use=no
41528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41529 ac_ext=c
41530 ac_cpp='$CPP $CPPFLAGS'
41531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
41540 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
41542 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
41543 for ac_func in finitef
41544 do :
41545 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
41546 if test "x$ac_cv_func_finitef" = x""yes; then :
41547 cat >>confdefs.h <<_ACEOF
41548 #define HAVE_FINITEF 1
41549 _ACEOF
41552 done
41554 else
41556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
41557 $as_echo_n "checking for _finitef declaration... " >&6; }
41558 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
41559 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
41560 $as_echo_n "(cached) " >&6
41561 else
41564 ac_ext=cpp
41565 ac_cpp='$CXXCPP $CPPFLAGS'
41566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41571 /* end confdefs.h. */
41572 #include <math.h>
41573 #ifdef HAVE_IEEEFP_H
41574 #include <ieeefp.h>
41575 #endif
41578 main ()
41580 _finitef(0);
41582 return 0;
41584 _ACEOF
41585 if ac_fn_cxx_try_compile "$LINENO"; then :
41586 glibcxx_cv_func__finitef_use=yes
41587 else
41588 glibcxx_cv_func__finitef_use=no
41590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41591 ac_ext=c
41592 ac_cpp='$CPP $CPPFLAGS'
41593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
41602 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
41604 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
41605 for ac_func in _finitef
41606 do :
41607 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
41608 if test "x$ac_cv_func__finitef" = x""yes; then :
41609 cat >>confdefs.h <<_ACEOF
41610 #define HAVE__FINITEF 1
41611 _ACEOF
41614 done
41623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
41624 $as_echo_n "checking for long double trig functions... " >&6; }
41625 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
41626 $as_echo_n "(cached) " >&6
41627 else
41630 ac_ext=cpp
41631 ac_cpp='$CXXCPP $CPPFLAGS'
41632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41637 /* end confdefs.h. */
41638 #include <math.h>
41640 main ()
41642 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
41644 return 0;
41646 _ACEOF
41647 if ac_fn_cxx_try_compile "$LINENO"; then :
41648 glibcxx_cv_func_long_double_trig_use=yes
41649 else
41650 glibcxx_cv_func_long_double_trig_use=no
41652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41653 ac_ext=c
41654 ac_cpp='$CPP $CPPFLAGS'
41655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
41662 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
41663 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
41664 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
41665 do :
41666 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41667 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41668 eval as_val=\$$as_ac_var
41669 if test "x$as_val" = x""yes; then :
41670 cat >>confdefs.h <<_ACEOF
41671 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41672 _ACEOF
41675 done
41677 else
41678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
41679 $as_echo_n "checking for _long double trig functions... " >&6; }
41680 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
41681 $as_echo_n "(cached) " >&6
41682 else
41685 ac_ext=cpp
41686 ac_cpp='$CXXCPP $CPPFLAGS'
41687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41692 /* end confdefs.h. */
41693 #include <math.h>
41695 main ()
41697 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
41699 return 0;
41701 _ACEOF
41702 if ac_fn_cxx_try_compile "$LINENO"; then :
41703 glibcxx_cv_func__long_double_trig_use=yes
41704 else
41705 glibcxx_cv_func__long_double_trig_use=no
41707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41708 ac_ext=c
41709 ac_cpp='$CPP $CPPFLAGS'
41710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
41717 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
41718 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
41719 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
41720 do :
41721 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41722 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41723 eval as_val=\$$as_ac_var
41724 if test "x$as_val" = x""yes; then :
41725 cat >>confdefs.h <<_ACEOF
41726 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41727 _ACEOF
41730 done
41739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
41740 $as_echo_n "checking for long double round functions... " >&6; }
41741 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
41742 $as_echo_n "(cached) " >&6
41743 else
41746 ac_ext=cpp
41747 ac_cpp='$CXXCPP $CPPFLAGS'
41748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41753 /* end confdefs.h. */
41754 #include <math.h>
41756 main ()
41758 ceill (0); floorl (0);
41760 return 0;
41762 _ACEOF
41763 if ac_fn_cxx_try_compile "$LINENO"; then :
41764 glibcxx_cv_func_long_double_round_use=yes
41765 else
41766 glibcxx_cv_func_long_double_round_use=no
41768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41769 ac_ext=c
41770 ac_cpp='$CPP $CPPFLAGS'
41771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
41778 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
41779 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41780 for ac_func in ceill floorl
41781 do :
41782 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41783 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41784 eval as_val=\$$as_ac_var
41785 if test "x$as_val" = x""yes; then :
41786 cat >>confdefs.h <<_ACEOF
41787 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41788 _ACEOF
41791 done
41793 else
41794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
41795 $as_echo_n "checking for _long double round functions... " >&6; }
41796 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
41797 $as_echo_n "(cached) " >&6
41798 else
41801 ac_ext=cpp
41802 ac_cpp='$CXXCPP $CPPFLAGS'
41803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41808 /* end confdefs.h. */
41809 #include <math.h>
41811 main ()
41813 _ceill (0); _floorl (0);
41815 return 0;
41817 _ACEOF
41818 if ac_fn_cxx_try_compile "$LINENO"; then :
41819 glibcxx_cv_func__long_double_round_use=yes
41820 else
41821 glibcxx_cv_func__long_double_round_use=no
41823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41824 ac_ext=c
41825 ac_cpp='$CPP $CPPFLAGS'
41826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
41833 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
41834 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
41835 for ac_func in _ceill _floorl
41836 do :
41837 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41838 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41839 eval as_val=\$$as_ac_var
41840 if test "x$as_val" = x""yes; then :
41841 cat >>confdefs.h <<_ACEOF
41842 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41843 _ACEOF
41846 done
41856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
41857 $as_echo_n "checking for isnanl declaration... " >&6; }
41858 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
41859 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
41860 $as_echo_n "(cached) " >&6
41861 else
41864 ac_ext=cpp
41865 ac_cpp='$CXXCPP $CPPFLAGS'
41866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41871 /* end confdefs.h. */
41872 #include <math.h>
41873 #ifdef HAVE_IEEEFP_H
41874 #include <ieeefp.h>
41875 #endif
41878 main ()
41880 isnanl(0);
41882 return 0;
41884 _ACEOF
41885 if ac_fn_cxx_try_compile "$LINENO"; then :
41886 glibcxx_cv_func_isnanl_use=yes
41887 else
41888 glibcxx_cv_func_isnanl_use=no
41890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41891 ac_ext=c
41892 ac_cpp='$CPP $CPPFLAGS'
41893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
41902 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
41904 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
41905 for ac_func in isnanl
41906 do :
41907 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
41908 if test "x$ac_cv_func_isnanl" = x""yes; then :
41909 cat >>confdefs.h <<_ACEOF
41910 #define HAVE_ISNANL 1
41911 _ACEOF
41914 done
41916 else
41918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
41919 $as_echo_n "checking for _isnanl declaration... " >&6; }
41920 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
41921 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
41922 $as_echo_n "(cached) " >&6
41923 else
41926 ac_ext=cpp
41927 ac_cpp='$CXXCPP $CPPFLAGS'
41928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41933 /* end confdefs.h. */
41934 #include <math.h>
41935 #ifdef HAVE_IEEEFP_H
41936 #include <ieeefp.h>
41937 #endif
41940 main ()
41942 _isnanl(0);
41944 return 0;
41946 _ACEOF
41947 if ac_fn_cxx_try_compile "$LINENO"; then :
41948 glibcxx_cv_func__isnanl_use=yes
41949 else
41950 glibcxx_cv_func__isnanl_use=no
41952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41953 ac_ext=c
41954 ac_cpp='$CPP $CPPFLAGS'
41955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
41964 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
41966 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
41967 for ac_func in _isnanl
41968 do :
41969 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
41970 if test "x$ac_cv_func__isnanl" = x""yes; then :
41971 cat >>confdefs.h <<_ACEOF
41972 #define HAVE__ISNANL 1
41973 _ACEOF
41976 done
41985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
41986 $as_echo_n "checking for isinfl declaration... " >&6; }
41987 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
41988 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
41989 $as_echo_n "(cached) " >&6
41990 else
41993 ac_ext=cpp
41994 ac_cpp='$CXXCPP $CPPFLAGS'
41995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42000 /* end confdefs.h. */
42001 #include <math.h>
42002 #ifdef HAVE_IEEEFP_H
42003 #include <ieeefp.h>
42004 #endif
42007 main ()
42009 isinfl(0);
42011 return 0;
42013 _ACEOF
42014 if ac_fn_cxx_try_compile "$LINENO"; then :
42015 glibcxx_cv_func_isinfl_use=yes
42016 else
42017 glibcxx_cv_func_isinfl_use=no
42019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42020 ac_ext=c
42021 ac_cpp='$CPP $CPPFLAGS'
42022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
42031 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
42033 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42034 for ac_func in isinfl
42035 do :
42036 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
42037 if test "x$ac_cv_func_isinfl" = x""yes; then :
42038 cat >>confdefs.h <<_ACEOF
42039 #define HAVE_ISINFL 1
42040 _ACEOF
42043 done
42045 else
42047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42048 $as_echo_n "checking for _isinfl declaration... " >&6; }
42049 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42050 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42051 $as_echo_n "(cached) " >&6
42052 else
42055 ac_ext=cpp
42056 ac_cpp='$CXXCPP $CPPFLAGS'
42057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42062 /* end confdefs.h. */
42063 #include <math.h>
42064 #ifdef HAVE_IEEEFP_H
42065 #include <ieeefp.h>
42066 #endif
42069 main ()
42071 _isinfl(0);
42073 return 0;
42075 _ACEOF
42076 if ac_fn_cxx_try_compile "$LINENO"; then :
42077 glibcxx_cv_func__isinfl_use=yes
42078 else
42079 glibcxx_cv_func__isinfl_use=no
42081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42082 ac_ext=c
42083 ac_cpp='$CPP $CPPFLAGS'
42084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42093 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42095 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42096 for ac_func in _isinfl
42097 do :
42098 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42099 if test "x$ac_cv_func__isinfl" = x""yes; then :
42100 cat >>confdefs.h <<_ACEOF
42101 #define HAVE__ISINFL 1
42102 _ACEOF
42105 done
42114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42115 $as_echo_n "checking for atan2l declaration... " >&6; }
42116 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42117 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42118 $as_echo_n "(cached) " >&6
42119 else
42122 ac_ext=cpp
42123 ac_cpp='$CXXCPP $CPPFLAGS'
42124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42129 /* end confdefs.h. */
42130 #include <math.h>
42132 main ()
42134 atan2l(0, 0);
42136 return 0;
42138 _ACEOF
42139 if ac_fn_cxx_try_compile "$LINENO"; then :
42140 glibcxx_cv_func_atan2l_use=yes
42141 else
42142 glibcxx_cv_func_atan2l_use=no
42144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42145 ac_ext=c
42146 ac_cpp='$CPP $CPPFLAGS'
42147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42156 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42158 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42159 for ac_func in atan2l
42160 do :
42161 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42162 if test "x$ac_cv_func_atan2l" = x""yes; then :
42163 cat >>confdefs.h <<_ACEOF
42164 #define HAVE_ATAN2L 1
42165 _ACEOF
42168 done
42170 else
42172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42173 $as_echo_n "checking for _atan2l declaration... " >&6; }
42174 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42175 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42176 $as_echo_n "(cached) " >&6
42177 else
42180 ac_ext=cpp
42181 ac_cpp='$CXXCPP $CPPFLAGS'
42182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42187 /* end confdefs.h. */
42188 #include <math.h>
42190 main ()
42192 _atan2l(0, 0);
42194 return 0;
42196 _ACEOF
42197 if ac_fn_cxx_try_compile "$LINENO"; then :
42198 glibcxx_cv_func__atan2l_use=yes
42199 else
42200 glibcxx_cv_func__atan2l_use=no
42202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42203 ac_ext=c
42204 ac_cpp='$CPP $CPPFLAGS'
42205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
42214 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
42216 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42217 for ac_func in _atan2l
42218 do :
42219 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
42220 if test "x$ac_cv_func__atan2l" = x""yes; then :
42221 cat >>confdefs.h <<_ACEOF
42222 #define HAVE__ATAN2L 1
42223 _ACEOF
42226 done
42235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
42236 $as_echo_n "checking for expl declaration... " >&6; }
42237 if test x${glibcxx_cv_func_expl_use+set} != xset; then
42238 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
42239 $as_echo_n "(cached) " >&6
42240 else
42243 ac_ext=cpp
42244 ac_cpp='$CXXCPP $CPPFLAGS'
42245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42250 /* end confdefs.h. */
42251 #include <math.h>
42252 #ifdef HAVE_IEEEFP_H
42253 #include <ieeefp.h>
42254 #endif
42257 main ()
42259 expl(0);
42261 return 0;
42263 _ACEOF
42264 if ac_fn_cxx_try_compile "$LINENO"; then :
42265 glibcxx_cv_func_expl_use=yes
42266 else
42267 glibcxx_cv_func_expl_use=no
42269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42270 ac_ext=c
42271 ac_cpp='$CPP $CPPFLAGS'
42272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
42281 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
42283 if test x$glibcxx_cv_func_expl_use = x"yes"; then
42284 for ac_func in expl
42285 do :
42286 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
42287 if test "x$ac_cv_func_expl" = x""yes; then :
42288 cat >>confdefs.h <<_ACEOF
42289 #define HAVE_EXPL 1
42290 _ACEOF
42293 done
42295 else
42297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
42298 $as_echo_n "checking for _expl declaration... " >&6; }
42299 if test x${glibcxx_cv_func__expl_use+set} != xset; then
42300 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
42301 $as_echo_n "(cached) " >&6
42302 else
42305 ac_ext=cpp
42306 ac_cpp='$CXXCPP $CPPFLAGS'
42307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42312 /* end confdefs.h. */
42313 #include <math.h>
42314 #ifdef HAVE_IEEEFP_H
42315 #include <ieeefp.h>
42316 #endif
42319 main ()
42321 _expl(0);
42323 return 0;
42325 _ACEOF
42326 if ac_fn_cxx_try_compile "$LINENO"; then :
42327 glibcxx_cv_func__expl_use=yes
42328 else
42329 glibcxx_cv_func__expl_use=no
42331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42332 ac_ext=c
42333 ac_cpp='$CPP $CPPFLAGS'
42334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
42343 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
42345 if test x$glibcxx_cv_func__expl_use = x"yes"; then
42346 for ac_func in _expl
42347 do :
42348 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
42349 if test "x$ac_cv_func__expl" = x""yes; then :
42350 cat >>confdefs.h <<_ACEOF
42351 #define HAVE__EXPL 1
42352 _ACEOF
42355 done
42364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
42365 $as_echo_n "checking for fabsl declaration... " >&6; }
42366 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
42367 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
42368 $as_echo_n "(cached) " >&6
42369 else
42372 ac_ext=cpp
42373 ac_cpp='$CXXCPP $CPPFLAGS'
42374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42379 /* end confdefs.h. */
42380 #include <math.h>
42381 #ifdef HAVE_IEEEFP_H
42382 #include <ieeefp.h>
42383 #endif
42386 main ()
42388 fabsl(0);
42390 return 0;
42392 _ACEOF
42393 if ac_fn_cxx_try_compile "$LINENO"; then :
42394 glibcxx_cv_func_fabsl_use=yes
42395 else
42396 glibcxx_cv_func_fabsl_use=no
42398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42399 ac_ext=c
42400 ac_cpp='$CPP $CPPFLAGS'
42401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
42410 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
42412 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
42413 for ac_func in fabsl
42414 do :
42415 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
42416 if test "x$ac_cv_func_fabsl" = x""yes; then :
42417 cat >>confdefs.h <<_ACEOF
42418 #define HAVE_FABSL 1
42419 _ACEOF
42422 done
42424 else
42426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
42427 $as_echo_n "checking for _fabsl declaration... " >&6; }
42428 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
42429 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
42430 $as_echo_n "(cached) " >&6
42431 else
42434 ac_ext=cpp
42435 ac_cpp='$CXXCPP $CPPFLAGS'
42436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42441 /* end confdefs.h. */
42442 #include <math.h>
42443 #ifdef HAVE_IEEEFP_H
42444 #include <ieeefp.h>
42445 #endif
42448 main ()
42450 _fabsl(0);
42452 return 0;
42454 _ACEOF
42455 if ac_fn_cxx_try_compile "$LINENO"; then :
42456 glibcxx_cv_func__fabsl_use=yes
42457 else
42458 glibcxx_cv_func__fabsl_use=no
42460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42461 ac_ext=c
42462 ac_cpp='$CPP $CPPFLAGS'
42463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
42472 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
42474 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
42475 for ac_func in _fabsl
42476 do :
42477 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
42478 if test "x$ac_cv_func__fabsl" = x""yes; then :
42479 cat >>confdefs.h <<_ACEOF
42480 #define HAVE__FABSL 1
42481 _ACEOF
42484 done
42493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
42494 $as_echo_n "checking for fmodl declaration... " >&6; }
42495 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
42496 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
42497 $as_echo_n "(cached) " >&6
42498 else
42501 ac_ext=cpp
42502 ac_cpp='$CXXCPP $CPPFLAGS'
42503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42508 /* end confdefs.h. */
42509 #include <math.h>
42511 main ()
42513 fmodl(0, 0);
42515 return 0;
42517 _ACEOF
42518 if ac_fn_cxx_try_compile "$LINENO"; then :
42519 glibcxx_cv_func_fmodl_use=yes
42520 else
42521 glibcxx_cv_func_fmodl_use=no
42523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42524 ac_ext=c
42525 ac_cpp='$CPP $CPPFLAGS'
42526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
42535 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
42537 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
42538 for ac_func in fmodl
42539 do :
42540 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
42541 if test "x$ac_cv_func_fmodl" = x""yes; then :
42542 cat >>confdefs.h <<_ACEOF
42543 #define HAVE_FMODL 1
42544 _ACEOF
42547 done
42549 else
42551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
42552 $as_echo_n "checking for _fmodl declaration... " >&6; }
42553 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
42554 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
42555 $as_echo_n "(cached) " >&6
42556 else
42559 ac_ext=cpp
42560 ac_cpp='$CXXCPP $CPPFLAGS'
42561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42566 /* end confdefs.h. */
42567 #include <math.h>
42569 main ()
42571 _fmodl(0, 0);
42573 return 0;
42575 _ACEOF
42576 if ac_fn_cxx_try_compile "$LINENO"; then :
42577 glibcxx_cv_func__fmodl_use=yes
42578 else
42579 glibcxx_cv_func__fmodl_use=no
42581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42582 ac_ext=c
42583 ac_cpp='$CPP $CPPFLAGS'
42584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
42593 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
42595 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
42596 for ac_func in _fmodl
42597 do :
42598 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
42599 if test "x$ac_cv_func__fmodl" = x""yes; then :
42600 cat >>confdefs.h <<_ACEOF
42601 #define HAVE__FMODL 1
42602 _ACEOF
42605 done
42614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
42615 $as_echo_n "checking for frexpl declaration... " >&6; }
42616 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
42617 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
42618 $as_echo_n "(cached) " >&6
42619 else
42622 ac_ext=cpp
42623 ac_cpp='$CXXCPP $CPPFLAGS'
42624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42629 /* end confdefs.h. */
42630 #include <math.h>
42632 main ()
42634 frexpl(0, 0);
42636 return 0;
42638 _ACEOF
42639 if ac_fn_cxx_try_compile "$LINENO"; then :
42640 glibcxx_cv_func_frexpl_use=yes
42641 else
42642 glibcxx_cv_func_frexpl_use=no
42644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42645 ac_ext=c
42646 ac_cpp='$CPP $CPPFLAGS'
42647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
42656 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
42658 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
42659 for ac_func in frexpl
42660 do :
42661 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
42662 if test "x$ac_cv_func_frexpl" = x""yes; then :
42663 cat >>confdefs.h <<_ACEOF
42664 #define HAVE_FREXPL 1
42665 _ACEOF
42668 done
42670 else
42672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
42673 $as_echo_n "checking for _frexpl declaration... " >&6; }
42674 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
42675 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
42676 $as_echo_n "(cached) " >&6
42677 else
42680 ac_ext=cpp
42681 ac_cpp='$CXXCPP $CPPFLAGS'
42682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42687 /* end confdefs.h. */
42688 #include <math.h>
42690 main ()
42692 _frexpl(0, 0);
42694 return 0;
42696 _ACEOF
42697 if ac_fn_cxx_try_compile "$LINENO"; then :
42698 glibcxx_cv_func__frexpl_use=yes
42699 else
42700 glibcxx_cv_func__frexpl_use=no
42702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42703 ac_ext=c
42704 ac_cpp='$CPP $CPPFLAGS'
42705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
42714 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
42716 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
42717 for ac_func in _frexpl
42718 do :
42719 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
42720 if test "x$ac_cv_func__frexpl" = x""yes; then :
42721 cat >>confdefs.h <<_ACEOF
42722 #define HAVE__FREXPL 1
42723 _ACEOF
42726 done
42735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
42736 $as_echo_n "checking for hypotl declaration... " >&6; }
42737 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
42738 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
42739 $as_echo_n "(cached) " >&6
42740 else
42743 ac_ext=cpp
42744 ac_cpp='$CXXCPP $CPPFLAGS'
42745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42750 /* end confdefs.h. */
42751 #include <math.h>
42753 main ()
42755 hypotl(0, 0);
42757 return 0;
42759 _ACEOF
42760 if ac_fn_cxx_try_compile "$LINENO"; then :
42761 glibcxx_cv_func_hypotl_use=yes
42762 else
42763 glibcxx_cv_func_hypotl_use=no
42765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42766 ac_ext=c
42767 ac_cpp='$CPP $CPPFLAGS'
42768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
42777 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
42779 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
42780 for ac_func in hypotl
42781 do :
42782 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
42783 if test "x$ac_cv_func_hypotl" = x""yes; then :
42784 cat >>confdefs.h <<_ACEOF
42785 #define HAVE_HYPOTL 1
42786 _ACEOF
42789 done
42791 else
42793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
42794 $as_echo_n "checking for _hypotl declaration... " >&6; }
42795 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
42796 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
42797 $as_echo_n "(cached) " >&6
42798 else
42801 ac_ext=cpp
42802 ac_cpp='$CXXCPP $CPPFLAGS'
42803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42808 /* end confdefs.h. */
42809 #include <math.h>
42811 main ()
42813 _hypotl(0, 0);
42815 return 0;
42817 _ACEOF
42818 if ac_fn_cxx_try_compile "$LINENO"; then :
42819 glibcxx_cv_func__hypotl_use=yes
42820 else
42821 glibcxx_cv_func__hypotl_use=no
42823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42824 ac_ext=c
42825 ac_cpp='$CPP $CPPFLAGS'
42826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
42835 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
42837 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
42838 for ac_func in _hypotl
42839 do :
42840 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
42841 if test "x$ac_cv_func__hypotl" = x""yes; then :
42842 cat >>confdefs.h <<_ACEOF
42843 #define HAVE__HYPOTL 1
42844 _ACEOF
42847 done
42856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
42857 $as_echo_n "checking for ldexpl declaration... " >&6; }
42858 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
42859 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
42860 $as_echo_n "(cached) " >&6
42861 else
42864 ac_ext=cpp
42865 ac_cpp='$CXXCPP $CPPFLAGS'
42866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42871 /* end confdefs.h. */
42872 #include <math.h>
42874 main ()
42876 ldexpl(0, 0);
42878 return 0;
42880 _ACEOF
42881 if ac_fn_cxx_try_compile "$LINENO"; then :
42882 glibcxx_cv_func_ldexpl_use=yes
42883 else
42884 glibcxx_cv_func_ldexpl_use=no
42886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42887 ac_ext=c
42888 ac_cpp='$CPP $CPPFLAGS'
42889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
42898 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
42900 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
42901 for ac_func in ldexpl
42902 do :
42903 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
42904 if test "x$ac_cv_func_ldexpl" = x""yes; then :
42905 cat >>confdefs.h <<_ACEOF
42906 #define HAVE_LDEXPL 1
42907 _ACEOF
42910 done
42912 else
42914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
42915 $as_echo_n "checking for _ldexpl declaration... " >&6; }
42916 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
42917 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
42918 $as_echo_n "(cached) " >&6
42919 else
42922 ac_ext=cpp
42923 ac_cpp='$CXXCPP $CPPFLAGS'
42924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42929 /* end confdefs.h. */
42930 #include <math.h>
42932 main ()
42934 _ldexpl(0, 0);
42936 return 0;
42938 _ACEOF
42939 if ac_fn_cxx_try_compile "$LINENO"; then :
42940 glibcxx_cv_func__ldexpl_use=yes
42941 else
42942 glibcxx_cv_func__ldexpl_use=no
42944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42945 ac_ext=c
42946 ac_cpp='$CPP $CPPFLAGS'
42947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
42956 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
42958 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
42959 for ac_func in _ldexpl
42960 do :
42961 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
42962 if test "x$ac_cv_func__ldexpl" = x""yes; then :
42963 cat >>confdefs.h <<_ACEOF
42964 #define HAVE__LDEXPL 1
42965 _ACEOF
42968 done
42977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
42978 $as_echo_n "checking for logl declaration... " >&6; }
42979 if test x${glibcxx_cv_func_logl_use+set} != xset; then
42980 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
42981 $as_echo_n "(cached) " >&6
42982 else
42985 ac_ext=cpp
42986 ac_cpp='$CXXCPP $CPPFLAGS'
42987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42992 /* end confdefs.h. */
42993 #include <math.h>
42994 #ifdef HAVE_IEEEFP_H
42995 #include <ieeefp.h>
42996 #endif
42999 main ()
43001 logl(0);
43003 return 0;
43005 _ACEOF
43006 if ac_fn_cxx_try_compile "$LINENO"; then :
43007 glibcxx_cv_func_logl_use=yes
43008 else
43009 glibcxx_cv_func_logl_use=no
43011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43012 ac_ext=c
43013 ac_cpp='$CPP $CPPFLAGS'
43014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
43023 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
43025 if test x$glibcxx_cv_func_logl_use = x"yes"; then
43026 for ac_func in logl
43027 do :
43028 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
43029 if test "x$ac_cv_func_logl" = x""yes; then :
43030 cat >>confdefs.h <<_ACEOF
43031 #define HAVE_LOGL 1
43032 _ACEOF
43035 done
43037 else
43039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
43040 $as_echo_n "checking for _logl declaration... " >&6; }
43041 if test x${glibcxx_cv_func__logl_use+set} != xset; then
43042 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43043 $as_echo_n "(cached) " >&6
43044 else
43047 ac_ext=cpp
43048 ac_cpp='$CXXCPP $CPPFLAGS'
43049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43054 /* end confdefs.h. */
43055 #include <math.h>
43056 #ifdef HAVE_IEEEFP_H
43057 #include <ieeefp.h>
43058 #endif
43061 main ()
43063 _logl(0);
43065 return 0;
43067 _ACEOF
43068 if ac_fn_cxx_try_compile "$LINENO"; then :
43069 glibcxx_cv_func__logl_use=yes
43070 else
43071 glibcxx_cv_func__logl_use=no
43073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43074 ac_ext=c
43075 ac_cpp='$CPP $CPPFLAGS'
43076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43085 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43087 if test x$glibcxx_cv_func__logl_use = x"yes"; then
43088 for ac_func in _logl
43089 do :
43090 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43091 if test "x$ac_cv_func__logl" = x""yes; then :
43092 cat >>confdefs.h <<_ACEOF
43093 #define HAVE__LOGL 1
43094 _ACEOF
43097 done
43106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43107 $as_echo_n "checking for log10l declaration... " >&6; }
43108 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43109 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43110 $as_echo_n "(cached) " >&6
43111 else
43114 ac_ext=cpp
43115 ac_cpp='$CXXCPP $CPPFLAGS'
43116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43121 /* end confdefs.h. */
43122 #include <math.h>
43123 #ifdef HAVE_IEEEFP_H
43124 #include <ieeefp.h>
43125 #endif
43128 main ()
43130 log10l(0);
43132 return 0;
43134 _ACEOF
43135 if ac_fn_cxx_try_compile "$LINENO"; then :
43136 glibcxx_cv_func_log10l_use=yes
43137 else
43138 glibcxx_cv_func_log10l_use=no
43140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43141 ac_ext=c
43142 ac_cpp='$CPP $CPPFLAGS'
43143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
43152 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43154 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43155 for ac_func in log10l
43156 do :
43157 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43158 if test "x$ac_cv_func_log10l" = x""yes; then :
43159 cat >>confdefs.h <<_ACEOF
43160 #define HAVE_LOG10L 1
43161 _ACEOF
43164 done
43166 else
43168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43169 $as_echo_n "checking for _log10l declaration... " >&6; }
43170 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43171 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43172 $as_echo_n "(cached) " >&6
43173 else
43176 ac_ext=cpp
43177 ac_cpp='$CXXCPP $CPPFLAGS'
43178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43183 /* end confdefs.h. */
43184 #include <math.h>
43185 #ifdef HAVE_IEEEFP_H
43186 #include <ieeefp.h>
43187 #endif
43190 main ()
43192 _log10l(0);
43194 return 0;
43196 _ACEOF
43197 if ac_fn_cxx_try_compile "$LINENO"; then :
43198 glibcxx_cv_func__log10l_use=yes
43199 else
43200 glibcxx_cv_func__log10l_use=no
43202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43203 ac_ext=c
43204 ac_cpp='$CPP $CPPFLAGS'
43205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
43214 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
43216 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
43217 for ac_func in _log10l
43218 do :
43219 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
43220 if test "x$ac_cv_func__log10l" = x""yes; then :
43221 cat >>confdefs.h <<_ACEOF
43222 #define HAVE__LOG10L 1
43223 _ACEOF
43226 done
43235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
43236 $as_echo_n "checking for modfl declaration... " >&6; }
43237 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
43238 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
43239 $as_echo_n "(cached) " >&6
43240 else
43243 ac_ext=cpp
43244 ac_cpp='$CXXCPP $CPPFLAGS'
43245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43250 /* end confdefs.h. */
43251 #include <math.h>
43253 main ()
43255 modfl(0, 0);
43257 return 0;
43259 _ACEOF
43260 if ac_fn_cxx_try_compile "$LINENO"; then :
43261 glibcxx_cv_func_modfl_use=yes
43262 else
43263 glibcxx_cv_func_modfl_use=no
43265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43266 ac_ext=c
43267 ac_cpp='$CPP $CPPFLAGS'
43268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
43277 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
43279 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
43280 for ac_func in modfl
43281 do :
43282 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
43283 if test "x$ac_cv_func_modfl" = x""yes; then :
43284 cat >>confdefs.h <<_ACEOF
43285 #define HAVE_MODFL 1
43286 _ACEOF
43289 done
43291 else
43293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
43294 $as_echo_n "checking for _modfl declaration... " >&6; }
43295 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
43296 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
43297 $as_echo_n "(cached) " >&6
43298 else
43301 ac_ext=cpp
43302 ac_cpp='$CXXCPP $CPPFLAGS'
43303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43308 /* end confdefs.h. */
43309 #include <math.h>
43311 main ()
43313 _modfl(0, 0);
43315 return 0;
43317 _ACEOF
43318 if ac_fn_cxx_try_compile "$LINENO"; then :
43319 glibcxx_cv_func__modfl_use=yes
43320 else
43321 glibcxx_cv_func__modfl_use=no
43323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43324 ac_ext=c
43325 ac_cpp='$CPP $CPPFLAGS'
43326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
43335 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
43337 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
43338 for ac_func in _modfl
43339 do :
43340 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
43341 if test "x$ac_cv_func__modfl" = x""yes; then :
43342 cat >>confdefs.h <<_ACEOF
43343 #define HAVE__MODFL 1
43344 _ACEOF
43347 done
43356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
43357 $as_echo_n "checking for powl declaration... " >&6; }
43358 if test x${glibcxx_cv_func_powl_use+set} != xset; then
43359 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
43360 $as_echo_n "(cached) " >&6
43361 else
43364 ac_ext=cpp
43365 ac_cpp='$CXXCPP $CPPFLAGS'
43366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43371 /* end confdefs.h. */
43372 #include <math.h>
43374 main ()
43376 powl(0, 0);
43378 return 0;
43380 _ACEOF
43381 if ac_fn_cxx_try_compile "$LINENO"; then :
43382 glibcxx_cv_func_powl_use=yes
43383 else
43384 glibcxx_cv_func_powl_use=no
43386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43387 ac_ext=c
43388 ac_cpp='$CPP $CPPFLAGS'
43389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
43398 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
43400 if test x$glibcxx_cv_func_powl_use = x"yes"; then
43401 for ac_func in powl
43402 do :
43403 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
43404 if test "x$ac_cv_func_powl" = x""yes; then :
43405 cat >>confdefs.h <<_ACEOF
43406 #define HAVE_POWL 1
43407 _ACEOF
43410 done
43412 else
43414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
43415 $as_echo_n "checking for _powl declaration... " >&6; }
43416 if test x${glibcxx_cv_func__powl_use+set} != xset; then
43417 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
43418 $as_echo_n "(cached) " >&6
43419 else
43422 ac_ext=cpp
43423 ac_cpp='$CXXCPP $CPPFLAGS'
43424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43429 /* end confdefs.h. */
43430 #include <math.h>
43432 main ()
43434 _powl(0, 0);
43436 return 0;
43438 _ACEOF
43439 if ac_fn_cxx_try_compile "$LINENO"; then :
43440 glibcxx_cv_func__powl_use=yes
43441 else
43442 glibcxx_cv_func__powl_use=no
43444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43445 ac_ext=c
43446 ac_cpp='$CPP $CPPFLAGS'
43447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
43456 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
43458 if test x$glibcxx_cv_func__powl_use = x"yes"; then
43459 for ac_func in _powl
43460 do :
43461 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
43462 if test "x$ac_cv_func__powl" = x""yes; then :
43463 cat >>confdefs.h <<_ACEOF
43464 #define HAVE__POWL 1
43465 _ACEOF
43468 done
43477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
43478 $as_echo_n "checking for sqrtl declaration... " >&6; }
43479 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
43480 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
43481 $as_echo_n "(cached) " >&6
43482 else
43485 ac_ext=cpp
43486 ac_cpp='$CXXCPP $CPPFLAGS'
43487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43492 /* end confdefs.h. */
43493 #include <math.h>
43494 #ifdef HAVE_IEEEFP_H
43495 #include <ieeefp.h>
43496 #endif
43499 main ()
43501 sqrtl(0);
43503 return 0;
43505 _ACEOF
43506 if ac_fn_cxx_try_compile "$LINENO"; then :
43507 glibcxx_cv_func_sqrtl_use=yes
43508 else
43509 glibcxx_cv_func_sqrtl_use=no
43511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43512 ac_ext=c
43513 ac_cpp='$CPP $CPPFLAGS'
43514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
43523 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
43525 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
43526 for ac_func in sqrtl
43527 do :
43528 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
43529 if test "x$ac_cv_func_sqrtl" = x""yes; then :
43530 cat >>confdefs.h <<_ACEOF
43531 #define HAVE_SQRTL 1
43532 _ACEOF
43535 done
43537 else
43539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
43540 $as_echo_n "checking for _sqrtl declaration... " >&6; }
43541 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
43542 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
43543 $as_echo_n "(cached) " >&6
43544 else
43547 ac_ext=cpp
43548 ac_cpp='$CXXCPP $CPPFLAGS'
43549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43554 /* end confdefs.h. */
43555 #include <math.h>
43556 #ifdef HAVE_IEEEFP_H
43557 #include <ieeefp.h>
43558 #endif
43561 main ()
43563 _sqrtl(0);
43565 return 0;
43567 _ACEOF
43568 if ac_fn_cxx_try_compile "$LINENO"; then :
43569 glibcxx_cv_func__sqrtl_use=yes
43570 else
43571 glibcxx_cv_func__sqrtl_use=no
43573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43574 ac_ext=c
43575 ac_cpp='$CPP $CPPFLAGS'
43576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
43585 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
43587 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
43588 for ac_func in _sqrtl
43589 do :
43590 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
43591 if test "x$ac_cv_func__sqrtl" = x""yes; then :
43592 cat >>confdefs.h <<_ACEOF
43593 #define HAVE__SQRTL 1
43594 _ACEOF
43597 done
43606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
43607 $as_echo_n "checking for sincosl declaration... " >&6; }
43608 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
43609 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
43610 $as_echo_n "(cached) " >&6
43611 else
43614 ac_ext=cpp
43615 ac_cpp='$CXXCPP $CPPFLAGS'
43616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43621 /* end confdefs.h. */
43622 #include <math.h>
43624 main ()
43626 sincosl(0, 0, 0);
43628 return 0;
43630 _ACEOF
43631 if ac_fn_cxx_try_compile "$LINENO"; then :
43632 glibcxx_cv_func_sincosl_use=yes
43633 else
43634 glibcxx_cv_func_sincosl_use=no
43636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43637 ac_ext=c
43638 ac_cpp='$CPP $CPPFLAGS'
43639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
43648 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
43650 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
43651 for ac_func in sincosl
43652 do :
43653 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
43654 if test "x$ac_cv_func_sincosl" = x""yes; then :
43655 cat >>confdefs.h <<_ACEOF
43656 #define HAVE_SINCOSL 1
43657 _ACEOF
43660 done
43662 else
43664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
43665 $as_echo_n "checking for _sincosl declaration... " >&6; }
43666 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
43667 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
43668 $as_echo_n "(cached) " >&6
43669 else
43672 ac_ext=cpp
43673 ac_cpp='$CXXCPP $CPPFLAGS'
43674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43679 /* end confdefs.h. */
43680 #include <math.h>
43682 main ()
43684 _sincosl(0, 0, 0);
43686 return 0;
43688 _ACEOF
43689 if ac_fn_cxx_try_compile "$LINENO"; then :
43690 glibcxx_cv_func__sincosl_use=yes
43691 else
43692 glibcxx_cv_func__sincosl_use=no
43694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43695 ac_ext=c
43696 ac_cpp='$CPP $CPPFLAGS'
43697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
43706 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
43708 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
43709 for ac_func in _sincosl
43710 do :
43711 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
43712 if test "x$ac_cv_func__sincosl" = x""yes; then :
43713 cat >>confdefs.h <<_ACEOF
43714 #define HAVE__SINCOSL 1
43715 _ACEOF
43718 done
43727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
43728 $as_echo_n "checking for finitel declaration... " >&6; }
43729 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
43730 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
43731 $as_echo_n "(cached) " >&6
43732 else
43735 ac_ext=cpp
43736 ac_cpp='$CXXCPP $CPPFLAGS'
43737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43742 /* end confdefs.h. */
43743 #include <math.h>
43744 #ifdef HAVE_IEEEFP_H
43745 #include <ieeefp.h>
43746 #endif
43749 main ()
43751 finitel(0);
43753 return 0;
43755 _ACEOF
43756 if ac_fn_cxx_try_compile "$LINENO"; then :
43757 glibcxx_cv_func_finitel_use=yes
43758 else
43759 glibcxx_cv_func_finitel_use=no
43761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43762 ac_ext=c
43763 ac_cpp='$CPP $CPPFLAGS'
43764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
43773 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
43775 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
43776 for ac_func in finitel
43777 do :
43778 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
43779 if test "x$ac_cv_func_finitel" = x""yes; then :
43780 cat >>confdefs.h <<_ACEOF
43781 #define HAVE_FINITEL 1
43782 _ACEOF
43785 done
43787 else
43789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
43790 $as_echo_n "checking for _finitel declaration... " >&6; }
43791 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
43792 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
43793 $as_echo_n "(cached) " >&6
43794 else
43797 ac_ext=cpp
43798 ac_cpp='$CXXCPP $CPPFLAGS'
43799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43804 /* end confdefs.h. */
43805 #include <math.h>
43806 #ifdef HAVE_IEEEFP_H
43807 #include <ieeefp.h>
43808 #endif
43811 main ()
43813 _finitel(0);
43815 return 0;
43817 _ACEOF
43818 if ac_fn_cxx_try_compile "$LINENO"; then :
43819 glibcxx_cv_func__finitel_use=yes
43820 else
43821 glibcxx_cv_func__finitel_use=no
43823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43824 ac_ext=c
43825 ac_cpp='$CPP $CPPFLAGS'
43826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
43835 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
43837 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
43838 for ac_func in _finitel
43839 do :
43840 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
43841 if test "x$ac_cv_func__finitel" = x""yes; then :
43842 cat >>confdefs.h <<_ACEOF
43843 #define HAVE__FINITEL 1
43844 _ACEOF
43847 done
43855 LIBS="$ac_save_LIBS"
43856 CXXFLAGS="$ac_save_CXXFLAGS"
43859 ac_test_CXXFLAGS="${CXXFLAGS+set}"
43860 ac_save_CXXFLAGS="$CXXFLAGS"
43861 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
43865 $as_echo_n "checking for strtold declaration... " >&6; }
43866 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
43867 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
43868 $as_echo_n "(cached) " >&6
43869 else
43872 ac_ext=cpp
43873 ac_cpp='$CXXCPP $CPPFLAGS'
43874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43879 /* end confdefs.h. */
43880 #include <stdlib.h>
43882 main ()
43884 strtold(0, 0);
43886 return 0;
43888 _ACEOF
43889 if ac_fn_cxx_try_compile "$LINENO"; then :
43890 glibcxx_cv_func_strtold_use=yes
43891 else
43892 glibcxx_cv_func_strtold_use=no
43894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43895 ac_ext=c
43896 ac_cpp='$CPP $CPPFLAGS'
43897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
43906 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
43907 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
43908 for ac_func in strtold
43909 do :
43910 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
43911 if test "x$ac_cv_func_strtold" = x""yes; then :
43912 cat >>confdefs.h <<_ACEOF
43913 #define HAVE_STRTOLD 1
43914 _ACEOF
43917 done
43924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
43925 $as_echo_n "checking for strtof declaration... " >&6; }
43926 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
43927 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
43928 $as_echo_n "(cached) " >&6
43929 else
43932 ac_ext=cpp
43933 ac_cpp='$CXXCPP $CPPFLAGS'
43934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43939 /* end confdefs.h. */
43940 #include <stdlib.h>
43942 main ()
43944 strtof(0, 0);
43946 return 0;
43948 _ACEOF
43949 if ac_fn_cxx_try_compile "$LINENO"; then :
43950 glibcxx_cv_func_strtof_use=yes
43951 else
43952 glibcxx_cv_func_strtof_use=no
43954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43955 ac_ext=c
43956 ac_cpp='$CPP $CPPFLAGS'
43957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
43966 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
43967 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
43968 for ac_func in strtof
43969 do :
43970 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
43971 if test "x$ac_cv_func_strtof" = x""yes; then :
43972 cat >>confdefs.h <<_ACEOF
43973 #define HAVE_STRTOF 1
43974 _ACEOF
43977 done
43984 CXXFLAGS="$ac_save_CXXFLAGS"
43988 *djgpp)
43989 # GLIBCXX_CHECK_MATH_SUPPORT
43990 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
43992 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
43994 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
43996 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
43998 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44002 *-freebsd*)
44003 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44006 # If we're not using GNU ld, then there's no point in even trying these
44007 # tests. Check for that first. We should have already tested for gld
44008 # by now (in libtool), but require it now just to be safe...
44009 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44010 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44014 # The name set by libtool depends on the version of libtool. Shame on us
44015 # for depending on an impl detail, but c'est la vie. Older versions used
44016 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44017 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44018 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44019 # set (hence we're using an older libtool), then set it.
44020 if test x${with_gnu_ld+set} != xset; then
44021 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44022 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44023 with_gnu_ld=no
44024 else
44025 with_gnu_ld=$ac_cv_prog_gnu_ld
44029 # Start by getting the version number. I think the libtool test already
44030 # does some of this, but throws away the result.
44031 glibcxx_ld_is_gold=no
44032 if test x"$with_gnu_ld" = x"yes"; then
44033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44034 $as_echo_n "checking for ld version... " >&6; }
44036 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44037 glibcxx_ld_is_gold=yes
44039 ldver=`$LD --version 2>/dev/null |
44040 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'`
44042 glibcxx_gnu_ld_version=`echo $ldver | \
44043 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44045 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44048 # Set --gc-sections.
44049 glibcxx_have_gc_sections=no
44050 if test "$glibcxx_ld_is_gold" = "yes"; then
44051 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44052 glibcxx_have_gc_sections=yes
44054 else
44055 glibcxx_gcsections_min_ld=21602
44056 if test x"$with_gnu_ld" = x"yes" &&
44057 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44058 glibcxx_have_gc_sections=yes
44061 if test "$glibcxx_have_gc_sections" = "yes"; then
44062 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44063 # NB: This flag only works reliably after 2.16.1. Configure tests
44064 # for this are difficult, so hard wire a value that should work.
44066 ac_test_CFLAGS="${CFLAGS+set}"
44067 ac_save_CFLAGS="$CFLAGS"
44068 CFLAGS='-Wl,--gc-sections'
44070 # Check for -Wl,--gc-sections
44071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44072 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44073 if test x$gcc_no_link = xyes; then
44074 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44077 /* end confdefs.h. */
44078 int one(void) { return 1; }
44079 int two(void) { return 2; }
44082 main ()
44084 two();
44086 return 0;
44088 _ACEOF
44089 if ac_fn_c_try_link "$LINENO"; then :
44090 ac_gcsections=yes
44091 else
44092 ac_gcsections=no
44094 rm -f core conftest.err conftest.$ac_objext \
44095 conftest$ac_exeext conftest.$ac_ext
44096 if test "$ac_gcsections" = "yes"; then
44097 rm -f conftest.c
44098 touch conftest.c
44099 if $CC -c conftest.c; then
44100 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44101 grep "Warning: gc-sections option ignored" > /dev/null; then
44102 ac_gcsections=no
44105 rm -f conftest.c conftest.o conftest
44107 if test "$ac_gcsections" = "yes"; then
44108 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44111 $as_echo "$ac_gcsections" >&6; }
44113 if test "$ac_test_CFLAGS" = set; then
44114 CFLAGS="$ac_save_CFLAGS"
44115 else
44116 # this is the suspicious part
44117 CFLAGS=''
44121 # Set -z,relro.
44122 # Note this is only for shared objects.
44123 ac_ld_relro=no
44124 if test x"$with_gnu_ld" = x"yes"; then
44125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44126 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44127 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44128 if test -n "$cxx_z_relo"; then
44129 OPT_LDFLAGS="-Wl,-z,relro"
44130 ac_ld_relro=yes
44132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44133 $as_echo "$ac_ld_relro" >&6; }
44136 # Set linker optimization flags.
44137 if test x"$with_gnu_ld" = x"yes"; then
44138 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44144 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44146 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44148 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44150 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44152 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44154 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44156 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44158 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44160 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44163 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44165 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44167 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44169 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44171 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44173 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44175 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44177 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44179 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44181 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44183 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44185 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44187 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44189 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44191 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44193 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
44195 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44197 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44199 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44201 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44203 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44205 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44207 if test x"long_double_math_on_this_cpu" = x"yes"; then
44208 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
44210 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
44212 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
44216 *-hpux*)
44217 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44220 # If we're not using GNU ld, then there's no point in even trying these
44221 # tests. Check for that first. We should have already tested for gld
44222 # by now (in libtool), but require it now just to be safe...
44223 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44224 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44228 # The name set by libtool depends on the version of libtool. Shame on us
44229 # for depending on an impl detail, but c'est la vie. Older versions used
44230 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44231 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44232 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44233 # set (hence we're using an older libtool), then set it.
44234 if test x${with_gnu_ld+set} != xset; then
44235 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44236 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44237 with_gnu_ld=no
44238 else
44239 with_gnu_ld=$ac_cv_prog_gnu_ld
44243 # Start by getting the version number. I think the libtool test already
44244 # does some of this, but throws away the result.
44245 glibcxx_ld_is_gold=no
44246 if test x"$with_gnu_ld" = x"yes"; then
44247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44248 $as_echo_n "checking for ld version... " >&6; }
44250 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44251 glibcxx_ld_is_gold=yes
44253 ldver=`$LD --version 2>/dev/null |
44254 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'`
44256 glibcxx_gnu_ld_version=`echo $ldver | \
44257 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44259 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44262 # Set --gc-sections.
44263 glibcxx_have_gc_sections=no
44264 if test "$glibcxx_ld_is_gold" = "yes"; then
44265 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44266 glibcxx_have_gc_sections=yes
44268 else
44269 glibcxx_gcsections_min_ld=21602
44270 if test x"$with_gnu_ld" = x"yes" &&
44271 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44272 glibcxx_have_gc_sections=yes
44275 if test "$glibcxx_have_gc_sections" = "yes"; then
44276 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44277 # NB: This flag only works reliably after 2.16.1. Configure tests
44278 # for this are difficult, so hard wire a value that should work.
44280 ac_test_CFLAGS="${CFLAGS+set}"
44281 ac_save_CFLAGS="$CFLAGS"
44282 CFLAGS='-Wl,--gc-sections'
44284 # Check for -Wl,--gc-sections
44285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44286 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44287 if test x$gcc_no_link = xyes; then
44288 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44291 /* end confdefs.h. */
44292 int one(void) { return 1; }
44293 int two(void) { return 2; }
44296 main ()
44298 two();
44300 return 0;
44302 _ACEOF
44303 if ac_fn_c_try_link "$LINENO"; then :
44304 ac_gcsections=yes
44305 else
44306 ac_gcsections=no
44308 rm -f core conftest.err conftest.$ac_objext \
44309 conftest$ac_exeext conftest.$ac_ext
44310 if test "$ac_gcsections" = "yes"; then
44311 rm -f conftest.c
44312 touch conftest.c
44313 if $CC -c conftest.c; then
44314 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44315 grep "Warning: gc-sections option ignored" > /dev/null; then
44316 ac_gcsections=no
44319 rm -f conftest.c conftest.o conftest
44321 if test "$ac_gcsections" = "yes"; then
44322 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44325 $as_echo "$ac_gcsections" >&6; }
44327 if test "$ac_test_CFLAGS" = set; then
44328 CFLAGS="$ac_save_CFLAGS"
44329 else
44330 # this is the suspicious part
44331 CFLAGS=''
44335 # Set -z,relro.
44336 # Note this is only for shared objects.
44337 ac_ld_relro=no
44338 if test x"$with_gnu_ld" = x"yes"; then
44339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44340 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44341 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44342 if test -n "$cxx_z_relo"; then
44343 OPT_LDFLAGS="-Wl,-z,relro"
44344 ac_ld_relro=yes
44346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44347 $as_echo "$ac_ld_relro" >&6; }
44350 # Set linker optimization flags.
44351 if test x"$with_gnu_ld" = x"yes"; then
44352 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44359 # GLIBCXX_CHECK_MATH_SUPPORT
44360 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44362 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44364 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44366 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44368 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44370 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44372 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44374 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44376 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44378 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44380 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44382 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44384 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44386 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44388 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44390 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44392 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44394 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44396 $as_echo "#define HAVE_MODF 1" >>confdefs.h
44398 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44400 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44403 # GLIBCXX_CHECK_STDLIB_SUPPORT
44404 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
44409 # Check whether --enable-tls was given.
44410 if test "${enable_tls+set}" = set; then :
44411 enableval=$enable_tls;
44412 case "$enableval" in
44413 yes|no) ;;
44414 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
44415 esac
44417 else
44418 enable_tls=yes
44422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
44423 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
44424 if test "${gcc_cv_have_tls+set}" = set; then :
44425 $as_echo_n "(cached) " >&6
44426 else
44428 if test "$cross_compiling" = yes; then :
44429 if test x$gcc_no_link = xyes; then
44430 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44433 /* end confdefs.h. */
44434 __thread int a; int b; int main() { return a = b; }
44435 _ACEOF
44436 if ac_fn_c_try_link "$LINENO"; then :
44437 chktls_save_LDFLAGS="$LDFLAGS"
44438 case $host in
44439 *-*-linux*)
44440 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
44442 esac
44443 chktls_save_CFLAGS="$CFLAGS"
44444 CFLAGS="-fPIC $CFLAGS"
44445 if test x$gcc_no_link = xyes; then
44446 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44449 /* end confdefs.h. */
44450 int f() { return 0; }
44451 _ACEOF
44452 if ac_fn_c_try_link "$LINENO"; then :
44453 if test x$gcc_no_link = xyes; then
44454 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44457 /* end confdefs.h. */
44458 __thread int a; int b; int f() { return a = b; }
44459 _ACEOF
44460 if ac_fn_c_try_link "$LINENO"; then :
44461 gcc_cv_have_tls=yes
44462 else
44463 gcc_cv_have_tls=no
44465 rm -f core conftest.err conftest.$ac_objext \
44466 conftest$ac_exeext conftest.$ac_ext
44467 else
44468 gcc_cv_have_tls=yes
44470 rm -f core conftest.err conftest.$ac_objext \
44471 conftest$ac_exeext conftest.$ac_ext
44472 CFLAGS="$chktls_save_CFLAGS"
44473 LDFLAGS="$chktls_save_LDFLAGS"
44474 else
44475 gcc_cv_have_tls=no
44477 rm -f core conftest.err conftest.$ac_objext \
44478 conftest$ac_exeext conftest.$ac_ext
44481 else
44482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44483 /* end confdefs.h. */
44484 __thread int a; int b; int main() { return a = b; }
44485 _ACEOF
44486 if ac_fn_c_try_run "$LINENO"; then :
44487 chktls_save_LDFLAGS="$LDFLAGS"
44488 LDFLAGS="-static $LDFLAGS"
44489 if test x$gcc_no_link = xyes; then
44490 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44493 /* end confdefs.h. */
44494 int main() { return 0; }
44495 _ACEOF
44496 if ac_fn_c_try_link "$LINENO"; then :
44497 if test "$cross_compiling" = yes; then :
44498 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44499 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44500 as_fn_error "cannot run test program while cross compiling
44501 See \`config.log' for more details." "$LINENO" 5; }
44502 else
44503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44504 /* end confdefs.h. */
44505 __thread int a; int b; int main() { return a = b; }
44506 _ACEOF
44507 if ac_fn_c_try_run "$LINENO"; then :
44508 gcc_cv_have_tls=yes
44509 else
44510 gcc_cv_have_tls=no
44512 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44513 conftest.$ac_objext conftest.beam conftest.$ac_ext
44516 else
44517 gcc_cv_have_tls=yes
44519 rm -f core conftest.err conftest.$ac_objext \
44520 conftest$ac_exeext conftest.$ac_ext
44521 LDFLAGS="$chktls_save_LDFLAGS"
44522 if test $gcc_cv_have_tls = yes; then
44523 chktls_save_CFLAGS="$CFLAGS"
44524 thread_CFLAGS=failed
44525 for flag in '' '-pthread' '-lpthread'; do
44526 CFLAGS="$flag $chktls_save_CFLAGS"
44527 if test x$gcc_no_link = xyes; then
44528 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44531 /* end confdefs.h. */
44532 #include <pthread.h>
44533 void *g(void *d) { return NULL; }
44535 main ()
44537 pthread_t t; pthread_create(&t,NULL,g,NULL);
44539 return 0;
44541 _ACEOF
44542 if ac_fn_c_try_link "$LINENO"; then :
44543 thread_CFLAGS="$flag"
44545 rm -f core conftest.err conftest.$ac_objext \
44546 conftest$ac_exeext conftest.$ac_ext
44547 if test "X$thread_CFLAGS" != Xfailed; then
44548 break
44550 done
44551 CFLAGS="$chktls_save_CFLAGS"
44552 if test "X$thread_CFLAGS" != Xfailed; then
44553 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
44554 if test "$cross_compiling" = yes; then :
44555 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44556 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44557 as_fn_error "cannot run test program while cross compiling
44558 See \`config.log' for more details." "$LINENO" 5; }
44559 else
44560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44561 /* end confdefs.h. */
44562 #include <pthread.h>
44563 __thread int a;
44564 static int *volatile a_in_other_thread;
44565 static void *
44566 thread_func (void *arg)
44568 a_in_other_thread = &a;
44569 return (void *)0;
44572 main ()
44574 pthread_t thread;
44575 void *thread_retval;
44576 int *volatile a_in_main_thread;
44577 a_in_main_thread = &a;
44578 if (pthread_create (&thread, (pthread_attr_t *)0,
44579 thread_func, (void *)0))
44580 return 0;
44581 if (pthread_join (thread, &thread_retval))
44582 return 0;
44583 return (a_in_other_thread == a_in_main_thread);
44585 return 0;
44587 _ACEOF
44588 if ac_fn_c_try_run "$LINENO"; then :
44589 gcc_cv_have_tls=yes
44590 else
44591 gcc_cv_have_tls=no
44593 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44594 conftest.$ac_objext conftest.beam conftest.$ac_ext
44597 CFLAGS="$chktls_save_CFLAGS"
44600 else
44601 gcc_cv_have_tls=no
44603 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44604 conftest.$ac_objext conftest.beam conftest.$ac_ext
44608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
44609 $as_echo "$gcc_cv_have_tls" >&6; }
44610 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
44612 $as_echo "#define HAVE_TLS 1" >>confdefs.h
44615 case "$target" in
44616 *-hpux10*)
44617 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44619 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
44621 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44623 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44625 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44628 esac
44630 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
44632 # All these tests are for C++; save the language and the compiler flags.
44633 # The CXXFLAGS thing is suspicious, but based on similar bits previously
44634 # found in GLIBCXX_CONFIGURE.
44636 ac_ext=cpp
44637 ac_cpp='$CXXCPP $CPPFLAGS'
44638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44642 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44643 ac_save_CXXFLAGS="$CXXFLAGS"
44645 # Check for maintainer-mode bits.
44646 if test x"$USE_MAINTAINER_MODE" = xno; then
44647 WERROR=''
44648 else
44649 WERROR='-Werror'
44652 # Check for -ffunction-sections -fdata-sections
44653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
44654 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
44655 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
44656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44657 /* end confdefs.h. */
44658 int foo; void bar() { };
44660 main ()
44664 return 0;
44666 _ACEOF
44667 if ac_fn_cxx_try_compile "$LINENO"; then :
44668 ac_fdsections=yes
44669 else
44670 ac_fdsections=no
44672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44673 if test "$ac_test_CXXFLAGS" = set; then
44674 CXXFLAGS="$ac_save_CXXFLAGS"
44675 else
44676 # this is the suspicious part
44677 CXXFLAGS=''
44679 if test x"$ac_fdsections" = x"yes"; then
44680 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
44683 $as_echo "$ac_fdsections" >&6; }
44685 ac_ext=c
44686 ac_cpp='$CPP $CPPFLAGS'
44687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44695 # If we're not using GNU ld, then there's no point in even trying these
44696 # tests. Check for that first. We should have already tested for gld
44697 # by now (in libtool), but require it now just to be safe...
44698 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44699 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44703 # The name set by libtool depends on the version of libtool. Shame on us
44704 # for depending on an impl detail, but c'est la vie. Older versions used
44705 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44706 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44707 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44708 # set (hence we're using an older libtool), then set it.
44709 if test x${with_gnu_ld+set} != xset; then
44710 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44711 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44712 with_gnu_ld=no
44713 else
44714 with_gnu_ld=$ac_cv_prog_gnu_ld
44718 # Start by getting the version number. I think the libtool test already
44719 # does some of this, but throws away the result.
44720 glibcxx_ld_is_gold=no
44721 if test x"$with_gnu_ld" = x"yes"; then
44722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44723 $as_echo_n "checking for ld version... " >&6; }
44725 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44726 glibcxx_ld_is_gold=yes
44728 ldver=`$LD --version 2>/dev/null |
44729 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'`
44731 glibcxx_gnu_ld_version=`echo $ldver | \
44732 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44734 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44737 # Set --gc-sections.
44738 glibcxx_have_gc_sections=no
44739 if test "$glibcxx_ld_is_gold" = "yes"; then
44740 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44741 glibcxx_have_gc_sections=yes
44743 else
44744 glibcxx_gcsections_min_ld=21602
44745 if test x"$with_gnu_ld" = x"yes" &&
44746 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44747 glibcxx_have_gc_sections=yes
44750 if test "$glibcxx_have_gc_sections" = "yes"; then
44751 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44752 # NB: This flag only works reliably after 2.16.1. Configure tests
44753 # for this are difficult, so hard wire a value that should work.
44755 ac_test_CFLAGS="${CFLAGS+set}"
44756 ac_save_CFLAGS="$CFLAGS"
44757 CFLAGS='-Wl,--gc-sections'
44759 # Check for -Wl,--gc-sections
44760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44761 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44762 if test x$gcc_no_link = xyes; then
44763 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44766 /* end confdefs.h. */
44767 int one(void) { return 1; }
44768 int two(void) { return 2; }
44771 main ()
44773 two();
44775 return 0;
44777 _ACEOF
44778 if ac_fn_c_try_link "$LINENO"; then :
44779 ac_gcsections=yes
44780 else
44781 ac_gcsections=no
44783 rm -f core conftest.err conftest.$ac_objext \
44784 conftest$ac_exeext conftest.$ac_ext
44785 if test "$ac_gcsections" = "yes"; then
44786 rm -f conftest.c
44787 touch conftest.c
44788 if $CC -c conftest.c; then
44789 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44790 grep "Warning: gc-sections option ignored" > /dev/null; then
44791 ac_gcsections=no
44794 rm -f conftest.c conftest.o conftest
44796 if test "$ac_gcsections" = "yes"; then
44797 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44800 $as_echo "$ac_gcsections" >&6; }
44802 if test "$ac_test_CFLAGS" = set; then
44803 CFLAGS="$ac_save_CFLAGS"
44804 else
44805 # this is the suspicious part
44806 CFLAGS=''
44810 # Set -z,relro.
44811 # Note this is only for shared objects.
44812 ac_ld_relro=no
44813 if test x"$with_gnu_ld" = x"yes"; then
44814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44815 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44816 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44817 if test -n "$cxx_z_relo"; then
44818 OPT_LDFLAGS="-Wl,-z,relro"
44819 ac_ld_relro=yes
44821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44822 $as_echo "$ac_ld_relro" >&6; }
44825 # Set linker optimization flags.
44826 if test x"$with_gnu_ld" = x"yes"; then
44827 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44834 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44835 ac_save_CXXFLAGS="$CXXFLAGS"
44836 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
44839 $as_echo_n "checking for sin in -lm... " >&6; }
44840 if test "${ac_cv_lib_m_sin+set}" = set; then :
44841 $as_echo_n "(cached) " >&6
44842 else
44843 ac_check_lib_save_LIBS=$LIBS
44844 LIBS="-lm $LIBS"
44845 if test x$gcc_no_link = xyes; then
44846 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44849 /* end confdefs.h. */
44851 /* Override any GCC internal prototype to avoid an error.
44852 Use char because int might match the return type of a GCC
44853 builtin and then its argument prototype would still apply. */
44854 #ifdef __cplusplus
44855 extern "C"
44856 #endif
44857 char sin ();
44859 main ()
44861 return sin ();
44863 return 0;
44865 _ACEOF
44866 if ac_fn_c_try_link "$LINENO"; then :
44867 ac_cv_lib_m_sin=yes
44868 else
44869 ac_cv_lib_m_sin=no
44871 rm -f core conftest.err conftest.$ac_objext \
44872 conftest$ac_exeext conftest.$ac_ext
44873 LIBS=$ac_check_lib_save_LIBS
44875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
44876 $as_echo "$ac_cv_lib_m_sin" >&6; }
44877 if test "x$ac_cv_lib_m_sin" = x""yes; then :
44878 libm="-lm"
44881 ac_save_LIBS="$LIBS"
44882 LIBS="$LIBS $libm"
44886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
44887 $as_echo_n "checking for isinf declaration... " >&6; }
44888 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
44889 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
44890 $as_echo_n "(cached) " >&6
44891 else
44894 ac_ext=cpp
44895 ac_cpp='$CXXCPP $CPPFLAGS'
44896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44901 /* end confdefs.h. */
44902 #include <math.h>
44903 #ifdef HAVE_IEEEFP_H
44904 #include <ieeefp.h>
44905 #endif
44908 main ()
44910 isinf(0);
44912 return 0;
44914 _ACEOF
44915 if ac_fn_cxx_try_compile "$LINENO"; then :
44916 glibcxx_cv_func_isinf_use=yes
44917 else
44918 glibcxx_cv_func_isinf_use=no
44920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44921 ac_ext=c
44922 ac_cpp='$CPP $CPPFLAGS'
44923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
44932 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
44934 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
44935 for ac_func in isinf
44936 do :
44937 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
44938 if test "x$ac_cv_func_isinf" = x""yes; then :
44939 cat >>confdefs.h <<_ACEOF
44940 #define HAVE_ISINF 1
44941 _ACEOF
44944 done
44946 else
44948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
44949 $as_echo_n "checking for _isinf declaration... " >&6; }
44950 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
44951 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
44952 $as_echo_n "(cached) " >&6
44953 else
44956 ac_ext=cpp
44957 ac_cpp='$CXXCPP $CPPFLAGS'
44958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44963 /* end confdefs.h. */
44964 #include <math.h>
44965 #ifdef HAVE_IEEEFP_H
44966 #include <ieeefp.h>
44967 #endif
44970 main ()
44972 _isinf(0);
44974 return 0;
44976 _ACEOF
44977 if ac_fn_cxx_try_compile "$LINENO"; then :
44978 glibcxx_cv_func__isinf_use=yes
44979 else
44980 glibcxx_cv_func__isinf_use=no
44982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44983 ac_ext=c
44984 ac_cpp='$CPP $CPPFLAGS'
44985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
44994 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
44996 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
44997 for ac_func in _isinf
44998 do :
44999 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
45000 if test "x$ac_cv_func__isinf" = x""yes; then :
45001 cat >>confdefs.h <<_ACEOF
45002 #define HAVE__ISINF 1
45003 _ACEOF
45006 done
45015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
45016 $as_echo_n "checking for isnan declaration... " >&6; }
45017 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
45018 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
45019 $as_echo_n "(cached) " >&6
45020 else
45023 ac_ext=cpp
45024 ac_cpp='$CXXCPP $CPPFLAGS'
45025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45030 /* end confdefs.h. */
45031 #include <math.h>
45032 #ifdef HAVE_IEEEFP_H
45033 #include <ieeefp.h>
45034 #endif
45037 main ()
45039 isnan(0);
45041 return 0;
45043 _ACEOF
45044 if ac_fn_cxx_try_compile "$LINENO"; then :
45045 glibcxx_cv_func_isnan_use=yes
45046 else
45047 glibcxx_cv_func_isnan_use=no
45049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45050 ac_ext=c
45051 ac_cpp='$CPP $CPPFLAGS'
45052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45061 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45063 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45064 for ac_func in isnan
45065 do :
45066 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45067 if test "x$ac_cv_func_isnan" = x""yes; then :
45068 cat >>confdefs.h <<_ACEOF
45069 #define HAVE_ISNAN 1
45070 _ACEOF
45073 done
45075 else
45077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45078 $as_echo_n "checking for _isnan declaration... " >&6; }
45079 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45080 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45081 $as_echo_n "(cached) " >&6
45082 else
45085 ac_ext=cpp
45086 ac_cpp='$CXXCPP $CPPFLAGS'
45087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45092 /* end confdefs.h. */
45093 #include <math.h>
45094 #ifdef HAVE_IEEEFP_H
45095 #include <ieeefp.h>
45096 #endif
45099 main ()
45101 _isnan(0);
45103 return 0;
45105 _ACEOF
45106 if ac_fn_cxx_try_compile "$LINENO"; then :
45107 glibcxx_cv_func__isnan_use=yes
45108 else
45109 glibcxx_cv_func__isnan_use=no
45111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45112 ac_ext=c
45113 ac_cpp='$CPP $CPPFLAGS'
45114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45123 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45125 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45126 for ac_func in _isnan
45127 do :
45128 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45129 if test "x$ac_cv_func__isnan" = x""yes; then :
45130 cat >>confdefs.h <<_ACEOF
45131 #define HAVE__ISNAN 1
45132 _ACEOF
45135 done
45144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45145 $as_echo_n "checking for finite declaration... " >&6; }
45146 if test x${glibcxx_cv_func_finite_use+set} != xset; then
45147 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45148 $as_echo_n "(cached) " >&6
45149 else
45152 ac_ext=cpp
45153 ac_cpp='$CXXCPP $CPPFLAGS'
45154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45159 /* end confdefs.h. */
45160 #include <math.h>
45161 #ifdef HAVE_IEEEFP_H
45162 #include <ieeefp.h>
45163 #endif
45166 main ()
45168 finite(0);
45170 return 0;
45172 _ACEOF
45173 if ac_fn_cxx_try_compile "$LINENO"; then :
45174 glibcxx_cv_func_finite_use=yes
45175 else
45176 glibcxx_cv_func_finite_use=no
45178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45179 ac_ext=c
45180 ac_cpp='$CPP $CPPFLAGS'
45181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
45190 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
45192 if test x$glibcxx_cv_func_finite_use = x"yes"; then
45193 for ac_func in finite
45194 do :
45195 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
45196 if test "x$ac_cv_func_finite" = x""yes; then :
45197 cat >>confdefs.h <<_ACEOF
45198 #define HAVE_FINITE 1
45199 _ACEOF
45202 done
45204 else
45206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
45207 $as_echo_n "checking for _finite declaration... " >&6; }
45208 if test x${glibcxx_cv_func__finite_use+set} != xset; then
45209 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
45210 $as_echo_n "(cached) " >&6
45211 else
45214 ac_ext=cpp
45215 ac_cpp='$CXXCPP $CPPFLAGS'
45216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45221 /* end confdefs.h. */
45222 #include <math.h>
45223 #ifdef HAVE_IEEEFP_H
45224 #include <ieeefp.h>
45225 #endif
45228 main ()
45230 _finite(0);
45232 return 0;
45234 _ACEOF
45235 if ac_fn_cxx_try_compile "$LINENO"; then :
45236 glibcxx_cv_func__finite_use=yes
45237 else
45238 glibcxx_cv_func__finite_use=no
45240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45241 ac_ext=c
45242 ac_cpp='$CPP $CPPFLAGS'
45243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
45252 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
45254 if test x$glibcxx_cv_func__finite_use = x"yes"; then
45255 for ac_func in _finite
45256 do :
45257 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
45258 if test "x$ac_cv_func__finite" = x""yes; then :
45259 cat >>confdefs.h <<_ACEOF
45260 #define HAVE__FINITE 1
45261 _ACEOF
45264 done
45273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
45274 $as_echo_n "checking for sincos declaration... " >&6; }
45275 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45276 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
45277 $as_echo_n "(cached) " >&6
45278 else
45281 ac_ext=cpp
45282 ac_cpp='$CXXCPP $CPPFLAGS'
45283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45288 /* end confdefs.h. */
45289 #include <math.h>
45291 main ()
45293 sincos(0, 0, 0);
45295 return 0;
45297 _ACEOF
45298 if ac_fn_cxx_try_compile "$LINENO"; then :
45299 glibcxx_cv_func_sincos_use=yes
45300 else
45301 glibcxx_cv_func_sincos_use=no
45303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45304 ac_ext=c
45305 ac_cpp='$CPP $CPPFLAGS'
45306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
45315 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
45317 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45318 for ac_func in sincos
45319 do :
45320 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
45321 if test "x$ac_cv_func_sincos" = x""yes; then :
45322 cat >>confdefs.h <<_ACEOF
45323 #define HAVE_SINCOS 1
45324 _ACEOF
45327 done
45329 else
45331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
45332 $as_echo_n "checking for _sincos declaration... " >&6; }
45333 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45334 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
45335 $as_echo_n "(cached) " >&6
45336 else
45339 ac_ext=cpp
45340 ac_cpp='$CXXCPP $CPPFLAGS'
45341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45346 /* end confdefs.h. */
45347 #include <math.h>
45349 main ()
45351 _sincos(0, 0, 0);
45353 return 0;
45355 _ACEOF
45356 if ac_fn_cxx_try_compile "$LINENO"; then :
45357 glibcxx_cv_func__sincos_use=yes
45358 else
45359 glibcxx_cv_func__sincos_use=no
45361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45362 ac_ext=c
45363 ac_cpp='$CPP $CPPFLAGS'
45364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
45373 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
45375 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45376 for ac_func in _sincos
45377 do :
45378 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
45379 if test "x$ac_cv_func__sincos" = x""yes; then :
45380 cat >>confdefs.h <<_ACEOF
45381 #define HAVE__SINCOS 1
45382 _ACEOF
45385 done
45394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
45395 $as_echo_n "checking for fpclass declaration... " >&6; }
45396 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45397 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
45398 $as_echo_n "(cached) " >&6
45399 else
45402 ac_ext=cpp
45403 ac_cpp='$CXXCPP $CPPFLAGS'
45404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45409 /* end confdefs.h. */
45410 #include <math.h>
45411 #ifdef HAVE_IEEEFP_H
45412 #include <ieeefp.h>
45413 #endif
45416 main ()
45418 fpclass(0);
45420 return 0;
45422 _ACEOF
45423 if ac_fn_cxx_try_compile "$LINENO"; then :
45424 glibcxx_cv_func_fpclass_use=yes
45425 else
45426 glibcxx_cv_func_fpclass_use=no
45428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45429 ac_ext=c
45430 ac_cpp='$CPP $CPPFLAGS'
45431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
45440 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
45442 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45443 for ac_func in fpclass
45444 do :
45445 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
45446 if test "x$ac_cv_func_fpclass" = x""yes; then :
45447 cat >>confdefs.h <<_ACEOF
45448 #define HAVE_FPCLASS 1
45449 _ACEOF
45452 done
45454 else
45456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
45457 $as_echo_n "checking for _fpclass declaration... " >&6; }
45458 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45459 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
45460 $as_echo_n "(cached) " >&6
45461 else
45464 ac_ext=cpp
45465 ac_cpp='$CXXCPP $CPPFLAGS'
45466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45471 /* end confdefs.h. */
45472 #include <math.h>
45473 #ifdef HAVE_IEEEFP_H
45474 #include <ieeefp.h>
45475 #endif
45478 main ()
45480 _fpclass(0);
45482 return 0;
45484 _ACEOF
45485 if ac_fn_cxx_try_compile "$LINENO"; then :
45486 glibcxx_cv_func__fpclass_use=yes
45487 else
45488 glibcxx_cv_func__fpclass_use=no
45490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45491 ac_ext=c
45492 ac_cpp='$CPP $CPPFLAGS'
45493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
45502 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
45504 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45505 for ac_func in _fpclass
45506 do :
45507 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
45508 if test "x$ac_cv_func__fpclass" = x""yes; then :
45509 cat >>confdefs.h <<_ACEOF
45510 #define HAVE__FPCLASS 1
45511 _ACEOF
45514 done
45523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
45524 $as_echo_n "checking for qfpclass declaration... " >&6; }
45525 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45526 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
45527 $as_echo_n "(cached) " >&6
45528 else
45531 ac_ext=cpp
45532 ac_cpp='$CXXCPP $CPPFLAGS'
45533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45538 /* end confdefs.h. */
45539 #include <math.h>
45540 #ifdef HAVE_IEEEFP_H
45541 #include <ieeefp.h>
45542 #endif
45545 main ()
45547 qfpclass(0);
45549 return 0;
45551 _ACEOF
45552 if ac_fn_cxx_try_compile "$LINENO"; then :
45553 glibcxx_cv_func_qfpclass_use=yes
45554 else
45555 glibcxx_cv_func_qfpclass_use=no
45557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45558 ac_ext=c
45559 ac_cpp='$CPP $CPPFLAGS'
45560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
45569 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
45571 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45572 for ac_func in qfpclass
45573 do :
45574 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
45575 if test "x$ac_cv_func_qfpclass" = x""yes; then :
45576 cat >>confdefs.h <<_ACEOF
45577 #define HAVE_QFPCLASS 1
45578 _ACEOF
45581 done
45583 else
45585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
45586 $as_echo_n "checking for _qfpclass declaration... " >&6; }
45587 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45588 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
45589 $as_echo_n "(cached) " >&6
45590 else
45593 ac_ext=cpp
45594 ac_cpp='$CXXCPP $CPPFLAGS'
45595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45600 /* end confdefs.h. */
45601 #include <math.h>
45602 #ifdef HAVE_IEEEFP_H
45603 #include <ieeefp.h>
45604 #endif
45607 main ()
45609 _qfpclass(0);
45611 return 0;
45613 _ACEOF
45614 if ac_fn_cxx_try_compile "$LINENO"; then :
45615 glibcxx_cv_func__qfpclass_use=yes
45616 else
45617 glibcxx_cv_func__qfpclass_use=no
45619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45620 ac_ext=c
45621 ac_cpp='$CPP $CPPFLAGS'
45622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
45631 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
45633 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
45634 for ac_func in _qfpclass
45635 do :
45636 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
45637 if test "x$ac_cv_func__qfpclass" = x""yes; then :
45638 cat >>confdefs.h <<_ACEOF
45639 #define HAVE__QFPCLASS 1
45640 _ACEOF
45643 done
45652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
45653 $as_echo_n "checking for hypot declaration... " >&6; }
45654 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
45655 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
45656 $as_echo_n "(cached) " >&6
45657 else
45660 ac_ext=cpp
45661 ac_cpp='$CXXCPP $CPPFLAGS'
45662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45667 /* end confdefs.h. */
45668 #include <math.h>
45670 main ()
45672 hypot(0, 0);
45674 return 0;
45676 _ACEOF
45677 if ac_fn_cxx_try_compile "$LINENO"; then :
45678 glibcxx_cv_func_hypot_use=yes
45679 else
45680 glibcxx_cv_func_hypot_use=no
45682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45683 ac_ext=c
45684 ac_cpp='$CPP $CPPFLAGS'
45685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
45694 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
45696 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
45697 for ac_func in hypot
45698 do :
45699 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
45700 if test "x$ac_cv_func_hypot" = x""yes; then :
45701 cat >>confdefs.h <<_ACEOF
45702 #define HAVE_HYPOT 1
45703 _ACEOF
45706 done
45708 else
45710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
45711 $as_echo_n "checking for _hypot declaration... " >&6; }
45712 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
45713 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
45714 $as_echo_n "(cached) " >&6
45715 else
45718 ac_ext=cpp
45719 ac_cpp='$CXXCPP $CPPFLAGS'
45720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45725 /* end confdefs.h. */
45726 #include <math.h>
45728 main ()
45730 _hypot(0, 0);
45732 return 0;
45734 _ACEOF
45735 if ac_fn_cxx_try_compile "$LINENO"; then :
45736 glibcxx_cv_func__hypot_use=yes
45737 else
45738 glibcxx_cv_func__hypot_use=no
45740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45741 ac_ext=c
45742 ac_cpp='$CPP $CPPFLAGS'
45743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
45752 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
45754 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
45755 for ac_func in _hypot
45756 do :
45757 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
45758 if test "x$ac_cv_func__hypot" = x""yes; then :
45759 cat >>confdefs.h <<_ACEOF
45760 #define HAVE__HYPOT 1
45761 _ACEOF
45764 done
45773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
45774 $as_echo_n "checking for float trig functions... " >&6; }
45775 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
45776 $as_echo_n "(cached) " >&6
45777 else
45780 ac_ext=cpp
45781 ac_cpp='$CXXCPP $CPPFLAGS'
45782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45787 /* end confdefs.h. */
45788 #include <math.h>
45790 main ()
45792 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
45794 return 0;
45796 _ACEOF
45797 if ac_fn_cxx_try_compile "$LINENO"; then :
45798 glibcxx_cv_func_float_trig_use=yes
45799 else
45800 glibcxx_cv_func_float_trig_use=no
45802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45803 ac_ext=c
45804 ac_cpp='$CPP $CPPFLAGS'
45805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
45812 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
45813 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
45814 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
45815 do :
45816 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45817 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45818 eval as_val=\$$as_ac_var
45819 if test "x$as_val" = x""yes; then :
45820 cat >>confdefs.h <<_ACEOF
45821 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45822 _ACEOF
45825 done
45827 else
45828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
45829 $as_echo_n "checking for _float trig functions... " >&6; }
45830 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
45831 $as_echo_n "(cached) " >&6
45832 else
45835 ac_ext=cpp
45836 ac_cpp='$CXXCPP $CPPFLAGS'
45837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45842 /* end confdefs.h. */
45843 #include <math.h>
45845 main ()
45847 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
45849 return 0;
45851 _ACEOF
45852 if ac_fn_cxx_try_compile "$LINENO"; then :
45853 glibcxx_cv_func__float_trig_use=yes
45854 else
45855 glibcxx_cv_func__float_trig_use=no
45857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45858 ac_ext=c
45859 ac_cpp='$CPP $CPPFLAGS'
45860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
45867 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
45868 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
45869 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
45870 do :
45871 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45872 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45873 eval as_val=\$$as_ac_var
45874 if test "x$as_val" = x""yes; then :
45875 cat >>confdefs.h <<_ACEOF
45876 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45877 _ACEOF
45880 done
45889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
45890 $as_echo_n "checking for float round functions... " >&6; }
45891 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
45892 $as_echo_n "(cached) " >&6
45893 else
45896 ac_ext=cpp
45897 ac_cpp='$CXXCPP $CPPFLAGS'
45898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45903 /* end confdefs.h. */
45904 #include <math.h>
45906 main ()
45908 ceilf (0); floorf (0);
45910 return 0;
45912 _ACEOF
45913 if ac_fn_cxx_try_compile "$LINENO"; then :
45914 glibcxx_cv_func_float_round_use=yes
45915 else
45916 glibcxx_cv_func_float_round_use=no
45918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45919 ac_ext=c
45920 ac_cpp='$CPP $CPPFLAGS'
45921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
45928 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
45929 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
45930 for ac_func in ceilf floorf
45931 do :
45932 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45933 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45934 eval as_val=\$$as_ac_var
45935 if test "x$as_val" = x""yes; then :
45936 cat >>confdefs.h <<_ACEOF
45937 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45938 _ACEOF
45941 done
45943 else
45944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
45945 $as_echo_n "checking for _float round functions... " >&6; }
45946 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
45947 $as_echo_n "(cached) " >&6
45948 else
45951 ac_ext=cpp
45952 ac_cpp='$CXXCPP $CPPFLAGS'
45953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45958 /* end confdefs.h. */
45959 #include <math.h>
45961 main ()
45963 _ceilf (0); _floorf (0);
45965 return 0;
45967 _ACEOF
45968 if ac_fn_cxx_try_compile "$LINENO"; then :
45969 glibcxx_cv_func__float_round_use=yes
45970 else
45971 glibcxx_cv_func__float_round_use=no
45973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45974 ac_ext=c
45975 ac_cpp='$CPP $CPPFLAGS'
45976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
45983 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
45984 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
45985 for ac_func in _ceilf _floorf
45986 do :
45987 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45988 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45989 eval as_val=\$$as_ac_var
45990 if test "x$as_val" = x""yes; then :
45991 cat >>confdefs.h <<_ACEOF
45992 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45993 _ACEOF
45996 done
46006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
46007 $as_echo_n "checking for expf declaration... " >&6; }
46008 if test x${glibcxx_cv_func_expf_use+set} != xset; then
46009 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
46010 $as_echo_n "(cached) " >&6
46011 else
46014 ac_ext=cpp
46015 ac_cpp='$CXXCPP $CPPFLAGS'
46016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46021 /* end confdefs.h. */
46022 #include <math.h>
46023 #ifdef HAVE_IEEEFP_H
46024 #include <ieeefp.h>
46025 #endif
46028 main ()
46030 expf(0);
46032 return 0;
46034 _ACEOF
46035 if ac_fn_cxx_try_compile "$LINENO"; then :
46036 glibcxx_cv_func_expf_use=yes
46037 else
46038 glibcxx_cv_func_expf_use=no
46040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46041 ac_ext=c
46042 ac_cpp='$CPP $CPPFLAGS'
46043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46052 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46054 if test x$glibcxx_cv_func_expf_use = x"yes"; then
46055 for ac_func in expf
46056 do :
46057 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46058 if test "x$ac_cv_func_expf" = x""yes; then :
46059 cat >>confdefs.h <<_ACEOF
46060 #define HAVE_EXPF 1
46061 _ACEOF
46064 done
46066 else
46068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46069 $as_echo_n "checking for _expf declaration... " >&6; }
46070 if test x${glibcxx_cv_func__expf_use+set} != xset; then
46071 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46072 $as_echo_n "(cached) " >&6
46073 else
46076 ac_ext=cpp
46077 ac_cpp='$CXXCPP $CPPFLAGS'
46078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46083 /* end confdefs.h. */
46084 #include <math.h>
46085 #ifdef HAVE_IEEEFP_H
46086 #include <ieeefp.h>
46087 #endif
46090 main ()
46092 _expf(0);
46094 return 0;
46096 _ACEOF
46097 if ac_fn_cxx_try_compile "$LINENO"; then :
46098 glibcxx_cv_func__expf_use=yes
46099 else
46100 glibcxx_cv_func__expf_use=no
46102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46103 ac_ext=c
46104 ac_cpp='$CPP $CPPFLAGS'
46105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46114 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46116 if test x$glibcxx_cv_func__expf_use = x"yes"; then
46117 for ac_func in _expf
46118 do :
46119 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46120 if test "x$ac_cv_func__expf" = x""yes; then :
46121 cat >>confdefs.h <<_ACEOF
46122 #define HAVE__EXPF 1
46123 _ACEOF
46126 done
46135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46136 $as_echo_n "checking for isnanf declaration... " >&6; }
46137 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46138 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46139 $as_echo_n "(cached) " >&6
46140 else
46143 ac_ext=cpp
46144 ac_cpp='$CXXCPP $CPPFLAGS'
46145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46150 /* end confdefs.h. */
46151 #include <math.h>
46152 #ifdef HAVE_IEEEFP_H
46153 #include <ieeefp.h>
46154 #endif
46157 main ()
46159 isnanf(0);
46161 return 0;
46163 _ACEOF
46164 if ac_fn_cxx_try_compile "$LINENO"; then :
46165 glibcxx_cv_func_isnanf_use=yes
46166 else
46167 glibcxx_cv_func_isnanf_use=no
46169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46170 ac_ext=c
46171 ac_cpp='$CPP $CPPFLAGS'
46172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46181 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46183 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46184 for ac_func in isnanf
46185 do :
46186 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46187 if test "x$ac_cv_func_isnanf" = x""yes; then :
46188 cat >>confdefs.h <<_ACEOF
46189 #define HAVE_ISNANF 1
46190 _ACEOF
46193 done
46195 else
46197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
46198 $as_echo_n "checking for _isnanf declaration... " >&6; }
46199 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46200 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
46201 $as_echo_n "(cached) " >&6
46202 else
46205 ac_ext=cpp
46206 ac_cpp='$CXXCPP $CPPFLAGS'
46207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46212 /* end confdefs.h. */
46213 #include <math.h>
46214 #ifdef HAVE_IEEEFP_H
46215 #include <ieeefp.h>
46216 #endif
46219 main ()
46221 _isnanf(0);
46223 return 0;
46225 _ACEOF
46226 if ac_fn_cxx_try_compile "$LINENO"; then :
46227 glibcxx_cv_func__isnanf_use=yes
46228 else
46229 glibcxx_cv_func__isnanf_use=no
46231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46232 ac_ext=c
46233 ac_cpp='$CPP $CPPFLAGS'
46234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
46243 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
46245 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46246 for ac_func in _isnanf
46247 do :
46248 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
46249 if test "x$ac_cv_func__isnanf" = x""yes; then :
46250 cat >>confdefs.h <<_ACEOF
46251 #define HAVE__ISNANF 1
46252 _ACEOF
46255 done
46264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
46265 $as_echo_n "checking for isinff declaration... " >&6; }
46266 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46267 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
46268 $as_echo_n "(cached) " >&6
46269 else
46272 ac_ext=cpp
46273 ac_cpp='$CXXCPP $CPPFLAGS'
46274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46279 /* end confdefs.h. */
46280 #include <math.h>
46281 #ifdef HAVE_IEEEFP_H
46282 #include <ieeefp.h>
46283 #endif
46286 main ()
46288 isinff(0);
46290 return 0;
46292 _ACEOF
46293 if ac_fn_cxx_try_compile "$LINENO"; then :
46294 glibcxx_cv_func_isinff_use=yes
46295 else
46296 glibcxx_cv_func_isinff_use=no
46298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46299 ac_ext=c
46300 ac_cpp='$CPP $CPPFLAGS'
46301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
46310 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
46312 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
46313 for ac_func in isinff
46314 do :
46315 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
46316 if test "x$ac_cv_func_isinff" = x""yes; then :
46317 cat >>confdefs.h <<_ACEOF
46318 #define HAVE_ISINFF 1
46319 _ACEOF
46322 done
46324 else
46326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
46327 $as_echo_n "checking for _isinff declaration... " >&6; }
46328 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
46329 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
46330 $as_echo_n "(cached) " >&6
46331 else
46334 ac_ext=cpp
46335 ac_cpp='$CXXCPP $CPPFLAGS'
46336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46341 /* end confdefs.h. */
46342 #include <math.h>
46343 #ifdef HAVE_IEEEFP_H
46344 #include <ieeefp.h>
46345 #endif
46348 main ()
46350 _isinff(0);
46352 return 0;
46354 _ACEOF
46355 if ac_fn_cxx_try_compile "$LINENO"; then :
46356 glibcxx_cv_func__isinff_use=yes
46357 else
46358 glibcxx_cv_func__isinff_use=no
46360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46361 ac_ext=c
46362 ac_cpp='$CPP $CPPFLAGS'
46363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
46372 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
46374 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
46375 for ac_func in _isinff
46376 do :
46377 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
46378 if test "x$ac_cv_func__isinff" = x""yes; then :
46379 cat >>confdefs.h <<_ACEOF
46380 #define HAVE__ISINFF 1
46381 _ACEOF
46384 done
46393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
46394 $as_echo_n "checking for atan2f declaration... " >&6; }
46395 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
46396 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
46397 $as_echo_n "(cached) " >&6
46398 else
46401 ac_ext=cpp
46402 ac_cpp='$CXXCPP $CPPFLAGS'
46403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46408 /* end confdefs.h. */
46409 #include <math.h>
46411 main ()
46413 atan2f(0, 0);
46415 return 0;
46417 _ACEOF
46418 if ac_fn_cxx_try_compile "$LINENO"; then :
46419 glibcxx_cv_func_atan2f_use=yes
46420 else
46421 glibcxx_cv_func_atan2f_use=no
46423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46424 ac_ext=c
46425 ac_cpp='$CPP $CPPFLAGS'
46426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
46435 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
46437 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
46438 for ac_func in atan2f
46439 do :
46440 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
46441 if test "x$ac_cv_func_atan2f" = x""yes; then :
46442 cat >>confdefs.h <<_ACEOF
46443 #define HAVE_ATAN2F 1
46444 _ACEOF
46447 done
46449 else
46451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
46452 $as_echo_n "checking for _atan2f declaration... " >&6; }
46453 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
46454 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
46455 $as_echo_n "(cached) " >&6
46456 else
46459 ac_ext=cpp
46460 ac_cpp='$CXXCPP $CPPFLAGS'
46461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46466 /* end confdefs.h. */
46467 #include <math.h>
46469 main ()
46471 _atan2f(0, 0);
46473 return 0;
46475 _ACEOF
46476 if ac_fn_cxx_try_compile "$LINENO"; then :
46477 glibcxx_cv_func__atan2f_use=yes
46478 else
46479 glibcxx_cv_func__atan2f_use=no
46481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46482 ac_ext=c
46483 ac_cpp='$CPP $CPPFLAGS'
46484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
46493 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
46495 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
46496 for ac_func in _atan2f
46497 do :
46498 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
46499 if test "x$ac_cv_func__atan2f" = x""yes; then :
46500 cat >>confdefs.h <<_ACEOF
46501 #define HAVE__ATAN2F 1
46502 _ACEOF
46505 done
46514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
46515 $as_echo_n "checking for fabsf declaration... " >&6; }
46516 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
46517 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
46518 $as_echo_n "(cached) " >&6
46519 else
46522 ac_ext=cpp
46523 ac_cpp='$CXXCPP $CPPFLAGS'
46524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46529 /* end confdefs.h. */
46530 #include <math.h>
46531 #ifdef HAVE_IEEEFP_H
46532 #include <ieeefp.h>
46533 #endif
46536 main ()
46538 fabsf(0);
46540 return 0;
46542 _ACEOF
46543 if ac_fn_cxx_try_compile "$LINENO"; then :
46544 glibcxx_cv_func_fabsf_use=yes
46545 else
46546 glibcxx_cv_func_fabsf_use=no
46548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46549 ac_ext=c
46550 ac_cpp='$CPP $CPPFLAGS'
46551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
46560 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
46562 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
46563 for ac_func in fabsf
46564 do :
46565 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
46566 if test "x$ac_cv_func_fabsf" = x""yes; then :
46567 cat >>confdefs.h <<_ACEOF
46568 #define HAVE_FABSF 1
46569 _ACEOF
46572 done
46574 else
46576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
46577 $as_echo_n "checking for _fabsf declaration... " >&6; }
46578 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
46579 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
46580 $as_echo_n "(cached) " >&6
46581 else
46584 ac_ext=cpp
46585 ac_cpp='$CXXCPP $CPPFLAGS'
46586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46591 /* end confdefs.h. */
46592 #include <math.h>
46593 #ifdef HAVE_IEEEFP_H
46594 #include <ieeefp.h>
46595 #endif
46598 main ()
46600 _fabsf(0);
46602 return 0;
46604 _ACEOF
46605 if ac_fn_cxx_try_compile "$LINENO"; then :
46606 glibcxx_cv_func__fabsf_use=yes
46607 else
46608 glibcxx_cv_func__fabsf_use=no
46610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46611 ac_ext=c
46612 ac_cpp='$CPP $CPPFLAGS'
46613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
46622 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
46624 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
46625 for ac_func in _fabsf
46626 do :
46627 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
46628 if test "x$ac_cv_func__fabsf" = x""yes; then :
46629 cat >>confdefs.h <<_ACEOF
46630 #define HAVE__FABSF 1
46631 _ACEOF
46634 done
46643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
46644 $as_echo_n "checking for fmodf declaration... " >&6; }
46645 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
46646 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
46647 $as_echo_n "(cached) " >&6
46648 else
46651 ac_ext=cpp
46652 ac_cpp='$CXXCPP $CPPFLAGS'
46653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46658 /* end confdefs.h. */
46659 #include <math.h>
46661 main ()
46663 fmodf(0, 0);
46665 return 0;
46667 _ACEOF
46668 if ac_fn_cxx_try_compile "$LINENO"; then :
46669 glibcxx_cv_func_fmodf_use=yes
46670 else
46671 glibcxx_cv_func_fmodf_use=no
46673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46674 ac_ext=c
46675 ac_cpp='$CPP $CPPFLAGS'
46676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
46685 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
46687 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
46688 for ac_func in fmodf
46689 do :
46690 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
46691 if test "x$ac_cv_func_fmodf" = x""yes; then :
46692 cat >>confdefs.h <<_ACEOF
46693 #define HAVE_FMODF 1
46694 _ACEOF
46697 done
46699 else
46701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
46702 $as_echo_n "checking for _fmodf declaration... " >&6; }
46703 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
46704 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
46705 $as_echo_n "(cached) " >&6
46706 else
46709 ac_ext=cpp
46710 ac_cpp='$CXXCPP $CPPFLAGS'
46711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46716 /* end confdefs.h. */
46717 #include <math.h>
46719 main ()
46721 _fmodf(0, 0);
46723 return 0;
46725 _ACEOF
46726 if ac_fn_cxx_try_compile "$LINENO"; then :
46727 glibcxx_cv_func__fmodf_use=yes
46728 else
46729 glibcxx_cv_func__fmodf_use=no
46731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46732 ac_ext=c
46733 ac_cpp='$CPP $CPPFLAGS'
46734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
46743 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
46745 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
46746 for ac_func in _fmodf
46747 do :
46748 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
46749 if test "x$ac_cv_func__fmodf" = x""yes; then :
46750 cat >>confdefs.h <<_ACEOF
46751 #define HAVE__FMODF 1
46752 _ACEOF
46755 done
46764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
46765 $as_echo_n "checking for frexpf declaration... " >&6; }
46766 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
46767 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
46768 $as_echo_n "(cached) " >&6
46769 else
46772 ac_ext=cpp
46773 ac_cpp='$CXXCPP $CPPFLAGS'
46774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46779 /* end confdefs.h. */
46780 #include <math.h>
46782 main ()
46784 frexpf(0, 0);
46786 return 0;
46788 _ACEOF
46789 if ac_fn_cxx_try_compile "$LINENO"; then :
46790 glibcxx_cv_func_frexpf_use=yes
46791 else
46792 glibcxx_cv_func_frexpf_use=no
46794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46795 ac_ext=c
46796 ac_cpp='$CPP $CPPFLAGS'
46797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
46806 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
46808 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
46809 for ac_func in frexpf
46810 do :
46811 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
46812 if test "x$ac_cv_func_frexpf" = x""yes; then :
46813 cat >>confdefs.h <<_ACEOF
46814 #define HAVE_FREXPF 1
46815 _ACEOF
46818 done
46820 else
46822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
46823 $as_echo_n "checking for _frexpf declaration... " >&6; }
46824 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
46825 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
46826 $as_echo_n "(cached) " >&6
46827 else
46830 ac_ext=cpp
46831 ac_cpp='$CXXCPP $CPPFLAGS'
46832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46837 /* end confdefs.h. */
46838 #include <math.h>
46840 main ()
46842 _frexpf(0, 0);
46844 return 0;
46846 _ACEOF
46847 if ac_fn_cxx_try_compile "$LINENO"; then :
46848 glibcxx_cv_func__frexpf_use=yes
46849 else
46850 glibcxx_cv_func__frexpf_use=no
46852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46853 ac_ext=c
46854 ac_cpp='$CPP $CPPFLAGS'
46855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
46864 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
46866 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
46867 for ac_func in _frexpf
46868 do :
46869 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
46870 if test "x$ac_cv_func__frexpf" = x""yes; then :
46871 cat >>confdefs.h <<_ACEOF
46872 #define HAVE__FREXPF 1
46873 _ACEOF
46876 done
46885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
46886 $as_echo_n "checking for hypotf declaration... " >&6; }
46887 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
46888 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
46889 $as_echo_n "(cached) " >&6
46890 else
46893 ac_ext=cpp
46894 ac_cpp='$CXXCPP $CPPFLAGS'
46895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46900 /* end confdefs.h. */
46901 #include <math.h>
46903 main ()
46905 hypotf(0, 0);
46907 return 0;
46909 _ACEOF
46910 if ac_fn_cxx_try_compile "$LINENO"; then :
46911 glibcxx_cv_func_hypotf_use=yes
46912 else
46913 glibcxx_cv_func_hypotf_use=no
46915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46916 ac_ext=c
46917 ac_cpp='$CPP $CPPFLAGS'
46918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
46927 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
46929 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
46930 for ac_func in hypotf
46931 do :
46932 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
46933 if test "x$ac_cv_func_hypotf" = x""yes; then :
46934 cat >>confdefs.h <<_ACEOF
46935 #define HAVE_HYPOTF 1
46936 _ACEOF
46939 done
46941 else
46943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
46944 $as_echo_n "checking for _hypotf declaration... " >&6; }
46945 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
46946 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
46947 $as_echo_n "(cached) " >&6
46948 else
46951 ac_ext=cpp
46952 ac_cpp='$CXXCPP $CPPFLAGS'
46953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46958 /* end confdefs.h. */
46959 #include <math.h>
46961 main ()
46963 _hypotf(0, 0);
46965 return 0;
46967 _ACEOF
46968 if ac_fn_cxx_try_compile "$LINENO"; then :
46969 glibcxx_cv_func__hypotf_use=yes
46970 else
46971 glibcxx_cv_func__hypotf_use=no
46973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46974 ac_ext=c
46975 ac_cpp='$CPP $CPPFLAGS'
46976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
46985 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
46987 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
46988 for ac_func in _hypotf
46989 do :
46990 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
46991 if test "x$ac_cv_func__hypotf" = x""yes; then :
46992 cat >>confdefs.h <<_ACEOF
46993 #define HAVE__HYPOTF 1
46994 _ACEOF
46997 done
47006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
47007 $as_echo_n "checking for ldexpf declaration... " >&6; }
47008 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
47009 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
47010 $as_echo_n "(cached) " >&6
47011 else
47014 ac_ext=cpp
47015 ac_cpp='$CXXCPP $CPPFLAGS'
47016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47021 /* end confdefs.h. */
47022 #include <math.h>
47024 main ()
47026 ldexpf(0, 0);
47028 return 0;
47030 _ACEOF
47031 if ac_fn_cxx_try_compile "$LINENO"; then :
47032 glibcxx_cv_func_ldexpf_use=yes
47033 else
47034 glibcxx_cv_func_ldexpf_use=no
47036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47037 ac_ext=c
47038 ac_cpp='$CPP $CPPFLAGS'
47039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47048 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47050 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47051 for ac_func in ldexpf
47052 do :
47053 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47054 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47055 cat >>confdefs.h <<_ACEOF
47056 #define HAVE_LDEXPF 1
47057 _ACEOF
47060 done
47062 else
47064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47065 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47066 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47067 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47068 $as_echo_n "(cached) " >&6
47069 else
47072 ac_ext=cpp
47073 ac_cpp='$CXXCPP $CPPFLAGS'
47074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47079 /* end confdefs.h. */
47080 #include <math.h>
47082 main ()
47084 _ldexpf(0, 0);
47086 return 0;
47088 _ACEOF
47089 if ac_fn_cxx_try_compile "$LINENO"; then :
47090 glibcxx_cv_func__ldexpf_use=yes
47091 else
47092 glibcxx_cv_func__ldexpf_use=no
47094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47095 ac_ext=c
47096 ac_cpp='$CPP $CPPFLAGS'
47097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47106 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47108 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47109 for ac_func in _ldexpf
47110 do :
47111 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47112 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47113 cat >>confdefs.h <<_ACEOF
47114 #define HAVE__LDEXPF 1
47115 _ACEOF
47118 done
47127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47128 $as_echo_n "checking for logf declaration... " >&6; }
47129 if test x${glibcxx_cv_func_logf_use+set} != xset; then
47130 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47131 $as_echo_n "(cached) " >&6
47132 else
47135 ac_ext=cpp
47136 ac_cpp='$CXXCPP $CPPFLAGS'
47137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47142 /* end confdefs.h. */
47143 #include <math.h>
47144 #ifdef HAVE_IEEEFP_H
47145 #include <ieeefp.h>
47146 #endif
47149 main ()
47151 logf(0);
47153 return 0;
47155 _ACEOF
47156 if ac_fn_cxx_try_compile "$LINENO"; then :
47157 glibcxx_cv_func_logf_use=yes
47158 else
47159 glibcxx_cv_func_logf_use=no
47161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47162 ac_ext=c
47163 ac_cpp='$CPP $CPPFLAGS'
47164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47173 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47175 if test x$glibcxx_cv_func_logf_use = x"yes"; then
47176 for ac_func in logf
47177 do :
47178 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47179 if test "x$ac_cv_func_logf" = x""yes; then :
47180 cat >>confdefs.h <<_ACEOF
47181 #define HAVE_LOGF 1
47182 _ACEOF
47185 done
47187 else
47189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
47190 $as_echo_n "checking for _logf declaration... " >&6; }
47191 if test x${glibcxx_cv_func__logf_use+set} != xset; then
47192 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
47193 $as_echo_n "(cached) " >&6
47194 else
47197 ac_ext=cpp
47198 ac_cpp='$CXXCPP $CPPFLAGS'
47199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47204 /* end confdefs.h. */
47205 #include <math.h>
47206 #ifdef HAVE_IEEEFP_H
47207 #include <ieeefp.h>
47208 #endif
47211 main ()
47213 _logf(0);
47215 return 0;
47217 _ACEOF
47218 if ac_fn_cxx_try_compile "$LINENO"; then :
47219 glibcxx_cv_func__logf_use=yes
47220 else
47221 glibcxx_cv_func__logf_use=no
47223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47224 ac_ext=c
47225 ac_cpp='$CPP $CPPFLAGS'
47226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
47235 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
47237 if test x$glibcxx_cv_func__logf_use = x"yes"; then
47238 for ac_func in _logf
47239 do :
47240 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
47241 if test "x$ac_cv_func__logf" = x""yes; then :
47242 cat >>confdefs.h <<_ACEOF
47243 #define HAVE__LOGF 1
47244 _ACEOF
47247 done
47256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
47257 $as_echo_n "checking for log10f declaration... " >&6; }
47258 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
47259 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
47260 $as_echo_n "(cached) " >&6
47261 else
47264 ac_ext=cpp
47265 ac_cpp='$CXXCPP $CPPFLAGS'
47266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47271 /* end confdefs.h. */
47272 #include <math.h>
47273 #ifdef HAVE_IEEEFP_H
47274 #include <ieeefp.h>
47275 #endif
47278 main ()
47280 log10f(0);
47282 return 0;
47284 _ACEOF
47285 if ac_fn_cxx_try_compile "$LINENO"; then :
47286 glibcxx_cv_func_log10f_use=yes
47287 else
47288 glibcxx_cv_func_log10f_use=no
47290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47291 ac_ext=c
47292 ac_cpp='$CPP $CPPFLAGS'
47293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
47302 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
47304 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
47305 for ac_func in log10f
47306 do :
47307 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
47308 if test "x$ac_cv_func_log10f" = x""yes; then :
47309 cat >>confdefs.h <<_ACEOF
47310 #define HAVE_LOG10F 1
47311 _ACEOF
47314 done
47316 else
47318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
47319 $as_echo_n "checking for _log10f declaration... " >&6; }
47320 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
47321 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
47322 $as_echo_n "(cached) " >&6
47323 else
47326 ac_ext=cpp
47327 ac_cpp='$CXXCPP $CPPFLAGS'
47328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47333 /* end confdefs.h. */
47334 #include <math.h>
47335 #ifdef HAVE_IEEEFP_H
47336 #include <ieeefp.h>
47337 #endif
47340 main ()
47342 _log10f(0);
47344 return 0;
47346 _ACEOF
47347 if ac_fn_cxx_try_compile "$LINENO"; then :
47348 glibcxx_cv_func__log10f_use=yes
47349 else
47350 glibcxx_cv_func__log10f_use=no
47352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47353 ac_ext=c
47354 ac_cpp='$CPP $CPPFLAGS'
47355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
47364 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
47366 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
47367 for ac_func in _log10f
47368 do :
47369 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
47370 if test "x$ac_cv_func__log10f" = x""yes; then :
47371 cat >>confdefs.h <<_ACEOF
47372 #define HAVE__LOG10F 1
47373 _ACEOF
47376 done
47385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
47386 $as_echo_n "checking for modff declaration... " >&6; }
47387 if test x${glibcxx_cv_func_modff_use+set} != xset; then
47388 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
47389 $as_echo_n "(cached) " >&6
47390 else
47393 ac_ext=cpp
47394 ac_cpp='$CXXCPP $CPPFLAGS'
47395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47400 /* end confdefs.h. */
47401 #include <math.h>
47403 main ()
47405 modff(0, 0);
47407 return 0;
47409 _ACEOF
47410 if ac_fn_cxx_try_compile "$LINENO"; then :
47411 glibcxx_cv_func_modff_use=yes
47412 else
47413 glibcxx_cv_func_modff_use=no
47415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47416 ac_ext=c
47417 ac_cpp='$CPP $CPPFLAGS'
47418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
47427 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
47429 if test x$glibcxx_cv_func_modff_use = x"yes"; then
47430 for ac_func in modff
47431 do :
47432 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
47433 if test "x$ac_cv_func_modff" = x""yes; then :
47434 cat >>confdefs.h <<_ACEOF
47435 #define HAVE_MODFF 1
47436 _ACEOF
47439 done
47441 else
47443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
47444 $as_echo_n "checking for _modff declaration... " >&6; }
47445 if test x${glibcxx_cv_func__modff_use+set} != xset; then
47446 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
47447 $as_echo_n "(cached) " >&6
47448 else
47451 ac_ext=cpp
47452 ac_cpp='$CXXCPP $CPPFLAGS'
47453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47458 /* end confdefs.h. */
47459 #include <math.h>
47461 main ()
47463 _modff(0, 0);
47465 return 0;
47467 _ACEOF
47468 if ac_fn_cxx_try_compile "$LINENO"; then :
47469 glibcxx_cv_func__modff_use=yes
47470 else
47471 glibcxx_cv_func__modff_use=no
47473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47474 ac_ext=c
47475 ac_cpp='$CPP $CPPFLAGS'
47476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
47485 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
47487 if test x$glibcxx_cv_func__modff_use = x"yes"; then
47488 for ac_func in _modff
47489 do :
47490 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
47491 if test "x$ac_cv_func__modff" = x""yes; then :
47492 cat >>confdefs.h <<_ACEOF
47493 #define HAVE__MODFF 1
47494 _ACEOF
47497 done
47506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
47507 $as_echo_n "checking for modf declaration... " >&6; }
47508 if test x${glibcxx_cv_func_modf_use+set} != xset; then
47509 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
47510 $as_echo_n "(cached) " >&6
47511 else
47514 ac_ext=cpp
47515 ac_cpp='$CXXCPP $CPPFLAGS'
47516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47521 /* end confdefs.h. */
47522 #include <math.h>
47524 main ()
47526 modf(0, 0);
47528 return 0;
47530 _ACEOF
47531 if ac_fn_cxx_try_compile "$LINENO"; then :
47532 glibcxx_cv_func_modf_use=yes
47533 else
47534 glibcxx_cv_func_modf_use=no
47536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47537 ac_ext=c
47538 ac_cpp='$CPP $CPPFLAGS'
47539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
47548 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
47550 if test x$glibcxx_cv_func_modf_use = x"yes"; then
47551 for ac_func in modf
47552 do :
47553 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
47554 if test "x$ac_cv_func_modf" = x""yes; then :
47555 cat >>confdefs.h <<_ACEOF
47556 #define HAVE_MODF 1
47557 _ACEOF
47560 done
47562 else
47564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
47565 $as_echo_n "checking for _modf declaration... " >&6; }
47566 if test x${glibcxx_cv_func__modf_use+set} != xset; then
47567 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
47568 $as_echo_n "(cached) " >&6
47569 else
47572 ac_ext=cpp
47573 ac_cpp='$CXXCPP $CPPFLAGS'
47574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47579 /* end confdefs.h. */
47580 #include <math.h>
47582 main ()
47584 _modf(0, 0);
47586 return 0;
47588 _ACEOF
47589 if ac_fn_cxx_try_compile "$LINENO"; then :
47590 glibcxx_cv_func__modf_use=yes
47591 else
47592 glibcxx_cv_func__modf_use=no
47594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47595 ac_ext=c
47596 ac_cpp='$CPP $CPPFLAGS'
47597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
47606 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
47608 if test x$glibcxx_cv_func__modf_use = x"yes"; then
47609 for ac_func in _modf
47610 do :
47611 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
47612 if test "x$ac_cv_func__modf" = x""yes; then :
47613 cat >>confdefs.h <<_ACEOF
47614 #define HAVE__MODF 1
47615 _ACEOF
47618 done
47627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
47628 $as_echo_n "checking for powf declaration... " >&6; }
47629 if test x${glibcxx_cv_func_powf_use+set} != xset; then
47630 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
47631 $as_echo_n "(cached) " >&6
47632 else
47635 ac_ext=cpp
47636 ac_cpp='$CXXCPP $CPPFLAGS'
47637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47642 /* end confdefs.h. */
47643 #include <math.h>
47645 main ()
47647 powf(0, 0);
47649 return 0;
47651 _ACEOF
47652 if ac_fn_cxx_try_compile "$LINENO"; then :
47653 glibcxx_cv_func_powf_use=yes
47654 else
47655 glibcxx_cv_func_powf_use=no
47657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47658 ac_ext=c
47659 ac_cpp='$CPP $CPPFLAGS'
47660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
47669 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
47671 if test x$glibcxx_cv_func_powf_use = x"yes"; then
47672 for ac_func in powf
47673 do :
47674 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
47675 if test "x$ac_cv_func_powf" = x""yes; then :
47676 cat >>confdefs.h <<_ACEOF
47677 #define HAVE_POWF 1
47678 _ACEOF
47681 done
47683 else
47685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
47686 $as_echo_n "checking for _powf declaration... " >&6; }
47687 if test x${glibcxx_cv_func__powf_use+set} != xset; then
47688 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
47689 $as_echo_n "(cached) " >&6
47690 else
47693 ac_ext=cpp
47694 ac_cpp='$CXXCPP $CPPFLAGS'
47695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47700 /* end confdefs.h. */
47701 #include <math.h>
47703 main ()
47705 _powf(0, 0);
47707 return 0;
47709 _ACEOF
47710 if ac_fn_cxx_try_compile "$LINENO"; then :
47711 glibcxx_cv_func__powf_use=yes
47712 else
47713 glibcxx_cv_func__powf_use=no
47715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47716 ac_ext=c
47717 ac_cpp='$CPP $CPPFLAGS'
47718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
47727 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
47729 if test x$glibcxx_cv_func__powf_use = x"yes"; then
47730 for ac_func in _powf
47731 do :
47732 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
47733 if test "x$ac_cv_func__powf" = x""yes; then :
47734 cat >>confdefs.h <<_ACEOF
47735 #define HAVE__POWF 1
47736 _ACEOF
47739 done
47748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
47749 $as_echo_n "checking for sqrtf declaration... " >&6; }
47750 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
47751 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
47752 $as_echo_n "(cached) " >&6
47753 else
47756 ac_ext=cpp
47757 ac_cpp='$CXXCPP $CPPFLAGS'
47758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47763 /* end confdefs.h. */
47764 #include <math.h>
47765 #ifdef HAVE_IEEEFP_H
47766 #include <ieeefp.h>
47767 #endif
47770 main ()
47772 sqrtf(0);
47774 return 0;
47776 _ACEOF
47777 if ac_fn_cxx_try_compile "$LINENO"; then :
47778 glibcxx_cv_func_sqrtf_use=yes
47779 else
47780 glibcxx_cv_func_sqrtf_use=no
47782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47783 ac_ext=c
47784 ac_cpp='$CPP $CPPFLAGS'
47785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
47794 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
47796 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
47797 for ac_func in sqrtf
47798 do :
47799 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
47800 if test "x$ac_cv_func_sqrtf" = x""yes; then :
47801 cat >>confdefs.h <<_ACEOF
47802 #define HAVE_SQRTF 1
47803 _ACEOF
47806 done
47808 else
47810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
47811 $as_echo_n "checking for _sqrtf declaration... " >&6; }
47812 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
47813 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
47814 $as_echo_n "(cached) " >&6
47815 else
47818 ac_ext=cpp
47819 ac_cpp='$CXXCPP $CPPFLAGS'
47820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47825 /* end confdefs.h. */
47826 #include <math.h>
47827 #ifdef HAVE_IEEEFP_H
47828 #include <ieeefp.h>
47829 #endif
47832 main ()
47834 _sqrtf(0);
47836 return 0;
47838 _ACEOF
47839 if ac_fn_cxx_try_compile "$LINENO"; then :
47840 glibcxx_cv_func__sqrtf_use=yes
47841 else
47842 glibcxx_cv_func__sqrtf_use=no
47844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47845 ac_ext=c
47846 ac_cpp='$CPP $CPPFLAGS'
47847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
47856 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
47858 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
47859 for ac_func in _sqrtf
47860 do :
47861 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
47862 if test "x$ac_cv_func__sqrtf" = x""yes; then :
47863 cat >>confdefs.h <<_ACEOF
47864 #define HAVE__SQRTF 1
47865 _ACEOF
47868 done
47877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
47878 $as_echo_n "checking for sincosf declaration... " >&6; }
47879 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
47880 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
47881 $as_echo_n "(cached) " >&6
47882 else
47885 ac_ext=cpp
47886 ac_cpp='$CXXCPP $CPPFLAGS'
47887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47892 /* end confdefs.h. */
47893 #include <math.h>
47895 main ()
47897 sincosf(0, 0, 0);
47899 return 0;
47901 _ACEOF
47902 if ac_fn_cxx_try_compile "$LINENO"; then :
47903 glibcxx_cv_func_sincosf_use=yes
47904 else
47905 glibcxx_cv_func_sincosf_use=no
47907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47908 ac_ext=c
47909 ac_cpp='$CPP $CPPFLAGS'
47910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
47919 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
47921 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
47922 for ac_func in sincosf
47923 do :
47924 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
47925 if test "x$ac_cv_func_sincosf" = x""yes; then :
47926 cat >>confdefs.h <<_ACEOF
47927 #define HAVE_SINCOSF 1
47928 _ACEOF
47931 done
47933 else
47935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
47936 $as_echo_n "checking for _sincosf declaration... " >&6; }
47937 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
47938 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
47939 $as_echo_n "(cached) " >&6
47940 else
47943 ac_ext=cpp
47944 ac_cpp='$CXXCPP $CPPFLAGS'
47945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47950 /* end confdefs.h. */
47951 #include <math.h>
47953 main ()
47955 _sincosf(0, 0, 0);
47957 return 0;
47959 _ACEOF
47960 if ac_fn_cxx_try_compile "$LINENO"; then :
47961 glibcxx_cv_func__sincosf_use=yes
47962 else
47963 glibcxx_cv_func__sincosf_use=no
47965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47966 ac_ext=c
47967 ac_cpp='$CPP $CPPFLAGS'
47968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
47977 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
47979 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
47980 for ac_func in _sincosf
47981 do :
47982 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
47983 if test "x$ac_cv_func__sincosf" = x""yes; then :
47984 cat >>confdefs.h <<_ACEOF
47985 #define HAVE__SINCOSF 1
47986 _ACEOF
47989 done
47998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
47999 $as_echo_n "checking for finitef declaration... " >&6; }
48000 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
48001 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
48002 $as_echo_n "(cached) " >&6
48003 else
48006 ac_ext=cpp
48007 ac_cpp='$CXXCPP $CPPFLAGS'
48008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48013 /* end confdefs.h. */
48014 #include <math.h>
48015 #ifdef HAVE_IEEEFP_H
48016 #include <ieeefp.h>
48017 #endif
48020 main ()
48022 finitef(0);
48024 return 0;
48026 _ACEOF
48027 if ac_fn_cxx_try_compile "$LINENO"; then :
48028 glibcxx_cv_func_finitef_use=yes
48029 else
48030 glibcxx_cv_func_finitef_use=no
48032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48033 ac_ext=c
48034 ac_cpp='$CPP $CPPFLAGS'
48035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48044 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48046 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48047 for ac_func in finitef
48048 do :
48049 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48050 if test "x$ac_cv_func_finitef" = x""yes; then :
48051 cat >>confdefs.h <<_ACEOF
48052 #define HAVE_FINITEF 1
48053 _ACEOF
48056 done
48058 else
48060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48061 $as_echo_n "checking for _finitef declaration... " >&6; }
48062 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48063 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48064 $as_echo_n "(cached) " >&6
48065 else
48068 ac_ext=cpp
48069 ac_cpp='$CXXCPP $CPPFLAGS'
48070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48075 /* end confdefs.h. */
48076 #include <math.h>
48077 #ifdef HAVE_IEEEFP_H
48078 #include <ieeefp.h>
48079 #endif
48082 main ()
48084 _finitef(0);
48086 return 0;
48088 _ACEOF
48089 if ac_fn_cxx_try_compile "$LINENO"; then :
48090 glibcxx_cv_func__finitef_use=yes
48091 else
48092 glibcxx_cv_func__finitef_use=no
48094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48095 ac_ext=c
48096 ac_cpp='$CPP $CPPFLAGS'
48097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48106 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48108 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48109 for ac_func in _finitef
48110 do :
48111 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48112 if test "x$ac_cv_func__finitef" = x""yes; then :
48113 cat >>confdefs.h <<_ACEOF
48114 #define HAVE__FINITEF 1
48115 _ACEOF
48118 done
48127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48128 $as_echo_n "checking for long double trig functions... " >&6; }
48129 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48130 $as_echo_n "(cached) " >&6
48131 else
48134 ac_ext=cpp
48135 ac_cpp='$CXXCPP $CPPFLAGS'
48136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48141 /* end confdefs.h. */
48142 #include <math.h>
48144 main ()
48146 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48148 return 0;
48150 _ACEOF
48151 if ac_fn_cxx_try_compile "$LINENO"; then :
48152 glibcxx_cv_func_long_double_trig_use=yes
48153 else
48154 glibcxx_cv_func_long_double_trig_use=no
48156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48157 ac_ext=c
48158 ac_cpp='$CPP $CPPFLAGS'
48159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48166 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48167 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48168 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48169 do :
48170 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48171 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48172 eval as_val=\$$as_ac_var
48173 if test "x$as_val" = x""yes; then :
48174 cat >>confdefs.h <<_ACEOF
48175 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48176 _ACEOF
48179 done
48181 else
48182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48183 $as_echo_n "checking for _long double trig functions... " >&6; }
48184 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
48185 $as_echo_n "(cached) " >&6
48186 else
48189 ac_ext=cpp
48190 ac_cpp='$CXXCPP $CPPFLAGS'
48191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48196 /* end confdefs.h. */
48197 #include <math.h>
48199 main ()
48201 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
48203 return 0;
48205 _ACEOF
48206 if ac_fn_cxx_try_compile "$LINENO"; then :
48207 glibcxx_cv_func__long_double_trig_use=yes
48208 else
48209 glibcxx_cv_func__long_double_trig_use=no
48211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48212 ac_ext=c
48213 ac_cpp='$CPP $CPPFLAGS'
48214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
48221 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
48222 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
48223 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
48224 do :
48225 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48226 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48227 eval as_val=\$$as_ac_var
48228 if test "x$as_val" = x""yes; then :
48229 cat >>confdefs.h <<_ACEOF
48230 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48231 _ACEOF
48234 done
48243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
48244 $as_echo_n "checking for long double round functions... " >&6; }
48245 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
48246 $as_echo_n "(cached) " >&6
48247 else
48250 ac_ext=cpp
48251 ac_cpp='$CXXCPP $CPPFLAGS'
48252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48257 /* end confdefs.h. */
48258 #include <math.h>
48260 main ()
48262 ceill (0); floorl (0);
48264 return 0;
48266 _ACEOF
48267 if ac_fn_cxx_try_compile "$LINENO"; then :
48268 glibcxx_cv_func_long_double_round_use=yes
48269 else
48270 glibcxx_cv_func_long_double_round_use=no
48272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48273 ac_ext=c
48274 ac_cpp='$CPP $CPPFLAGS'
48275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
48282 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
48283 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
48284 for ac_func in ceill floorl
48285 do :
48286 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48287 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48288 eval as_val=\$$as_ac_var
48289 if test "x$as_val" = x""yes; then :
48290 cat >>confdefs.h <<_ACEOF
48291 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48292 _ACEOF
48295 done
48297 else
48298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
48299 $as_echo_n "checking for _long double round functions... " >&6; }
48300 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
48301 $as_echo_n "(cached) " >&6
48302 else
48305 ac_ext=cpp
48306 ac_cpp='$CXXCPP $CPPFLAGS'
48307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48312 /* end confdefs.h. */
48313 #include <math.h>
48315 main ()
48317 _ceill (0); _floorl (0);
48319 return 0;
48321 _ACEOF
48322 if ac_fn_cxx_try_compile "$LINENO"; then :
48323 glibcxx_cv_func__long_double_round_use=yes
48324 else
48325 glibcxx_cv_func__long_double_round_use=no
48327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48328 ac_ext=c
48329 ac_cpp='$CPP $CPPFLAGS'
48330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
48337 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
48338 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48339 for ac_func in _ceill _floorl
48340 do :
48341 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48342 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48343 eval as_val=\$$as_ac_var
48344 if test "x$as_val" = x""yes; then :
48345 cat >>confdefs.h <<_ACEOF
48346 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48347 _ACEOF
48350 done
48360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
48361 $as_echo_n "checking for isnanl declaration... " >&6; }
48362 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
48363 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
48364 $as_echo_n "(cached) " >&6
48365 else
48368 ac_ext=cpp
48369 ac_cpp='$CXXCPP $CPPFLAGS'
48370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48375 /* end confdefs.h. */
48376 #include <math.h>
48377 #ifdef HAVE_IEEEFP_H
48378 #include <ieeefp.h>
48379 #endif
48382 main ()
48384 isnanl(0);
48386 return 0;
48388 _ACEOF
48389 if ac_fn_cxx_try_compile "$LINENO"; then :
48390 glibcxx_cv_func_isnanl_use=yes
48391 else
48392 glibcxx_cv_func_isnanl_use=no
48394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48395 ac_ext=c
48396 ac_cpp='$CPP $CPPFLAGS'
48397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
48406 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
48408 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
48409 for ac_func in isnanl
48410 do :
48411 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
48412 if test "x$ac_cv_func_isnanl" = x""yes; then :
48413 cat >>confdefs.h <<_ACEOF
48414 #define HAVE_ISNANL 1
48415 _ACEOF
48418 done
48420 else
48422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
48423 $as_echo_n "checking for _isnanl declaration... " >&6; }
48424 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
48425 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
48426 $as_echo_n "(cached) " >&6
48427 else
48430 ac_ext=cpp
48431 ac_cpp='$CXXCPP $CPPFLAGS'
48432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48437 /* end confdefs.h. */
48438 #include <math.h>
48439 #ifdef HAVE_IEEEFP_H
48440 #include <ieeefp.h>
48441 #endif
48444 main ()
48446 _isnanl(0);
48448 return 0;
48450 _ACEOF
48451 if ac_fn_cxx_try_compile "$LINENO"; then :
48452 glibcxx_cv_func__isnanl_use=yes
48453 else
48454 glibcxx_cv_func__isnanl_use=no
48456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48457 ac_ext=c
48458 ac_cpp='$CPP $CPPFLAGS'
48459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
48468 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
48470 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
48471 for ac_func in _isnanl
48472 do :
48473 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
48474 if test "x$ac_cv_func__isnanl" = x""yes; then :
48475 cat >>confdefs.h <<_ACEOF
48476 #define HAVE__ISNANL 1
48477 _ACEOF
48480 done
48489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
48490 $as_echo_n "checking for isinfl declaration... " >&6; }
48491 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
48492 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
48493 $as_echo_n "(cached) " >&6
48494 else
48497 ac_ext=cpp
48498 ac_cpp='$CXXCPP $CPPFLAGS'
48499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48504 /* end confdefs.h. */
48505 #include <math.h>
48506 #ifdef HAVE_IEEEFP_H
48507 #include <ieeefp.h>
48508 #endif
48511 main ()
48513 isinfl(0);
48515 return 0;
48517 _ACEOF
48518 if ac_fn_cxx_try_compile "$LINENO"; then :
48519 glibcxx_cv_func_isinfl_use=yes
48520 else
48521 glibcxx_cv_func_isinfl_use=no
48523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48524 ac_ext=c
48525 ac_cpp='$CPP $CPPFLAGS'
48526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
48535 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
48537 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
48538 for ac_func in isinfl
48539 do :
48540 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
48541 if test "x$ac_cv_func_isinfl" = x""yes; then :
48542 cat >>confdefs.h <<_ACEOF
48543 #define HAVE_ISINFL 1
48544 _ACEOF
48547 done
48549 else
48551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
48552 $as_echo_n "checking for _isinfl declaration... " >&6; }
48553 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
48554 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
48555 $as_echo_n "(cached) " >&6
48556 else
48559 ac_ext=cpp
48560 ac_cpp='$CXXCPP $CPPFLAGS'
48561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48566 /* end confdefs.h. */
48567 #include <math.h>
48568 #ifdef HAVE_IEEEFP_H
48569 #include <ieeefp.h>
48570 #endif
48573 main ()
48575 _isinfl(0);
48577 return 0;
48579 _ACEOF
48580 if ac_fn_cxx_try_compile "$LINENO"; then :
48581 glibcxx_cv_func__isinfl_use=yes
48582 else
48583 glibcxx_cv_func__isinfl_use=no
48585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48586 ac_ext=c
48587 ac_cpp='$CPP $CPPFLAGS'
48588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
48597 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
48599 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
48600 for ac_func in _isinfl
48601 do :
48602 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
48603 if test "x$ac_cv_func__isinfl" = x""yes; then :
48604 cat >>confdefs.h <<_ACEOF
48605 #define HAVE__ISINFL 1
48606 _ACEOF
48609 done
48618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
48619 $as_echo_n "checking for atan2l declaration... " >&6; }
48620 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
48621 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
48622 $as_echo_n "(cached) " >&6
48623 else
48626 ac_ext=cpp
48627 ac_cpp='$CXXCPP $CPPFLAGS'
48628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48633 /* end confdefs.h. */
48634 #include <math.h>
48636 main ()
48638 atan2l(0, 0);
48640 return 0;
48642 _ACEOF
48643 if ac_fn_cxx_try_compile "$LINENO"; then :
48644 glibcxx_cv_func_atan2l_use=yes
48645 else
48646 glibcxx_cv_func_atan2l_use=no
48648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48649 ac_ext=c
48650 ac_cpp='$CPP $CPPFLAGS'
48651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
48660 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
48662 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
48663 for ac_func in atan2l
48664 do :
48665 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
48666 if test "x$ac_cv_func_atan2l" = x""yes; then :
48667 cat >>confdefs.h <<_ACEOF
48668 #define HAVE_ATAN2L 1
48669 _ACEOF
48672 done
48674 else
48676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
48677 $as_echo_n "checking for _atan2l declaration... " >&6; }
48678 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
48679 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
48680 $as_echo_n "(cached) " >&6
48681 else
48684 ac_ext=cpp
48685 ac_cpp='$CXXCPP $CPPFLAGS'
48686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48691 /* end confdefs.h. */
48692 #include <math.h>
48694 main ()
48696 _atan2l(0, 0);
48698 return 0;
48700 _ACEOF
48701 if ac_fn_cxx_try_compile "$LINENO"; then :
48702 glibcxx_cv_func__atan2l_use=yes
48703 else
48704 glibcxx_cv_func__atan2l_use=no
48706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48707 ac_ext=c
48708 ac_cpp='$CPP $CPPFLAGS'
48709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
48718 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
48720 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
48721 for ac_func in _atan2l
48722 do :
48723 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
48724 if test "x$ac_cv_func__atan2l" = x""yes; then :
48725 cat >>confdefs.h <<_ACEOF
48726 #define HAVE__ATAN2L 1
48727 _ACEOF
48730 done
48739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
48740 $as_echo_n "checking for expl declaration... " >&6; }
48741 if test x${glibcxx_cv_func_expl_use+set} != xset; then
48742 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
48743 $as_echo_n "(cached) " >&6
48744 else
48747 ac_ext=cpp
48748 ac_cpp='$CXXCPP $CPPFLAGS'
48749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48754 /* end confdefs.h. */
48755 #include <math.h>
48756 #ifdef HAVE_IEEEFP_H
48757 #include <ieeefp.h>
48758 #endif
48761 main ()
48763 expl(0);
48765 return 0;
48767 _ACEOF
48768 if ac_fn_cxx_try_compile "$LINENO"; then :
48769 glibcxx_cv_func_expl_use=yes
48770 else
48771 glibcxx_cv_func_expl_use=no
48773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48774 ac_ext=c
48775 ac_cpp='$CPP $CPPFLAGS'
48776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
48785 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
48787 if test x$glibcxx_cv_func_expl_use = x"yes"; then
48788 for ac_func in expl
48789 do :
48790 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
48791 if test "x$ac_cv_func_expl" = x""yes; then :
48792 cat >>confdefs.h <<_ACEOF
48793 #define HAVE_EXPL 1
48794 _ACEOF
48797 done
48799 else
48801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
48802 $as_echo_n "checking for _expl declaration... " >&6; }
48803 if test x${glibcxx_cv_func__expl_use+set} != xset; then
48804 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
48805 $as_echo_n "(cached) " >&6
48806 else
48809 ac_ext=cpp
48810 ac_cpp='$CXXCPP $CPPFLAGS'
48811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48816 /* end confdefs.h. */
48817 #include <math.h>
48818 #ifdef HAVE_IEEEFP_H
48819 #include <ieeefp.h>
48820 #endif
48823 main ()
48825 _expl(0);
48827 return 0;
48829 _ACEOF
48830 if ac_fn_cxx_try_compile "$LINENO"; then :
48831 glibcxx_cv_func__expl_use=yes
48832 else
48833 glibcxx_cv_func__expl_use=no
48835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48836 ac_ext=c
48837 ac_cpp='$CPP $CPPFLAGS'
48838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
48847 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
48849 if test x$glibcxx_cv_func__expl_use = x"yes"; then
48850 for ac_func in _expl
48851 do :
48852 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
48853 if test "x$ac_cv_func__expl" = x""yes; then :
48854 cat >>confdefs.h <<_ACEOF
48855 #define HAVE__EXPL 1
48856 _ACEOF
48859 done
48868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
48869 $as_echo_n "checking for fabsl declaration... " >&6; }
48870 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
48871 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
48872 $as_echo_n "(cached) " >&6
48873 else
48876 ac_ext=cpp
48877 ac_cpp='$CXXCPP $CPPFLAGS'
48878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48883 /* end confdefs.h. */
48884 #include <math.h>
48885 #ifdef HAVE_IEEEFP_H
48886 #include <ieeefp.h>
48887 #endif
48890 main ()
48892 fabsl(0);
48894 return 0;
48896 _ACEOF
48897 if ac_fn_cxx_try_compile "$LINENO"; then :
48898 glibcxx_cv_func_fabsl_use=yes
48899 else
48900 glibcxx_cv_func_fabsl_use=no
48902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48903 ac_ext=c
48904 ac_cpp='$CPP $CPPFLAGS'
48905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
48914 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
48916 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
48917 for ac_func in fabsl
48918 do :
48919 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
48920 if test "x$ac_cv_func_fabsl" = x""yes; then :
48921 cat >>confdefs.h <<_ACEOF
48922 #define HAVE_FABSL 1
48923 _ACEOF
48926 done
48928 else
48930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
48931 $as_echo_n "checking for _fabsl declaration... " >&6; }
48932 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
48933 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
48934 $as_echo_n "(cached) " >&6
48935 else
48938 ac_ext=cpp
48939 ac_cpp='$CXXCPP $CPPFLAGS'
48940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48945 /* end confdefs.h. */
48946 #include <math.h>
48947 #ifdef HAVE_IEEEFP_H
48948 #include <ieeefp.h>
48949 #endif
48952 main ()
48954 _fabsl(0);
48956 return 0;
48958 _ACEOF
48959 if ac_fn_cxx_try_compile "$LINENO"; then :
48960 glibcxx_cv_func__fabsl_use=yes
48961 else
48962 glibcxx_cv_func__fabsl_use=no
48964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48965 ac_ext=c
48966 ac_cpp='$CPP $CPPFLAGS'
48967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
48976 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
48978 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
48979 for ac_func in _fabsl
48980 do :
48981 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
48982 if test "x$ac_cv_func__fabsl" = x""yes; then :
48983 cat >>confdefs.h <<_ACEOF
48984 #define HAVE__FABSL 1
48985 _ACEOF
48988 done
48997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
48998 $as_echo_n "checking for fmodl declaration... " >&6; }
48999 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
49000 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
49001 $as_echo_n "(cached) " >&6
49002 else
49005 ac_ext=cpp
49006 ac_cpp='$CXXCPP $CPPFLAGS'
49007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49012 /* end confdefs.h. */
49013 #include <math.h>
49015 main ()
49017 fmodl(0, 0);
49019 return 0;
49021 _ACEOF
49022 if ac_fn_cxx_try_compile "$LINENO"; then :
49023 glibcxx_cv_func_fmodl_use=yes
49024 else
49025 glibcxx_cv_func_fmodl_use=no
49027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49028 ac_ext=c
49029 ac_cpp='$CPP $CPPFLAGS'
49030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49039 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49041 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
49042 for ac_func in fmodl
49043 do :
49044 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49045 if test "x$ac_cv_func_fmodl" = x""yes; then :
49046 cat >>confdefs.h <<_ACEOF
49047 #define HAVE_FMODL 1
49048 _ACEOF
49051 done
49053 else
49055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49056 $as_echo_n "checking for _fmodl declaration... " >&6; }
49057 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49058 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49059 $as_echo_n "(cached) " >&6
49060 else
49063 ac_ext=cpp
49064 ac_cpp='$CXXCPP $CPPFLAGS'
49065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49070 /* end confdefs.h. */
49071 #include <math.h>
49073 main ()
49075 _fmodl(0, 0);
49077 return 0;
49079 _ACEOF
49080 if ac_fn_cxx_try_compile "$LINENO"; then :
49081 glibcxx_cv_func__fmodl_use=yes
49082 else
49083 glibcxx_cv_func__fmodl_use=no
49085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49086 ac_ext=c
49087 ac_cpp='$CPP $CPPFLAGS'
49088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49097 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49099 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49100 for ac_func in _fmodl
49101 do :
49102 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49103 if test "x$ac_cv_func__fmodl" = x""yes; then :
49104 cat >>confdefs.h <<_ACEOF
49105 #define HAVE__FMODL 1
49106 _ACEOF
49109 done
49118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49119 $as_echo_n "checking for frexpl declaration... " >&6; }
49120 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49121 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49122 $as_echo_n "(cached) " >&6
49123 else
49126 ac_ext=cpp
49127 ac_cpp='$CXXCPP $CPPFLAGS'
49128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49133 /* end confdefs.h. */
49134 #include <math.h>
49136 main ()
49138 frexpl(0, 0);
49140 return 0;
49142 _ACEOF
49143 if ac_fn_cxx_try_compile "$LINENO"; then :
49144 glibcxx_cv_func_frexpl_use=yes
49145 else
49146 glibcxx_cv_func_frexpl_use=no
49148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49149 ac_ext=c
49150 ac_cpp='$CPP $CPPFLAGS'
49151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49160 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49162 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49163 for ac_func in frexpl
49164 do :
49165 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49166 if test "x$ac_cv_func_frexpl" = x""yes; then :
49167 cat >>confdefs.h <<_ACEOF
49168 #define HAVE_FREXPL 1
49169 _ACEOF
49172 done
49174 else
49176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49177 $as_echo_n "checking for _frexpl declaration... " >&6; }
49178 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49179 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
49180 $as_echo_n "(cached) " >&6
49181 else
49184 ac_ext=cpp
49185 ac_cpp='$CXXCPP $CPPFLAGS'
49186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49191 /* end confdefs.h. */
49192 #include <math.h>
49194 main ()
49196 _frexpl(0, 0);
49198 return 0;
49200 _ACEOF
49201 if ac_fn_cxx_try_compile "$LINENO"; then :
49202 glibcxx_cv_func__frexpl_use=yes
49203 else
49204 glibcxx_cv_func__frexpl_use=no
49206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49207 ac_ext=c
49208 ac_cpp='$CPP $CPPFLAGS'
49209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
49218 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
49220 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
49221 for ac_func in _frexpl
49222 do :
49223 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
49224 if test "x$ac_cv_func__frexpl" = x""yes; then :
49225 cat >>confdefs.h <<_ACEOF
49226 #define HAVE__FREXPL 1
49227 _ACEOF
49230 done
49239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
49240 $as_echo_n "checking for hypotl declaration... " >&6; }
49241 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
49242 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
49243 $as_echo_n "(cached) " >&6
49244 else
49247 ac_ext=cpp
49248 ac_cpp='$CXXCPP $CPPFLAGS'
49249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49254 /* end confdefs.h. */
49255 #include <math.h>
49257 main ()
49259 hypotl(0, 0);
49261 return 0;
49263 _ACEOF
49264 if ac_fn_cxx_try_compile "$LINENO"; then :
49265 glibcxx_cv_func_hypotl_use=yes
49266 else
49267 glibcxx_cv_func_hypotl_use=no
49269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49270 ac_ext=c
49271 ac_cpp='$CPP $CPPFLAGS'
49272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
49281 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
49283 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
49284 for ac_func in hypotl
49285 do :
49286 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
49287 if test "x$ac_cv_func_hypotl" = x""yes; then :
49288 cat >>confdefs.h <<_ACEOF
49289 #define HAVE_HYPOTL 1
49290 _ACEOF
49293 done
49295 else
49297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
49298 $as_echo_n "checking for _hypotl declaration... " >&6; }
49299 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
49300 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
49301 $as_echo_n "(cached) " >&6
49302 else
49305 ac_ext=cpp
49306 ac_cpp='$CXXCPP $CPPFLAGS'
49307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49312 /* end confdefs.h. */
49313 #include <math.h>
49315 main ()
49317 _hypotl(0, 0);
49319 return 0;
49321 _ACEOF
49322 if ac_fn_cxx_try_compile "$LINENO"; then :
49323 glibcxx_cv_func__hypotl_use=yes
49324 else
49325 glibcxx_cv_func__hypotl_use=no
49327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49328 ac_ext=c
49329 ac_cpp='$CPP $CPPFLAGS'
49330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
49339 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
49341 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
49342 for ac_func in _hypotl
49343 do :
49344 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
49345 if test "x$ac_cv_func__hypotl" = x""yes; then :
49346 cat >>confdefs.h <<_ACEOF
49347 #define HAVE__HYPOTL 1
49348 _ACEOF
49351 done
49360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
49361 $as_echo_n "checking for ldexpl declaration... " >&6; }
49362 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
49363 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
49364 $as_echo_n "(cached) " >&6
49365 else
49368 ac_ext=cpp
49369 ac_cpp='$CXXCPP $CPPFLAGS'
49370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49375 /* end confdefs.h. */
49376 #include <math.h>
49378 main ()
49380 ldexpl(0, 0);
49382 return 0;
49384 _ACEOF
49385 if ac_fn_cxx_try_compile "$LINENO"; then :
49386 glibcxx_cv_func_ldexpl_use=yes
49387 else
49388 glibcxx_cv_func_ldexpl_use=no
49390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49391 ac_ext=c
49392 ac_cpp='$CPP $CPPFLAGS'
49393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
49402 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
49404 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
49405 for ac_func in ldexpl
49406 do :
49407 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
49408 if test "x$ac_cv_func_ldexpl" = x""yes; then :
49409 cat >>confdefs.h <<_ACEOF
49410 #define HAVE_LDEXPL 1
49411 _ACEOF
49414 done
49416 else
49418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
49419 $as_echo_n "checking for _ldexpl declaration... " >&6; }
49420 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
49421 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
49422 $as_echo_n "(cached) " >&6
49423 else
49426 ac_ext=cpp
49427 ac_cpp='$CXXCPP $CPPFLAGS'
49428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49433 /* end confdefs.h. */
49434 #include <math.h>
49436 main ()
49438 _ldexpl(0, 0);
49440 return 0;
49442 _ACEOF
49443 if ac_fn_cxx_try_compile "$LINENO"; then :
49444 glibcxx_cv_func__ldexpl_use=yes
49445 else
49446 glibcxx_cv_func__ldexpl_use=no
49448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49449 ac_ext=c
49450 ac_cpp='$CPP $CPPFLAGS'
49451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
49460 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
49462 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
49463 for ac_func in _ldexpl
49464 do :
49465 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
49466 if test "x$ac_cv_func__ldexpl" = x""yes; then :
49467 cat >>confdefs.h <<_ACEOF
49468 #define HAVE__LDEXPL 1
49469 _ACEOF
49472 done
49481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
49482 $as_echo_n "checking for logl declaration... " >&6; }
49483 if test x${glibcxx_cv_func_logl_use+set} != xset; then
49484 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
49485 $as_echo_n "(cached) " >&6
49486 else
49489 ac_ext=cpp
49490 ac_cpp='$CXXCPP $CPPFLAGS'
49491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49496 /* end confdefs.h. */
49497 #include <math.h>
49498 #ifdef HAVE_IEEEFP_H
49499 #include <ieeefp.h>
49500 #endif
49503 main ()
49505 logl(0);
49507 return 0;
49509 _ACEOF
49510 if ac_fn_cxx_try_compile "$LINENO"; then :
49511 glibcxx_cv_func_logl_use=yes
49512 else
49513 glibcxx_cv_func_logl_use=no
49515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49516 ac_ext=c
49517 ac_cpp='$CPP $CPPFLAGS'
49518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
49527 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
49529 if test x$glibcxx_cv_func_logl_use = x"yes"; then
49530 for ac_func in logl
49531 do :
49532 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
49533 if test "x$ac_cv_func_logl" = x""yes; then :
49534 cat >>confdefs.h <<_ACEOF
49535 #define HAVE_LOGL 1
49536 _ACEOF
49539 done
49541 else
49543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
49544 $as_echo_n "checking for _logl declaration... " >&6; }
49545 if test x${glibcxx_cv_func__logl_use+set} != xset; then
49546 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
49547 $as_echo_n "(cached) " >&6
49548 else
49551 ac_ext=cpp
49552 ac_cpp='$CXXCPP $CPPFLAGS'
49553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49558 /* end confdefs.h. */
49559 #include <math.h>
49560 #ifdef HAVE_IEEEFP_H
49561 #include <ieeefp.h>
49562 #endif
49565 main ()
49567 _logl(0);
49569 return 0;
49571 _ACEOF
49572 if ac_fn_cxx_try_compile "$LINENO"; then :
49573 glibcxx_cv_func__logl_use=yes
49574 else
49575 glibcxx_cv_func__logl_use=no
49577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49578 ac_ext=c
49579 ac_cpp='$CPP $CPPFLAGS'
49580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
49589 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
49591 if test x$glibcxx_cv_func__logl_use = x"yes"; then
49592 for ac_func in _logl
49593 do :
49594 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
49595 if test "x$ac_cv_func__logl" = x""yes; then :
49596 cat >>confdefs.h <<_ACEOF
49597 #define HAVE__LOGL 1
49598 _ACEOF
49601 done
49610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
49611 $as_echo_n "checking for log10l declaration... " >&6; }
49612 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
49613 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
49614 $as_echo_n "(cached) " >&6
49615 else
49618 ac_ext=cpp
49619 ac_cpp='$CXXCPP $CPPFLAGS'
49620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49625 /* end confdefs.h. */
49626 #include <math.h>
49627 #ifdef HAVE_IEEEFP_H
49628 #include <ieeefp.h>
49629 #endif
49632 main ()
49634 log10l(0);
49636 return 0;
49638 _ACEOF
49639 if ac_fn_cxx_try_compile "$LINENO"; then :
49640 glibcxx_cv_func_log10l_use=yes
49641 else
49642 glibcxx_cv_func_log10l_use=no
49644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49645 ac_ext=c
49646 ac_cpp='$CPP $CPPFLAGS'
49647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
49656 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
49658 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
49659 for ac_func in log10l
49660 do :
49661 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
49662 if test "x$ac_cv_func_log10l" = x""yes; then :
49663 cat >>confdefs.h <<_ACEOF
49664 #define HAVE_LOG10L 1
49665 _ACEOF
49668 done
49670 else
49672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
49673 $as_echo_n "checking for _log10l declaration... " >&6; }
49674 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
49675 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
49676 $as_echo_n "(cached) " >&6
49677 else
49680 ac_ext=cpp
49681 ac_cpp='$CXXCPP $CPPFLAGS'
49682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49687 /* end confdefs.h. */
49688 #include <math.h>
49689 #ifdef HAVE_IEEEFP_H
49690 #include <ieeefp.h>
49691 #endif
49694 main ()
49696 _log10l(0);
49698 return 0;
49700 _ACEOF
49701 if ac_fn_cxx_try_compile "$LINENO"; then :
49702 glibcxx_cv_func__log10l_use=yes
49703 else
49704 glibcxx_cv_func__log10l_use=no
49706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49707 ac_ext=c
49708 ac_cpp='$CPP $CPPFLAGS'
49709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
49718 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
49720 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
49721 for ac_func in _log10l
49722 do :
49723 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
49724 if test "x$ac_cv_func__log10l" = x""yes; then :
49725 cat >>confdefs.h <<_ACEOF
49726 #define HAVE__LOG10L 1
49727 _ACEOF
49730 done
49739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
49740 $as_echo_n "checking for modfl declaration... " >&6; }
49741 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
49742 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
49743 $as_echo_n "(cached) " >&6
49744 else
49747 ac_ext=cpp
49748 ac_cpp='$CXXCPP $CPPFLAGS'
49749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49754 /* end confdefs.h. */
49755 #include <math.h>
49757 main ()
49759 modfl(0, 0);
49761 return 0;
49763 _ACEOF
49764 if ac_fn_cxx_try_compile "$LINENO"; then :
49765 glibcxx_cv_func_modfl_use=yes
49766 else
49767 glibcxx_cv_func_modfl_use=no
49769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49770 ac_ext=c
49771 ac_cpp='$CPP $CPPFLAGS'
49772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
49781 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
49783 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
49784 for ac_func in modfl
49785 do :
49786 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
49787 if test "x$ac_cv_func_modfl" = x""yes; then :
49788 cat >>confdefs.h <<_ACEOF
49789 #define HAVE_MODFL 1
49790 _ACEOF
49793 done
49795 else
49797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
49798 $as_echo_n "checking for _modfl declaration... " >&6; }
49799 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
49800 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
49801 $as_echo_n "(cached) " >&6
49802 else
49805 ac_ext=cpp
49806 ac_cpp='$CXXCPP $CPPFLAGS'
49807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49812 /* end confdefs.h. */
49813 #include <math.h>
49815 main ()
49817 _modfl(0, 0);
49819 return 0;
49821 _ACEOF
49822 if ac_fn_cxx_try_compile "$LINENO"; then :
49823 glibcxx_cv_func__modfl_use=yes
49824 else
49825 glibcxx_cv_func__modfl_use=no
49827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49828 ac_ext=c
49829 ac_cpp='$CPP $CPPFLAGS'
49830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
49839 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
49841 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
49842 for ac_func in _modfl
49843 do :
49844 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
49845 if test "x$ac_cv_func__modfl" = x""yes; then :
49846 cat >>confdefs.h <<_ACEOF
49847 #define HAVE__MODFL 1
49848 _ACEOF
49851 done
49860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
49861 $as_echo_n "checking for powl declaration... " >&6; }
49862 if test x${glibcxx_cv_func_powl_use+set} != xset; then
49863 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
49864 $as_echo_n "(cached) " >&6
49865 else
49868 ac_ext=cpp
49869 ac_cpp='$CXXCPP $CPPFLAGS'
49870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49875 /* end confdefs.h. */
49876 #include <math.h>
49878 main ()
49880 powl(0, 0);
49882 return 0;
49884 _ACEOF
49885 if ac_fn_cxx_try_compile "$LINENO"; then :
49886 glibcxx_cv_func_powl_use=yes
49887 else
49888 glibcxx_cv_func_powl_use=no
49890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49891 ac_ext=c
49892 ac_cpp='$CPP $CPPFLAGS'
49893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
49902 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
49904 if test x$glibcxx_cv_func_powl_use = x"yes"; then
49905 for ac_func in powl
49906 do :
49907 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
49908 if test "x$ac_cv_func_powl" = x""yes; then :
49909 cat >>confdefs.h <<_ACEOF
49910 #define HAVE_POWL 1
49911 _ACEOF
49914 done
49916 else
49918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
49919 $as_echo_n "checking for _powl declaration... " >&6; }
49920 if test x${glibcxx_cv_func__powl_use+set} != xset; then
49921 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
49922 $as_echo_n "(cached) " >&6
49923 else
49926 ac_ext=cpp
49927 ac_cpp='$CXXCPP $CPPFLAGS'
49928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49933 /* end confdefs.h. */
49934 #include <math.h>
49936 main ()
49938 _powl(0, 0);
49940 return 0;
49942 _ACEOF
49943 if ac_fn_cxx_try_compile "$LINENO"; then :
49944 glibcxx_cv_func__powl_use=yes
49945 else
49946 glibcxx_cv_func__powl_use=no
49948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49949 ac_ext=c
49950 ac_cpp='$CPP $CPPFLAGS'
49951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
49960 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
49962 if test x$glibcxx_cv_func__powl_use = x"yes"; then
49963 for ac_func in _powl
49964 do :
49965 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
49966 if test "x$ac_cv_func__powl" = x""yes; then :
49967 cat >>confdefs.h <<_ACEOF
49968 #define HAVE__POWL 1
49969 _ACEOF
49972 done
49981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
49982 $as_echo_n "checking for sqrtl declaration... " >&6; }
49983 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
49984 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
49985 $as_echo_n "(cached) " >&6
49986 else
49989 ac_ext=cpp
49990 ac_cpp='$CXXCPP $CPPFLAGS'
49991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49996 /* end confdefs.h. */
49997 #include <math.h>
49998 #ifdef HAVE_IEEEFP_H
49999 #include <ieeefp.h>
50000 #endif
50003 main ()
50005 sqrtl(0);
50007 return 0;
50009 _ACEOF
50010 if ac_fn_cxx_try_compile "$LINENO"; then :
50011 glibcxx_cv_func_sqrtl_use=yes
50012 else
50013 glibcxx_cv_func_sqrtl_use=no
50015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50016 ac_ext=c
50017 ac_cpp='$CPP $CPPFLAGS'
50018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
50027 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
50029 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
50030 for ac_func in sqrtl
50031 do :
50032 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
50033 if test "x$ac_cv_func_sqrtl" = x""yes; then :
50034 cat >>confdefs.h <<_ACEOF
50035 #define HAVE_SQRTL 1
50036 _ACEOF
50039 done
50041 else
50043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50044 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50045 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50046 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50047 $as_echo_n "(cached) " >&6
50048 else
50051 ac_ext=cpp
50052 ac_cpp='$CXXCPP $CPPFLAGS'
50053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50058 /* end confdefs.h. */
50059 #include <math.h>
50060 #ifdef HAVE_IEEEFP_H
50061 #include <ieeefp.h>
50062 #endif
50065 main ()
50067 _sqrtl(0);
50069 return 0;
50071 _ACEOF
50072 if ac_fn_cxx_try_compile "$LINENO"; then :
50073 glibcxx_cv_func__sqrtl_use=yes
50074 else
50075 glibcxx_cv_func__sqrtl_use=no
50077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50078 ac_ext=c
50079 ac_cpp='$CPP $CPPFLAGS'
50080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50089 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50091 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50092 for ac_func in _sqrtl
50093 do :
50094 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50095 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50096 cat >>confdefs.h <<_ACEOF
50097 #define HAVE__SQRTL 1
50098 _ACEOF
50101 done
50110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50111 $as_echo_n "checking for sincosl declaration... " >&6; }
50112 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50113 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50114 $as_echo_n "(cached) " >&6
50115 else
50118 ac_ext=cpp
50119 ac_cpp='$CXXCPP $CPPFLAGS'
50120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50125 /* end confdefs.h. */
50126 #include <math.h>
50128 main ()
50130 sincosl(0, 0, 0);
50132 return 0;
50134 _ACEOF
50135 if ac_fn_cxx_try_compile "$LINENO"; then :
50136 glibcxx_cv_func_sincosl_use=yes
50137 else
50138 glibcxx_cv_func_sincosl_use=no
50140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50141 ac_ext=c
50142 ac_cpp='$CPP $CPPFLAGS'
50143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50152 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50154 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50155 for ac_func in sincosl
50156 do :
50157 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50158 if test "x$ac_cv_func_sincosl" = x""yes; then :
50159 cat >>confdefs.h <<_ACEOF
50160 #define HAVE_SINCOSL 1
50161 _ACEOF
50164 done
50166 else
50168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50169 $as_echo_n "checking for _sincosl declaration... " >&6; }
50170 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50171 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50172 $as_echo_n "(cached) " >&6
50173 else
50176 ac_ext=cpp
50177 ac_cpp='$CXXCPP $CPPFLAGS'
50178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50183 /* end confdefs.h. */
50184 #include <math.h>
50186 main ()
50188 _sincosl(0, 0, 0);
50190 return 0;
50192 _ACEOF
50193 if ac_fn_cxx_try_compile "$LINENO"; then :
50194 glibcxx_cv_func__sincosl_use=yes
50195 else
50196 glibcxx_cv_func__sincosl_use=no
50198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50199 ac_ext=c
50200 ac_cpp='$CPP $CPPFLAGS'
50201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
50210 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
50212 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
50213 for ac_func in _sincosl
50214 do :
50215 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
50216 if test "x$ac_cv_func__sincosl" = x""yes; then :
50217 cat >>confdefs.h <<_ACEOF
50218 #define HAVE__SINCOSL 1
50219 _ACEOF
50222 done
50231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
50232 $as_echo_n "checking for finitel declaration... " >&6; }
50233 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
50234 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
50235 $as_echo_n "(cached) " >&6
50236 else
50239 ac_ext=cpp
50240 ac_cpp='$CXXCPP $CPPFLAGS'
50241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50246 /* end confdefs.h. */
50247 #include <math.h>
50248 #ifdef HAVE_IEEEFP_H
50249 #include <ieeefp.h>
50250 #endif
50253 main ()
50255 finitel(0);
50257 return 0;
50259 _ACEOF
50260 if ac_fn_cxx_try_compile "$LINENO"; then :
50261 glibcxx_cv_func_finitel_use=yes
50262 else
50263 glibcxx_cv_func_finitel_use=no
50265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50266 ac_ext=c
50267 ac_cpp='$CPP $CPPFLAGS'
50268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
50277 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
50279 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
50280 for ac_func in finitel
50281 do :
50282 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
50283 if test "x$ac_cv_func_finitel" = x""yes; then :
50284 cat >>confdefs.h <<_ACEOF
50285 #define HAVE_FINITEL 1
50286 _ACEOF
50289 done
50291 else
50293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
50294 $as_echo_n "checking for _finitel declaration... " >&6; }
50295 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
50296 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
50297 $as_echo_n "(cached) " >&6
50298 else
50301 ac_ext=cpp
50302 ac_cpp='$CXXCPP $CPPFLAGS'
50303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50308 /* end confdefs.h. */
50309 #include <math.h>
50310 #ifdef HAVE_IEEEFP_H
50311 #include <ieeefp.h>
50312 #endif
50315 main ()
50317 _finitel(0);
50319 return 0;
50321 _ACEOF
50322 if ac_fn_cxx_try_compile "$LINENO"; then :
50323 glibcxx_cv_func__finitel_use=yes
50324 else
50325 glibcxx_cv_func__finitel_use=no
50327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50328 ac_ext=c
50329 ac_cpp='$CPP $CPPFLAGS'
50330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
50339 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
50341 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
50342 for ac_func in _finitel
50343 do :
50344 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
50345 if test "x$ac_cv_func__finitel" = x""yes; then :
50346 cat >>confdefs.h <<_ACEOF
50347 #define HAVE__FINITEL 1
50348 _ACEOF
50351 done
50359 LIBS="$ac_save_LIBS"
50360 CXXFLAGS="$ac_save_CXXFLAGS"
50363 ac_test_CXXFLAGS="${CXXFLAGS+set}"
50364 ac_save_CXXFLAGS="$CXXFLAGS"
50365 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
50369 $as_echo_n "checking for strtold declaration... " >&6; }
50370 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
50371 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
50372 $as_echo_n "(cached) " >&6
50373 else
50376 ac_ext=cpp
50377 ac_cpp='$CXXCPP $CPPFLAGS'
50378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50383 /* end confdefs.h. */
50384 #include <stdlib.h>
50386 main ()
50388 strtold(0, 0);
50390 return 0;
50392 _ACEOF
50393 if ac_fn_cxx_try_compile "$LINENO"; then :
50394 glibcxx_cv_func_strtold_use=yes
50395 else
50396 glibcxx_cv_func_strtold_use=no
50398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50399 ac_ext=c
50400 ac_cpp='$CPP $CPPFLAGS'
50401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
50410 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
50411 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
50412 for ac_func in strtold
50413 do :
50414 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
50415 if test "x$ac_cv_func_strtold" = x""yes; then :
50416 cat >>confdefs.h <<_ACEOF
50417 #define HAVE_STRTOLD 1
50418 _ACEOF
50421 done
50428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
50429 $as_echo_n "checking for strtof declaration... " >&6; }
50430 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
50431 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
50432 $as_echo_n "(cached) " >&6
50433 else
50436 ac_ext=cpp
50437 ac_cpp='$CXXCPP $CPPFLAGS'
50438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50443 /* end confdefs.h. */
50444 #include <stdlib.h>
50446 main ()
50448 strtof(0, 0);
50450 return 0;
50452 _ACEOF
50453 if ac_fn_cxx_try_compile "$LINENO"; then :
50454 glibcxx_cv_func_strtof_use=yes
50455 else
50456 glibcxx_cv_func_strtof_use=no
50458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50459 ac_ext=c
50460 ac_cpp='$CPP $CPPFLAGS'
50461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
50470 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
50471 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
50472 for ac_func in strtof
50473 do :
50474 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
50475 if test "x$ac_cv_func_strtof" = x""yes; then :
50476 cat >>confdefs.h <<_ACEOF
50477 #define HAVE_STRTOF 1
50478 _ACEOF
50481 done
50488 CXXFLAGS="$ac_save_CXXFLAGS"
50490 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
50494 # Check whether --enable-tls was given.
50495 if test "${enable_tls+set}" = set; then :
50496 enableval=$enable_tls;
50497 case "$enableval" in
50498 yes|no) ;;
50499 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
50500 esac
50502 else
50503 enable_tls=yes
50507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
50508 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
50509 if test "${gcc_cv_have_tls+set}" = set; then :
50510 $as_echo_n "(cached) " >&6
50511 else
50513 if test "$cross_compiling" = yes; then :
50514 if test x$gcc_no_link = xyes; then
50515 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50518 /* end confdefs.h. */
50519 __thread int a; int b; int main() { return a = b; }
50520 _ACEOF
50521 if ac_fn_c_try_link "$LINENO"; then :
50522 chktls_save_LDFLAGS="$LDFLAGS"
50523 case $host in
50524 *-*-linux*)
50525 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
50527 esac
50528 chktls_save_CFLAGS="$CFLAGS"
50529 CFLAGS="-fPIC $CFLAGS"
50530 if test x$gcc_no_link = xyes; then
50531 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50534 /* end confdefs.h. */
50535 int f() { return 0; }
50536 _ACEOF
50537 if ac_fn_c_try_link "$LINENO"; then :
50538 if test x$gcc_no_link = xyes; then
50539 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50542 /* end confdefs.h. */
50543 __thread int a; int b; int f() { return a = b; }
50544 _ACEOF
50545 if ac_fn_c_try_link "$LINENO"; then :
50546 gcc_cv_have_tls=yes
50547 else
50548 gcc_cv_have_tls=no
50550 rm -f core conftest.err conftest.$ac_objext \
50551 conftest$ac_exeext conftest.$ac_ext
50552 else
50553 gcc_cv_have_tls=yes
50555 rm -f core conftest.err conftest.$ac_objext \
50556 conftest$ac_exeext conftest.$ac_ext
50557 CFLAGS="$chktls_save_CFLAGS"
50558 LDFLAGS="$chktls_save_LDFLAGS"
50559 else
50560 gcc_cv_have_tls=no
50562 rm -f core conftest.err conftest.$ac_objext \
50563 conftest$ac_exeext conftest.$ac_ext
50566 else
50567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50568 /* end confdefs.h. */
50569 __thread int a; int b; int main() { return a = b; }
50570 _ACEOF
50571 if ac_fn_c_try_run "$LINENO"; then :
50572 chktls_save_LDFLAGS="$LDFLAGS"
50573 LDFLAGS="-static $LDFLAGS"
50574 if test x$gcc_no_link = xyes; then
50575 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50578 /* end confdefs.h. */
50579 int main() { return 0; }
50580 _ACEOF
50581 if ac_fn_c_try_link "$LINENO"; then :
50582 if test "$cross_compiling" = yes; then :
50583 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50584 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50585 as_fn_error "cannot run test program while cross compiling
50586 See \`config.log' for more details." "$LINENO" 5; }
50587 else
50588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50589 /* end confdefs.h. */
50590 __thread int a; int b; int main() { return a = b; }
50591 _ACEOF
50592 if ac_fn_c_try_run "$LINENO"; then :
50593 gcc_cv_have_tls=yes
50594 else
50595 gcc_cv_have_tls=no
50597 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50598 conftest.$ac_objext conftest.beam conftest.$ac_ext
50601 else
50602 gcc_cv_have_tls=yes
50604 rm -f core conftest.err conftest.$ac_objext \
50605 conftest$ac_exeext conftest.$ac_ext
50606 LDFLAGS="$chktls_save_LDFLAGS"
50607 if test $gcc_cv_have_tls = yes; then
50608 chktls_save_CFLAGS="$CFLAGS"
50609 thread_CFLAGS=failed
50610 for flag in '' '-pthread' '-lpthread'; do
50611 CFLAGS="$flag $chktls_save_CFLAGS"
50612 if test x$gcc_no_link = xyes; then
50613 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50616 /* end confdefs.h. */
50617 #include <pthread.h>
50618 void *g(void *d) { return NULL; }
50620 main ()
50622 pthread_t t; pthread_create(&t,NULL,g,NULL);
50624 return 0;
50626 _ACEOF
50627 if ac_fn_c_try_link "$LINENO"; then :
50628 thread_CFLAGS="$flag"
50630 rm -f core conftest.err conftest.$ac_objext \
50631 conftest$ac_exeext conftest.$ac_ext
50632 if test "X$thread_CFLAGS" != Xfailed; then
50633 break
50635 done
50636 CFLAGS="$chktls_save_CFLAGS"
50637 if test "X$thread_CFLAGS" != Xfailed; then
50638 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
50639 if test "$cross_compiling" = yes; then :
50640 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50641 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50642 as_fn_error "cannot run test program while cross compiling
50643 See \`config.log' for more details." "$LINENO" 5; }
50644 else
50645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50646 /* end confdefs.h. */
50647 #include <pthread.h>
50648 __thread int a;
50649 static int *volatile a_in_other_thread;
50650 static void *
50651 thread_func (void *arg)
50653 a_in_other_thread = &a;
50654 return (void *)0;
50657 main ()
50659 pthread_t thread;
50660 void *thread_retval;
50661 int *volatile a_in_main_thread;
50662 a_in_main_thread = &a;
50663 if (pthread_create (&thread, (pthread_attr_t *)0,
50664 thread_func, (void *)0))
50665 return 0;
50666 if (pthread_join (thread, &thread_retval))
50667 return 0;
50668 return (a_in_other_thread == a_in_main_thread);
50670 return 0;
50672 _ACEOF
50673 if ac_fn_c_try_run "$LINENO"; then :
50674 gcc_cv_have_tls=yes
50675 else
50676 gcc_cv_have_tls=no
50678 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50679 conftest.$ac_objext conftest.beam conftest.$ac_ext
50682 CFLAGS="$chktls_save_CFLAGS"
50685 else
50686 gcc_cv_have_tls=no
50688 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50689 conftest.$ac_objext conftest.beam conftest.$ac_ext
50693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
50694 $as_echo "$gcc_cv_have_tls" >&6; }
50695 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
50697 $as_echo "#define HAVE_TLS 1" >>confdefs.h
50705 am_save_CPPFLAGS="$CPPFLAGS"
50707 for element in $INCICONV; do
50708 haveit=
50709 for x in $CPPFLAGS; do
50711 acl_save_prefix="$prefix"
50712 prefix="$acl_final_prefix"
50713 acl_save_exec_prefix="$exec_prefix"
50714 exec_prefix="$acl_final_exec_prefix"
50715 eval x=\"$x\"
50716 exec_prefix="$acl_save_exec_prefix"
50717 prefix="$acl_save_prefix"
50719 if test "X$x" = "X$element"; then
50720 haveit=yes
50721 break
50723 done
50724 if test -z "$haveit"; then
50725 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
50727 done
50730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
50731 $as_echo_n "checking for iconv... " >&6; }
50732 if test "${am_cv_func_iconv+set}" = set; then :
50733 $as_echo_n "(cached) " >&6
50734 else
50736 am_cv_func_iconv="no, consider installing GNU libiconv"
50737 am_cv_lib_iconv=no
50738 if test x$gcc_no_link = xyes; then
50739 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50742 /* end confdefs.h. */
50743 #include <stdlib.h>
50744 #include <iconv.h>
50746 main ()
50748 iconv_t cd = iconv_open("","");
50749 iconv(cd,NULL,NULL,NULL,NULL);
50750 iconv_close(cd);
50752 return 0;
50754 _ACEOF
50755 if ac_fn_c_try_link "$LINENO"; then :
50756 am_cv_func_iconv=yes
50758 rm -f core conftest.err conftest.$ac_objext \
50759 conftest$ac_exeext conftest.$ac_ext
50760 if test "$am_cv_func_iconv" != yes; then
50761 am_save_LIBS="$LIBS"
50762 LIBS="$LIBS $LIBICONV"
50763 if test x$gcc_no_link = xyes; then
50764 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50767 /* end confdefs.h. */
50768 #include <stdlib.h>
50769 #include <iconv.h>
50771 main ()
50773 iconv_t cd = iconv_open("","");
50774 iconv(cd,NULL,NULL,NULL,NULL);
50775 iconv_close(cd);
50777 return 0;
50779 _ACEOF
50780 if ac_fn_c_try_link "$LINENO"; then :
50781 am_cv_lib_iconv=yes
50782 am_cv_func_iconv=yes
50784 rm -f core conftest.err conftest.$ac_objext \
50785 conftest$ac_exeext conftest.$ac_ext
50786 LIBS="$am_save_LIBS"
50790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
50791 $as_echo "$am_cv_func_iconv" >&6; }
50792 if test "$am_cv_func_iconv" = yes; then
50794 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
50797 if test "$am_cv_lib_iconv" = yes; then
50798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
50799 $as_echo_n "checking how to link with libiconv... " >&6; }
50800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
50801 $as_echo "$LIBICONV" >&6; }
50802 else
50803 CPPFLAGS="$am_save_CPPFLAGS"
50804 LIBICONV=
50805 LTLIBICONV=
50810 if test "$am_cv_func_iconv" = yes; then
50811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
50812 $as_echo_n "checking for iconv declaration... " >&6; }
50813 if test "${am_cv_proto_iconv+set}" = set; then :
50814 $as_echo_n "(cached) " >&6
50815 else
50817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50818 /* end confdefs.h. */
50820 #include <stdlib.h>
50821 #include <iconv.h>
50822 extern
50823 #ifdef __cplusplus
50825 #endif
50826 #if defined(__STDC__) || defined(__cplusplus)
50827 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
50828 #else
50829 size_t iconv();
50830 #endif
50833 main ()
50837 return 0;
50839 _ACEOF
50840 if ac_fn_c_try_compile "$LINENO"; then :
50841 am_cv_proto_iconv_arg1=""
50842 else
50843 am_cv_proto_iconv_arg1="const"
50845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50846 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);"
50849 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
50850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
50851 }$am_cv_proto_iconv" >&5
50852 $as_echo "${ac_t:-
50853 }$am_cv_proto_iconv" >&6; }
50855 cat >>confdefs.h <<_ACEOF
50856 #define ICONV_CONST $am_cv_proto_iconv_arg1
50857 _ACEOF
50862 *-mingw32*)
50864 # If we're not using GNU ld, then there's no point in even trying these
50865 # tests. Check for that first. We should have already tested for gld
50866 # by now (in libtool), but require it now just to be safe...
50867 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
50868 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
50872 # The name set by libtool depends on the version of libtool. Shame on us
50873 # for depending on an impl detail, but c'est la vie. Older versions used
50874 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
50875 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
50876 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
50877 # set (hence we're using an older libtool), then set it.
50878 if test x${with_gnu_ld+set} != xset; then
50879 if test x${ac_cv_prog_gnu_ld+set} != xset; then
50880 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
50881 with_gnu_ld=no
50882 else
50883 with_gnu_ld=$ac_cv_prog_gnu_ld
50887 # Start by getting the version number. I think the libtool test already
50888 # does some of this, but throws away the result.
50889 glibcxx_ld_is_gold=no
50890 if test x"$with_gnu_ld" = x"yes"; then
50891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
50892 $as_echo_n "checking for ld version... " >&6; }
50894 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
50895 glibcxx_ld_is_gold=yes
50897 ldver=`$LD --version 2>/dev/null |
50898 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'`
50900 glibcxx_gnu_ld_version=`echo $ldver | \
50901 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
50902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
50903 $as_echo "$glibcxx_gnu_ld_version" >&6; }
50906 # Set --gc-sections.
50907 glibcxx_have_gc_sections=no
50908 if test "$glibcxx_ld_is_gold" = "yes"; then
50909 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
50910 glibcxx_have_gc_sections=yes
50912 else
50913 glibcxx_gcsections_min_ld=21602
50914 if test x"$with_gnu_ld" = x"yes" &&
50915 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
50916 glibcxx_have_gc_sections=yes
50919 if test "$glibcxx_have_gc_sections" = "yes"; then
50920 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
50921 # NB: This flag only works reliably after 2.16.1. Configure tests
50922 # for this are difficult, so hard wire a value that should work.
50924 ac_test_CFLAGS="${CFLAGS+set}"
50925 ac_save_CFLAGS="$CFLAGS"
50926 CFLAGS='-Wl,--gc-sections'
50928 # Check for -Wl,--gc-sections
50929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
50930 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
50931 if test x$gcc_no_link = xyes; then
50932 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50935 /* end confdefs.h. */
50936 int one(void) { return 1; }
50937 int two(void) { return 2; }
50940 main ()
50942 two();
50944 return 0;
50946 _ACEOF
50947 if ac_fn_c_try_link "$LINENO"; then :
50948 ac_gcsections=yes
50949 else
50950 ac_gcsections=no
50952 rm -f core conftest.err conftest.$ac_objext \
50953 conftest$ac_exeext conftest.$ac_ext
50954 if test "$ac_gcsections" = "yes"; then
50955 rm -f conftest.c
50956 touch conftest.c
50957 if $CC -c conftest.c; then
50958 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
50959 grep "Warning: gc-sections option ignored" > /dev/null; then
50960 ac_gcsections=no
50963 rm -f conftest.c conftest.o conftest
50965 if test "$ac_gcsections" = "yes"; then
50966 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
50968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
50969 $as_echo "$ac_gcsections" >&6; }
50971 if test "$ac_test_CFLAGS" = set; then
50972 CFLAGS="$ac_save_CFLAGS"
50973 else
50974 # this is the suspicious part
50975 CFLAGS=''
50979 # Set -z,relro.
50980 # Note this is only for shared objects.
50981 ac_ld_relro=no
50982 if test x"$with_gnu_ld" = x"yes"; then
50983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
50984 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
50985 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
50986 if test -n "$cxx_z_relo"; then
50987 OPT_LDFLAGS="-Wl,-z,relro"
50988 ac_ld_relro=yes
50990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
50991 $as_echo "$ac_ld_relro" >&6; }
50994 # Set linker optimization flags.
50995 if test x"$with_gnu_ld" = x"yes"; then
50996 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51003 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51004 ac_save_CXXFLAGS="$CXXFLAGS"
51005 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
51008 $as_echo_n "checking for sin in -lm... " >&6; }
51009 if test "${ac_cv_lib_m_sin+set}" = set; then :
51010 $as_echo_n "(cached) " >&6
51011 else
51012 ac_check_lib_save_LIBS=$LIBS
51013 LIBS="-lm $LIBS"
51014 if test x$gcc_no_link = xyes; then
51015 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51018 /* end confdefs.h. */
51020 /* Override any GCC internal prototype to avoid an error.
51021 Use char because int might match the return type of a GCC
51022 builtin and then its argument prototype would still apply. */
51023 #ifdef __cplusplus
51024 extern "C"
51025 #endif
51026 char sin ();
51028 main ()
51030 return sin ();
51032 return 0;
51034 _ACEOF
51035 if ac_fn_c_try_link "$LINENO"; then :
51036 ac_cv_lib_m_sin=yes
51037 else
51038 ac_cv_lib_m_sin=no
51040 rm -f core conftest.err conftest.$ac_objext \
51041 conftest$ac_exeext conftest.$ac_ext
51042 LIBS=$ac_check_lib_save_LIBS
51044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51045 $as_echo "$ac_cv_lib_m_sin" >&6; }
51046 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51047 libm="-lm"
51050 ac_save_LIBS="$LIBS"
51051 LIBS="$LIBS $libm"
51055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51056 $as_echo_n "checking for isinf declaration... " >&6; }
51057 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51058 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51059 $as_echo_n "(cached) " >&6
51060 else
51063 ac_ext=cpp
51064 ac_cpp='$CXXCPP $CPPFLAGS'
51065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51070 /* end confdefs.h. */
51071 #include <math.h>
51072 #ifdef HAVE_IEEEFP_H
51073 #include <ieeefp.h>
51074 #endif
51077 main ()
51079 isinf(0);
51081 return 0;
51083 _ACEOF
51084 if ac_fn_cxx_try_compile "$LINENO"; then :
51085 glibcxx_cv_func_isinf_use=yes
51086 else
51087 glibcxx_cv_func_isinf_use=no
51089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51090 ac_ext=c
51091 ac_cpp='$CPP $CPPFLAGS'
51092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51101 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51103 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51104 for ac_func in isinf
51105 do :
51106 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51107 if test "x$ac_cv_func_isinf" = x""yes; then :
51108 cat >>confdefs.h <<_ACEOF
51109 #define HAVE_ISINF 1
51110 _ACEOF
51113 done
51115 else
51117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51118 $as_echo_n "checking for _isinf declaration... " >&6; }
51119 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51120 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51121 $as_echo_n "(cached) " >&6
51122 else
51125 ac_ext=cpp
51126 ac_cpp='$CXXCPP $CPPFLAGS'
51127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51132 /* end confdefs.h. */
51133 #include <math.h>
51134 #ifdef HAVE_IEEEFP_H
51135 #include <ieeefp.h>
51136 #endif
51139 main ()
51141 _isinf(0);
51143 return 0;
51145 _ACEOF
51146 if ac_fn_cxx_try_compile "$LINENO"; then :
51147 glibcxx_cv_func__isinf_use=yes
51148 else
51149 glibcxx_cv_func__isinf_use=no
51151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51152 ac_ext=c
51153 ac_cpp='$CPP $CPPFLAGS'
51154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
51163 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51165 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51166 for ac_func in _isinf
51167 do :
51168 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51169 if test "x$ac_cv_func__isinf" = x""yes; then :
51170 cat >>confdefs.h <<_ACEOF
51171 #define HAVE__ISINF 1
51172 _ACEOF
51175 done
51184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51185 $as_echo_n "checking for isnan declaration... " >&6; }
51186 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51187 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51188 $as_echo_n "(cached) " >&6
51189 else
51192 ac_ext=cpp
51193 ac_cpp='$CXXCPP $CPPFLAGS'
51194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51199 /* end confdefs.h. */
51200 #include <math.h>
51201 #ifdef HAVE_IEEEFP_H
51202 #include <ieeefp.h>
51203 #endif
51206 main ()
51208 isnan(0);
51210 return 0;
51212 _ACEOF
51213 if ac_fn_cxx_try_compile "$LINENO"; then :
51214 glibcxx_cv_func_isnan_use=yes
51215 else
51216 glibcxx_cv_func_isnan_use=no
51218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51219 ac_ext=c
51220 ac_cpp='$CPP $CPPFLAGS'
51221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
51230 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
51232 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
51233 for ac_func in isnan
51234 do :
51235 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
51236 if test "x$ac_cv_func_isnan" = x""yes; then :
51237 cat >>confdefs.h <<_ACEOF
51238 #define HAVE_ISNAN 1
51239 _ACEOF
51242 done
51244 else
51246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
51247 $as_echo_n "checking for _isnan declaration... " >&6; }
51248 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
51249 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
51250 $as_echo_n "(cached) " >&6
51251 else
51254 ac_ext=cpp
51255 ac_cpp='$CXXCPP $CPPFLAGS'
51256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51261 /* end confdefs.h. */
51262 #include <math.h>
51263 #ifdef HAVE_IEEEFP_H
51264 #include <ieeefp.h>
51265 #endif
51268 main ()
51270 _isnan(0);
51272 return 0;
51274 _ACEOF
51275 if ac_fn_cxx_try_compile "$LINENO"; then :
51276 glibcxx_cv_func__isnan_use=yes
51277 else
51278 glibcxx_cv_func__isnan_use=no
51280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51281 ac_ext=c
51282 ac_cpp='$CPP $CPPFLAGS'
51283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
51292 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
51294 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
51295 for ac_func in _isnan
51296 do :
51297 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
51298 if test "x$ac_cv_func__isnan" = x""yes; then :
51299 cat >>confdefs.h <<_ACEOF
51300 #define HAVE__ISNAN 1
51301 _ACEOF
51304 done
51313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
51314 $as_echo_n "checking for finite declaration... " >&6; }
51315 if test x${glibcxx_cv_func_finite_use+set} != xset; then
51316 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
51317 $as_echo_n "(cached) " >&6
51318 else
51321 ac_ext=cpp
51322 ac_cpp='$CXXCPP $CPPFLAGS'
51323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51328 /* end confdefs.h. */
51329 #include <math.h>
51330 #ifdef HAVE_IEEEFP_H
51331 #include <ieeefp.h>
51332 #endif
51335 main ()
51337 finite(0);
51339 return 0;
51341 _ACEOF
51342 if ac_fn_cxx_try_compile "$LINENO"; then :
51343 glibcxx_cv_func_finite_use=yes
51344 else
51345 glibcxx_cv_func_finite_use=no
51347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51348 ac_ext=c
51349 ac_cpp='$CPP $CPPFLAGS'
51350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
51359 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
51361 if test x$glibcxx_cv_func_finite_use = x"yes"; then
51362 for ac_func in finite
51363 do :
51364 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
51365 if test "x$ac_cv_func_finite" = x""yes; then :
51366 cat >>confdefs.h <<_ACEOF
51367 #define HAVE_FINITE 1
51368 _ACEOF
51371 done
51373 else
51375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
51376 $as_echo_n "checking for _finite declaration... " >&6; }
51377 if test x${glibcxx_cv_func__finite_use+set} != xset; then
51378 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
51379 $as_echo_n "(cached) " >&6
51380 else
51383 ac_ext=cpp
51384 ac_cpp='$CXXCPP $CPPFLAGS'
51385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51390 /* end confdefs.h. */
51391 #include <math.h>
51392 #ifdef HAVE_IEEEFP_H
51393 #include <ieeefp.h>
51394 #endif
51397 main ()
51399 _finite(0);
51401 return 0;
51403 _ACEOF
51404 if ac_fn_cxx_try_compile "$LINENO"; then :
51405 glibcxx_cv_func__finite_use=yes
51406 else
51407 glibcxx_cv_func__finite_use=no
51409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51410 ac_ext=c
51411 ac_cpp='$CPP $CPPFLAGS'
51412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
51421 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
51423 if test x$glibcxx_cv_func__finite_use = x"yes"; then
51424 for ac_func in _finite
51425 do :
51426 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
51427 if test "x$ac_cv_func__finite" = x""yes; then :
51428 cat >>confdefs.h <<_ACEOF
51429 #define HAVE__FINITE 1
51430 _ACEOF
51433 done
51442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
51443 $as_echo_n "checking for sincos declaration... " >&6; }
51444 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
51445 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
51446 $as_echo_n "(cached) " >&6
51447 else
51450 ac_ext=cpp
51451 ac_cpp='$CXXCPP $CPPFLAGS'
51452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51457 /* end confdefs.h. */
51458 #include <math.h>
51460 main ()
51462 sincos(0, 0, 0);
51464 return 0;
51466 _ACEOF
51467 if ac_fn_cxx_try_compile "$LINENO"; then :
51468 glibcxx_cv_func_sincos_use=yes
51469 else
51470 glibcxx_cv_func_sincos_use=no
51472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51473 ac_ext=c
51474 ac_cpp='$CPP $CPPFLAGS'
51475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
51484 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
51486 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
51487 for ac_func in sincos
51488 do :
51489 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
51490 if test "x$ac_cv_func_sincos" = x""yes; then :
51491 cat >>confdefs.h <<_ACEOF
51492 #define HAVE_SINCOS 1
51493 _ACEOF
51496 done
51498 else
51500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
51501 $as_echo_n "checking for _sincos declaration... " >&6; }
51502 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
51503 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
51504 $as_echo_n "(cached) " >&6
51505 else
51508 ac_ext=cpp
51509 ac_cpp='$CXXCPP $CPPFLAGS'
51510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51515 /* end confdefs.h. */
51516 #include <math.h>
51518 main ()
51520 _sincos(0, 0, 0);
51522 return 0;
51524 _ACEOF
51525 if ac_fn_cxx_try_compile "$LINENO"; then :
51526 glibcxx_cv_func__sincos_use=yes
51527 else
51528 glibcxx_cv_func__sincos_use=no
51530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51531 ac_ext=c
51532 ac_cpp='$CPP $CPPFLAGS'
51533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
51542 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
51544 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
51545 for ac_func in _sincos
51546 do :
51547 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
51548 if test "x$ac_cv_func__sincos" = x""yes; then :
51549 cat >>confdefs.h <<_ACEOF
51550 #define HAVE__SINCOS 1
51551 _ACEOF
51554 done
51563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
51564 $as_echo_n "checking for fpclass declaration... " >&6; }
51565 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
51566 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
51567 $as_echo_n "(cached) " >&6
51568 else
51571 ac_ext=cpp
51572 ac_cpp='$CXXCPP $CPPFLAGS'
51573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51578 /* end confdefs.h. */
51579 #include <math.h>
51580 #ifdef HAVE_IEEEFP_H
51581 #include <ieeefp.h>
51582 #endif
51585 main ()
51587 fpclass(0);
51589 return 0;
51591 _ACEOF
51592 if ac_fn_cxx_try_compile "$LINENO"; then :
51593 glibcxx_cv_func_fpclass_use=yes
51594 else
51595 glibcxx_cv_func_fpclass_use=no
51597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51598 ac_ext=c
51599 ac_cpp='$CPP $CPPFLAGS'
51600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
51609 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
51611 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
51612 for ac_func in fpclass
51613 do :
51614 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
51615 if test "x$ac_cv_func_fpclass" = x""yes; then :
51616 cat >>confdefs.h <<_ACEOF
51617 #define HAVE_FPCLASS 1
51618 _ACEOF
51621 done
51623 else
51625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
51626 $as_echo_n "checking for _fpclass declaration... " >&6; }
51627 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
51628 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
51629 $as_echo_n "(cached) " >&6
51630 else
51633 ac_ext=cpp
51634 ac_cpp='$CXXCPP $CPPFLAGS'
51635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51640 /* end confdefs.h. */
51641 #include <math.h>
51642 #ifdef HAVE_IEEEFP_H
51643 #include <ieeefp.h>
51644 #endif
51647 main ()
51649 _fpclass(0);
51651 return 0;
51653 _ACEOF
51654 if ac_fn_cxx_try_compile "$LINENO"; then :
51655 glibcxx_cv_func__fpclass_use=yes
51656 else
51657 glibcxx_cv_func__fpclass_use=no
51659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51660 ac_ext=c
51661 ac_cpp='$CPP $CPPFLAGS'
51662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
51671 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
51673 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
51674 for ac_func in _fpclass
51675 do :
51676 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
51677 if test "x$ac_cv_func__fpclass" = x""yes; then :
51678 cat >>confdefs.h <<_ACEOF
51679 #define HAVE__FPCLASS 1
51680 _ACEOF
51683 done
51692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
51693 $as_echo_n "checking for qfpclass declaration... " >&6; }
51694 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
51695 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
51696 $as_echo_n "(cached) " >&6
51697 else
51700 ac_ext=cpp
51701 ac_cpp='$CXXCPP $CPPFLAGS'
51702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51707 /* end confdefs.h. */
51708 #include <math.h>
51709 #ifdef HAVE_IEEEFP_H
51710 #include <ieeefp.h>
51711 #endif
51714 main ()
51716 qfpclass(0);
51718 return 0;
51720 _ACEOF
51721 if ac_fn_cxx_try_compile "$LINENO"; then :
51722 glibcxx_cv_func_qfpclass_use=yes
51723 else
51724 glibcxx_cv_func_qfpclass_use=no
51726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51727 ac_ext=c
51728 ac_cpp='$CPP $CPPFLAGS'
51729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
51738 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
51740 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
51741 for ac_func in qfpclass
51742 do :
51743 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
51744 if test "x$ac_cv_func_qfpclass" = x""yes; then :
51745 cat >>confdefs.h <<_ACEOF
51746 #define HAVE_QFPCLASS 1
51747 _ACEOF
51750 done
51752 else
51754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
51755 $as_echo_n "checking for _qfpclass declaration... " >&6; }
51756 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
51757 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
51758 $as_echo_n "(cached) " >&6
51759 else
51762 ac_ext=cpp
51763 ac_cpp='$CXXCPP $CPPFLAGS'
51764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51769 /* end confdefs.h. */
51770 #include <math.h>
51771 #ifdef HAVE_IEEEFP_H
51772 #include <ieeefp.h>
51773 #endif
51776 main ()
51778 _qfpclass(0);
51780 return 0;
51782 _ACEOF
51783 if ac_fn_cxx_try_compile "$LINENO"; then :
51784 glibcxx_cv_func__qfpclass_use=yes
51785 else
51786 glibcxx_cv_func__qfpclass_use=no
51788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51789 ac_ext=c
51790 ac_cpp='$CPP $CPPFLAGS'
51791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
51800 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
51802 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
51803 for ac_func in _qfpclass
51804 do :
51805 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
51806 if test "x$ac_cv_func__qfpclass" = x""yes; then :
51807 cat >>confdefs.h <<_ACEOF
51808 #define HAVE__QFPCLASS 1
51809 _ACEOF
51812 done
51821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
51822 $as_echo_n "checking for hypot declaration... " >&6; }
51823 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
51824 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
51825 $as_echo_n "(cached) " >&6
51826 else
51829 ac_ext=cpp
51830 ac_cpp='$CXXCPP $CPPFLAGS'
51831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51836 /* end confdefs.h. */
51837 #include <math.h>
51839 main ()
51841 hypot(0, 0);
51843 return 0;
51845 _ACEOF
51846 if ac_fn_cxx_try_compile "$LINENO"; then :
51847 glibcxx_cv_func_hypot_use=yes
51848 else
51849 glibcxx_cv_func_hypot_use=no
51851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51852 ac_ext=c
51853 ac_cpp='$CPP $CPPFLAGS'
51854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
51863 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
51865 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
51866 for ac_func in hypot
51867 do :
51868 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
51869 if test "x$ac_cv_func_hypot" = x""yes; then :
51870 cat >>confdefs.h <<_ACEOF
51871 #define HAVE_HYPOT 1
51872 _ACEOF
51875 done
51877 else
51879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
51880 $as_echo_n "checking for _hypot declaration... " >&6; }
51881 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
51882 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
51883 $as_echo_n "(cached) " >&6
51884 else
51887 ac_ext=cpp
51888 ac_cpp='$CXXCPP $CPPFLAGS'
51889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51894 /* end confdefs.h. */
51895 #include <math.h>
51897 main ()
51899 _hypot(0, 0);
51901 return 0;
51903 _ACEOF
51904 if ac_fn_cxx_try_compile "$LINENO"; then :
51905 glibcxx_cv_func__hypot_use=yes
51906 else
51907 glibcxx_cv_func__hypot_use=no
51909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51910 ac_ext=c
51911 ac_cpp='$CPP $CPPFLAGS'
51912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
51921 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
51923 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
51924 for ac_func in _hypot
51925 do :
51926 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
51927 if test "x$ac_cv_func__hypot" = x""yes; then :
51928 cat >>confdefs.h <<_ACEOF
51929 #define HAVE__HYPOT 1
51930 _ACEOF
51933 done
51942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
51943 $as_echo_n "checking for float trig functions... " >&6; }
51944 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
51945 $as_echo_n "(cached) " >&6
51946 else
51949 ac_ext=cpp
51950 ac_cpp='$CXXCPP $CPPFLAGS'
51951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51956 /* end confdefs.h. */
51957 #include <math.h>
51959 main ()
51961 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
51963 return 0;
51965 _ACEOF
51966 if ac_fn_cxx_try_compile "$LINENO"; then :
51967 glibcxx_cv_func_float_trig_use=yes
51968 else
51969 glibcxx_cv_func_float_trig_use=no
51971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51972 ac_ext=c
51973 ac_cpp='$CPP $CPPFLAGS'
51974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
51981 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
51982 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
51983 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
51984 do :
51985 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51986 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51987 eval as_val=\$$as_ac_var
51988 if test "x$as_val" = x""yes; then :
51989 cat >>confdefs.h <<_ACEOF
51990 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51991 _ACEOF
51994 done
51996 else
51997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
51998 $as_echo_n "checking for _float trig functions... " >&6; }
51999 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
52000 $as_echo_n "(cached) " >&6
52001 else
52004 ac_ext=cpp
52005 ac_cpp='$CXXCPP $CPPFLAGS'
52006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52011 /* end confdefs.h. */
52012 #include <math.h>
52014 main ()
52016 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
52018 return 0;
52020 _ACEOF
52021 if ac_fn_cxx_try_compile "$LINENO"; then :
52022 glibcxx_cv_func__float_trig_use=yes
52023 else
52024 glibcxx_cv_func__float_trig_use=no
52026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52027 ac_ext=c
52028 ac_cpp='$CPP $CPPFLAGS'
52029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
52036 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
52037 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
52038 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
52039 do :
52040 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52041 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52042 eval as_val=\$$as_ac_var
52043 if test "x$as_val" = x""yes; then :
52044 cat >>confdefs.h <<_ACEOF
52045 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52046 _ACEOF
52049 done
52058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52059 $as_echo_n "checking for float round functions... " >&6; }
52060 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52061 $as_echo_n "(cached) " >&6
52062 else
52065 ac_ext=cpp
52066 ac_cpp='$CXXCPP $CPPFLAGS'
52067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52072 /* end confdefs.h. */
52073 #include <math.h>
52075 main ()
52077 ceilf (0); floorf (0);
52079 return 0;
52081 _ACEOF
52082 if ac_fn_cxx_try_compile "$LINENO"; then :
52083 glibcxx_cv_func_float_round_use=yes
52084 else
52085 glibcxx_cv_func_float_round_use=no
52087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52088 ac_ext=c
52089 ac_cpp='$CPP $CPPFLAGS'
52090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52097 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52098 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52099 for ac_func in ceilf floorf
52100 do :
52101 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52102 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52103 eval as_val=\$$as_ac_var
52104 if test "x$as_val" = x""yes; then :
52105 cat >>confdefs.h <<_ACEOF
52106 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52107 _ACEOF
52110 done
52112 else
52113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52114 $as_echo_n "checking for _float round functions... " >&6; }
52115 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52116 $as_echo_n "(cached) " >&6
52117 else
52120 ac_ext=cpp
52121 ac_cpp='$CXXCPP $CPPFLAGS'
52122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52127 /* end confdefs.h. */
52128 #include <math.h>
52130 main ()
52132 _ceilf (0); _floorf (0);
52134 return 0;
52136 _ACEOF
52137 if ac_fn_cxx_try_compile "$LINENO"; then :
52138 glibcxx_cv_func__float_round_use=yes
52139 else
52140 glibcxx_cv_func__float_round_use=no
52142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52143 ac_ext=c
52144 ac_cpp='$CPP $CPPFLAGS'
52145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52152 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52153 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52154 for ac_func in _ceilf _floorf
52155 do :
52156 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52157 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52158 eval as_val=\$$as_ac_var
52159 if test "x$as_val" = x""yes; then :
52160 cat >>confdefs.h <<_ACEOF
52161 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52162 _ACEOF
52165 done
52175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52176 $as_echo_n "checking for expf declaration... " >&6; }
52177 if test x${glibcxx_cv_func_expf_use+set} != xset; then
52178 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52179 $as_echo_n "(cached) " >&6
52180 else
52183 ac_ext=cpp
52184 ac_cpp='$CXXCPP $CPPFLAGS'
52185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52190 /* end confdefs.h. */
52191 #include <math.h>
52192 #ifdef HAVE_IEEEFP_H
52193 #include <ieeefp.h>
52194 #endif
52197 main ()
52199 expf(0);
52201 return 0;
52203 _ACEOF
52204 if ac_fn_cxx_try_compile "$LINENO"; then :
52205 glibcxx_cv_func_expf_use=yes
52206 else
52207 glibcxx_cv_func_expf_use=no
52209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52210 ac_ext=c
52211 ac_cpp='$CPP $CPPFLAGS'
52212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
52221 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
52223 if test x$glibcxx_cv_func_expf_use = x"yes"; then
52224 for ac_func in expf
52225 do :
52226 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
52227 if test "x$ac_cv_func_expf" = x""yes; then :
52228 cat >>confdefs.h <<_ACEOF
52229 #define HAVE_EXPF 1
52230 _ACEOF
52233 done
52235 else
52237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
52238 $as_echo_n "checking for _expf declaration... " >&6; }
52239 if test x${glibcxx_cv_func__expf_use+set} != xset; then
52240 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
52241 $as_echo_n "(cached) " >&6
52242 else
52245 ac_ext=cpp
52246 ac_cpp='$CXXCPP $CPPFLAGS'
52247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52252 /* end confdefs.h. */
52253 #include <math.h>
52254 #ifdef HAVE_IEEEFP_H
52255 #include <ieeefp.h>
52256 #endif
52259 main ()
52261 _expf(0);
52263 return 0;
52265 _ACEOF
52266 if ac_fn_cxx_try_compile "$LINENO"; then :
52267 glibcxx_cv_func__expf_use=yes
52268 else
52269 glibcxx_cv_func__expf_use=no
52271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52272 ac_ext=c
52273 ac_cpp='$CPP $CPPFLAGS'
52274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
52283 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
52285 if test x$glibcxx_cv_func__expf_use = x"yes"; then
52286 for ac_func in _expf
52287 do :
52288 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
52289 if test "x$ac_cv_func__expf" = x""yes; then :
52290 cat >>confdefs.h <<_ACEOF
52291 #define HAVE__EXPF 1
52292 _ACEOF
52295 done
52304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
52305 $as_echo_n "checking for isnanf declaration... " >&6; }
52306 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
52307 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
52308 $as_echo_n "(cached) " >&6
52309 else
52312 ac_ext=cpp
52313 ac_cpp='$CXXCPP $CPPFLAGS'
52314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52319 /* end confdefs.h. */
52320 #include <math.h>
52321 #ifdef HAVE_IEEEFP_H
52322 #include <ieeefp.h>
52323 #endif
52326 main ()
52328 isnanf(0);
52330 return 0;
52332 _ACEOF
52333 if ac_fn_cxx_try_compile "$LINENO"; then :
52334 glibcxx_cv_func_isnanf_use=yes
52335 else
52336 glibcxx_cv_func_isnanf_use=no
52338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52339 ac_ext=c
52340 ac_cpp='$CPP $CPPFLAGS'
52341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
52350 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
52352 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
52353 for ac_func in isnanf
52354 do :
52355 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
52356 if test "x$ac_cv_func_isnanf" = x""yes; then :
52357 cat >>confdefs.h <<_ACEOF
52358 #define HAVE_ISNANF 1
52359 _ACEOF
52362 done
52364 else
52366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
52367 $as_echo_n "checking for _isnanf declaration... " >&6; }
52368 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
52369 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
52370 $as_echo_n "(cached) " >&6
52371 else
52374 ac_ext=cpp
52375 ac_cpp='$CXXCPP $CPPFLAGS'
52376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52381 /* end confdefs.h. */
52382 #include <math.h>
52383 #ifdef HAVE_IEEEFP_H
52384 #include <ieeefp.h>
52385 #endif
52388 main ()
52390 _isnanf(0);
52392 return 0;
52394 _ACEOF
52395 if ac_fn_cxx_try_compile "$LINENO"; then :
52396 glibcxx_cv_func__isnanf_use=yes
52397 else
52398 glibcxx_cv_func__isnanf_use=no
52400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52401 ac_ext=c
52402 ac_cpp='$CPP $CPPFLAGS'
52403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
52412 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
52414 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
52415 for ac_func in _isnanf
52416 do :
52417 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
52418 if test "x$ac_cv_func__isnanf" = x""yes; then :
52419 cat >>confdefs.h <<_ACEOF
52420 #define HAVE__ISNANF 1
52421 _ACEOF
52424 done
52433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
52434 $as_echo_n "checking for isinff declaration... " >&6; }
52435 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
52436 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
52437 $as_echo_n "(cached) " >&6
52438 else
52441 ac_ext=cpp
52442 ac_cpp='$CXXCPP $CPPFLAGS'
52443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52448 /* end confdefs.h. */
52449 #include <math.h>
52450 #ifdef HAVE_IEEEFP_H
52451 #include <ieeefp.h>
52452 #endif
52455 main ()
52457 isinff(0);
52459 return 0;
52461 _ACEOF
52462 if ac_fn_cxx_try_compile "$LINENO"; then :
52463 glibcxx_cv_func_isinff_use=yes
52464 else
52465 glibcxx_cv_func_isinff_use=no
52467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52468 ac_ext=c
52469 ac_cpp='$CPP $CPPFLAGS'
52470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
52479 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
52481 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
52482 for ac_func in isinff
52483 do :
52484 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
52485 if test "x$ac_cv_func_isinff" = x""yes; then :
52486 cat >>confdefs.h <<_ACEOF
52487 #define HAVE_ISINFF 1
52488 _ACEOF
52491 done
52493 else
52495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
52496 $as_echo_n "checking for _isinff declaration... " >&6; }
52497 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
52498 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
52499 $as_echo_n "(cached) " >&6
52500 else
52503 ac_ext=cpp
52504 ac_cpp='$CXXCPP $CPPFLAGS'
52505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52510 /* end confdefs.h. */
52511 #include <math.h>
52512 #ifdef HAVE_IEEEFP_H
52513 #include <ieeefp.h>
52514 #endif
52517 main ()
52519 _isinff(0);
52521 return 0;
52523 _ACEOF
52524 if ac_fn_cxx_try_compile "$LINENO"; then :
52525 glibcxx_cv_func__isinff_use=yes
52526 else
52527 glibcxx_cv_func__isinff_use=no
52529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52530 ac_ext=c
52531 ac_cpp='$CPP $CPPFLAGS'
52532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
52541 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
52543 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
52544 for ac_func in _isinff
52545 do :
52546 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
52547 if test "x$ac_cv_func__isinff" = x""yes; then :
52548 cat >>confdefs.h <<_ACEOF
52549 #define HAVE__ISINFF 1
52550 _ACEOF
52553 done
52562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
52563 $as_echo_n "checking for atan2f declaration... " >&6; }
52564 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
52565 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
52566 $as_echo_n "(cached) " >&6
52567 else
52570 ac_ext=cpp
52571 ac_cpp='$CXXCPP $CPPFLAGS'
52572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52577 /* end confdefs.h. */
52578 #include <math.h>
52580 main ()
52582 atan2f(0, 0);
52584 return 0;
52586 _ACEOF
52587 if ac_fn_cxx_try_compile "$LINENO"; then :
52588 glibcxx_cv_func_atan2f_use=yes
52589 else
52590 glibcxx_cv_func_atan2f_use=no
52592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52593 ac_ext=c
52594 ac_cpp='$CPP $CPPFLAGS'
52595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
52604 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
52606 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
52607 for ac_func in atan2f
52608 do :
52609 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
52610 if test "x$ac_cv_func_atan2f" = x""yes; then :
52611 cat >>confdefs.h <<_ACEOF
52612 #define HAVE_ATAN2F 1
52613 _ACEOF
52616 done
52618 else
52620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
52621 $as_echo_n "checking for _atan2f declaration... " >&6; }
52622 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
52623 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
52624 $as_echo_n "(cached) " >&6
52625 else
52628 ac_ext=cpp
52629 ac_cpp='$CXXCPP $CPPFLAGS'
52630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52635 /* end confdefs.h. */
52636 #include <math.h>
52638 main ()
52640 _atan2f(0, 0);
52642 return 0;
52644 _ACEOF
52645 if ac_fn_cxx_try_compile "$LINENO"; then :
52646 glibcxx_cv_func__atan2f_use=yes
52647 else
52648 glibcxx_cv_func__atan2f_use=no
52650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52651 ac_ext=c
52652 ac_cpp='$CPP $CPPFLAGS'
52653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
52662 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
52664 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
52665 for ac_func in _atan2f
52666 do :
52667 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
52668 if test "x$ac_cv_func__atan2f" = x""yes; then :
52669 cat >>confdefs.h <<_ACEOF
52670 #define HAVE__ATAN2F 1
52671 _ACEOF
52674 done
52683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
52684 $as_echo_n "checking for fabsf declaration... " >&6; }
52685 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
52686 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
52687 $as_echo_n "(cached) " >&6
52688 else
52691 ac_ext=cpp
52692 ac_cpp='$CXXCPP $CPPFLAGS'
52693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52698 /* end confdefs.h. */
52699 #include <math.h>
52700 #ifdef HAVE_IEEEFP_H
52701 #include <ieeefp.h>
52702 #endif
52705 main ()
52707 fabsf(0);
52709 return 0;
52711 _ACEOF
52712 if ac_fn_cxx_try_compile "$LINENO"; then :
52713 glibcxx_cv_func_fabsf_use=yes
52714 else
52715 glibcxx_cv_func_fabsf_use=no
52717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52718 ac_ext=c
52719 ac_cpp='$CPP $CPPFLAGS'
52720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
52729 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
52731 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
52732 for ac_func in fabsf
52733 do :
52734 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
52735 if test "x$ac_cv_func_fabsf" = x""yes; then :
52736 cat >>confdefs.h <<_ACEOF
52737 #define HAVE_FABSF 1
52738 _ACEOF
52741 done
52743 else
52745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
52746 $as_echo_n "checking for _fabsf declaration... " >&6; }
52747 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
52748 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
52749 $as_echo_n "(cached) " >&6
52750 else
52753 ac_ext=cpp
52754 ac_cpp='$CXXCPP $CPPFLAGS'
52755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52760 /* end confdefs.h. */
52761 #include <math.h>
52762 #ifdef HAVE_IEEEFP_H
52763 #include <ieeefp.h>
52764 #endif
52767 main ()
52769 _fabsf(0);
52771 return 0;
52773 _ACEOF
52774 if ac_fn_cxx_try_compile "$LINENO"; then :
52775 glibcxx_cv_func__fabsf_use=yes
52776 else
52777 glibcxx_cv_func__fabsf_use=no
52779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52780 ac_ext=c
52781 ac_cpp='$CPP $CPPFLAGS'
52782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
52791 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
52793 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
52794 for ac_func in _fabsf
52795 do :
52796 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
52797 if test "x$ac_cv_func__fabsf" = x""yes; then :
52798 cat >>confdefs.h <<_ACEOF
52799 #define HAVE__FABSF 1
52800 _ACEOF
52803 done
52812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
52813 $as_echo_n "checking for fmodf declaration... " >&6; }
52814 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
52815 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
52816 $as_echo_n "(cached) " >&6
52817 else
52820 ac_ext=cpp
52821 ac_cpp='$CXXCPP $CPPFLAGS'
52822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52827 /* end confdefs.h. */
52828 #include <math.h>
52830 main ()
52832 fmodf(0, 0);
52834 return 0;
52836 _ACEOF
52837 if ac_fn_cxx_try_compile "$LINENO"; then :
52838 glibcxx_cv_func_fmodf_use=yes
52839 else
52840 glibcxx_cv_func_fmodf_use=no
52842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52843 ac_ext=c
52844 ac_cpp='$CPP $CPPFLAGS'
52845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
52854 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
52856 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
52857 for ac_func in fmodf
52858 do :
52859 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
52860 if test "x$ac_cv_func_fmodf" = x""yes; then :
52861 cat >>confdefs.h <<_ACEOF
52862 #define HAVE_FMODF 1
52863 _ACEOF
52866 done
52868 else
52870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
52871 $as_echo_n "checking for _fmodf declaration... " >&6; }
52872 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
52873 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
52874 $as_echo_n "(cached) " >&6
52875 else
52878 ac_ext=cpp
52879 ac_cpp='$CXXCPP $CPPFLAGS'
52880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52885 /* end confdefs.h. */
52886 #include <math.h>
52888 main ()
52890 _fmodf(0, 0);
52892 return 0;
52894 _ACEOF
52895 if ac_fn_cxx_try_compile "$LINENO"; then :
52896 glibcxx_cv_func__fmodf_use=yes
52897 else
52898 glibcxx_cv_func__fmodf_use=no
52900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52901 ac_ext=c
52902 ac_cpp='$CPP $CPPFLAGS'
52903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
52912 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
52914 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
52915 for ac_func in _fmodf
52916 do :
52917 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
52918 if test "x$ac_cv_func__fmodf" = x""yes; then :
52919 cat >>confdefs.h <<_ACEOF
52920 #define HAVE__FMODF 1
52921 _ACEOF
52924 done
52933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
52934 $as_echo_n "checking for frexpf declaration... " >&6; }
52935 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
52936 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
52937 $as_echo_n "(cached) " >&6
52938 else
52941 ac_ext=cpp
52942 ac_cpp='$CXXCPP $CPPFLAGS'
52943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52948 /* end confdefs.h. */
52949 #include <math.h>
52951 main ()
52953 frexpf(0, 0);
52955 return 0;
52957 _ACEOF
52958 if ac_fn_cxx_try_compile "$LINENO"; then :
52959 glibcxx_cv_func_frexpf_use=yes
52960 else
52961 glibcxx_cv_func_frexpf_use=no
52963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52964 ac_ext=c
52965 ac_cpp='$CPP $CPPFLAGS'
52966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
52975 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
52977 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
52978 for ac_func in frexpf
52979 do :
52980 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
52981 if test "x$ac_cv_func_frexpf" = x""yes; then :
52982 cat >>confdefs.h <<_ACEOF
52983 #define HAVE_FREXPF 1
52984 _ACEOF
52987 done
52989 else
52991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
52992 $as_echo_n "checking for _frexpf declaration... " >&6; }
52993 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
52994 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
52995 $as_echo_n "(cached) " >&6
52996 else
52999 ac_ext=cpp
53000 ac_cpp='$CXXCPP $CPPFLAGS'
53001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53006 /* end confdefs.h. */
53007 #include <math.h>
53009 main ()
53011 _frexpf(0, 0);
53013 return 0;
53015 _ACEOF
53016 if ac_fn_cxx_try_compile "$LINENO"; then :
53017 glibcxx_cv_func__frexpf_use=yes
53018 else
53019 glibcxx_cv_func__frexpf_use=no
53021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53022 ac_ext=c
53023 ac_cpp='$CPP $CPPFLAGS'
53024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
53033 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
53035 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
53036 for ac_func in _frexpf
53037 do :
53038 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
53039 if test "x$ac_cv_func__frexpf" = x""yes; then :
53040 cat >>confdefs.h <<_ACEOF
53041 #define HAVE__FREXPF 1
53042 _ACEOF
53045 done
53054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53055 $as_echo_n "checking for hypotf declaration... " >&6; }
53056 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53057 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53058 $as_echo_n "(cached) " >&6
53059 else
53062 ac_ext=cpp
53063 ac_cpp='$CXXCPP $CPPFLAGS'
53064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53069 /* end confdefs.h. */
53070 #include <math.h>
53072 main ()
53074 hypotf(0, 0);
53076 return 0;
53078 _ACEOF
53079 if ac_fn_cxx_try_compile "$LINENO"; then :
53080 glibcxx_cv_func_hypotf_use=yes
53081 else
53082 glibcxx_cv_func_hypotf_use=no
53084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53085 ac_ext=c
53086 ac_cpp='$CPP $CPPFLAGS'
53087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53096 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53098 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53099 for ac_func in hypotf
53100 do :
53101 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53102 if test "x$ac_cv_func_hypotf" = x""yes; then :
53103 cat >>confdefs.h <<_ACEOF
53104 #define HAVE_HYPOTF 1
53105 _ACEOF
53108 done
53110 else
53112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53113 $as_echo_n "checking for _hypotf declaration... " >&6; }
53114 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53115 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53116 $as_echo_n "(cached) " >&6
53117 else
53120 ac_ext=cpp
53121 ac_cpp='$CXXCPP $CPPFLAGS'
53122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53127 /* end confdefs.h. */
53128 #include <math.h>
53130 main ()
53132 _hypotf(0, 0);
53134 return 0;
53136 _ACEOF
53137 if ac_fn_cxx_try_compile "$LINENO"; then :
53138 glibcxx_cv_func__hypotf_use=yes
53139 else
53140 glibcxx_cv_func__hypotf_use=no
53142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53143 ac_ext=c
53144 ac_cpp='$CPP $CPPFLAGS'
53145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
53154 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53156 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53157 for ac_func in _hypotf
53158 do :
53159 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53160 if test "x$ac_cv_func__hypotf" = x""yes; then :
53161 cat >>confdefs.h <<_ACEOF
53162 #define HAVE__HYPOTF 1
53163 _ACEOF
53166 done
53175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
53176 $as_echo_n "checking for ldexpf declaration... " >&6; }
53177 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53178 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
53179 $as_echo_n "(cached) " >&6
53180 else
53183 ac_ext=cpp
53184 ac_cpp='$CXXCPP $CPPFLAGS'
53185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53190 /* end confdefs.h. */
53191 #include <math.h>
53193 main ()
53195 ldexpf(0, 0);
53197 return 0;
53199 _ACEOF
53200 if ac_fn_cxx_try_compile "$LINENO"; then :
53201 glibcxx_cv_func_ldexpf_use=yes
53202 else
53203 glibcxx_cv_func_ldexpf_use=no
53205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53206 ac_ext=c
53207 ac_cpp='$CPP $CPPFLAGS'
53208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
53217 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
53219 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
53220 for ac_func in ldexpf
53221 do :
53222 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
53223 if test "x$ac_cv_func_ldexpf" = x""yes; then :
53224 cat >>confdefs.h <<_ACEOF
53225 #define HAVE_LDEXPF 1
53226 _ACEOF
53229 done
53231 else
53233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
53234 $as_echo_n "checking for _ldexpf declaration... " >&6; }
53235 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
53236 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
53237 $as_echo_n "(cached) " >&6
53238 else
53241 ac_ext=cpp
53242 ac_cpp='$CXXCPP $CPPFLAGS'
53243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53248 /* end confdefs.h. */
53249 #include <math.h>
53251 main ()
53253 _ldexpf(0, 0);
53255 return 0;
53257 _ACEOF
53258 if ac_fn_cxx_try_compile "$LINENO"; then :
53259 glibcxx_cv_func__ldexpf_use=yes
53260 else
53261 glibcxx_cv_func__ldexpf_use=no
53263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53264 ac_ext=c
53265 ac_cpp='$CPP $CPPFLAGS'
53266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
53275 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
53277 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
53278 for ac_func in _ldexpf
53279 do :
53280 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
53281 if test "x$ac_cv_func__ldexpf" = x""yes; then :
53282 cat >>confdefs.h <<_ACEOF
53283 #define HAVE__LDEXPF 1
53284 _ACEOF
53287 done
53296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
53297 $as_echo_n "checking for logf declaration... " >&6; }
53298 if test x${glibcxx_cv_func_logf_use+set} != xset; then
53299 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
53300 $as_echo_n "(cached) " >&6
53301 else
53304 ac_ext=cpp
53305 ac_cpp='$CXXCPP $CPPFLAGS'
53306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53311 /* end confdefs.h. */
53312 #include <math.h>
53313 #ifdef HAVE_IEEEFP_H
53314 #include <ieeefp.h>
53315 #endif
53318 main ()
53320 logf(0);
53322 return 0;
53324 _ACEOF
53325 if ac_fn_cxx_try_compile "$LINENO"; then :
53326 glibcxx_cv_func_logf_use=yes
53327 else
53328 glibcxx_cv_func_logf_use=no
53330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53331 ac_ext=c
53332 ac_cpp='$CPP $CPPFLAGS'
53333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
53342 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
53344 if test x$glibcxx_cv_func_logf_use = x"yes"; then
53345 for ac_func in logf
53346 do :
53347 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
53348 if test "x$ac_cv_func_logf" = x""yes; then :
53349 cat >>confdefs.h <<_ACEOF
53350 #define HAVE_LOGF 1
53351 _ACEOF
53354 done
53356 else
53358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
53359 $as_echo_n "checking for _logf declaration... " >&6; }
53360 if test x${glibcxx_cv_func__logf_use+set} != xset; then
53361 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
53362 $as_echo_n "(cached) " >&6
53363 else
53366 ac_ext=cpp
53367 ac_cpp='$CXXCPP $CPPFLAGS'
53368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53373 /* end confdefs.h. */
53374 #include <math.h>
53375 #ifdef HAVE_IEEEFP_H
53376 #include <ieeefp.h>
53377 #endif
53380 main ()
53382 _logf(0);
53384 return 0;
53386 _ACEOF
53387 if ac_fn_cxx_try_compile "$LINENO"; then :
53388 glibcxx_cv_func__logf_use=yes
53389 else
53390 glibcxx_cv_func__logf_use=no
53392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53393 ac_ext=c
53394 ac_cpp='$CPP $CPPFLAGS'
53395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
53404 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
53406 if test x$glibcxx_cv_func__logf_use = x"yes"; then
53407 for ac_func in _logf
53408 do :
53409 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
53410 if test "x$ac_cv_func__logf" = x""yes; then :
53411 cat >>confdefs.h <<_ACEOF
53412 #define HAVE__LOGF 1
53413 _ACEOF
53416 done
53425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
53426 $as_echo_n "checking for log10f declaration... " >&6; }
53427 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
53428 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
53429 $as_echo_n "(cached) " >&6
53430 else
53433 ac_ext=cpp
53434 ac_cpp='$CXXCPP $CPPFLAGS'
53435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53440 /* end confdefs.h. */
53441 #include <math.h>
53442 #ifdef HAVE_IEEEFP_H
53443 #include <ieeefp.h>
53444 #endif
53447 main ()
53449 log10f(0);
53451 return 0;
53453 _ACEOF
53454 if ac_fn_cxx_try_compile "$LINENO"; then :
53455 glibcxx_cv_func_log10f_use=yes
53456 else
53457 glibcxx_cv_func_log10f_use=no
53459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53460 ac_ext=c
53461 ac_cpp='$CPP $CPPFLAGS'
53462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
53471 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
53473 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
53474 for ac_func in log10f
53475 do :
53476 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
53477 if test "x$ac_cv_func_log10f" = x""yes; then :
53478 cat >>confdefs.h <<_ACEOF
53479 #define HAVE_LOG10F 1
53480 _ACEOF
53483 done
53485 else
53487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
53488 $as_echo_n "checking for _log10f declaration... " >&6; }
53489 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
53490 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
53491 $as_echo_n "(cached) " >&6
53492 else
53495 ac_ext=cpp
53496 ac_cpp='$CXXCPP $CPPFLAGS'
53497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53502 /* end confdefs.h. */
53503 #include <math.h>
53504 #ifdef HAVE_IEEEFP_H
53505 #include <ieeefp.h>
53506 #endif
53509 main ()
53511 _log10f(0);
53513 return 0;
53515 _ACEOF
53516 if ac_fn_cxx_try_compile "$LINENO"; then :
53517 glibcxx_cv_func__log10f_use=yes
53518 else
53519 glibcxx_cv_func__log10f_use=no
53521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53522 ac_ext=c
53523 ac_cpp='$CPP $CPPFLAGS'
53524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
53533 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
53535 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
53536 for ac_func in _log10f
53537 do :
53538 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
53539 if test "x$ac_cv_func__log10f" = x""yes; then :
53540 cat >>confdefs.h <<_ACEOF
53541 #define HAVE__LOG10F 1
53542 _ACEOF
53545 done
53554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
53555 $as_echo_n "checking for modff declaration... " >&6; }
53556 if test x${glibcxx_cv_func_modff_use+set} != xset; then
53557 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
53558 $as_echo_n "(cached) " >&6
53559 else
53562 ac_ext=cpp
53563 ac_cpp='$CXXCPP $CPPFLAGS'
53564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53569 /* end confdefs.h. */
53570 #include <math.h>
53572 main ()
53574 modff(0, 0);
53576 return 0;
53578 _ACEOF
53579 if ac_fn_cxx_try_compile "$LINENO"; then :
53580 glibcxx_cv_func_modff_use=yes
53581 else
53582 glibcxx_cv_func_modff_use=no
53584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53585 ac_ext=c
53586 ac_cpp='$CPP $CPPFLAGS'
53587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
53596 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
53598 if test x$glibcxx_cv_func_modff_use = x"yes"; then
53599 for ac_func in modff
53600 do :
53601 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
53602 if test "x$ac_cv_func_modff" = x""yes; then :
53603 cat >>confdefs.h <<_ACEOF
53604 #define HAVE_MODFF 1
53605 _ACEOF
53608 done
53610 else
53612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
53613 $as_echo_n "checking for _modff declaration... " >&6; }
53614 if test x${glibcxx_cv_func__modff_use+set} != xset; then
53615 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
53616 $as_echo_n "(cached) " >&6
53617 else
53620 ac_ext=cpp
53621 ac_cpp='$CXXCPP $CPPFLAGS'
53622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53627 /* end confdefs.h. */
53628 #include <math.h>
53630 main ()
53632 _modff(0, 0);
53634 return 0;
53636 _ACEOF
53637 if ac_fn_cxx_try_compile "$LINENO"; then :
53638 glibcxx_cv_func__modff_use=yes
53639 else
53640 glibcxx_cv_func__modff_use=no
53642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53643 ac_ext=c
53644 ac_cpp='$CPP $CPPFLAGS'
53645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
53654 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
53656 if test x$glibcxx_cv_func__modff_use = x"yes"; then
53657 for ac_func in _modff
53658 do :
53659 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
53660 if test "x$ac_cv_func__modff" = x""yes; then :
53661 cat >>confdefs.h <<_ACEOF
53662 #define HAVE__MODFF 1
53663 _ACEOF
53666 done
53675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
53676 $as_echo_n "checking for modf declaration... " >&6; }
53677 if test x${glibcxx_cv_func_modf_use+set} != xset; then
53678 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
53679 $as_echo_n "(cached) " >&6
53680 else
53683 ac_ext=cpp
53684 ac_cpp='$CXXCPP $CPPFLAGS'
53685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53690 /* end confdefs.h. */
53691 #include <math.h>
53693 main ()
53695 modf(0, 0);
53697 return 0;
53699 _ACEOF
53700 if ac_fn_cxx_try_compile "$LINENO"; then :
53701 glibcxx_cv_func_modf_use=yes
53702 else
53703 glibcxx_cv_func_modf_use=no
53705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53706 ac_ext=c
53707 ac_cpp='$CPP $CPPFLAGS'
53708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
53717 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
53719 if test x$glibcxx_cv_func_modf_use = x"yes"; then
53720 for ac_func in modf
53721 do :
53722 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
53723 if test "x$ac_cv_func_modf" = x""yes; then :
53724 cat >>confdefs.h <<_ACEOF
53725 #define HAVE_MODF 1
53726 _ACEOF
53729 done
53731 else
53733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
53734 $as_echo_n "checking for _modf declaration... " >&6; }
53735 if test x${glibcxx_cv_func__modf_use+set} != xset; then
53736 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
53737 $as_echo_n "(cached) " >&6
53738 else
53741 ac_ext=cpp
53742 ac_cpp='$CXXCPP $CPPFLAGS'
53743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53748 /* end confdefs.h. */
53749 #include <math.h>
53751 main ()
53753 _modf(0, 0);
53755 return 0;
53757 _ACEOF
53758 if ac_fn_cxx_try_compile "$LINENO"; then :
53759 glibcxx_cv_func__modf_use=yes
53760 else
53761 glibcxx_cv_func__modf_use=no
53763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53764 ac_ext=c
53765 ac_cpp='$CPP $CPPFLAGS'
53766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
53775 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
53777 if test x$glibcxx_cv_func__modf_use = x"yes"; then
53778 for ac_func in _modf
53779 do :
53780 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
53781 if test "x$ac_cv_func__modf" = x""yes; then :
53782 cat >>confdefs.h <<_ACEOF
53783 #define HAVE__MODF 1
53784 _ACEOF
53787 done
53796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
53797 $as_echo_n "checking for powf declaration... " >&6; }
53798 if test x${glibcxx_cv_func_powf_use+set} != xset; then
53799 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
53800 $as_echo_n "(cached) " >&6
53801 else
53804 ac_ext=cpp
53805 ac_cpp='$CXXCPP $CPPFLAGS'
53806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53811 /* end confdefs.h. */
53812 #include <math.h>
53814 main ()
53816 powf(0, 0);
53818 return 0;
53820 _ACEOF
53821 if ac_fn_cxx_try_compile "$LINENO"; then :
53822 glibcxx_cv_func_powf_use=yes
53823 else
53824 glibcxx_cv_func_powf_use=no
53826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53827 ac_ext=c
53828 ac_cpp='$CPP $CPPFLAGS'
53829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
53838 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
53840 if test x$glibcxx_cv_func_powf_use = x"yes"; then
53841 for ac_func in powf
53842 do :
53843 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
53844 if test "x$ac_cv_func_powf" = x""yes; then :
53845 cat >>confdefs.h <<_ACEOF
53846 #define HAVE_POWF 1
53847 _ACEOF
53850 done
53852 else
53854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
53855 $as_echo_n "checking for _powf declaration... " >&6; }
53856 if test x${glibcxx_cv_func__powf_use+set} != xset; then
53857 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
53858 $as_echo_n "(cached) " >&6
53859 else
53862 ac_ext=cpp
53863 ac_cpp='$CXXCPP $CPPFLAGS'
53864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53869 /* end confdefs.h. */
53870 #include <math.h>
53872 main ()
53874 _powf(0, 0);
53876 return 0;
53878 _ACEOF
53879 if ac_fn_cxx_try_compile "$LINENO"; then :
53880 glibcxx_cv_func__powf_use=yes
53881 else
53882 glibcxx_cv_func__powf_use=no
53884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53885 ac_ext=c
53886 ac_cpp='$CPP $CPPFLAGS'
53887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
53896 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
53898 if test x$glibcxx_cv_func__powf_use = x"yes"; then
53899 for ac_func in _powf
53900 do :
53901 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
53902 if test "x$ac_cv_func__powf" = x""yes; then :
53903 cat >>confdefs.h <<_ACEOF
53904 #define HAVE__POWF 1
53905 _ACEOF
53908 done
53917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
53918 $as_echo_n "checking for sqrtf declaration... " >&6; }
53919 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
53920 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
53921 $as_echo_n "(cached) " >&6
53922 else
53925 ac_ext=cpp
53926 ac_cpp='$CXXCPP $CPPFLAGS'
53927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53932 /* end confdefs.h. */
53933 #include <math.h>
53934 #ifdef HAVE_IEEEFP_H
53935 #include <ieeefp.h>
53936 #endif
53939 main ()
53941 sqrtf(0);
53943 return 0;
53945 _ACEOF
53946 if ac_fn_cxx_try_compile "$LINENO"; then :
53947 glibcxx_cv_func_sqrtf_use=yes
53948 else
53949 glibcxx_cv_func_sqrtf_use=no
53951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53952 ac_ext=c
53953 ac_cpp='$CPP $CPPFLAGS'
53954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
53963 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
53965 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
53966 for ac_func in sqrtf
53967 do :
53968 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
53969 if test "x$ac_cv_func_sqrtf" = x""yes; then :
53970 cat >>confdefs.h <<_ACEOF
53971 #define HAVE_SQRTF 1
53972 _ACEOF
53975 done
53977 else
53979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
53980 $as_echo_n "checking for _sqrtf declaration... " >&6; }
53981 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
53982 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
53983 $as_echo_n "(cached) " >&6
53984 else
53987 ac_ext=cpp
53988 ac_cpp='$CXXCPP $CPPFLAGS'
53989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53994 /* end confdefs.h. */
53995 #include <math.h>
53996 #ifdef HAVE_IEEEFP_H
53997 #include <ieeefp.h>
53998 #endif
54001 main ()
54003 _sqrtf(0);
54005 return 0;
54007 _ACEOF
54008 if ac_fn_cxx_try_compile "$LINENO"; then :
54009 glibcxx_cv_func__sqrtf_use=yes
54010 else
54011 glibcxx_cv_func__sqrtf_use=no
54013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54014 ac_ext=c
54015 ac_cpp='$CPP $CPPFLAGS'
54016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
54025 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
54027 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
54028 for ac_func in _sqrtf
54029 do :
54030 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
54031 if test "x$ac_cv_func__sqrtf" = x""yes; then :
54032 cat >>confdefs.h <<_ACEOF
54033 #define HAVE__SQRTF 1
54034 _ACEOF
54037 done
54046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54047 $as_echo_n "checking for sincosf declaration... " >&6; }
54048 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54049 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54050 $as_echo_n "(cached) " >&6
54051 else
54054 ac_ext=cpp
54055 ac_cpp='$CXXCPP $CPPFLAGS'
54056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54061 /* end confdefs.h. */
54062 #include <math.h>
54064 main ()
54066 sincosf(0, 0, 0);
54068 return 0;
54070 _ACEOF
54071 if ac_fn_cxx_try_compile "$LINENO"; then :
54072 glibcxx_cv_func_sincosf_use=yes
54073 else
54074 glibcxx_cv_func_sincosf_use=no
54076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54077 ac_ext=c
54078 ac_cpp='$CPP $CPPFLAGS'
54079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54088 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54090 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54091 for ac_func in sincosf
54092 do :
54093 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54094 if test "x$ac_cv_func_sincosf" = x""yes; then :
54095 cat >>confdefs.h <<_ACEOF
54096 #define HAVE_SINCOSF 1
54097 _ACEOF
54100 done
54102 else
54104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54105 $as_echo_n "checking for _sincosf declaration... " >&6; }
54106 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54107 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54108 $as_echo_n "(cached) " >&6
54109 else
54112 ac_ext=cpp
54113 ac_cpp='$CXXCPP $CPPFLAGS'
54114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54119 /* end confdefs.h. */
54120 #include <math.h>
54122 main ()
54124 _sincosf(0, 0, 0);
54126 return 0;
54128 _ACEOF
54129 if ac_fn_cxx_try_compile "$LINENO"; then :
54130 glibcxx_cv_func__sincosf_use=yes
54131 else
54132 glibcxx_cv_func__sincosf_use=no
54134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54135 ac_ext=c
54136 ac_cpp='$CPP $CPPFLAGS'
54137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54146 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54148 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54149 for ac_func in _sincosf
54150 do :
54151 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54152 if test "x$ac_cv_func__sincosf" = x""yes; then :
54153 cat >>confdefs.h <<_ACEOF
54154 #define HAVE__SINCOSF 1
54155 _ACEOF
54158 done
54167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54168 $as_echo_n "checking for finitef declaration... " >&6; }
54169 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54170 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54171 $as_echo_n "(cached) " >&6
54172 else
54175 ac_ext=cpp
54176 ac_cpp='$CXXCPP $CPPFLAGS'
54177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54182 /* end confdefs.h. */
54183 #include <math.h>
54184 #ifdef HAVE_IEEEFP_H
54185 #include <ieeefp.h>
54186 #endif
54189 main ()
54191 finitef(0);
54193 return 0;
54195 _ACEOF
54196 if ac_fn_cxx_try_compile "$LINENO"; then :
54197 glibcxx_cv_func_finitef_use=yes
54198 else
54199 glibcxx_cv_func_finitef_use=no
54201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54202 ac_ext=c
54203 ac_cpp='$CPP $CPPFLAGS'
54204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
54213 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
54215 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
54216 for ac_func in finitef
54217 do :
54218 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
54219 if test "x$ac_cv_func_finitef" = x""yes; then :
54220 cat >>confdefs.h <<_ACEOF
54221 #define HAVE_FINITEF 1
54222 _ACEOF
54225 done
54227 else
54229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
54230 $as_echo_n "checking for _finitef declaration... " >&6; }
54231 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
54232 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
54233 $as_echo_n "(cached) " >&6
54234 else
54237 ac_ext=cpp
54238 ac_cpp='$CXXCPP $CPPFLAGS'
54239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54244 /* end confdefs.h. */
54245 #include <math.h>
54246 #ifdef HAVE_IEEEFP_H
54247 #include <ieeefp.h>
54248 #endif
54251 main ()
54253 _finitef(0);
54255 return 0;
54257 _ACEOF
54258 if ac_fn_cxx_try_compile "$LINENO"; then :
54259 glibcxx_cv_func__finitef_use=yes
54260 else
54261 glibcxx_cv_func__finitef_use=no
54263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54264 ac_ext=c
54265 ac_cpp='$CPP $CPPFLAGS'
54266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
54275 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
54277 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
54278 for ac_func in _finitef
54279 do :
54280 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
54281 if test "x$ac_cv_func__finitef" = x""yes; then :
54282 cat >>confdefs.h <<_ACEOF
54283 #define HAVE__FINITEF 1
54284 _ACEOF
54287 done
54296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
54297 $as_echo_n "checking for long double trig functions... " >&6; }
54298 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
54299 $as_echo_n "(cached) " >&6
54300 else
54303 ac_ext=cpp
54304 ac_cpp='$CXXCPP $CPPFLAGS'
54305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54310 /* end confdefs.h. */
54311 #include <math.h>
54313 main ()
54315 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
54317 return 0;
54319 _ACEOF
54320 if ac_fn_cxx_try_compile "$LINENO"; then :
54321 glibcxx_cv_func_long_double_trig_use=yes
54322 else
54323 glibcxx_cv_func_long_double_trig_use=no
54325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54326 ac_ext=c
54327 ac_cpp='$CPP $CPPFLAGS'
54328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
54335 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
54336 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
54337 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
54338 do :
54339 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54340 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54341 eval as_val=\$$as_ac_var
54342 if test "x$as_val" = x""yes; then :
54343 cat >>confdefs.h <<_ACEOF
54344 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54345 _ACEOF
54348 done
54350 else
54351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
54352 $as_echo_n "checking for _long double trig functions... " >&6; }
54353 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
54354 $as_echo_n "(cached) " >&6
54355 else
54358 ac_ext=cpp
54359 ac_cpp='$CXXCPP $CPPFLAGS'
54360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54365 /* end confdefs.h. */
54366 #include <math.h>
54368 main ()
54370 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
54372 return 0;
54374 _ACEOF
54375 if ac_fn_cxx_try_compile "$LINENO"; then :
54376 glibcxx_cv_func__long_double_trig_use=yes
54377 else
54378 glibcxx_cv_func__long_double_trig_use=no
54380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54381 ac_ext=c
54382 ac_cpp='$CPP $CPPFLAGS'
54383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
54390 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
54391 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
54392 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
54393 do :
54394 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54395 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54396 eval as_val=\$$as_ac_var
54397 if test "x$as_val" = x""yes; then :
54398 cat >>confdefs.h <<_ACEOF
54399 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54400 _ACEOF
54403 done
54412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
54413 $as_echo_n "checking for long double round functions... " >&6; }
54414 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
54415 $as_echo_n "(cached) " >&6
54416 else
54419 ac_ext=cpp
54420 ac_cpp='$CXXCPP $CPPFLAGS'
54421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54426 /* end confdefs.h. */
54427 #include <math.h>
54429 main ()
54431 ceill (0); floorl (0);
54433 return 0;
54435 _ACEOF
54436 if ac_fn_cxx_try_compile "$LINENO"; then :
54437 glibcxx_cv_func_long_double_round_use=yes
54438 else
54439 glibcxx_cv_func_long_double_round_use=no
54441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54442 ac_ext=c
54443 ac_cpp='$CPP $CPPFLAGS'
54444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
54451 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
54452 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
54453 for ac_func in ceill floorl
54454 do :
54455 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54456 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54457 eval as_val=\$$as_ac_var
54458 if test "x$as_val" = x""yes; then :
54459 cat >>confdefs.h <<_ACEOF
54460 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54461 _ACEOF
54464 done
54466 else
54467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
54468 $as_echo_n "checking for _long double round functions... " >&6; }
54469 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
54470 $as_echo_n "(cached) " >&6
54471 else
54474 ac_ext=cpp
54475 ac_cpp='$CXXCPP $CPPFLAGS'
54476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54481 /* end confdefs.h. */
54482 #include <math.h>
54484 main ()
54486 _ceill (0); _floorl (0);
54488 return 0;
54490 _ACEOF
54491 if ac_fn_cxx_try_compile "$LINENO"; then :
54492 glibcxx_cv_func__long_double_round_use=yes
54493 else
54494 glibcxx_cv_func__long_double_round_use=no
54496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54497 ac_ext=c
54498 ac_cpp='$CPP $CPPFLAGS'
54499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
54506 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
54507 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54508 for ac_func in _ceill _floorl
54509 do :
54510 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54511 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54512 eval as_val=\$$as_ac_var
54513 if test "x$as_val" = x""yes; then :
54514 cat >>confdefs.h <<_ACEOF
54515 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54516 _ACEOF
54519 done
54529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
54530 $as_echo_n "checking for isnanl declaration... " >&6; }
54531 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54532 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
54533 $as_echo_n "(cached) " >&6
54534 else
54537 ac_ext=cpp
54538 ac_cpp='$CXXCPP $CPPFLAGS'
54539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54544 /* end confdefs.h. */
54545 #include <math.h>
54546 #ifdef HAVE_IEEEFP_H
54547 #include <ieeefp.h>
54548 #endif
54551 main ()
54553 isnanl(0);
54555 return 0;
54557 _ACEOF
54558 if ac_fn_cxx_try_compile "$LINENO"; then :
54559 glibcxx_cv_func_isnanl_use=yes
54560 else
54561 glibcxx_cv_func_isnanl_use=no
54563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54564 ac_ext=c
54565 ac_cpp='$CPP $CPPFLAGS'
54566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
54575 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
54577 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54578 for ac_func in isnanl
54579 do :
54580 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
54581 if test "x$ac_cv_func_isnanl" = x""yes; then :
54582 cat >>confdefs.h <<_ACEOF
54583 #define HAVE_ISNANL 1
54584 _ACEOF
54587 done
54589 else
54591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
54592 $as_echo_n "checking for _isnanl declaration... " >&6; }
54593 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54594 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
54595 $as_echo_n "(cached) " >&6
54596 else
54599 ac_ext=cpp
54600 ac_cpp='$CXXCPP $CPPFLAGS'
54601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54606 /* end confdefs.h. */
54607 #include <math.h>
54608 #ifdef HAVE_IEEEFP_H
54609 #include <ieeefp.h>
54610 #endif
54613 main ()
54615 _isnanl(0);
54617 return 0;
54619 _ACEOF
54620 if ac_fn_cxx_try_compile "$LINENO"; then :
54621 glibcxx_cv_func__isnanl_use=yes
54622 else
54623 glibcxx_cv_func__isnanl_use=no
54625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54626 ac_ext=c
54627 ac_cpp='$CPP $CPPFLAGS'
54628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
54637 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
54639 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54640 for ac_func in _isnanl
54641 do :
54642 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
54643 if test "x$ac_cv_func__isnanl" = x""yes; then :
54644 cat >>confdefs.h <<_ACEOF
54645 #define HAVE__ISNANL 1
54646 _ACEOF
54649 done
54658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
54659 $as_echo_n "checking for isinfl declaration... " >&6; }
54660 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54661 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
54662 $as_echo_n "(cached) " >&6
54663 else
54666 ac_ext=cpp
54667 ac_cpp='$CXXCPP $CPPFLAGS'
54668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54673 /* end confdefs.h. */
54674 #include <math.h>
54675 #ifdef HAVE_IEEEFP_H
54676 #include <ieeefp.h>
54677 #endif
54680 main ()
54682 isinfl(0);
54684 return 0;
54686 _ACEOF
54687 if ac_fn_cxx_try_compile "$LINENO"; then :
54688 glibcxx_cv_func_isinfl_use=yes
54689 else
54690 glibcxx_cv_func_isinfl_use=no
54692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54693 ac_ext=c
54694 ac_cpp='$CPP $CPPFLAGS'
54695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
54704 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
54706 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54707 for ac_func in isinfl
54708 do :
54709 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
54710 if test "x$ac_cv_func_isinfl" = x""yes; then :
54711 cat >>confdefs.h <<_ACEOF
54712 #define HAVE_ISINFL 1
54713 _ACEOF
54716 done
54718 else
54720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
54721 $as_echo_n "checking for _isinfl declaration... " >&6; }
54722 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
54723 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
54724 $as_echo_n "(cached) " >&6
54725 else
54728 ac_ext=cpp
54729 ac_cpp='$CXXCPP $CPPFLAGS'
54730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54735 /* end confdefs.h. */
54736 #include <math.h>
54737 #ifdef HAVE_IEEEFP_H
54738 #include <ieeefp.h>
54739 #endif
54742 main ()
54744 _isinfl(0);
54746 return 0;
54748 _ACEOF
54749 if ac_fn_cxx_try_compile "$LINENO"; then :
54750 glibcxx_cv_func__isinfl_use=yes
54751 else
54752 glibcxx_cv_func__isinfl_use=no
54754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54755 ac_ext=c
54756 ac_cpp='$CPP $CPPFLAGS'
54757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
54766 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
54768 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
54769 for ac_func in _isinfl
54770 do :
54771 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
54772 if test "x$ac_cv_func__isinfl" = x""yes; then :
54773 cat >>confdefs.h <<_ACEOF
54774 #define HAVE__ISINFL 1
54775 _ACEOF
54778 done
54787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
54788 $as_echo_n "checking for atan2l declaration... " >&6; }
54789 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
54790 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
54791 $as_echo_n "(cached) " >&6
54792 else
54795 ac_ext=cpp
54796 ac_cpp='$CXXCPP $CPPFLAGS'
54797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54802 /* end confdefs.h. */
54803 #include <math.h>
54805 main ()
54807 atan2l(0, 0);
54809 return 0;
54811 _ACEOF
54812 if ac_fn_cxx_try_compile "$LINENO"; then :
54813 glibcxx_cv_func_atan2l_use=yes
54814 else
54815 glibcxx_cv_func_atan2l_use=no
54817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54818 ac_ext=c
54819 ac_cpp='$CPP $CPPFLAGS'
54820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
54829 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
54831 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
54832 for ac_func in atan2l
54833 do :
54834 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
54835 if test "x$ac_cv_func_atan2l" = x""yes; then :
54836 cat >>confdefs.h <<_ACEOF
54837 #define HAVE_ATAN2L 1
54838 _ACEOF
54841 done
54843 else
54845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
54846 $as_echo_n "checking for _atan2l declaration... " >&6; }
54847 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
54848 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
54849 $as_echo_n "(cached) " >&6
54850 else
54853 ac_ext=cpp
54854 ac_cpp='$CXXCPP $CPPFLAGS'
54855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54860 /* end confdefs.h. */
54861 #include <math.h>
54863 main ()
54865 _atan2l(0, 0);
54867 return 0;
54869 _ACEOF
54870 if ac_fn_cxx_try_compile "$LINENO"; then :
54871 glibcxx_cv_func__atan2l_use=yes
54872 else
54873 glibcxx_cv_func__atan2l_use=no
54875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54876 ac_ext=c
54877 ac_cpp='$CPP $CPPFLAGS'
54878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
54887 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
54889 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
54890 for ac_func in _atan2l
54891 do :
54892 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
54893 if test "x$ac_cv_func__atan2l" = x""yes; then :
54894 cat >>confdefs.h <<_ACEOF
54895 #define HAVE__ATAN2L 1
54896 _ACEOF
54899 done
54908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
54909 $as_echo_n "checking for expl declaration... " >&6; }
54910 if test x${glibcxx_cv_func_expl_use+set} != xset; then
54911 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
54912 $as_echo_n "(cached) " >&6
54913 else
54916 ac_ext=cpp
54917 ac_cpp='$CXXCPP $CPPFLAGS'
54918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54923 /* end confdefs.h. */
54924 #include <math.h>
54925 #ifdef HAVE_IEEEFP_H
54926 #include <ieeefp.h>
54927 #endif
54930 main ()
54932 expl(0);
54934 return 0;
54936 _ACEOF
54937 if ac_fn_cxx_try_compile "$LINENO"; then :
54938 glibcxx_cv_func_expl_use=yes
54939 else
54940 glibcxx_cv_func_expl_use=no
54942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54943 ac_ext=c
54944 ac_cpp='$CPP $CPPFLAGS'
54945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
54954 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
54956 if test x$glibcxx_cv_func_expl_use = x"yes"; then
54957 for ac_func in expl
54958 do :
54959 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
54960 if test "x$ac_cv_func_expl" = x""yes; then :
54961 cat >>confdefs.h <<_ACEOF
54962 #define HAVE_EXPL 1
54963 _ACEOF
54966 done
54968 else
54970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
54971 $as_echo_n "checking for _expl declaration... " >&6; }
54972 if test x${glibcxx_cv_func__expl_use+set} != xset; then
54973 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
54974 $as_echo_n "(cached) " >&6
54975 else
54978 ac_ext=cpp
54979 ac_cpp='$CXXCPP $CPPFLAGS'
54980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54985 /* end confdefs.h. */
54986 #include <math.h>
54987 #ifdef HAVE_IEEEFP_H
54988 #include <ieeefp.h>
54989 #endif
54992 main ()
54994 _expl(0);
54996 return 0;
54998 _ACEOF
54999 if ac_fn_cxx_try_compile "$LINENO"; then :
55000 glibcxx_cv_func__expl_use=yes
55001 else
55002 glibcxx_cv_func__expl_use=no
55004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55005 ac_ext=c
55006 ac_cpp='$CPP $CPPFLAGS'
55007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
55016 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
55018 if test x$glibcxx_cv_func__expl_use = x"yes"; then
55019 for ac_func in _expl
55020 do :
55021 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
55022 if test "x$ac_cv_func__expl" = x""yes; then :
55023 cat >>confdefs.h <<_ACEOF
55024 #define HAVE__EXPL 1
55025 _ACEOF
55028 done
55037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
55038 $as_echo_n "checking for fabsl declaration... " >&6; }
55039 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55040 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
55041 $as_echo_n "(cached) " >&6
55042 else
55045 ac_ext=cpp
55046 ac_cpp='$CXXCPP $CPPFLAGS'
55047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55052 /* end confdefs.h. */
55053 #include <math.h>
55054 #ifdef HAVE_IEEEFP_H
55055 #include <ieeefp.h>
55056 #endif
55059 main ()
55061 fabsl(0);
55063 return 0;
55065 _ACEOF
55066 if ac_fn_cxx_try_compile "$LINENO"; then :
55067 glibcxx_cv_func_fabsl_use=yes
55068 else
55069 glibcxx_cv_func_fabsl_use=no
55071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55072 ac_ext=c
55073 ac_cpp='$CPP $CPPFLAGS'
55074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55083 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55085 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55086 for ac_func in fabsl
55087 do :
55088 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55089 if test "x$ac_cv_func_fabsl" = x""yes; then :
55090 cat >>confdefs.h <<_ACEOF
55091 #define HAVE_FABSL 1
55092 _ACEOF
55095 done
55097 else
55099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55100 $as_echo_n "checking for _fabsl declaration... " >&6; }
55101 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55102 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55103 $as_echo_n "(cached) " >&6
55104 else
55107 ac_ext=cpp
55108 ac_cpp='$CXXCPP $CPPFLAGS'
55109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55114 /* end confdefs.h. */
55115 #include <math.h>
55116 #ifdef HAVE_IEEEFP_H
55117 #include <ieeefp.h>
55118 #endif
55121 main ()
55123 _fabsl(0);
55125 return 0;
55127 _ACEOF
55128 if ac_fn_cxx_try_compile "$LINENO"; then :
55129 glibcxx_cv_func__fabsl_use=yes
55130 else
55131 glibcxx_cv_func__fabsl_use=no
55133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55134 ac_ext=c
55135 ac_cpp='$CPP $CPPFLAGS'
55136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55145 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55147 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55148 for ac_func in _fabsl
55149 do :
55150 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55151 if test "x$ac_cv_func__fabsl" = x""yes; then :
55152 cat >>confdefs.h <<_ACEOF
55153 #define HAVE__FABSL 1
55154 _ACEOF
55157 done
55166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55167 $as_echo_n "checking for fmodl declaration... " >&6; }
55168 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55169 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55170 $as_echo_n "(cached) " >&6
55171 else
55174 ac_ext=cpp
55175 ac_cpp='$CXXCPP $CPPFLAGS'
55176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55181 /* end confdefs.h. */
55182 #include <math.h>
55184 main ()
55186 fmodl(0, 0);
55188 return 0;
55190 _ACEOF
55191 if ac_fn_cxx_try_compile "$LINENO"; then :
55192 glibcxx_cv_func_fmodl_use=yes
55193 else
55194 glibcxx_cv_func_fmodl_use=no
55196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55197 ac_ext=c
55198 ac_cpp='$CPP $CPPFLAGS'
55199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
55208 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
55210 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55211 for ac_func in fmodl
55212 do :
55213 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
55214 if test "x$ac_cv_func_fmodl" = x""yes; then :
55215 cat >>confdefs.h <<_ACEOF
55216 #define HAVE_FMODL 1
55217 _ACEOF
55220 done
55222 else
55224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
55225 $as_echo_n "checking for _fmodl declaration... " >&6; }
55226 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55227 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
55228 $as_echo_n "(cached) " >&6
55229 else
55232 ac_ext=cpp
55233 ac_cpp='$CXXCPP $CPPFLAGS'
55234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55239 /* end confdefs.h. */
55240 #include <math.h>
55242 main ()
55244 _fmodl(0, 0);
55246 return 0;
55248 _ACEOF
55249 if ac_fn_cxx_try_compile "$LINENO"; then :
55250 glibcxx_cv_func__fmodl_use=yes
55251 else
55252 glibcxx_cv_func__fmodl_use=no
55254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55255 ac_ext=c
55256 ac_cpp='$CPP $CPPFLAGS'
55257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
55266 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
55268 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
55269 for ac_func in _fmodl
55270 do :
55271 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
55272 if test "x$ac_cv_func__fmodl" = x""yes; then :
55273 cat >>confdefs.h <<_ACEOF
55274 #define HAVE__FMODL 1
55275 _ACEOF
55278 done
55287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
55288 $as_echo_n "checking for frexpl declaration... " >&6; }
55289 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55290 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
55291 $as_echo_n "(cached) " >&6
55292 else
55295 ac_ext=cpp
55296 ac_cpp='$CXXCPP $CPPFLAGS'
55297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55302 /* end confdefs.h. */
55303 #include <math.h>
55305 main ()
55307 frexpl(0, 0);
55309 return 0;
55311 _ACEOF
55312 if ac_fn_cxx_try_compile "$LINENO"; then :
55313 glibcxx_cv_func_frexpl_use=yes
55314 else
55315 glibcxx_cv_func_frexpl_use=no
55317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55318 ac_ext=c
55319 ac_cpp='$CPP $CPPFLAGS'
55320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
55329 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
55331 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
55332 for ac_func in frexpl
55333 do :
55334 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
55335 if test "x$ac_cv_func_frexpl" = x""yes; then :
55336 cat >>confdefs.h <<_ACEOF
55337 #define HAVE_FREXPL 1
55338 _ACEOF
55341 done
55343 else
55345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
55346 $as_echo_n "checking for _frexpl declaration... " >&6; }
55347 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
55348 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
55349 $as_echo_n "(cached) " >&6
55350 else
55353 ac_ext=cpp
55354 ac_cpp='$CXXCPP $CPPFLAGS'
55355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55360 /* end confdefs.h. */
55361 #include <math.h>
55363 main ()
55365 _frexpl(0, 0);
55367 return 0;
55369 _ACEOF
55370 if ac_fn_cxx_try_compile "$LINENO"; then :
55371 glibcxx_cv_func__frexpl_use=yes
55372 else
55373 glibcxx_cv_func__frexpl_use=no
55375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55376 ac_ext=c
55377 ac_cpp='$CPP $CPPFLAGS'
55378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
55387 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
55389 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
55390 for ac_func in _frexpl
55391 do :
55392 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
55393 if test "x$ac_cv_func__frexpl" = x""yes; then :
55394 cat >>confdefs.h <<_ACEOF
55395 #define HAVE__FREXPL 1
55396 _ACEOF
55399 done
55408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
55409 $as_echo_n "checking for hypotl declaration... " >&6; }
55410 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
55411 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
55412 $as_echo_n "(cached) " >&6
55413 else
55416 ac_ext=cpp
55417 ac_cpp='$CXXCPP $CPPFLAGS'
55418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55423 /* end confdefs.h. */
55424 #include <math.h>
55426 main ()
55428 hypotl(0, 0);
55430 return 0;
55432 _ACEOF
55433 if ac_fn_cxx_try_compile "$LINENO"; then :
55434 glibcxx_cv_func_hypotl_use=yes
55435 else
55436 glibcxx_cv_func_hypotl_use=no
55438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55439 ac_ext=c
55440 ac_cpp='$CPP $CPPFLAGS'
55441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
55450 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
55452 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
55453 for ac_func in hypotl
55454 do :
55455 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
55456 if test "x$ac_cv_func_hypotl" = x""yes; then :
55457 cat >>confdefs.h <<_ACEOF
55458 #define HAVE_HYPOTL 1
55459 _ACEOF
55462 done
55464 else
55466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
55467 $as_echo_n "checking for _hypotl declaration... " >&6; }
55468 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
55469 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
55470 $as_echo_n "(cached) " >&6
55471 else
55474 ac_ext=cpp
55475 ac_cpp='$CXXCPP $CPPFLAGS'
55476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55481 /* end confdefs.h. */
55482 #include <math.h>
55484 main ()
55486 _hypotl(0, 0);
55488 return 0;
55490 _ACEOF
55491 if ac_fn_cxx_try_compile "$LINENO"; then :
55492 glibcxx_cv_func__hypotl_use=yes
55493 else
55494 glibcxx_cv_func__hypotl_use=no
55496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55497 ac_ext=c
55498 ac_cpp='$CPP $CPPFLAGS'
55499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
55508 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
55510 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
55511 for ac_func in _hypotl
55512 do :
55513 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
55514 if test "x$ac_cv_func__hypotl" = x""yes; then :
55515 cat >>confdefs.h <<_ACEOF
55516 #define HAVE__HYPOTL 1
55517 _ACEOF
55520 done
55529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
55530 $as_echo_n "checking for ldexpl declaration... " >&6; }
55531 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
55532 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
55533 $as_echo_n "(cached) " >&6
55534 else
55537 ac_ext=cpp
55538 ac_cpp='$CXXCPP $CPPFLAGS'
55539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55544 /* end confdefs.h. */
55545 #include <math.h>
55547 main ()
55549 ldexpl(0, 0);
55551 return 0;
55553 _ACEOF
55554 if ac_fn_cxx_try_compile "$LINENO"; then :
55555 glibcxx_cv_func_ldexpl_use=yes
55556 else
55557 glibcxx_cv_func_ldexpl_use=no
55559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55560 ac_ext=c
55561 ac_cpp='$CPP $CPPFLAGS'
55562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
55571 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
55573 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
55574 for ac_func in ldexpl
55575 do :
55576 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
55577 if test "x$ac_cv_func_ldexpl" = x""yes; then :
55578 cat >>confdefs.h <<_ACEOF
55579 #define HAVE_LDEXPL 1
55580 _ACEOF
55583 done
55585 else
55587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
55588 $as_echo_n "checking for _ldexpl declaration... " >&6; }
55589 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
55590 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
55591 $as_echo_n "(cached) " >&6
55592 else
55595 ac_ext=cpp
55596 ac_cpp='$CXXCPP $CPPFLAGS'
55597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55602 /* end confdefs.h. */
55603 #include <math.h>
55605 main ()
55607 _ldexpl(0, 0);
55609 return 0;
55611 _ACEOF
55612 if ac_fn_cxx_try_compile "$LINENO"; then :
55613 glibcxx_cv_func__ldexpl_use=yes
55614 else
55615 glibcxx_cv_func__ldexpl_use=no
55617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55618 ac_ext=c
55619 ac_cpp='$CPP $CPPFLAGS'
55620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
55629 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
55631 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
55632 for ac_func in _ldexpl
55633 do :
55634 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
55635 if test "x$ac_cv_func__ldexpl" = x""yes; then :
55636 cat >>confdefs.h <<_ACEOF
55637 #define HAVE__LDEXPL 1
55638 _ACEOF
55641 done
55650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
55651 $as_echo_n "checking for logl declaration... " >&6; }
55652 if test x${glibcxx_cv_func_logl_use+set} != xset; then
55653 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
55654 $as_echo_n "(cached) " >&6
55655 else
55658 ac_ext=cpp
55659 ac_cpp='$CXXCPP $CPPFLAGS'
55660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55665 /* end confdefs.h. */
55666 #include <math.h>
55667 #ifdef HAVE_IEEEFP_H
55668 #include <ieeefp.h>
55669 #endif
55672 main ()
55674 logl(0);
55676 return 0;
55678 _ACEOF
55679 if ac_fn_cxx_try_compile "$LINENO"; then :
55680 glibcxx_cv_func_logl_use=yes
55681 else
55682 glibcxx_cv_func_logl_use=no
55684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55685 ac_ext=c
55686 ac_cpp='$CPP $CPPFLAGS'
55687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
55696 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
55698 if test x$glibcxx_cv_func_logl_use = x"yes"; then
55699 for ac_func in logl
55700 do :
55701 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
55702 if test "x$ac_cv_func_logl" = x""yes; then :
55703 cat >>confdefs.h <<_ACEOF
55704 #define HAVE_LOGL 1
55705 _ACEOF
55708 done
55710 else
55712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
55713 $as_echo_n "checking for _logl declaration... " >&6; }
55714 if test x${glibcxx_cv_func__logl_use+set} != xset; then
55715 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
55716 $as_echo_n "(cached) " >&6
55717 else
55720 ac_ext=cpp
55721 ac_cpp='$CXXCPP $CPPFLAGS'
55722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55727 /* end confdefs.h. */
55728 #include <math.h>
55729 #ifdef HAVE_IEEEFP_H
55730 #include <ieeefp.h>
55731 #endif
55734 main ()
55736 _logl(0);
55738 return 0;
55740 _ACEOF
55741 if ac_fn_cxx_try_compile "$LINENO"; then :
55742 glibcxx_cv_func__logl_use=yes
55743 else
55744 glibcxx_cv_func__logl_use=no
55746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55747 ac_ext=c
55748 ac_cpp='$CPP $CPPFLAGS'
55749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
55758 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
55760 if test x$glibcxx_cv_func__logl_use = x"yes"; then
55761 for ac_func in _logl
55762 do :
55763 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
55764 if test "x$ac_cv_func__logl" = x""yes; then :
55765 cat >>confdefs.h <<_ACEOF
55766 #define HAVE__LOGL 1
55767 _ACEOF
55770 done
55779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
55780 $as_echo_n "checking for log10l declaration... " >&6; }
55781 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
55782 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
55783 $as_echo_n "(cached) " >&6
55784 else
55787 ac_ext=cpp
55788 ac_cpp='$CXXCPP $CPPFLAGS'
55789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55794 /* end confdefs.h. */
55795 #include <math.h>
55796 #ifdef HAVE_IEEEFP_H
55797 #include <ieeefp.h>
55798 #endif
55801 main ()
55803 log10l(0);
55805 return 0;
55807 _ACEOF
55808 if ac_fn_cxx_try_compile "$LINENO"; then :
55809 glibcxx_cv_func_log10l_use=yes
55810 else
55811 glibcxx_cv_func_log10l_use=no
55813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55814 ac_ext=c
55815 ac_cpp='$CPP $CPPFLAGS'
55816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
55825 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
55827 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
55828 for ac_func in log10l
55829 do :
55830 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
55831 if test "x$ac_cv_func_log10l" = x""yes; then :
55832 cat >>confdefs.h <<_ACEOF
55833 #define HAVE_LOG10L 1
55834 _ACEOF
55837 done
55839 else
55841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
55842 $as_echo_n "checking for _log10l declaration... " >&6; }
55843 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
55844 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
55845 $as_echo_n "(cached) " >&6
55846 else
55849 ac_ext=cpp
55850 ac_cpp='$CXXCPP $CPPFLAGS'
55851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55856 /* end confdefs.h. */
55857 #include <math.h>
55858 #ifdef HAVE_IEEEFP_H
55859 #include <ieeefp.h>
55860 #endif
55863 main ()
55865 _log10l(0);
55867 return 0;
55869 _ACEOF
55870 if ac_fn_cxx_try_compile "$LINENO"; then :
55871 glibcxx_cv_func__log10l_use=yes
55872 else
55873 glibcxx_cv_func__log10l_use=no
55875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55876 ac_ext=c
55877 ac_cpp='$CPP $CPPFLAGS'
55878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
55887 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
55889 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
55890 for ac_func in _log10l
55891 do :
55892 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
55893 if test "x$ac_cv_func__log10l" = x""yes; then :
55894 cat >>confdefs.h <<_ACEOF
55895 #define HAVE__LOG10L 1
55896 _ACEOF
55899 done
55908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
55909 $as_echo_n "checking for modfl declaration... " >&6; }
55910 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
55911 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
55912 $as_echo_n "(cached) " >&6
55913 else
55916 ac_ext=cpp
55917 ac_cpp='$CXXCPP $CPPFLAGS'
55918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55923 /* end confdefs.h. */
55924 #include <math.h>
55926 main ()
55928 modfl(0, 0);
55930 return 0;
55932 _ACEOF
55933 if ac_fn_cxx_try_compile "$LINENO"; then :
55934 glibcxx_cv_func_modfl_use=yes
55935 else
55936 glibcxx_cv_func_modfl_use=no
55938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55939 ac_ext=c
55940 ac_cpp='$CPP $CPPFLAGS'
55941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
55950 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
55952 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
55953 for ac_func in modfl
55954 do :
55955 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
55956 if test "x$ac_cv_func_modfl" = x""yes; then :
55957 cat >>confdefs.h <<_ACEOF
55958 #define HAVE_MODFL 1
55959 _ACEOF
55962 done
55964 else
55966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
55967 $as_echo_n "checking for _modfl declaration... " >&6; }
55968 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
55969 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
55970 $as_echo_n "(cached) " >&6
55971 else
55974 ac_ext=cpp
55975 ac_cpp='$CXXCPP $CPPFLAGS'
55976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55981 /* end confdefs.h. */
55982 #include <math.h>
55984 main ()
55986 _modfl(0, 0);
55988 return 0;
55990 _ACEOF
55991 if ac_fn_cxx_try_compile "$LINENO"; then :
55992 glibcxx_cv_func__modfl_use=yes
55993 else
55994 glibcxx_cv_func__modfl_use=no
55996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55997 ac_ext=c
55998 ac_cpp='$CPP $CPPFLAGS'
55999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
56008 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
56010 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
56011 for ac_func in _modfl
56012 do :
56013 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
56014 if test "x$ac_cv_func__modfl" = x""yes; then :
56015 cat >>confdefs.h <<_ACEOF
56016 #define HAVE__MODFL 1
56017 _ACEOF
56020 done
56029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
56030 $as_echo_n "checking for powl declaration... " >&6; }
56031 if test x${glibcxx_cv_func_powl_use+set} != xset; then
56032 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
56033 $as_echo_n "(cached) " >&6
56034 else
56037 ac_ext=cpp
56038 ac_cpp='$CXXCPP $CPPFLAGS'
56039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56044 /* end confdefs.h. */
56045 #include <math.h>
56047 main ()
56049 powl(0, 0);
56051 return 0;
56053 _ACEOF
56054 if ac_fn_cxx_try_compile "$LINENO"; then :
56055 glibcxx_cv_func_powl_use=yes
56056 else
56057 glibcxx_cv_func_powl_use=no
56059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56060 ac_ext=c
56061 ac_cpp='$CPP $CPPFLAGS'
56062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56071 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56073 if test x$glibcxx_cv_func_powl_use = x"yes"; then
56074 for ac_func in powl
56075 do :
56076 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56077 if test "x$ac_cv_func_powl" = x""yes; then :
56078 cat >>confdefs.h <<_ACEOF
56079 #define HAVE_POWL 1
56080 _ACEOF
56083 done
56085 else
56087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56088 $as_echo_n "checking for _powl declaration... " >&6; }
56089 if test x${glibcxx_cv_func__powl_use+set} != xset; then
56090 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56091 $as_echo_n "(cached) " >&6
56092 else
56095 ac_ext=cpp
56096 ac_cpp='$CXXCPP $CPPFLAGS'
56097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56102 /* end confdefs.h. */
56103 #include <math.h>
56105 main ()
56107 _powl(0, 0);
56109 return 0;
56111 _ACEOF
56112 if ac_fn_cxx_try_compile "$LINENO"; then :
56113 glibcxx_cv_func__powl_use=yes
56114 else
56115 glibcxx_cv_func__powl_use=no
56117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56118 ac_ext=c
56119 ac_cpp='$CPP $CPPFLAGS'
56120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56129 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56131 if test x$glibcxx_cv_func__powl_use = x"yes"; then
56132 for ac_func in _powl
56133 do :
56134 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56135 if test "x$ac_cv_func__powl" = x""yes; then :
56136 cat >>confdefs.h <<_ACEOF
56137 #define HAVE__POWL 1
56138 _ACEOF
56141 done
56150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56151 $as_echo_n "checking for sqrtl declaration... " >&6; }
56152 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56153 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56154 $as_echo_n "(cached) " >&6
56155 else
56158 ac_ext=cpp
56159 ac_cpp='$CXXCPP $CPPFLAGS'
56160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56165 /* end confdefs.h. */
56166 #include <math.h>
56167 #ifdef HAVE_IEEEFP_H
56168 #include <ieeefp.h>
56169 #endif
56172 main ()
56174 sqrtl(0);
56176 return 0;
56178 _ACEOF
56179 if ac_fn_cxx_try_compile "$LINENO"; then :
56180 glibcxx_cv_func_sqrtl_use=yes
56181 else
56182 glibcxx_cv_func_sqrtl_use=no
56184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56185 ac_ext=c
56186 ac_cpp='$CPP $CPPFLAGS'
56187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
56196 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
56198 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
56199 for ac_func in sqrtl
56200 do :
56201 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
56202 if test "x$ac_cv_func_sqrtl" = x""yes; then :
56203 cat >>confdefs.h <<_ACEOF
56204 #define HAVE_SQRTL 1
56205 _ACEOF
56208 done
56210 else
56212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
56213 $as_echo_n "checking for _sqrtl declaration... " >&6; }
56214 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
56215 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
56216 $as_echo_n "(cached) " >&6
56217 else
56220 ac_ext=cpp
56221 ac_cpp='$CXXCPP $CPPFLAGS'
56222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56227 /* end confdefs.h. */
56228 #include <math.h>
56229 #ifdef HAVE_IEEEFP_H
56230 #include <ieeefp.h>
56231 #endif
56234 main ()
56236 _sqrtl(0);
56238 return 0;
56240 _ACEOF
56241 if ac_fn_cxx_try_compile "$LINENO"; then :
56242 glibcxx_cv_func__sqrtl_use=yes
56243 else
56244 glibcxx_cv_func__sqrtl_use=no
56246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56247 ac_ext=c
56248 ac_cpp='$CPP $CPPFLAGS'
56249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
56258 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
56260 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
56261 for ac_func in _sqrtl
56262 do :
56263 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
56264 if test "x$ac_cv_func__sqrtl" = x""yes; then :
56265 cat >>confdefs.h <<_ACEOF
56266 #define HAVE__SQRTL 1
56267 _ACEOF
56270 done
56279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
56280 $as_echo_n "checking for sincosl declaration... " >&6; }
56281 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
56282 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
56283 $as_echo_n "(cached) " >&6
56284 else
56287 ac_ext=cpp
56288 ac_cpp='$CXXCPP $CPPFLAGS'
56289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56294 /* end confdefs.h. */
56295 #include <math.h>
56297 main ()
56299 sincosl(0, 0, 0);
56301 return 0;
56303 _ACEOF
56304 if ac_fn_cxx_try_compile "$LINENO"; then :
56305 glibcxx_cv_func_sincosl_use=yes
56306 else
56307 glibcxx_cv_func_sincosl_use=no
56309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56310 ac_ext=c
56311 ac_cpp='$CPP $CPPFLAGS'
56312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
56321 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
56323 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
56324 for ac_func in sincosl
56325 do :
56326 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
56327 if test "x$ac_cv_func_sincosl" = x""yes; then :
56328 cat >>confdefs.h <<_ACEOF
56329 #define HAVE_SINCOSL 1
56330 _ACEOF
56333 done
56335 else
56337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
56338 $as_echo_n "checking for _sincosl declaration... " >&6; }
56339 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
56340 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
56341 $as_echo_n "(cached) " >&6
56342 else
56345 ac_ext=cpp
56346 ac_cpp='$CXXCPP $CPPFLAGS'
56347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56352 /* end confdefs.h. */
56353 #include <math.h>
56355 main ()
56357 _sincosl(0, 0, 0);
56359 return 0;
56361 _ACEOF
56362 if ac_fn_cxx_try_compile "$LINENO"; then :
56363 glibcxx_cv_func__sincosl_use=yes
56364 else
56365 glibcxx_cv_func__sincosl_use=no
56367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56368 ac_ext=c
56369 ac_cpp='$CPP $CPPFLAGS'
56370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
56379 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
56381 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
56382 for ac_func in _sincosl
56383 do :
56384 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
56385 if test "x$ac_cv_func__sincosl" = x""yes; then :
56386 cat >>confdefs.h <<_ACEOF
56387 #define HAVE__SINCOSL 1
56388 _ACEOF
56391 done
56400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
56401 $as_echo_n "checking for finitel declaration... " >&6; }
56402 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
56403 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
56404 $as_echo_n "(cached) " >&6
56405 else
56408 ac_ext=cpp
56409 ac_cpp='$CXXCPP $CPPFLAGS'
56410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56415 /* end confdefs.h. */
56416 #include <math.h>
56417 #ifdef HAVE_IEEEFP_H
56418 #include <ieeefp.h>
56419 #endif
56422 main ()
56424 finitel(0);
56426 return 0;
56428 _ACEOF
56429 if ac_fn_cxx_try_compile "$LINENO"; then :
56430 glibcxx_cv_func_finitel_use=yes
56431 else
56432 glibcxx_cv_func_finitel_use=no
56434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56435 ac_ext=c
56436 ac_cpp='$CPP $CPPFLAGS'
56437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
56446 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
56448 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
56449 for ac_func in finitel
56450 do :
56451 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
56452 if test "x$ac_cv_func_finitel" = x""yes; then :
56453 cat >>confdefs.h <<_ACEOF
56454 #define HAVE_FINITEL 1
56455 _ACEOF
56458 done
56460 else
56462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
56463 $as_echo_n "checking for _finitel declaration... " >&6; }
56464 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
56465 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
56466 $as_echo_n "(cached) " >&6
56467 else
56470 ac_ext=cpp
56471 ac_cpp='$CXXCPP $CPPFLAGS'
56472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56477 /* end confdefs.h. */
56478 #include <math.h>
56479 #ifdef HAVE_IEEEFP_H
56480 #include <ieeefp.h>
56481 #endif
56484 main ()
56486 _finitel(0);
56488 return 0;
56490 _ACEOF
56491 if ac_fn_cxx_try_compile "$LINENO"; then :
56492 glibcxx_cv_func__finitel_use=yes
56493 else
56494 glibcxx_cv_func__finitel_use=no
56496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56497 ac_ext=c
56498 ac_cpp='$CPP $CPPFLAGS'
56499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
56508 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
56510 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
56511 for ac_func in _finitel
56512 do :
56513 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
56514 if test "x$ac_cv_func__finitel" = x""yes; then :
56515 cat >>confdefs.h <<_ACEOF
56516 #define HAVE__FINITEL 1
56517 _ACEOF
56520 done
56528 LIBS="$ac_save_LIBS"
56529 CXXFLAGS="$ac_save_CXXFLAGS"
56532 ac_test_CXXFLAGS="${CXXFLAGS+set}"
56533 ac_save_CXXFLAGS="$CXXFLAGS"
56534 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
56537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
56538 $as_echo_n "checking for strtold declaration... " >&6; }
56539 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
56540 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
56541 $as_echo_n "(cached) " >&6
56542 else
56545 ac_ext=cpp
56546 ac_cpp='$CXXCPP $CPPFLAGS'
56547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56552 /* end confdefs.h. */
56553 #include <stdlib.h>
56555 main ()
56557 strtold(0, 0);
56559 return 0;
56561 _ACEOF
56562 if ac_fn_cxx_try_compile "$LINENO"; then :
56563 glibcxx_cv_func_strtold_use=yes
56564 else
56565 glibcxx_cv_func_strtold_use=no
56567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56568 ac_ext=c
56569 ac_cpp='$CPP $CPPFLAGS'
56570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
56579 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
56580 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
56581 for ac_func in strtold
56582 do :
56583 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
56584 if test "x$ac_cv_func_strtold" = x""yes; then :
56585 cat >>confdefs.h <<_ACEOF
56586 #define HAVE_STRTOLD 1
56587 _ACEOF
56590 done
56597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
56598 $as_echo_n "checking for strtof declaration... " >&6; }
56599 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
56600 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
56601 $as_echo_n "(cached) " >&6
56602 else
56605 ac_ext=cpp
56606 ac_cpp='$CXXCPP $CPPFLAGS'
56607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56612 /* end confdefs.h. */
56613 #include <stdlib.h>
56615 main ()
56617 strtof(0, 0);
56619 return 0;
56621 _ACEOF
56622 if ac_fn_cxx_try_compile "$LINENO"; then :
56623 glibcxx_cv_func_strtof_use=yes
56624 else
56625 glibcxx_cv_func_strtof_use=no
56627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56628 ac_ext=c
56629 ac_cpp='$CPP $CPPFLAGS'
56630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
56639 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
56640 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
56641 for ac_func in strtof
56642 do :
56643 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
56644 if test "x$ac_cv_func_strtof" = x""yes; then :
56645 cat >>confdefs.h <<_ACEOF
56646 #define HAVE_STRTOF 1
56647 _ACEOF
56650 done
56657 CXXFLAGS="$ac_save_CXXFLAGS"
56660 *-netbsd*)
56661 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56664 # If we're not using GNU ld, then there's no point in even trying these
56665 # tests. Check for that first. We should have already tested for gld
56666 # by now (in libtool), but require it now just to be safe...
56667 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56668 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56672 # The name set by libtool depends on the version of libtool. Shame on us
56673 # for depending on an impl detail, but c'est la vie. Older versions used
56674 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56675 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56676 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56677 # set (hence we're using an older libtool), then set it.
56678 if test x${with_gnu_ld+set} != xset; then
56679 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56680 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56681 with_gnu_ld=no
56682 else
56683 with_gnu_ld=$ac_cv_prog_gnu_ld
56687 # Start by getting the version number. I think the libtool test already
56688 # does some of this, but throws away the result.
56689 glibcxx_ld_is_gold=no
56690 if test x"$with_gnu_ld" = x"yes"; then
56691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56692 $as_echo_n "checking for ld version... " >&6; }
56694 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56695 glibcxx_ld_is_gold=yes
56697 ldver=`$LD --version 2>/dev/null |
56698 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'`
56700 glibcxx_gnu_ld_version=`echo $ldver | \
56701 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56703 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56706 # Set --gc-sections.
56707 glibcxx_have_gc_sections=no
56708 if test "$glibcxx_ld_is_gold" = "yes"; then
56709 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56710 glibcxx_have_gc_sections=yes
56712 else
56713 glibcxx_gcsections_min_ld=21602
56714 if test x"$with_gnu_ld" = x"yes" &&
56715 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56716 glibcxx_have_gc_sections=yes
56719 if test "$glibcxx_have_gc_sections" = "yes"; then
56720 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56721 # NB: This flag only works reliably after 2.16.1. Configure tests
56722 # for this are difficult, so hard wire a value that should work.
56724 ac_test_CFLAGS="${CFLAGS+set}"
56725 ac_save_CFLAGS="$CFLAGS"
56726 CFLAGS='-Wl,--gc-sections'
56728 # Check for -Wl,--gc-sections
56729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56730 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56731 if test x$gcc_no_link = xyes; then
56732 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56735 /* end confdefs.h. */
56736 int one(void) { return 1; }
56737 int two(void) { return 2; }
56740 main ()
56742 two();
56744 return 0;
56746 _ACEOF
56747 if ac_fn_c_try_link "$LINENO"; then :
56748 ac_gcsections=yes
56749 else
56750 ac_gcsections=no
56752 rm -f core conftest.err conftest.$ac_objext \
56753 conftest$ac_exeext conftest.$ac_ext
56754 if test "$ac_gcsections" = "yes"; then
56755 rm -f conftest.c
56756 touch conftest.c
56757 if $CC -c conftest.c; then
56758 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56759 grep "Warning: gc-sections option ignored" > /dev/null; then
56760 ac_gcsections=no
56763 rm -f conftest.c conftest.o conftest
56765 if test "$ac_gcsections" = "yes"; then
56766 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56769 $as_echo "$ac_gcsections" >&6; }
56771 if test "$ac_test_CFLAGS" = set; then
56772 CFLAGS="$ac_save_CFLAGS"
56773 else
56774 # this is the suspicious part
56775 CFLAGS=''
56779 # Set -z,relro.
56780 # Note this is only for shared objects.
56781 ac_ld_relro=no
56782 if test x"$with_gnu_ld" = x"yes"; then
56783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56784 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56785 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56786 if test -n "$cxx_z_relo"; then
56787 OPT_LDFLAGS="-Wl,-z,relro"
56788 ac_ld_relro=yes
56790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56791 $as_echo "$ac_ld_relro" >&6; }
56794 # Set linker optimization flags.
56795 if test x"$with_gnu_ld" = x"yes"; then
56796 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56802 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
56804 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
56806 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
56808 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
56810 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56812 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
56814 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56816 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
56818 if test x"long_double_math_on_this_cpu" = x"yes"; then
56819 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
56821 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
56823 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
56827 *-netware)
56828 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56831 # If we're not using GNU ld, then there's no point in even trying these
56832 # tests. Check for that first. We should have already tested for gld
56833 # by now (in libtool), but require it now just to be safe...
56834 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56835 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56839 # The name set by libtool depends on the version of libtool. Shame on us
56840 # for depending on an impl detail, but c'est la vie. Older versions used
56841 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56842 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56843 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56844 # set (hence we're using an older libtool), then set it.
56845 if test x${with_gnu_ld+set} != xset; then
56846 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56847 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56848 with_gnu_ld=no
56849 else
56850 with_gnu_ld=$ac_cv_prog_gnu_ld
56854 # Start by getting the version number. I think the libtool test already
56855 # does some of this, but throws away the result.
56856 glibcxx_ld_is_gold=no
56857 if test x"$with_gnu_ld" = x"yes"; then
56858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56859 $as_echo_n "checking for ld version... " >&6; }
56861 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56862 glibcxx_ld_is_gold=yes
56864 ldver=`$LD --version 2>/dev/null |
56865 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'`
56867 glibcxx_gnu_ld_version=`echo $ldver | \
56868 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56870 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56873 # Set --gc-sections.
56874 glibcxx_have_gc_sections=no
56875 if test "$glibcxx_ld_is_gold" = "yes"; then
56876 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56877 glibcxx_have_gc_sections=yes
56879 else
56880 glibcxx_gcsections_min_ld=21602
56881 if test x"$with_gnu_ld" = x"yes" &&
56882 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56883 glibcxx_have_gc_sections=yes
56886 if test "$glibcxx_have_gc_sections" = "yes"; then
56887 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56888 # NB: This flag only works reliably after 2.16.1. Configure tests
56889 # for this are difficult, so hard wire a value that should work.
56891 ac_test_CFLAGS="${CFLAGS+set}"
56892 ac_save_CFLAGS="$CFLAGS"
56893 CFLAGS='-Wl,--gc-sections'
56895 # Check for -Wl,--gc-sections
56896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56897 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56898 if test x$gcc_no_link = xyes; then
56899 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56902 /* end confdefs.h. */
56903 int one(void) { return 1; }
56904 int two(void) { return 2; }
56907 main ()
56909 two();
56911 return 0;
56913 _ACEOF
56914 if ac_fn_c_try_link "$LINENO"; then :
56915 ac_gcsections=yes
56916 else
56917 ac_gcsections=no
56919 rm -f core conftest.err conftest.$ac_objext \
56920 conftest$ac_exeext conftest.$ac_ext
56921 if test "$ac_gcsections" = "yes"; then
56922 rm -f conftest.c
56923 touch conftest.c
56924 if $CC -c conftest.c; then
56925 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56926 grep "Warning: gc-sections option ignored" > /dev/null; then
56927 ac_gcsections=no
56930 rm -f conftest.c conftest.o conftest
56932 if test "$ac_gcsections" = "yes"; then
56933 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56936 $as_echo "$ac_gcsections" >&6; }
56938 if test "$ac_test_CFLAGS" = set; then
56939 CFLAGS="$ac_save_CFLAGS"
56940 else
56941 # this is the suspicious part
56942 CFLAGS=''
56946 # Set -z,relro.
56947 # Note this is only for shared objects.
56948 ac_ld_relro=no
56949 if test x"$with_gnu_ld" = x"yes"; then
56950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56951 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56952 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56953 if test -n "$cxx_z_relo"; then
56954 OPT_LDFLAGS="-Wl,-z,relro"
56955 ac_ld_relro=yes
56957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56958 $as_echo "$ac_ld_relro" >&6; }
56961 # Set linker optimization flags.
56962 if test x"$with_gnu_ld" = x"yes"; then
56963 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56969 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
56971 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56973 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56976 *-qnx6.1* | *-qnx6.2*)
56977 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56980 # If we're not using GNU ld, then there's no point in even trying these
56981 # tests. Check for that first. We should have already tested for gld
56982 # by now (in libtool), but require it now just to be safe...
56983 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56984 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56988 # The name set by libtool depends on the version of libtool. Shame on us
56989 # for depending on an impl detail, but c'est la vie. Older versions used
56990 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56991 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56992 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56993 # set (hence we're using an older libtool), then set it.
56994 if test x${with_gnu_ld+set} != xset; then
56995 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56996 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56997 with_gnu_ld=no
56998 else
56999 with_gnu_ld=$ac_cv_prog_gnu_ld
57003 # Start by getting the version number. I think the libtool test already
57004 # does some of this, but throws away the result.
57005 glibcxx_ld_is_gold=no
57006 if test x"$with_gnu_ld" = x"yes"; then
57007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57008 $as_echo_n "checking for ld version... " >&6; }
57010 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57011 glibcxx_ld_is_gold=yes
57013 ldver=`$LD --version 2>/dev/null |
57014 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'`
57016 glibcxx_gnu_ld_version=`echo $ldver | \
57017 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57019 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57022 # Set --gc-sections.
57023 glibcxx_have_gc_sections=no
57024 if test "$glibcxx_ld_is_gold" = "yes"; then
57025 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57026 glibcxx_have_gc_sections=yes
57028 else
57029 glibcxx_gcsections_min_ld=21602
57030 if test x"$with_gnu_ld" = x"yes" &&
57031 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57032 glibcxx_have_gc_sections=yes
57035 if test "$glibcxx_have_gc_sections" = "yes"; then
57036 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57037 # NB: This flag only works reliably after 2.16.1. Configure tests
57038 # for this are difficult, so hard wire a value that should work.
57040 ac_test_CFLAGS="${CFLAGS+set}"
57041 ac_save_CFLAGS="$CFLAGS"
57042 CFLAGS='-Wl,--gc-sections'
57044 # Check for -Wl,--gc-sections
57045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57046 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57047 if test x$gcc_no_link = xyes; then
57048 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57051 /* end confdefs.h. */
57052 int one(void) { return 1; }
57053 int two(void) { return 2; }
57056 main ()
57058 two();
57060 return 0;
57062 _ACEOF
57063 if ac_fn_c_try_link "$LINENO"; then :
57064 ac_gcsections=yes
57065 else
57066 ac_gcsections=no
57068 rm -f core conftest.err conftest.$ac_objext \
57069 conftest$ac_exeext conftest.$ac_ext
57070 if test "$ac_gcsections" = "yes"; then
57071 rm -f conftest.c
57072 touch conftest.c
57073 if $CC -c conftest.c; then
57074 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57075 grep "Warning: gc-sections option ignored" > /dev/null; then
57076 ac_gcsections=no
57079 rm -f conftest.c conftest.o conftest
57081 if test "$ac_gcsections" = "yes"; then
57082 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57085 $as_echo "$ac_gcsections" >&6; }
57087 if test "$ac_test_CFLAGS" = set; then
57088 CFLAGS="$ac_save_CFLAGS"
57089 else
57090 # this is the suspicious part
57091 CFLAGS=''
57095 # Set -z,relro.
57096 # Note this is only for shared objects.
57097 ac_ld_relro=no
57098 if test x"$with_gnu_ld" = x"yes"; then
57099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57100 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57101 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57102 if test -n "$cxx_z_relo"; then
57103 OPT_LDFLAGS="-Wl,-z,relro"
57104 ac_ld_relro=yes
57106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57107 $as_echo "$ac_ld_relro" >&6; }
57110 # Set linker optimization flags.
57111 if test x"$with_gnu_ld" = x"yes"; then
57112 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57118 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57120 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57122 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57124 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57126 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57128 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57130 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57132 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57134 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57136 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57138 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57140 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57143 *-rtems*)
57145 # All these tests are for C++; save the language and the compiler flags.
57146 # The CXXFLAGS thing is suspicious, but based on similar bits previously
57147 # found in GLIBCXX_CONFIGURE.
57149 ac_ext=cpp
57150 ac_cpp='$CXXCPP $CPPFLAGS'
57151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57155 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57156 ac_save_CXXFLAGS="$CXXFLAGS"
57158 # Check for maintainer-mode bits.
57159 if test x"$USE_MAINTAINER_MODE" = xno; then
57160 WERROR=''
57161 else
57162 WERROR='-Werror'
57165 # Check for -ffunction-sections -fdata-sections
57166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
57167 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
57168 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
57169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57170 /* end confdefs.h. */
57171 int foo; void bar() { };
57173 main ()
57177 return 0;
57179 _ACEOF
57180 if ac_fn_cxx_try_compile "$LINENO"; then :
57181 ac_fdsections=yes
57182 else
57183 ac_fdsections=no
57185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57186 if test "$ac_test_CXXFLAGS" = set; then
57187 CXXFLAGS="$ac_save_CXXFLAGS"
57188 else
57189 # this is the suspicious part
57190 CXXFLAGS=''
57192 if test x"$ac_fdsections" = x"yes"; then
57193 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
57196 $as_echo "$ac_fdsections" >&6; }
57198 ac_ext=c
57199 ac_cpp='$CPP $CPPFLAGS'
57200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57208 # If we're not using GNU ld, then there's no point in even trying these
57209 # tests. Check for that first. We should have already tested for gld
57210 # by now (in libtool), but require it now just to be safe...
57211 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57212 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57216 # The name set by libtool depends on the version of libtool. Shame on us
57217 # for depending on an impl detail, but c'est la vie. Older versions used
57218 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57219 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57220 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57221 # set (hence we're using an older libtool), then set it.
57222 if test x${with_gnu_ld+set} != xset; then
57223 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57224 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57225 with_gnu_ld=no
57226 else
57227 with_gnu_ld=$ac_cv_prog_gnu_ld
57231 # Start by getting the version number. I think the libtool test already
57232 # does some of this, but throws away the result.
57233 glibcxx_ld_is_gold=no
57234 if test x"$with_gnu_ld" = x"yes"; then
57235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57236 $as_echo_n "checking for ld version... " >&6; }
57238 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57239 glibcxx_ld_is_gold=yes
57241 ldver=`$LD --version 2>/dev/null |
57242 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'`
57244 glibcxx_gnu_ld_version=`echo $ldver | \
57245 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57247 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57250 # Set --gc-sections.
57251 glibcxx_have_gc_sections=no
57252 if test "$glibcxx_ld_is_gold" = "yes"; then
57253 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57254 glibcxx_have_gc_sections=yes
57256 else
57257 glibcxx_gcsections_min_ld=21602
57258 if test x"$with_gnu_ld" = x"yes" &&
57259 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57260 glibcxx_have_gc_sections=yes
57263 if test "$glibcxx_have_gc_sections" = "yes"; then
57264 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57265 # NB: This flag only works reliably after 2.16.1. Configure tests
57266 # for this are difficult, so hard wire a value that should work.
57268 ac_test_CFLAGS="${CFLAGS+set}"
57269 ac_save_CFLAGS="$CFLAGS"
57270 CFLAGS='-Wl,--gc-sections'
57272 # Check for -Wl,--gc-sections
57273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57274 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57275 if test x$gcc_no_link = xyes; then
57276 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57279 /* end confdefs.h. */
57280 int one(void) { return 1; }
57281 int two(void) { return 2; }
57284 main ()
57286 two();
57288 return 0;
57290 _ACEOF
57291 if ac_fn_c_try_link "$LINENO"; then :
57292 ac_gcsections=yes
57293 else
57294 ac_gcsections=no
57296 rm -f core conftest.err conftest.$ac_objext \
57297 conftest$ac_exeext conftest.$ac_ext
57298 if test "$ac_gcsections" = "yes"; then
57299 rm -f conftest.c
57300 touch conftest.c
57301 if $CC -c conftest.c; then
57302 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57303 grep "Warning: gc-sections option ignored" > /dev/null; then
57304 ac_gcsections=no
57307 rm -f conftest.c conftest.o conftest
57309 if test "$ac_gcsections" = "yes"; then
57310 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57313 $as_echo "$ac_gcsections" >&6; }
57315 if test "$ac_test_CFLAGS" = set; then
57316 CFLAGS="$ac_save_CFLAGS"
57317 else
57318 # this is the suspicious part
57319 CFLAGS=''
57323 # Set -z,relro.
57324 # Note this is only for shared objects.
57325 ac_ld_relro=no
57326 if test x"$with_gnu_ld" = x"yes"; then
57327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57328 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57329 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57330 if test -n "$cxx_z_relo"; then
57331 OPT_LDFLAGS="-Wl,-z,relro"
57332 ac_ld_relro=yes
57334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57335 $as_echo "$ac_ld_relro" >&6; }
57338 # Set linker optimization flags.
57339 if test x"$with_gnu_ld" = x"yes"; then
57340 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57347 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57348 ac_save_CXXFLAGS="$CXXFLAGS"
57349 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
57352 $as_echo_n "checking for sin in -lm... " >&6; }
57353 if test "${ac_cv_lib_m_sin+set}" = set; then :
57354 $as_echo_n "(cached) " >&6
57355 else
57356 ac_check_lib_save_LIBS=$LIBS
57357 LIBS="-lm $LIBS"
57358 if test x$gcc_no_link = xyes; then
57359 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57362 /* end confdefs.h. */
57364 /* Override any GCC internal prototype to avoid an error.
57365 Use char because int might match the return type of a GCC
57366 builtin and then its argument prototype would still apply. */
57367 #ifdef __cplusplus
57368 extern "C"
57369 #endif
57370 char sin ();
57372 main ()
57374 return sin ();
57376 return 0;
57378 _ACEOF
57379 if ac_fn_c_try_link "$LINENO"; then :
57380 ac_cv_lib_m_sin=yes
57381 else
57382 ac_cv_lib_m_sin=no
57384 rm -f core conftest.err conftest.$ac_objext \
57385 conftest$ac_exeext conftest.$ac_ext
57386 LIBS=$ac_check_lib_save_LIBS
57388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
57389 $as_echo "$ac_cv_lib_m_sin" >&6; }
57390 if test "x$ac_cv_lib_m_sin" = x""yes; then :
57391 libm="-lm"
57394 ac_save_LIBS="$LIBS"
57395 LIBS="$LIBS $libm"
57399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
57400 $as_echo_n "checking for isinf declaration... " >&6; }
57401 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
57402 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
57403 $as_echo_n "(cached) " >&6
57404 else
57407 ac_ext=cpp
57408 ac_cpp='$CXXCPP $CPPFLAGS'
57409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57414 /* end confdefs.h. */
57415 #include <math.h>
57416 #ifdef HAVE_IEEEFP_H
57417 #include <ieeefp.h>
57418 #endif
57421 main ()
57423 isinf(0);
57425 return 0;
57427 _ACEOF
57428 if ac_fn_cxx_try_compile "$LINENO"; then :
57429 glibcxx_cv_func_isinf_use=yes
57430 else
57431 glibcxx_cv_func_isinf_use=no
57433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57434 ac_ext=c
57435 ac_cpp='$CPP $CPPFLAGS'
57436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
57445 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
57447 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
57448 for ac_func in isinf
57449 do :
57450 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
57451 if test "x$ac_cv_func_isinf" = x""yes; then :
57452 cat >>confdefs.h <<_ACEOF
57453 #define HAVE_ISINF 1
57454 _ACEOF
57457 done
57459 else
57461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
57462 $as_echo_n "checking for _isinf declaration... " >&6; }
57463 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
57464 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
57465 $as_echo_n "(cached) " >&6
57466 else
57469 ac_ext=cpp
57470 ac_cpp='$CXXCPP $CPPFLAGS'
57471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57476 /* end confdefs.h. */
57477 #include <math.h>
57478 #ifdef HAVE_IEEEFP_H
57479 #include <ieeefp.h>
57480 #endif
57483 main ()
57485 _isinf(0);
57487 return 0;
57489 _ACEOF
57490 if ac_fn_cxx_try_compile "$LINENO"; then :
57491 glibcxx_cv_func__isinf_use=yes
57492 else
57493 glibcxx_cv_func__isinf_use=no
57495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57496 ac_ext=c
57497 ac_cpp='$CPP $CPPFLAGS'
57498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
57507 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
57509 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
57510 for ac_func in _isinf
57511 do :
57512 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
57513 if test "x$ac_cv_func__isinf" = x""yes; then :
57514 cat >>confdefs.h <<_ACEOF
57515 #define HAVE__ISINF 1
57516 _ACEOF
57519 done
57528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
57529 $as_echo_n "checking for isnan declaration... " >&6; }
57530 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
57531 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
57532 $as_echo_n "(cached) " >&6
57533 else
57536 ac_ext=cpp
57537 ac_cpp='$CXXCPP $CPPFLAGS'
57538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57543 /* end confdefs.h. */
57544 #include <math.h>
57545 #ifdef HAVE_IEEEFP_H
57546 #include <ieeefp.h>
57547 #endif
57550 main ()
57552 isnan(0);
57554 return 0;
57556 _ACEOF
57557 if ac_fn_cxx_try_compile "$LINENO"; then :
57558 glibcxx_cv_func_isnan_use=yes
57559 else
57560 glibcxx_cv_func_isnan_use=no
57562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57563 ac_ext=c
57564 ac_cpp='$CPP $CPPFLAGS'
57565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
57574 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
57576 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
57577 for ac_func in isnan
57578 do :
57579 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
57580 if test "x$ac_cv_func_isnan" = x""yes; then :
57581 cat >>confdefs.h <<_ACEOF
57582 #define HAVE_ISNAN 1
57583 _ACEOF
57586 done
57588 else
57590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
57591 $as_echo_n "checking for _isnan declaration... " >&6; }
57592 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
57593 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
57594 $as_echo_n "(cached) " >&6
57595 else
57598 ac_ext=cpp
57599 ac_cpp='$CXXCPP $CPPFLAGS'
57600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57605 /* end confdefs.h. */
57606 #include <math.h>
57607 #ifdef HAVE_IEEEFP_H
57608 #include <ieeefp.h>
57609 #endif
57612 main ()
57614 _isnan(0);
57616 return 0;
57618 _ACEOF
57619 if ac_fn_cxx_try_compile "$LINENO"; then :
57620 glibcxx_cv_func__isnan_use=yes
57621 else
57622 glibcxx_cv_func__isnan_use=no
57624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57625 ac_ext=c
57626 ac_cpp='$CPP $CPPFLAGS'
57627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
57636 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
57638 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
57639 for ac_func in _isnan
57640 do :
57641 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
57642 if test "x$ac_cv_func__isnan" = x""yes; then :
57643 cat >>confdefs.h <<_ACEOF
57644 #define HAVE__ISNAN 1
57645 _ACEOF
57648 done
57657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
57658 $as_echo_n "checking for finite declaration... " >&6; }
57659 if test x${glibcxx_cv_func_finite_use+set} != xset; then
57660 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
57661 $as_echo_n "(cached) " >&6
57662 else
57665 ac_ext=cpp
57666 ac_cpp='$CXXCPP $CPPFLAGS'
57667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57672 /* end confdefs.h. */
57673 #include <math.h>
57674 #ifdef HAVE_IEEEFP_H
57675 #include <ieeefp.h>
57676 #endif
57679 main ()
57681 finite(0);
57683 return 0;
57685 _ACEOF
57686 if ac_fn_cxx_try_compile "$LINENO"; then :
57687 glibcxx_cv_func_finite_use=yes
57688 else
57689 glibcxx_cv_func_finite_use=no
57691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57692 ac_ext=c
57693 ac_cpp='$CPP $CPPFLAGS'
57694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
57703 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
57705 if test x$glibcxx_cv_func_finite_use = x"yes"; then
57706 for ac_func in finite
57707 do :
57708 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
57709 if test "x$ac_cv_func_finite" = x""yes; then :
57710 cat >>confdefs.h <<_ACEOF
57711 #define HAVE_FINITE 1
57712 _ACEOF
57715 done
57717 else
57719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
57720 $as_echo_n "checking for _finite declaration... " >&6; }
57721 if test x${glibcxx_cv_func__finite_use+set} != xset; then
57722 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
57723 $as_echo_n "(cached) " >&6
57724 else
57727 ac_ext=cpp
57728 ac_cpp='$CXXCPP $CPPFLAGS'
57729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57734 /* end confdefs.h. */
57735 #include <math.h>
57736 #ifdef HAVE_IEEEFP_H
57737 #include <ieeefp.h>
57738 #endif
57741 main ()
57743 _finite(0);
57745 return 0;
57747 _ACEOF
57748 if ac_fn_cxx_try_compile "$LINENO"; then :
57749 glibcxx_cv_func__finite_use=yes
57750 else
57751 glibcxx_cv_func__finite_use=no
57753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57754 ac_ext=c
57755 ac_cpp='$CPP $CPPFLAGS'
57756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
57765 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
57767 if test x$glibcxx_cv_func__finite_use = x"yes"; then
57768 for ac_func in _finite
57769 do :
57770 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
57771 if test "x$ac_cv_func__finite" = x""yes; then :
57772 cat >>confdefs.h <<_ACEOF
57773 #define HAVE__FINITE 1
57774 _ACEOF
57777 done
57786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
57787 $as_echo_n "checking for sincos declaration... " >&6; }
57788 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
57789 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
57790 $as_echo_n "(cached) " >&6
57791 else
57794 ac_ext=cpp
57795 ac_cpp='$CXXCPP $CPPFLAGS'
57796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57801 /* end confdefs.h. */
57802 #include <math.h>
57804 main ()
57806 sincos(0, 0, 0);
57808 return 0;
57810 _ACEOF
57811 if ac_fn_cxx_try_compile "$LINENO"; then :
57812 glibcxx_cv_func_sincos_use=yes
57813 else
57814 glibcxx_cv_func_sincos_use=no
57816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57817 ac_ext=c
57818 ac_cpp='$CPP $CPPFLAGS'
57819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
57828 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
57830 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
57831 for ac_func in sincos
57832 do :
57833 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
57834 if test "x$ac_cv_func_sincos" = x""yes; then :
57835 cat >>confdefs.h <<_ACEOF
57836 #define HAVE_SINCOS 1
57837 _ACEOF
57840 done
57842 else
57844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
57845 $as_echo_n "checking for _sincos declaration... " >&6; }
57846 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
57847 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
57848 $as_echo_n "(cached) " >&6
57849 else
57852 ac_ext=cpp
57853 ac_cpp='$CXXCPP $CPPFLAGS'
57854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57859 /* end confdefs.h. */
57860 #include <math.h>
57862 main ()
57864 _sincos(0, 0, 0);
57866 return 0;
57868 _ACEOF
57869 if ac_fn_cxx_try_compile "$LINENO"; then :
57870 glibcxx_cv_func__sincos_use=yes
57871 else
57872 glibcxx_cv_func__sincos_use=no
57874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57875 ac_ext=c
57876 ac_cpp='$CPP $CPPFLAGS'
57877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
57886 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
57888 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
57889 for ac_func in _sincos
57890 do :
57891 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
57892 if test "x$ac_cv_func__sincos" = x""yes; then :
57893 cat >>confdefs.h <<_ACEOF
57894 #define HAVE__SINCOS 1
57895 _ACEOF
57898 done
57907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
57908 $as_echo_n "checking for fpclass declaration... " >&6; }
57909 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
57910 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
57911 $as_echo_n "(cached) " >&6
57912 else
57915 ac_ext=cpp
57916 ac_cpp='$CXXCPP $CPPFLAGS'
57917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57922 /* end confdefs.h. */
57923 #include <math.h>
57924 #ifdef HAVE_IEEEFP_H
57925 #include <ieeefp.h>
57926 #endif
57929 main ()
57931 fpclass(0);
57933 return 0;
57935 _ACEOF
57936 if ac_fn_cxx_try_compile "$LINENO"; then :
57937 glibcxx_cv_func_fpclass_use=yes
57938 else
57939 glibcxx_cv_func_fpclass_use=no
57941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57942 ac_ext=c
57943 ac_cpp='$CPP $CPPFLAGS'
57944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
57953 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
57955 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
57956 for ac_func in fpclass
57957 do :
57958 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
57959 if test "x$ac_cv_func_fpclass" = x""yes; then :
57960 cat >>confdefs.h <<_ACEOF
57961 #define HAVE_FPCLASS 1
57962 _ACEOF
57965 done
57967 else
57969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
57970 $as_echo_n "checking for _fpclass declaration... " >&6; }
57971 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
57972 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
57973 $as_echo_n "(cached) " >&6
57974 else
57977 ac_ext=cpp
57978 ac_cpp='$CXXCPP $CPPFLAGS'
57979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57984 /* end confdefs.h. */
57985 #include <math.h>
57986 #ifdef HAVE_IEEEFP_H
57987 #include <ieeefp.h>
57988 #endif
57991 main ()
57993 _fpclass(0);
57995 return 0;
57997 _ACEOF
57998 if ac_fn_cxx_try_compile "$LINENO"; then :
57999 glibcxx_cv_func__fpclass_use=yes
58000 else
58001 glibcxx_cv_func__fpclass_use=no
58003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58004 ac_ext=c
58005 ac_cpp='$CPP $CPPFLAGS'
58006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
58015 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
58017 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
58018 for ac_func in _fpclass
58019 do :
58020 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
58021 if test "x$ac_cv_func__fpclass" = x""yes; then :
58022 cat >>confdefs.h <<_ACEOF
58023 #define HAVE__FPCLASS 1
58024 _ACEOF
58027 done
58036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
58037 $as_echo_n "checking for qfpclass declaration... " >&6; }
58038 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
58039 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
58040 $as_echo_n "(cached) " >&6
58041 else
58044 ac_ext=cpp
58045 ac_cpp='$CXXCPP $CPPFLAGS'
58046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58051 /* end confdefs.h. */
58052 #include <math.h>
58053 #ifdef HAVE_IEEEFP_H
58054 #include <ieeefp.h>
58055 #endif
58058 main ()
58060 qfpclass(0);
58062 return 0;
58064 _ACEOF
58065 if ac_fn_cxx_try_compile "$LINENO"; then :
58066 glibcxx_cv_func_qfpclass_use=yes
58067 else
58068 glibcxx_cv_func_qfpclass_use=no
58070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58071 ac_ext=c
58072 ac_cpp='$CPP $CPPFLAGS'
58073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
58082 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
58084 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
58085 for ac_func in qfpclass
58086 do :
58087 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
58088 if test "x$ac_cv_func_qfpclass" = x""yes; then :
58089 cat >>confdefs.h <<_ACEOF
58090 #define HAVE_QFPCLASS 1
58091 _ACEOF
58094 done
58096 else
58098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
58099 $as_echo_n "checking for _qfpclass declaration... " >&6; }
58100 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
58101 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
58102 $as_echo_n "(cached) " >&6
58103 else
58106 ac_ext=cpp
58107 ac_cpp='$CXXCPP $CPPFLAGS'
58108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58113 /* end confdefs.h. */
58114 #include <math.h>
58115 #ifdef HAVE_IEEEFP_H
58116 #include <ieeefp.h>
58117 #endif
58120 main ()
58122 _qfpclass(0);
58124 return 0;
58126 _ACEOF
58127 if ac_fn_cxx_try_compile "$LINENO"; then :
58128 glibcxx_cv_func__qfpclass_use=yes
58129 else
58130 glibcxx_cv_func__qfpclass_use=no
58132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58133 ac_ext=c
58134 ac_cpp='$CPP $CPPFLAGS'
58135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
58144 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
58146 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
58147 for ac_func in _qfpclass
58148 do :
58149 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
58150 if test "x$ac_cv_func__qfpclass" = x""yes; then :
58151 cat >>confdefs.h <<_ACEOF
58152 #define HAVE__QFPCLASS 1
58153 _ACEOF
58156 done
58165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
58166 $as_echo_n "checking for hypot declaration... " >&6; }
58167 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
58168 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
58169 $as_echo_n "(cached) " >&6
58170 else
58173 ac_ext=cpp
58174 ac_cpp='$CXXCPP $CPPFLAGS'
58175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58180 /* end confdefs.h. */
58181 #include <math.h>
58183 main ()
58185 hypot(0, 0);
58187 return 0;
58189 _ACEOF
58190 if ac_fn_cxx_try_compile "$LINENO"; then :
58191 glibcxx_cv_func_hypot_use=yes
58192 else
58193 glibcxx_cv_func_hypot_use=no
58195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58196 ac_ext=c
58197 ac_cpp='$CPP $CPPFLAGS'
58198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
58207 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
58209 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
58210 for ac_func in hypot
58211 do :
58212 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
58213 if test "x$ac_cv_func_hypot" = x""yes; then :
58214 cat >>confdefs.h <<_ACEOF
58215 #define HAVE_HYPOT 1
58216 _ACEOF
58219 done
58221 else
58223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
58224 $as_echo_n "checking for _hypot declaration... " >&6; }
58225 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
58226 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
58227 $as_echo_n "(cached) " >&6
58228 else
58231 ac_ext=cpp
58232 ac_cpp='$CXXCPP $CPPFLAGS'
58233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58238 /* end confdefs.h. */
58239 #include <math.h>
58241 main ()
58243 _hypot(0, 0);
58245 return 0;
58247 _ACEOF
58248 if ac_fn_cxx_try_compile "$LINENO"; then :
58249 glibcxx_cv_func__hypot_use=yes
58250 else
58251 glibcxx_cv_func__hypot_use=no
58253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58254 ac_ext=c
58255 ac_cpp='$CPP $CPPFLAGS'
58256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
58265 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
58267 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
58268 for ac_func in _hypot
58269 do :
58270 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
58271 if test "x$ac_cv_func__hypot" = x""yes; then :
58272 cat >>confdefs.h <<_ACEOF
58273 #define HAVE__HYPOT 1
58274 _ACEOF
58277 done
58286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
58287 $as_echo_n "checking for float trig functions... " >&6; }
58288 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
58289 $as_echo_n "(cached) " >&6
58290 else
58293 ac_ext=cpp
58294 ac_cpp='$CXXCPP $CPPFLAGS'
58295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58300 /* end confdefs.h. */
58301 #include <math.h>
58303 main ()
58305 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
58307 return 0;
58309 _ACEOF
58310 if ac_fn_cxx_try_compile "$LINENO"; then :
58311 glibcxx_cv_func_float_trig_use=yes
58312 else
58313 glibcxx_cv_func_float_trig_use=no
58315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58316 ac_ext=c
58317 ac_cpp='$CPP $CPPFLAGS'
58318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
58325 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
58326 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
58327 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
58328 do :
58329 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58330 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58331 eval as_val=\$$as_ac_var
58332 if test "x$as_val" = x""yes; then :
58333 cat >>confdefs.h <<_ACEOF
58334 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58335 _ACEOF
58338 done
58340 else
58341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
58342 $as_echo_n "checking for _float trig functions... " >&6; }
58343 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
58344 $as_echo_n "(cached) " >&6
58345 else
58348 ac_ext=cpp
58349 ac_cpp='$CXXCPP $CPPFLAGS'
58350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58355 /* end confdefs.h. */
58356 #include <math.h>
58358 main ()
58360 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
58362 return 0;
58364 _ACEOF
58365 if ac_fn_cxx_try_compile "$LINENO"; then :
58366 glibcxx_cv_func__float_trig_use=yes
58367 else
58368 glibcxx_cv_func__float_trig_use=no
58370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58371 ac_ext=c
58372 ac_cpp='$CPP $CPPFLAGS'
58373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
58380 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
58381 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
58382 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
58383 do :
58384 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58385 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58386 eval as_val=\$$as_ac_var
58387 if test "x$as_val" = x""yes; then :
58388 cat >>confdefs.h <<_ACEOF
58389 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58390 _ACEOF
58393 done
58402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
58403 $as_echo_n "checking for float round functions... " >&6; }
58404 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
58405 $as_echo_n "(cached) " >&6
58406 else
58409 ac_ext=cpp
58410 ac_cpp='$CXXCPP $CPPFLAGS'
58411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58416 /* end confdefs.h. */
58417 #include <math.h>
58419 main ()
58421 ceilf (0); floorf (0);
58423 return 0;
58425 _ACEOF
58426 if ac_fn_cxx_try_compile "$LINENO"; then :
58427 glibcxx_cv_func_float_round_use=yes
58428 else
58429 glibcxx_cv_func_float_round_use=no
58431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58432 ac_ext=c
58433 ac_cpp='$CPP $CPPFLAGS'
58434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
58441 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
58442 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
58443 for ac_func in ceilf floorf
58444 do :
58445 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58446 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58447 eval as_val=\$$as_ac_var
58448 if test "x$as_val" = x""yes; then :
58449 cat >>confdefs.h <<_ACEOF
58450 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58451 _ACEOF
58454 done
58456 else
58457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
58458 $as_echo_n "checking for _float round functions... " >&6; }
58459 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
58460 $as_echo_n "(cached) " >&6
58461 else
58464 ac_ext=cpp
58465 ac_cpp='$CXXCPP $CPPFLAGS'
58466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58471 /* end confdefs.h. */
58472 #include <math.h>
58474 main ()
58476 _ceilf (0); _floorf (0);
58478 return 0;
58480 _ACEOF
58481 if ac_fn_cxx_try_compile "$LINENO"; then :
58482 glibcxx_cv_func__float_round_use=yes
58483 else
58484 glibcxx_cv_func__float_round_use=no
58486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58487 ac_ext=c
58488 ac_cpp='$CPP $CPPFLAGS'
58489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
58496 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
58497 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
58498 for ac_func in _ceilf _floorf
58499 do :
58500 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58501 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58502 eval as_val=\$$as_ac_var
58503 if test "x$as_val" = x""yes; then :
58504 cat >>confdefs.h <<_ACEOF
58505 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58506 _ACEOF
58509 done
58519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
58520 $as_echo_n "checking for expf declaration... " >&6; }
58521 if test x${glibcxx_cv_func_expf_use+set} != xset; then
58522 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
58523 $as_echo_n "(cached) " >&6
58524 else
58527 ac_ext=cpp
58528 ac_cpp='$CXXCPP $CPPFLAGS'
58529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58534 /* end confdefs.h. */
58535 #include <math.h>
58536 #ifdef HAVE_IEEEFP_H
58537 #include <ieeefp.h>
58538 #endif
58541 main ()
58543 expf(0);
58545 return 0;
58547 _ACEOF
58548 if ac_fn_cxx_try_compile "$LINENO"; then :
58549 glibcxx_cv_func_expf_use=yes
58550 else
58551 glibcxx_cv_func_expf_use=no
58553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58554 ac_ext=c
58555 ac_cpp='$CPP $CPPFLAGS'
58556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
58565 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
58567 if test x$glibcxx_cv_func_expf_use = x"yes"; then
58568 for ac_func in expf
58569 do :
58570 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
58571 if test "x$ac_cv_func_expf" = x""yes; then :
58572 cat >>confdefs.h <<_ACEOF
58573 #define HAVE_EXPF 1
58574 _ACEOF
58577 done
58579 else
58581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
58582 $as_echo_n "checking for _expf declaration... " >&6; }
58583 if test x${glibcxx_cv_func__expf_use+set} != xset; then
58584 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
58585 $as_echo_n "(cached) " >&6
58586 else
58589 ac_ext=cpp
58590 ac_cpp='$CXXCPP $CPPFLAGS'
58591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58596 /* end confdefs.h. */
58597 #include <math.h>
58598 #ifdef HAVE_IEEEFP_H
58599 #include <ieeefp.h>
58600 #endif
58603 main ()
58605 _expf(0);
58607 return 0;
58609 _ACEOF
58610 if ac_fn_cxx_try_compile "$LINENO"; then :
58611 glibcxx_cv_func__expf_use=yes
58612 else
58613 glibcxx_cv_func__expf_use=no
58615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58616 ac_ext=c
58617 ac_cpp='$CPP $CPPFLAGS'
58618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
58627 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
58629 if test x$glibcxx_cv_func__expf_use = x"yes"; then
58630 for ac_func in _expf
58631 do :
58632 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
58633 if test "x$ac_cv_func__expf" = x""yes; then :
58634 cat >>confdefs.h <<_ACEOF
58635 #define HAVE__EXPF 1
58636 _ACEOF
58639 done
58648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
58649 $as_echo_n "checking for isnanf declaration... " >&6; }
58650 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
58651 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
58652 $as_echo_n "(cached) " >&6
58653 else
58656 ac_ext=cpp
58657 ac_cpp='$CXXCPP $CPPFLAGS'
58658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58663 /* end confdefs.h. */
58664 #include <math.h>
58665 #ifdef HAVE_IEEEFP_H
58666 #include <ieeefp.h>
58667 #endif
58670 main ()
58672 isnanf(0);
58674 return 0;
58676 _ACEOF
58677 if ac_fn_cxx_try_compile "$LINENO"; then :
58678 glibcxx_cv_func_isnanf_use=yes
58679 else
58680 glibcxx_cv_func_isnanf_use=no
58682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58683 ac_ext=c
58684 ac_cpp='$CPP $CPPFLAGS'
58685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
58694 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
58696 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
58697 for ac_func in isnanf
58698 do :
58699 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
58700 if test "x$ac_cv_func_isnanf" = x""yes; then :
58701 cat >>confdefs.h <<_ACEOF
58702 #define HAVE_ISNANF 1
58703 _ACEOF
58706 done
58708 else
58710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
58711 $as_echo_n "checking for _isnanf declaration... " >&6; }
58712 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
58713 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
58714 $as_echo_n "(cached) " >&6
58715 else
58718 ac_ext=cpp
58719 ac_cpp='$CXXCPP $CPPFLAGS'
58720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58725 /* end confdefs.h. */
58726 #include <math.h>
58727 #ifdef HAVE_IEEEFP_H
58728 #include <ieeefp.h>
58729 #endif
58732 main ()
58734 _isnanf(0);
58736 return 0;
58738 _ACEOF
58739 if ac_fn_cxx_try_compile "$LINENO"; then :
58740 glibcxx_cv_func__isnanf_use=yes
58741 else
58742 glibcxx_cv_func__isnanf_use=no
58744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58745 ac_ext=c
58746 ac_cpp='$CPP $CPPFLAGS'
58747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
58756 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
58758 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
58759 for ac_func in _isnanf
58760 do :
58761 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
58762 if test "x$ac_cv_func__isnanf" = x""yes; then :
58763 cat >>confdefs.h <<_ACEOF
58764 #define HAVE__ISNANF 1
58765 _ACEOF
58768 done
58777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
58778 $as_echo_n "checking for isinff declaration... " >&6; }
58779 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
58780 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
58781 $as_echo_n "(cached) " >&6
58782 else
58785 ac_ext=cpp
58786 ac_cpp='$CXXCPP $CPPFLAGS'
58787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58792 /* end confdefs.h. */
58793 #include <math.h>
58794 #ifdef HAVE_IEEEFP_H
58795 #include <ieeefp.h>
58796 #endif
58799 main ()
58801 isinff(0);
58803 return 0;
58805 _ACEOF
58806 if ac_fn_cxx_try_compile "$LINENO"; then :
58807 glibcxx_cv_func_isinff_use=yes
58808 else
58809 glibcxx_cv_func_isinff_use=no
58811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58812 ac_ext=c
58813 ac_cpp='$CPP $CPPFLAGS'
58814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
58823 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
58825 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
58826 for ac_func in isinff
58827 do :
58828 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
58829 if test "x$ac_cv_func_isinff" = x""yes; then :
58830 cat >>confdefs.h <<_ACEOF
58831 #define HAVE_ISINFF 1
58832 _ACEOF
58835 done
58837 else
58839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
58840 $as_echo_n "checking for _isinff declaration... " >&6; }
58841 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
58842 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
58843 $as_echo_n "(cached) " >&6
58844 else
58847 ac_ext=cpp
58848 ac_cpp='$CXXCPP $CPPFLAGS'
58849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58854 /* end confdefs.h. */
58855 #include <math.h>
58856 #ifdef HAVE_IEEEFP_H
58857 #include <ieeefp.h>
58858 #endif
58861 main ()
58863 _isinff(0);
58865 return 0;
58867 _ACEOF
58868 if ac_fn_cxx_try_compile "$LINENO"; then :
58869 glibcxx_cv_func__isinff_use=yes
58870 else
58871 glibcxx_cv_func__isinff_use=no
58873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58874 ac_ext=c
58875 ac_cpp='$CPP $CPPFLAGS'
58876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
58885 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
58887 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
58888 for ac_func in _isinff
58889 do :
58890 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
58891 if test "x$ac_cv_func__isinff" = x""yes; then :
58892 cat >>confdefs.h <<_ACEOF
58893 #define HAVE__ISINFF 1
58894 _ACEOF
58897 done
58906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
58907 $as_echo_n "checking for atan2f declaration... " >&6; }
58908 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
58909 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
58910 $as_echo_n "(cached) " >&6
58911 else
58914 ac_ext=cpp
58915 ac_cpp='$CXXCPP $CPPFLAGS'
58916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58921 /* end confdefs.h. */
58922 #include <math.h>
58924 main ()
58926 atan2f(0, 0);
58928 return 0;
58930 _ACEOF
58931 if ac_fn_cxx_try_compile "$LINENO"; then :
58932 glibcxx_cv_func_atan2f_use=yes
58933 else
58934 glibcxx_cv_func_atan2f_use=no
58936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58937 ac_ext=c
58938 ac_cpp='$CPP $CPPFLAGS'
58939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
58948 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
58950 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
58951 for ac_func in atan2f
58952 do :
58953 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
58954 if test "x$ac_cv_func_atan2f" = x""yes; then :
58955 cat >>confdefs.h <<_ACEOF
58956 #define HAVE_ATAN2F 1
58957 _ACEOF
58960 done
58962 else
58964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
58965 $as_echo_n "checking for _atan2f declaration... " >&6; }
58966 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
58967 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
58968 $as_echo_n "(cached) " >&6
58969 else
58972 ac_ext=cpp
58973 ac_cpp='$CXXCPP $CPPFLAGS'
58974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58979 /* end confdefs.h. */
58980 #include <math.h>
58982 main ()
58984 _atan2f(0, 0);
58986 return 0;
58988 _ACEOF
58989 if ac_fn_cxx_try_compile "$LINENO"; then :
58990 glibcxx_cv_func__atan2f_use=yes
58991 else
58992 glibcxx_cv_func__atan2f_use=no
58994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58995 ac_ext=c
58996 ac_cpp='$CPP $CPPFLAGS'
58997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
59006 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
59008 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59009 for ac_func in _atan2f
59010 do :
59011 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
59012 if test "x$ac_cv_func__atan2f" = x""yes; then :
59013 cat >>confdefs.h <<_ACEOF
59014 #define HAVE__ATAN2F 1
59015 _ACEOF
59018 done
59027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
59028 $as_echo_n "checking for fabsf declaration... " >&6; }
59029 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59030 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
59031 $as_echo_n "(cached) " >&6
59032 else
59035 ac_ext=cpp
59036 ac_cpp='$CXXCPP $CPPFLAGS'
59037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59042 /* end confdefs.h. */
59043 #include <math.h>
59044 #ifdef HAVE_IEEEFP_H
59045 #include <ieeefp.h>
59046 #endif
59049 main ()
59051 fabsf(0);
59053 return 0;
59055 _ACEOF
59056 if ac_fn_cxx_try_compile "$LINENO"; then :
59057 glibcxx_cv_func_fabsf_use=yes
59058 else
59059 glibcxx_cv_func_fabsf_use=no
59061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59062 ac_ext=c
59063 ac_cpp='$CPP $CPPFLAGS'
59064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
59073 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
59075 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59076 for ac_func in fabsf
59077 do :
59078 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
59079 if test "x$ac_cv_func_fabsf" = x""yes; then :
59080 cat >>confdefs.h <<_ACEOF
59081 #define HAVE_FABSF 1
59082 _ACEOF
59085 done
59087 else
59089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
59090 $as_echo_n "checking for _fabsf declaration... " >&6; }
59091 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59092 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
59093 $as_echo_n "(cached) " >&6
59094 else
59097 ac_ext=cpp
59098 ac_cpp='$CXXCPP $CPPFLAGS'
59099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59104 /* end confdefs.h. */
59105 #include <math.h>
59106 #ifdef HAVE_IEEEFP_H
59107 #include <ieeefp.h>
59108 #endif
59111 main ()
59113 _fabsf(0);
59115 return 0;
59117 _ACEOF
59118 if ac_fn_cxx_try_compile "$LINENO"; then :
59119 glibcxx_cv_func__fabsf_use=yes
59120 else
59121 glibcxx_cv_func__fabsf_use=no
59123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59124 ac_ext=c
59125 ac_cpp='$CPP $CPPFLAGS'
59126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
59135 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
59137 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59138 for ac_func in _fabsf
59139 do :
59140 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
59141 if test "x$ac_cv_func__fabsf" = x""yes; then :
59142 cat >>confdefs.h <<_ACEOF
59143 #define HAVE__FABSF 1
59144 _ACEOF
59147 done
59156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
59157 $as_echo_n "checking for fmodf declaration... " >&6; }
59158 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
59159 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
59160 $as_echo_n "(cached) " >&6
59161 else
59164 ac_ext=cpp
59165 ac_cpp='$CXXCPP $CPPFLAGS'
59166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59171 /* end confdefs.h. */
59172 #include <math.h>
59174 main ()
59176 fmodf(0, 0);
59178 return 0;
59180 _ACEOF
59181 if ac_fn_cxx_try_compile "$LINENO"; then :
59182 glibcxx_cv_func_fmodf_use=yes
59183 else
59184 glibcxx_cv_func_fmodf_use=no
59186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59187 ac_ext=c
59188 ac_cpp='$CPP $CPPFLAGS'
59189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
59198 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
59200 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59201 for ac_func in fmodf
59202 do :
59203 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
59204 if test "x$ac_cv_func_fmodf" = x""yes; then :
59205 cat >>confdefs.h <<_ACEOF
59206 #define HAVE_FMODF 1
59207 _ACEOF
59210 done
59212 else
59214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
59215 $as_echo_n "checking for _fmodf declaration... " >&6; }
59216 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59217 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
59218 $as_echo_n "(cached) " >&6
59219 else
59222 ac_ext=cpp
59223 ac_cpp='$CXXCPP $CPPFLAGS'
59224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59229 /* end confdefs.h. */
59230 #include <math.h>
59232 main ()
59234 _fmodf(0, 0);
59236 return 0;
59238 _ACEOF
59239 if ac_fn_cxx_try_compile "$LINENO"; then :
59240 glibcxx_cv_func__fmodf_use=yes
59241 else
59242 glibcxx_cv_func__fmodf_use=no
59244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59245 ac_ext=c
59246 ac_cpp='$CPP $CPPFLAGS'
59247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
59256 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
59258 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59259 for ac_func in _fmodf
59260 do :
59261 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
59262 if test "x$ac_cv_func__fmodf" = x""yes; then :
59263 cat >>confdefs.h <<_ACEOF
59264 #define HAVE__FMODF 1
59265 _ACEOF
59268 done
59277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
59278 $as_echo_n "checking for frexpf declaration... " >&6; }
59279 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59280 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
59281 $as_echo_n "(cached) " >&6
59282 else
59285 ac_ext=cpp
59286 ac_cpp='$CXXCPP $CPPFLAGS'
59287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59292 /* end confdefs.h. */
59293 #include <math.h>
59295 main ()
59297 frexpf(0, 0);
59299 return 0;
59301 _ACEOF
59302 if ac_fn_cxx_try_compile "$LINENO"; then :
59303 glibcxx_cv_func_frexpf_use=yes
59304 else
59305 glibcxx_cv_func_frexpf_use=no
59307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59308 ac_ext=c
59309 ac_cpp='$CPP $CPPFLAGS'
59310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
59319 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
59321 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59322 for ac_func in frexpf
59323 do :
59324 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
59325 if test "x$ac_cv_func_frexpf" = x""yes; then :
59326 cat >>confdefs.h <<_ACEOF
59327 #define HAVE_FREXPF 1
59328 _ACEOF
59331 done
59333 else
59335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
59336 $as_echo_n "checking for _frexpf declaration... " >&6; }
59337 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59338 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
59339 $as_echo_n "(cached) " >&6
59340 else
59343 ac_ext=cpp
59344 ac_cpp='$CXXCPP $CPPFLAGS'
59345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59350 /* end confdefs.h. */
59351 #include <math.h>
59353 main ()
59355 _frexpf(0, 0);
59357 return 0;
59359 _ACEOF
59360 if ac_fn_cxx_try_compile "$LINENO"; then :
59361 glibcxx_cv_func__frexpf_use=yes
59362 else
59363 glibcxx_cv_func__frexpf_use=no
59365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59366 ac_ext=c
59367 ac_cpp='$CPP $CPPFLAGS'
59368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
59377 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
59379 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
59380 for ac_func in _frexpf
59381 do :
59382 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
59383 if test "x$ac_cv_func__frexpf" = x""yes; then :
59384 cat >>confdefs.h <<_ACEOF
59385 #define HAVE__FREXPF 1
59386 _ACEOF
59389 done
59398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
59399 $as_echo_n "checking for hypotf declaration... " >&6; }
59400 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
59401 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
59402 $as_echo_n "(cached) " >&6
59403 else
59406 ac_ext=cpp
59407 ac_cpp='$CXXCPP $CPPFLAGS'
59408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59413 /* end confdefs.h. */
59414 #include <math.h>
59416 main ()
59418 hypotf(0, 0);
59420 return 0;
59422 _ACEOF
59423 if ac_fn_cxx_try_compile "$LINENO"; then :
59424 glibcxx_cv_func_hypotf_use=yes
59425 else
59426 glibcxx_cv_func_hypotf_use=no
59428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59429 ac_ext=c
59430 ac_cpp='$CPP $CPPFLAGS'
59431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
59440 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
59442 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
59443 for ac_func in hypotf
59444 do :
59445 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
59446 if test "x$ac_cv_func_hypotf" = x""yes; then :
59447 cat >>confdefs.h <<_ACEOF
59448 #define HAVE_HYPOTF 1
59449 _ACEOF
59452 done
59454 else
59456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
59457 $as_echo_n "checking for _hypotf declaration... " >&6; }
59458 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
59459 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
59460 $as_echo_n "(cached) " >&6
59461 else
59464 ac_ext=cpp
59465 ac_cpp='$CXXCPP $CPPFLAGS'
59466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59471 /* end confdefs.h. */
59472 #include <math.h>
59474 main ()
59476 _hypotf(0, 0);
59478 return 0;
59480 _ACEOF
59481 if ac_fn_cxx_try_compile "$LINENO"; then :
59482 glibcxx_cv_func__hypotf_use=yes
59483 else
59484 glibcxx_cv_func__hypotf_use=no
59486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59487 ac_ext=c
59488 ac_cpp='$CPP $CPPFLAGS'
59489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
59498 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
59500 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
59501 for ac_func in _hypotf
59502 do :
59503 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
59504 if test "x$ac_cv_func__hypotf" = x""yes; then :
59505 cat >>confdefs.h <<_ACEOF
59506 #define HAVE__HYPOTF 1
59507 _ACEOF
59510 done
59519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
59520 $as_echo_n "checking for ldexpf declaration... " >&6; }
59521 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
59522 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
59523 $as_echo_n "(cached) " >&6
59524 else
59527 ac_ext=cpp
59528 ac_cpp='$CXXCPP $CPPFLAGS'
59529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59534 /* end confdefs.h. */
59535 #include <math.h>
59537 main ()
59539 ldexpf(0, 0);
59541 return 0;
59543 _ACEOF
59544 if ac_fn_cxx_try_compile "$LINENO"; then :
59545 glibcxx_cv_func_ldexpf_use=yes
59546 else
59547 glibcxx_cv_func_ldexpf_use=no
59549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59550 ac_ext=c
59551 ac_cpp='$CPP $CPPFLAGS'
59552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
59561 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
59563 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
59564 for ac_func in ldexpf
59565 do :
59566 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
59567 if test "x$ac_cv_func_ldexpf" = x""yes; then :
59568 cat >>confdefs.h <<_ACEOF
59569 #define HAVE_LDEXPF 1
59570 _ACEOF
59573 done
59575 else
59577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
59578 $as_echo_n "checking for _ldexpf declaration... " >&6; }
59579 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
59580 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
59581 $as_echo_n "(cached) " >&6
59582 else
59585 ac_ext=cpp
59586 ac_cpp='$CXXCPP $CPPFLAGS'
59587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59592 /* end confdefs.h. */
59593 #include <math.h>
59595 main ()
59597 _ldexpf(0, 0);
59599 return 0;
59601 _ACEOF
59602 if ac_fn_cxx_try_compile "$LINENO"; then :
59603 glibcxx_cv_func__ldexpf_use=yes
59604 else
59605 glibcxx_cv_func__ldexpf_use=no
59607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59608 ac_ext=c
59609 ac_cpp='$CPP $CPPFLAGS'
59610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
59619 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
59621 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
59622 for ac_func in _ldexpf
59623 do :
59624 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
59625 if test "x$ac_cv_func__ldexpf" = x""yes; then :
59626 cat >>confdefs.h <<_ACEOF
59627 #define HAVE__LDEXPF 1
59628 _ACEOF
59631 done
59640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
59641 $as_echo_n "checking for logf declaration... " >&6; }
59642 if test x${glibcxx_cv_func_logf_use+set} != xset; then
59643 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
59644 $as_echo_n "(cached) " >&6
59645 else
59648 ac_ext=cpp
59649 ac_cpp='$CXXCPP $CPPFLAGS'
59650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59655 /* end confdefs.h. */
59656 #include <math.h>
59657 #ifdef HAVE_IEEEFP_H
59658 #include <ieeefp.h>
59659 #endif
59662 main ()
59664 logf(0);
59666 return 0;
59668 _ACEOF
59669 if ac_fn_cxx_try_compile "$LINENO"; then :
59670 glibcxx_cv_func_logf_use=yes
59671 else
59672 glibcxx_cv_func_logf_use=no
59674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59675 ac_ext=c
59676 ac_cpp='$CPP $CPPFLAGS'
59677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
59686 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
59688 if test x$glibcxx_cv_func_logf_use = x"yes"; then
59689 for ac_func in logf
59690 do :
59691 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
59692 if test "x$ac_cv_func_logf" = x""yes; then :
59693 cat >>confdefs.h <<_ACEOF
59694 #define HAVE_LOGF 1
59695 _ACEOF
59698 done
59700 else
59702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
59703 $as_echo_n "checking for _logf declaration... " >&6; }
59704 if test x${glibcxx_cv_func__logf_use+set} != xset; then
59705 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
59706 $as_echo_n "(cached) " >&6
59707 else
59710 ac_ext=cpp
59711 ac_cpp='$CXXCPP $CPPFLAGS'
59712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59717 /* end confdefs.h. */
59718 #include <math.h>
59719 #ifdef HAVE_IEEEFP_H
59720 #include <ieeefp.h>
59721 #endif
59724 main ()
59726 _logf(0);
59728 return 0;
59730 _ACEOF
59731 if ac_fn_cxx_try_compile "$LINENO"; then :
59732 glibcxx_cv_func__logf_use=yes
59733 else
59734 glibcxx_cv_func__logf_use=no
59736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59737 ac_ext=c
59738 ac_cpp='$CPP $CPPFLAGS'
59739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
59748 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
59750 if test x$glibcxx_cv_func__logf_use = x"yes"; then
59751 for ac_func in _logf
59752 do :
59753 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
59754 if test "x$ac_cv_func__logf" = x""yes; then :
59755 cat >>confdefs.h <<_ACEOF
59756 #define HAVE__LOGF 1
59757 _ACEOF
59760 done
59769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
59770 $as_echo_n "checking for log10f declaration... " >&6; }
59771 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
59772 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
59773 $as_echo_n "(cached) " >&6
59774 else
59777 ac_ext=cpp
59778 ac_cpp='$CXXCPP $CPPFLAGS'
59779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59784 /* end confdefs.h. */
59785 #include <math.h>
59786 #ifdef HAVE_IEEEFP_H
59787 #include <ieeefp.h>
59788 #endif
59791 main ()
59793 log10f(0);
59795 return 0;
59797 _ACEOF
59798 if ac_fn_cxx_try_compile "$LINENO"; then :
59799 glibcxx_cv_func_log10f_use=yes
59800 else
59801 glibcxx_cv_func_log10f_use=no
59803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59804 ac_ext=c
59805 ac_cpp='$CPP $CPPFLAGS'
59806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
59815 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
59817 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
59818 for ac_func in log10f
59819 do :
59820 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
59821 if test "x$ac_cv_func_log10f" = x""yes; then :
59822 cat >>confdefs.h <<_ACEOF
59823 #define HAVE_LOG10F 1
59824 _ACEOF
59827 done
59829 else
59831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
59832 $as_echo_n "checking for _log10f declaration... " >&6; }
59833 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
59834 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
59835 $as_echo_n "(cached) " >&6
59836 else
59839 ac_ext=cpp
59840 ac_cpp='$CXXCPP $CPPFLAGS'
59841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59846 /* end confdefs.h. */
59847 #include <math.h>
59848 #ifdef HAVE_IEEEFP_H
59849 #include <ieeefp.h>
59850 #endif
59853 main ()
59855 _log10f(0);
59857 return 0;
59859 _ACEOF
59860 if ac_fn_cxx_try_compile "$LINENO"; then :
59861 glibcxx_cv_func__log10f_use=yes
59862 else
59863 glibcxx_cv_func__log10f_use=no
59865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59866 ac_ext=c
59867 ac_cpp='$CPP $CPPFLAGS'
59868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
59877 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
59879 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
59880 for ac_func in _log10f
59881 do :
59882 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
59883 if test "x$ac_cv_func__log10f" = x""yes; then :
59884 cat >>confdefs.h <<_ACEOF
59885 #define HAVE__LOG10F 1
59886 _ACEOF
59889 done
59898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
59899 $as_echo_n "checking for modff declaration... " >&6; }
59900 if test x${glibcxx_cv_func_modff_use+set} != xset; then
59901 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
59902 $as_echo_n "(cached) " >&6
59903 else
59906 ac_ext=cpp
59907 ac_cpp='$CXXCPP $CPPFLAGS'
59908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59913 /* end confdefs.h. */
59914 #include <math.h>
59916 main ()
59918 modff(0, 0);
59920 return 0;
59922 _ACEOF
59923 if ac_fn_cxx_try_compile "$LINENO"; then :
59924 glibcxx_cv_func_modff_use=yes
59925 else
59926 glibcxx_cv_func_modff_use=no
59928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59929 ac_ext=c
59930 ac_cpp='$CPP $CPPFLAGS'
59931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
59940 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
59942 if test x$glibcxx_cv_func_modff_use = x"yes"; then
59943 for ac_func in modff
59944 do :
59945 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
59946 if test "x$ac_cv_func_modff" = x""yes; then :
59947 cat >>confdefs.h <<_ACEOF
59948 #define HAVE_MODFF 1
59949 _ACEOF
59952 done
59954 else
59956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
59957 $as_echo_n "checking for _modff declaration... " >&6; }
59958 if test x${glibcxx_cv_func__modff_use+set} != xset; then
59959 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
59960 $as_echo_n "(cached) " >&6
59961 else
59964 ac_ext=cpp
59965 ac_cpp='$CXXCPP $CPPFLAGS'
59966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59971 /* end confdefs.h. */
59972 #include <math.h>
59974 main ()
59976 _modff(0, 0);
59978 return 0;
59980 _ACEOF
59981 if ac_fn_cxx_try_compile "$LINENO"; then :
59982 glibcxx_cv_func__modff_use=yes
59983 else
59984 glibcxx_cv_func__modff_use=no
59986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59987 ac_ext=c
59988 ac_cpp='$CPP $CPPFLAGS'
59989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
59998 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
60000 if test x$glibcxx_cv_func__modff_use = x"yes"; then
60001 for ac_func in _modff
60002 do :
60003 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
60004 if test "x$ac_cv_func__modff" = x""yes; then :
60005 cat >>confdefs.h <<_ACEOF
60006 #define HAVE__MODFF 1
60007 _ACEOF
60010 done
60019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
60020 $as_echo_n "checking for modf declaration... " >&6; }
60021 if test x${glibcxx_cv_func_modf_use+set} != xset; then
60022 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
60023 $as_echo_n "(cached) " >&6
60024 else
60027 ac_ext=cpp
60028 ac_cpp='$CXXCPP $CPPFLAGS'
60029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60034 /* end confdefs.h. */
60035 #include <math.h>
60037 main ()
60039 modf(0, 0);
60041 return 0;
60043 _ACEOF
60044 if ac_fn_cxx_try_compile "$LINENO"; then :
60045 glibcxx_cv_func_modf_use=yes
60046 else
60047 glibcxx_cv_func_modf_use=no
60049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60050 ac_ext=c
60051 ac_cpp='$CPP $CPPFLAGS'
60052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
60061 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
60063 if test x$glibcxx_cv_func_modf_use = x"yes"; then
60064 for ac_func in modf
60065 do :
60066 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
60067 if test "x$ac_cv_func_modf" = x""yes; then :
60068 cat >>confdefs.h <<_ACEOF
60069 #define HAVE_MODF 1
60070 _ACEOF
60073 done
60075 else
60077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
60078 $as_echo_n "checking for _modf declaration... " >&6; }
60079 if test x${glibcxx_cv_func__modf_use+set} != xset; then
60080 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
60081 $as_echo_n "(cached) " >&6
60082 else
60085 ac_ext=cpp
60086 ac_cpp='$CXXCPP $CPPFLAGS'
60087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60092 /* end confdefs.h. */
60093 #include <math.h>
60095 main ()
60097 _modf(0, 0);
60099 return 0;
60101 _ACEOF
60102 if ac_fn_cxx_try_compile "$LINENO"; then :
60103 glibcxx_cv_func__modf_use=yes
60104 else
60105 glibcxx_cv_func__modf_use=no
60107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60108 ac_ext=c
60109 ac_cpp='$CPP $CPPFLAGS'
60110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
60119 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
60121 if test x$glibcxx_cv_func__modf_use = x"yes"; then
60122 for ac_func in _modf
60123 do :
60124 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
60125 if test "x$ac_cv_func__modf" = x""yes; then :
60126 cat >>confdefs.h <<_ACEOF
60127 #define HAVE__MODF 1
60128 _ACEOF
60131 done
60140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
60141 $as_echo_n "checking for powf declaration... " >&6; }
60142 if test x${glibcxx_cv_func_powf_use+set} != xset; then
60143 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
60144 $as_echo_n "(cached) " >&6
60145 else
60148 ac_ext=cpp
60149 ac_cpp='$CXXCPP $CPPFLAGS'
60150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60155 /* end confdefs.h. */
60156 #include <math.h>
60158 main ()
60160 powf(0, 0);
60162 return 0;
60164 _ACEOF
60165 if ac_fn_cxx_try_compile "$LINENO"; then :
60166 glibcxx_cv_func_powf_use=yes
60167 else
60168 glibcxx_cv_func_powf_use=no
60170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60171 ac_ext=c
60172 ac_cpp='$CPP $CPPFLAGS'
60173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
60182 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
60184 if test x$glibcxx_cv_func_powf_use = x"yes"; then
60185 for ac_func in powf
60186 do :
60187 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
60188 if test "x$ac_cv_func_powf" = x""yes; then :
60189 cat >>confdefs.h <<_ACEOF
60190 #define HAVE_POWF 1
60191 _ACEOF
60194 done
60196 else
60198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
60199 $as_echo_n "checking for _powf declaration... " >&6; }
60200 if test x${glibcxx_cv_func__powf_use+set} != xset; then
60201 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
60202 $as_echo_n "(cached) " >&6
60203 else
60206 ac_ext=cpp
60207 ac_cpp='$CXXCPP $CPPFLAGS'
60208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60213 /* end confdefs.h. */
60214 #include <math.h>
60216 main ()
60218 _powf(0, 0);
60220 return 0;
60222 _ACEOF
60223 if ac_fn_cxx_try_compile "$LINENO"; then :
60224 glibcxx_cv_func__powf_use=yes
60225 else
60226 glibcxx_cv_func__powf_use=no
60228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60229 ac_ext=c
60230 ac_cpp='$CPP $CPPFLAGS'
60231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
60240 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
60242 if test x$glibcxx_cv_func__powf_use = x"yes"; then
60243 for ac_func in _powf
60244 do :
60245 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
60246 if test "x$ac_cv_func__powf" = x""yes; then :
60247 cat >>confdefs.h <<_ACEOF
60248 #define HAVE__POWF 1
60249 _ACEOF
60252 done
60261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
60262 $as_echo_n "checking for sqrtf declaration... " >&6; }
60263 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
60264 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
60265 $as_echo_n "(cached) " >&6
60266 else
60269 ac_ext=cpp
60270 ac_cpp='$CXXCPP $CPPFLAGS'
60271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60276 /* end confdefs.h. */
60277 #include <math.h>
60278 #ifdef HAVE_IEEEFP_H
60279 #include <ieeefp.h>
60280 #endif
60283 main ()
60285 sqrtf(0);
60287 return 0;
60289 _ACEOF
60290 if ac_fn_cxx_try_compile "$LINENO"; then :
60291 glibcxx_cv_func_sqrtf_use=yes
60292 else
60293 glibcxx_cv_func_sqrtf_use=no
60295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60296 ac_ext=c
60297 ac_cpp='$CPP $CPPFLAGS'
60298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
60307 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
60309 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
60310 for ac_func in sqrtf
60311 do :
60312 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
60313 if test "x$ac_cv_func_sqrtf" = x""yes; then :
60314 cat >>confdefs.h <<_ACEOF
60315 #define HAVE_SQRTF 1
60316 _ACEOF
60319 done
60321 else
60323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
60324 $as_echo_n "checking for _sqrtf declaration... " >&6; }
60325 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
60326 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
60327 $as_echo_n "(cached) " >&6
60328 else
60331 ac_ext=cpp
60332 ac_cpp='$CXXCPP $CPPFLAGS'
60333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60338 /* end confdefs.h. */
60339 #include <math.h>
60340 #ifdef HAVE_IEEEFP_H
60341 #include <ieeefp.h>
60342 #endif
60345 main ()
60347 _sqrtf(0);
60349 return 0;
60351 _ACEOF
60352 if ac_fn_cxx_try_compile "$LINENO"; then :
60353 glibcxx_cv_func__sqrtf_use=yes
60354 else
60355 glibcxx_cv_func__sqrtf_use=no
60357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60358 ac_ext=c
60359 ac_cpp='$CPP $CPPFLAGS'
60360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
60369 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
60371 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
60372 for ac_func in _sqrtf
60373 do :
60374 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
60375 if test "x$ac_cv_func__sqrtf" = x""yes; then :
60376 cat >>confdefs.h <<_ACEOF
60377 #define HAVE__SQRTF 1
60378 _ACEOF
60381 done
60390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
60391 $as_echo_n "checking for sincosf declaration... " >&6; }
60392 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
60393 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
60394 $as_echo_n "(cached) " >&6
60395 else
60398 ac_ext=cpp
60399 ac_cpp='$CXXCPP $CPPFLAGS'
60400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60405 /* end confdefs.h. */
60406 #include <math.h>
60408 main ()
60410 sincosf(0, 0, 0);
60412 return 0;
60414 _ACEOF
60415 if ac_fn_cxx_try_compile "$LINENO"; then :
60416 glibcxx_cv_func_sincosf_use=yes
60417 else
60418 glibcxx_cv_func_sincosf_use=no
60420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60421 ac_ext=c
60422 ac_cpp='$CPP $CPPFLAGS'
60423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
60432 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
60434 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
60435 for ac_func in sincosf
60436 do :
60437 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
60438 if test "x$ac_cv_func_sincosf" = x""yes; then :
60439 cat >>confdefs.h <<_ACEOF
60440 #define HAVE_SINCOSF 1
60441 _ACEOF
60444 done
60446 else
60448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
60449 $as_echo_n "checking for _sincosf declaration... " >&6; }
60450 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
60451 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
60452 $as_echo_n "(cached) " >&6
60453 else
60456 ac_ext=cpp
60457 ac_cpp='$CXXCPP $CPPFLAGS'
60458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60463 /* end confdefs.h. */
60464 #include <math.h>
60466 main ()
60468 _sincosf(0, 0, 0);
60470 return 0;
60472 _ACEOF
60473 if ac_fn_cxx_try_compile "$LINENO"; then :
60474 glibcxx_cv_func__sincosf_use=yes
60475 else
60476 glibcxx_cv_func__sincosf_use=no
60478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60479 ac_ext=c
60480 ac_cpp='$CPP $CPPFLAGS'
60481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
60490 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
60492 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
60493 for ac_func in _sincosf
60494 do :
60495 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
60496 if test "x$ac_cv_func__sincosf" = x""yes; then :
60497 cat >>confdefs.h <<_ACEOF
60498 #define HAVE__SINCOSF 1
60499 _ACEOF
60502 done
60511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
60512 $as_echo_n "checking for finitef declaration... " >&6; }
60513 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
60514 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
60515 $as_echo_n "(cached) " >&6
60516 else
60519 ac_ext=cpp
60520 ac_cpp='$CXXCPP $CPPFLAGS'
60521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60526 /* end confdefs.h. */
60527 #include <math.h>
60528 #ifdef HAVE_IEEEFP_H
60529 #include <ieeefp.h>
60530 #endif
60533 main ()
60535 finitef(0);
60537 return 0;
60539 _ACEOF
60540 if ac_fn_cxx_try_compile "$LINENO"; then :
60541 glibcxx_cv_func_finitef_use=yes
60542 else
60543 glibcxx_cv_func_finitef_use=no
60545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60546 ac_ext=c
60547 ac_cpp='$CPP $CPPFLAGS'
60548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
60557 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
60559 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
60560 for ac_func in finitef
60561 do :
60562 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
60563 if test "x$ac_cv_func_finitef" = x""yes; then :
60564 cat >>confdefs.h <<_ACEOF
60565 #define HAVE_FINITEF 1
60566 _ACEOF
60569 done
60571 else
60573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
60574 $as_echo_n "checking for _finitef declaration... " >&6; }
60575 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
60576 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
60577 $as_echo_n "(cached) " >&6
60578 else
60581 ac_ext=cpp
60582 ac_cpp='$CXXCPP $CPPFLAGS'
60583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60588 /* end confdefs.h. */
60589 #include <math.h>
60590 #ifdef HAVE_IEEEFP_H
60591 #include <ieeefp.h>
60592 #endif
60595 main ()
60597 _finitef(0);
60599 return 0;
60601 _ACEOF
60602 if ac_fn_cxx_try_compile "$LINENO"; then :
60603 glibcxx_cv_func__finitef_use=yes
60604 else
60605 glibcxx_cv_func__finitef_use=no
60607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60608 ac_ext=c
60609 ac_cpp='$CPP $CPPFLAGS'
60610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
60619 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
60621 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
60622 for ac_func in _finitef
60623 do :
60624 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
60625 if test "x$ac_cv_func__finitef" = x""yes; then :
60626 cat >>confdefs.h <<_ACEOF
60627 #define HAVE__FINITEF 1
60628 _ACEOF
60631 done
60640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
60641 $as_echo_n "checking for long double trig functions... " >&6; }
60642 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
60643 $as_echo_n "(cached) " >&6
60644 else
60647 ac_ext=cpp
60648 ac_cpp='$CXXCPP $CPPFLAGS'
60649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60654 /* end confdefs.h. */
60655 #include <math.h>
60657 main ()
60659 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
60661 return 0;
60663 _ACEOF
60664 if ac_fn_cxx_try_compile "$LINENO"; then :
60665 glibcxx_cv_func_long_double_trig_use=yes
60666 else
60667 glibcxx_cv_func_long_double_trig_use=no
60669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60670 ac_ext=c
60671 ac_cpp='$CPP $CPPFLAGS'
60672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
60679 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
60680 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
60681 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
60682 do :
60683 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60684 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60685 eval as_val=\$$as_ac_var
60686 if test "x$as_val" = x""yes; then :
60687 cat >>confdefs.h <<_ACEOF
60688 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60689 _ACEOF
60692 done
60694 else
60695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
60696 $as_echo_n "checking for _long double trig functions... " >&6; }
60697 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
60698 $as_echo_n "(cached) " >&6
60699 else
60702 ac_ext=cpp
60703 ac_cpp='$CXXCPP $CPPFLAGS'
60704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60709 /* end confdefs.h. */
60710 #include <math.h>
60712 main ()
60714 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
60716 return 0;
60718 _ACEOF
60719 if ac_fn_cxx_try_compile "$LINENO"; then :
60720 glibcxx_cv_func__long_double_trig_use=yes
60721 else
60722 glibcxx_cv_func__long_double_trig_use=no
60724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60725 ac_ext=c
60726 ac_cpp='$CPP $CPPFLAGS'
60727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
60734 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
60735 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
60736 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
60737 do :
60738 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60739 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60740 eval as_val=\$$as_ac_var
60741 if test "x$as_val" = x""yes; then :
60742 cat >>confdefs.h <<_ACEOF
60743 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60744 _ACEOF
60747 done
60756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
60757 $as_echo_n "checking for long double round functions... " >&6; }
60758 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
60759 $as_echo_n "(cached) " >&6
60760 else
60763 ac_ext=cpp
60764 ac_cpp='$CXXCPP $CPPFLAGS'
60765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60770 /* end confdefs.h. */
60771 #include <math.h>
60773 main ()
60775 ceill (0); floorl (0);
60777 return 0;
60779 _ACEOF
60780 if ac_fn_cxx_try_compile "$LINENO"; then :
60781 glibcxx_cv_func_long_double_round_use=yes
60782 else
60783 glibcxx_cv_func_long_double_round_use=no
60785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60786 ac_ext=c
60787 ac_cpp='$CPP $CPPFLAGS'
60788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
60795 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
60796 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
60797 for ac_func in ceill floorl
60798 do :
60799 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60800 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60801 eval as_val=\$$as_ac_var
60802 if test "x$as_val" = x""yes; then :
60803 cat >>confdefs.h <<_ACEOF
60804 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60805 _ACEOF
60808 done
60810 else
60811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
60812 $as_echo_n "checking for _long double round functions... " >&6; }
60813 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
60814 $as_echo_n "(cached) " >&6
60815 else
60818 ac_ext=cpp
60819 ac_cpp='$CXXCPP $CPPFLAGS'
60820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60825 /* end confdefs.h. */
60826 #include <math.h>
60828 main ()
60830 _ceill (0); _floorl (0);
60832 return 0;
60834 _ACEOF
60835 if ac_fn_cxx_try_compile "$LINENO"; then :
60836 glibcxx_cv_func__long_double_round_use=yes
60837 else
60838 glibcxx_cv_func__long_double_round_use=no
60840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60841 ac_ext=c
60842 ac_cpp='$CPP $CPPFLAGS'
60843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
60850 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
60851 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
60852 for ac_func in _ceill _floorl
60853 do :
60854 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60855 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60856 eval as_val=\$$as_ac_var
60857 if test "x$as_val" = x""yes; then :
60858 cat >>confdefs.h <<_ACEOF
60859 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60860 _ACEOF
60863 done
60873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
60874 $as_echo_n "checking for isnanl declaration... " >&6; }
60875 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
60876 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
60877 $as_echo_n "(cached) " >&6
60878 else
60881 ac_ext=cpp
60882 ac_cpp='$CXXCPP $CPPFLAGS'
60883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60888 /* end confdefs.h. */
60889 #include <math.h>
60890 #ifdef HAVE_IEEEFP_H
60891 #include <ieeefp.h>
60892 #endif
60895 main ()
60897 isnanl(0);
60899 return 0;
60901 _ACEOF
60902 if ac_fn_cxx_try_compile "$LINENO"; then :
60903 glibcxx_cv_func_isnanl_use=yes
60904 else
60905 glibcxx_cv_func_isnanl_use=no
60907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60908 ac_ext=c
60909 ac_cpp='$CPP $CPPFLAGS'
60910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
60919 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
60921 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
60922 for ac_func in isnanl
60923 do :
60924 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
60925 if test "x$ac_cv_func_isnanl" = x""yes; then :
60926 cat >>confdefs.h <<_ACEOF
60927 #define HAVE_ISNANL 1
60928 _ACEOF
60931 done
60933 else
60935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
60936 $as_echo_n "checking for _isnanl declaration... " >&6; }
60937 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
60938 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
60939 $as_echo_n "(cached) " >&6
60940 else
60943 ac_ext=cpp
60944 ac_cpp='$CXXCPP $CPPFLAGS'
60945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60950 /* end confdefs.h. */
60951 #include <math.h>
60952 #ifdef HAVE_IEEEFP_H
60953 #include <ieeefp.h>
60954 #endif
60957 main ()
60959 _isnanl(0);
60961 return 0;
60963 _ACEOF
60964 if ac_fn_cxx_try_compile "$LINENO"; then :
60965 glibcxx_cv_func__isnanl_use=yes
60966 else
60967 glibcxx_cv_func__isnanl_use=no
60969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60970 ac_ext=c
60971 ac_cpp='$CPP $CPPFLAGS'
60972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
60981 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
60983 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
60984 for ac_func in _isnanl
60985 do :
60986 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
60987 if test "x$ac_cv_func__isnanl" = x""yes; then :
60988 cat >>confdefs.h <<_ACEOF
60989 #define HAVE__ISNANL 1
60990 _ACEOF
60993 done
61002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
61003 $as_echo_n "checking for isinfl declaration... " >&6; }
61004 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
61005 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
61006 $as_echo_n "(cached) " >&6
61007 else
61010 ac_ext=cpp
61011 ac_cpp='$CXXCPP $CPPFLAGS'
61012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61017 /* end confdefs.h. */
61018 #include <math.h>
61019 #ifdef HAVE_IEEEFP_H
61020 #include <ieeefp.h>
61021 #endif
61024 main ()
61026 isinfl(0);
61028 return 0;
61030 _ACEOF
61031 if ac_fn_cxx_try_compile "$LINENO"; then :
61032 glibcxx_cv_func_isinfl_use=yes
61033 else
61034 glibcxx_cv_func_isinfl_use=no
61036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61037 ac_ext=c
61038 ac_cpp='$CPP $CPPFLAGS'
61039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
61048 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
61050 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
61051 for ac_func in isinfl
61052 do :
61053 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
61054 if test "x$ac_cv_func_isinfl" = x""yes; then :
61055 cat >>confdefs.h <<_ACEOF
61056 #define HAVE_ISINFL 1
61057 _ACEOF
61060 done
61062 else
61064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
61065 $as_echo_n "checking for _isinfl declaration... " >&6; }
61066 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
61067 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
61068 $as_echo_n "(cached) " >&6
61069 else
61072 ac_ext=cpp
61073 ac_cpp='$CXXCPP $CPPFLAGS'
61074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61079 /* end confdefs.h. */
61080 #include <math.h>
61081 #ifdef HAVE_IEEEFP_H
61082 #include <ieeefp.h>
61083 #endif
61086 main ()
61088 _isinfl(0);
61090 return 0;
61092 _ACEOF
61093 if ac_fn_cxx_try_compile "$LINENO"; then :
61094 glibcxx_cv_func__isinfl_use=yes
61095 else
61096 glibcxx_cv_func__isinfl_use=no
61098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61099 ac_ext=c
61100 ac_cpp='$CPP $CPPFLAGS'
61101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
61110 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
61112 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
61113 for ac_func in _isinfl
61114 do :
61115 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
61116 if test "x$ac_cv_func__isinfl" = x""yes; then :
61117 cat >>confdefs.h <<_ACEOF
61118 #define HAVE__ISINFL 1
61119 _ACEOF
61122 done
61131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
61132 $as_echo_n "checking for atan2l declaration... " >&6; }
61133 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
61134 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
61135 $as_echo_n "(cached) " >&6
61136 else
61139 ac_ext=cpp
61140 ac_cpp='$CXXCPP $CPPFLAGS'
61141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61146 /* end confdefs.h. */
61147 #include <math.h>
61149 main ()
61151 atan2l(0, 0);
61153 return 0;
61155 _ACEOF
61156 if ac_fn_cxx_try_compile "$LINENO"; then :
61157 glibcxx_cv_func_atan2l_use=yes
61158 else
61159 glibcxx_cv_func_atan2l_use=no
61161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61162 ac_ext=c
61163 ac_cpp='$CPP $CPPFLAGS'
61164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
61173 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
61175 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
61176 for ac_func in atan2l
61177 do :
61178 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
61179 if test "x$ac_cv_func_atan2l" = x""yes; then :
61180 cat >>confdefs.h <<_ACEOF
61181 #define HAVE_ATAN2L 1
61182 _ACEOF
61185 done
61187 else
61189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
61190 $as_echo_n "checking for _atan2l declaration... " >&6; }
61191 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
61192 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
61193 $as_echo_n "(cached) " >&6
61194 else
61197 ac_ext=cpp
61198 ac_cpp='$CXXCPP $CPPFLAGS'
61199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61204 /* end confdefs.h. */
61205 #include <math.h>
61207 main ()
61209 _atan2l(0, 0);
61211 return 0;
61213 _ACEOF
61214 if ac_fn_cxx_try_compile "$LINENO"; then :
61215 glibcxx_cv_func__atan2l_use=yes
61216 else
61217 glibcxx_cv_func__atan2l_use=no
61219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61220 ac_ext=c
61221 ac_cpp='$CPP $CPPFLAGS'
61222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
61231 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
61233 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
61234 for ac_func in _atan2l
61235 do :
61236 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
61237 if test "x$ac_cv_func__atan2l" = x""yes; then :
61238 cat >>confdefs.h <<_ACEOF
61239 #define HAVE__ATAN2L 1
61240 _ACEOF
61243 done
61252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
61253 $as_echo_n "checking for expl declaration... " >&6; }
61254 if test x${glibcxx_cv_func_expl_use+set} != xset; then
61255 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
61256 $as_echo_n "(cached) " >&6
61257 else
61260 ac_ext=cpp
61261 ac_cpp='$CXXCPP $CPPFLAGS'
61262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61267 /* end confdefs.h. */
61268 #include <math.h>
61269 #ifdef HAVE_IEEEFP_H
61270 #include <ieeefp.h>
61271 #endif
61274 main ()
61276 expl(0);
61278 return 0;
61280 _ACEOF
61281 if ac_fn_cxx_try_compile "$LINENO"; then :
61282 glibcxx_cv_func_expl_use=yes
61283 else
61284 glibcxx_cv_func_expl_use=no
61286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61287 ac_ext=c
61288 ac_cpp='$CPP $CPPFLAGS'
61289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
61298 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
61300 if test x$glibcxx_cv_func_expl_use = x"yes"; then
61301 for ac_func in expl
61302 do :
61303 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
61304 if test "x$ac_cv_func_expl" = x""yes; then :
61305 cat >>confdefs.h <<_ACEOF
61306 #define HAVE_EXPL 1
61307 _ACEOF
61310 done
61312 else
61314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
61315 $as_echo_n "checking for _expl declaration... " >&6; }
61316 if test x${glibcxx_cv_func__expl_use+set} != xset; then
61317 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
61318 $as_echo_n "(cached) " >&6
61319 else
61322 ac_ext=cpp
61323 ac_cpp='$CXXCPP $CPPFLAGS'
61324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61329 /* end confdefs.h. */
61330 #include <math.h>
61331 #ifdef HAVE_IEEEFP_H
61332 #include <ieeefp.h>
61333 #endif
61336 main ()
61338 _expl(0);
61340 return 0;
61342 _ACEOF
61343 if ac_fn_cxx_try_compile "$LINENO"; then :
61344 glibcxx_cv_func__expl_use=yes
61345 else
61346 glibcxx_cv_func__expl_use=no
61348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61349 ac_ext=c
61350 ac_cpp='$CPP $CPPFLAGS'
61351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
61360 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
61362 if test x$glibcxx_cv_func__expl_use = x"yes"; then
61363 for ac_func in _expl
61364 do :
61365 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
61366 if test "x$ac_cv_func__expl" = x""yes; then :
61367 cat >>confdefs.h <<_ACEOF
61368 #define HAVE__EXPL 1
61369 _ACEOF
61372 done
61381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
61382 $as_echo_n "checking for fabsl declaration... " >&6; }
61383 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
61384 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
61385 $as_echo_n "(cached) " >&6
61386 else
61389 ac_ext=cpp
61390 ac_cpp='$CXXCPP $CPPFLAGS'
61391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61396 /* end confdefs.h. */
61397 #include <math.h>
61398 #ifdef HAVE_IEEEFP_H
61399 #include <ieeefp.h>
61400 #endif
61403 main ()
61405 fabsl(0);
61407 return 0;
61409 _ACEOF
61410 if ac_fn_cxx_try_compile "$LINENO"; then :
61411 glibcxx_cv_func_fabsl_use=yes
61412 else
61413 glibcxx_cv_func_fabsl_use=no
61415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61416 ac_ext=c
61417 ac_cpp='$CPP $CPPFLAGS'
61418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
61427 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
61429 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
61430 for ac_func in fabsl
61431 do :
61432 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
61433 if test "x$ac_cv_func_fabsl" = x""yes; then :
61434 cat >>confdefs.h <<_ACEOF
61435 #define HAVE_FABSL 1
61436 _ACEOF
61439 done
61441 else
61443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
61444 $as_echo_n "checking for _fabsl declaration... " >&6; }
61445 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
61446 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
61447 $as_echo_n "(cached) " >&6
61448 else
61451 ac_ext=cpp
61452 ac_cpp='$CXXCPP $CPPFLAGS'
61453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61458 /* end confdefs.h. */
61459 #include <math.h>
61460 #ifdef HAVE_IEEEFP_H
61461 #include <ieeefp.h>
61462 #endif
61465 main ()
61467 _fabsl(0);
61469 return 0;
61471 _ACEOF
61472 if ac_fn_cxx_try_compile "$LINENO"; then :
61473 glibcxx_cv_func__fabsl_use=yes
61474 else
61475 glibcxx_cv_func__fabsl_use=no
61477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61478 ac_ext=c
61479 ac_cpp='$CPP $CPPFLAGS'
61480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
61489 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
61491 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
61492 for ac_func in _fabsl
61493 do :
61494 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
61495 if test "x$ac_cv_func__fabsl" = x""yes; then :
61496 cat >>confdefs.h <<_ACEOF
61497 #define HAVE__FABSL 1
61498 _ACEOF
61501 done
61510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
61511 $as_echo_n "checking for fmodl declaration... " >&6; }
61512 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
61513 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
61514 $as_echo_n "(cached) " >&6
61515 else
61518 ac_ext=cpp
61519 ac_cpp='$CXXCPP $CPPFLAGS'
61520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61525 /* end confdefs.h. */
61526 #include <math.h>
61528 main ()
61530 fmodl(0, 0);
61532 return 0;
61534 _ACEOF
61535 if ac_fn_cxx_try_compile "$LINENO"; then :
61536 glibcxx_cv_func_fmodl_use=yes
61537 else
61538 glibcxx_cv_func_fmodl_use=no
61540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61541 ac_ext=c
61542 ac_cpp='$CPP $CPPFLAGS'
61543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
61552 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
61554 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
61555 for ac_func in fmodl
61556 do :
61557 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
61558 if test "x$ac_cv_func_fmodl" = x""yes; then :
61559 cat >>confdefs.h <<_ACEOF
61560 #define HAVE_FMODL 1
61561 _ACEOF
61564 done
61566 else
61568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
61569 $as_echo_n "checking for _fmodl declaration... " >&6; }
61570 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
61571 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
61572 $as_echo_n "(cached) " >&6
61573 else
61576 ac_ext=cpp
61577 ac_cpp='$CXXCPP $CPPFLAGS'
61578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61583 /* end confdefs.h. */
61584 #include <math.h>
61586 main ()
61588 _fmodl(0, 0);
61590 return 0;
61592 _ACEOF
61593 if ac_fn_cxx_try_compile "$LINENO"; then :
61594 glibcxx_cv_func__fmodl_use=yes
61595 else
61596 glibcxx_cv_func__fmodl_use=no
61598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61599 ac_ext=c
61600 ac_cpp='$CPP $CPPFLAGS'
61601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
61610 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
61612 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
61613 for ac_func in _fmodl
61614 do :
61615 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
61616 if test "x$ac_cv_func__fmodl" = x""yes; then :
61617 cat >>confdefs.h <<_ACEOF
61618 #define HAVE__FMODL 1
61619 _ACEOF
61622 done
61631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
61632 $as_echo_n "checking for frexpl declaration... " >&6; }
61633 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
61634 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
61635 $as_echo_n "(cached) " >&6
61636 else
61639 ac_ext=cpp
61640 ac_cpp='$CXXCPP $CPPFLAGS'
61641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61646 /* end confdefs.h. */
61647 #include <math.h>
61649 main ()
61651 frexpl(0, 0);
61653 return 0;
61655 _ACEOF
61656 if ac_fn_cxx_try_compile "$LINENO"; then :
61657 glibcxx_cv_func_frexpl_use=yes
61658 else
61659 glibcxx_cv_func_frexpl_use=no
61661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61662 ac_ext=c
61663 ac_cpp='$CPP $CPPFLAGS'
61664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
61673 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
61675 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
61676 for ac_func in frexpl
61677 do :
61678 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
61679 if test "x$ac_cv_func_frexpl" = x""yes; then :
61680 cat >>confdefs.h <<_ACEOF
61681 #define HAVE_FREXPL 1
61682 _ACEOF
61685 done
61687 else
61689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
61690 $as_echo_n "checking for _frexpl declaration... " >&6; }
61691 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
61692 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
61693 $as_echo_n "(cached) " >&6
61694 else
61697 ac_ext=cpp
61698 ac_cpp='$CXXCPP $CPPFLAGS'
61699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61704 /* end confdefs.h. */
61705 #include <math.h>
61707 main ()
61709 _frexpl(0, 0);
61711 return 0;
61713 _ACEOF
61714 if ac_fn_cxx_try_compile "$LINENO"; then :
61715 glibcxx_cv_func__frexpl_use=yes
61716 else
61717 glibcxx_cv_func__frexpl_use=no
61719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61720 ac_ext=c
61721 ac_cpp='$CPP $CPPFLAGS'
61722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
61731 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
61733 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
61734 for ac_func in _frexpl
61735 do :
61736 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
61737 if test "x$ac_cv_func__frexpl" = x""yes; then :
61738 cat >>confdefs.h <<_ACEOF
61739 #define HAVE__FREXPL 1
61740 _ACEOF
61743 done
61752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
61753 $as_echo_n "checking for hypotl declaration... " >&6; }
61754 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
61755 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
61756 $as_echo_n "(cached) " >&6
61757 else
61760 ac_ext=cpp
61761 ac_cpp='$CXXCPP $CPPFLAGS'
61762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61767 /* end confdefs.h. */
61768 #include <math.h>
61770 main ()
61772 hypotl(0, 0);
61774 return 0;
61776 _ACEOF
61777 if ac_fn_cxx_try_compile "$LINENO"; then :
61778 glibcxx_cv_func_hypotl_use=yes
61779 else
61780 glibcxx_cv_func_hypotl_use=no
61782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61783 ac_ext=c
61784 ac_cpp='$CPP $CPPFLAGS'
61785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
61794 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
61796 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
61797 for ac_func in hypotl
61798 do :
61799 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
61800 if test "x$ac_cv_func_hypotl" = x""yes; then :
61801 cat >>confdefs.h <<_ACEOF
61802 #define HAVE_HYPOTL 1
61803 _ACEOF
61806 done
61808 else
61810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
61811 $as_echo_n "checking for _hypotl declaration... " >&6; }
61812 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
61813 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
61814 $as_echo_n "(cached) " >&6
61815 else
61818 ac_ext=cpp
61819 ac_cpp='$CXXCPP $CPPFLAGS'
61820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61825 /* end confdefs.h. */
61826 #include <math.h>
61828 main ()
61830 _hypotl(0, 0);
61832 return 0;
61834 _ACEOF
61835 if ac_fn_cxx_try_compile "$LINENO"; then :
61836 glibcxx_cv_func__hypotl_use=yes
61837 else
61838 glibcxx_cv_func__hypotl_use=no
61840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61841 ac_ext=c
61842 ac_cpp='$CPP $CPPFLAGS'
61843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
61852 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
61854 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
61855 for ac_func in _hypotl
61856 do :
61857 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
61858 if test "x$ac_cv_func__hypotl" = x""yes; then :
61859 cat >>confdefs.h <<_ACEOF
61860 #define HAVE__HYPOTL 1
61861 _ACEOF
61864 done
61873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
61874 $as_echo_n "checking for ldexpl declaration... " >&6; }
61875 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
61876 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
61877 $as_echo_n "(cached) " >&6
61878 else
61881 ac_ext=cpp
61882 ac_cpp='$CXXCPP $CPPFLAGS'
61883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61888 /* end confdefs.h. */
61889 #include <math.h>
61891 main ()
61893 ldexpl(0, 0);
61895 return 0;
61897 _ACEOF
61898 if ac_fn_cxx_try_compile "$LINENO"; then :
61899 glibcxx_cv_func_ldexpl_use=yes
61900 else
61901 glibcxx_cv_func_ldexpl_use=no
61903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61904 ac_ext=c
61905 ac_cpp='$CPP $CPPFLAGS'
61906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
61915 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
61917 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
61918 for ac_func in ldexpl
61919 do :
61920 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
61921 if test "x$ac_cv_func_ldexpl" = x""yes; then :
61922 cat >>confdefs.h <<_ACEOF
61923 #define HAVE_LDEXPL 1
61924 _ACEOF
61927 done
61929 else
61931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
61932 $as_echo_n "checking for _ldexpl declaration... " >&6; }
61933 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
61934 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
61935 $as_echo_n "(cached) " >&6
61936 else
61939 ac_ext=cpp
61940 ac_cpp='$CXXCPP $CPPFLAGS'
61941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61946 /* end confdefs.h. */
61947 #include <math.h>
61949 main ()
61951 _ldexpl(0, 0);
61953 return 0;
61955 _ACEOF
61956 if ac_fn_cxx_try_compile "$LINENO"; then :
61957 glibcxx_cv_func__ldexpl_use=yes
61958 else
61959 glibcxx_cv_func__ldexpl_use=no
61961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61962 ac_ext=c
61963 ac_cpp='$CPP $CPPFLAGS'
61964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
61973 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
61975 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
61976 for ac_func in _ldexpl
61977 do :
61978 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
61979 if test "x$ac_cv_func__ldexpl" = x""yes; then :
61980 cat >>confdefs.h <<_ACEOF
61981 #define HAVE__LDEXPL 1
61982 _ACEOF
61985 done
61994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
61995 $as_echo_n "checking for logl declaration... " >&6; }
61996 if test x${glibcxx_cv_func_logl_use+set} != xset; then
61997 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
61998 $as_echo_n "(cached) " >&6
61999 else
62002 ac_ext=cpp
62003 ac_cpp='$CXXCPP $CPPFLAGS'
62004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62009 /* end confdefs.h. */
62010 #include <math.h>
62011 #ifdef HAVE_IEEEFP_H
62012 #include <ieeefp.h>
62013 #endif
62016 main ()
62018 logl(0);
62020 return 0;
62022 _ACEOF
62023 if ac_fn_cxx_try_compile "$LINENO"; then :
62024 glibcxx_cv_func_logl_use=yes
62025 else
62026 glibcxx_cv_func_logl_use=no
62028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62029 ac_ext=c
62030 ac_cpp='$CPP $CPPFLAGS'
62031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
62040 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
62042 if test x$glibcxx_cv_func_logl_use = x"yes"; then
62043 for ac_func in logl
62044 do :
62045 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
62046 if test "x$ac_cv_func_logl" = x""yes; then :
62047 cat >>confdefs.h <<_ACEOF
62048 #define HAVE_LOGL 1
62049 _ACEOF
62052 done
62054 else
62056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
62057 $as_echo_n "checking for _logl declaration... " >&6; }
62058 if test x${glibcxx_cv_func__logl_use+set} != xset; then
62059 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
62060 $as_echo_n "(cached) " >&6
62061 else
62064 ac_ext=cpp
62065 ac_cpp='$CXXCPP $CPPFLAGS'
62066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62071 /* end confdefs.h. */
62072 #include <math.h>
62073 #ifdef HAVE_IEEEFP_H
62074 #include <ieeefp.h>
62075 #endif
62078 main ()
62080 _logl(0);
62082 return 0;
62084 _ACEOF
62085 if ac_fn_cxx_try_compile "$LINENO"; then :
62086 glibcxx_cv_func__logl_use=yes
62087 else
62088 glibcxx_cv_func__logl_use=no
62090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62091 ac_ext=c
62092 ac_cpp='$CPP $CPPFLAGS'
62093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
62102 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
62104 if test x$glibcxx_cv_func__logl_use = x"yes"; then
62105 for ac_func in _logl
62106 do :
62107 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
62108 if test "x$ac_cv_func__logl" = x""yes; then :
62109 cat >>confdefs.h <<_ACEOF
62110 #define HAVE__LOGL 1
62111 _ACEOF
62114 done
62123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
62124 $as_echo_n "checking for log10l declaration... " >&6; }
62125 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
62126 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
62127 $as_echo_n "(cached) " >&6
62128 else
62131 ac_ext=cpp
62132 ac_cpp='$CXXCPP $CPPFLAGS'
62133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62138 /* end confdefs.h. */
62139 #include <math.h>
62140 #ifdef HAVE_IEEEFP_H
62141 #include <ieeefp.h>
62142 #endif
62145 main ()
62147 log10l(0);
62149 return 0;
62151 _ACEOF
62152 if ac_fn_cxx_try_compile "$LINENO"; then :
62153 glibcxx_cv_func_log10l_use=yes
62154 else
62155 glibcxx_cv_func_log10l_use=no
62157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62158 ac_ext=c
62159 ac_cpp='$CPP $CPPFLAGS'
62160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
62169 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
62171 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
62172 for ac_func in log10l
62173 do :
62174 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
62175 if test "x$ac_cv_func_log10l" = x""yes; then :
62176 cat >>confdefs.h <<_ACEOF
62177 #define HAVE_LOG10L 1
62178 _ACEOF
62181 done
62183 else
62185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
62186 $as_echo_n "checking for _log10l declaration... " >&6; }
62187 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
62188 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
62189 $as_echo_n "(cached) " >&6
62190 else
62193 ac_ext=cpp
62194 ac_cpp='$CXXCPP $CPPFLAGS'
62195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62200 /* end confdefs.h. */
62201 #include <math.h>
62202 #ifdef HAVE_IEEEFP_H
62203 #include <ieeefp.h>
62204 #endif
62207 main ()
62209 _log10l(0);
62211 return 0;
62213 _ACEOF
62214 if ac_fn_cxx_try_compile "$LINENO"; then :
62215 glibcxx_cv_func__log10l_use=yes
62216 else
62217 glibcxx_cv_func__log10l_use=no
62219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62220 ac_ext=c
62221 ac_cpp='$CPP $CPPFLAGS'
62222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
62231 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
62233 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
62234 for ac_func in _log10l
62235 do :
62236 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
62237 if test "x$ac_cv_func__log10l" = x""yes; then :
62238 cat >>confdefs.h <<_ACEOF
62239 #define HAVE__LOG10L 1
62240 _ACEOF
62243 done
62252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
62253 $as_echo_n "checking for modfl declaration... " >&6; }
62254 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
62255 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
62256 $as_echo_n "(cached) " >&6
62257 else
62260 ac_ext=cpp
62261 ac_cpp='$CXXCPP $CPPFLAGS'
62262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62267 /* end confdefs.h. */
62268 #include <math.h>
62270 main ()
62272 modfl(0, 0);
62274 return 0;
62276 _ACEOF
62277 if ac_fn_cxx_try_compile "$LINENO"; then :
62278 glibcxx_cv_func_modfl_use=yes
62279 else
62280 glibcxx_cv_func_modfl_use=no
62282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62283 ac_ext=c
62284 ac_cpp='$CPP $CPPFLAGS'
62285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
62294 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
62296 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
62297 for ac_func in modfl
62298 do :
62299 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
62300 if test "x$ac_cv_func_modfl" = x""yes; then :
62301 cat >>confdefs.h <<_ACEOF
62302 #define HAVE_MODFL 1
62303 _ACEOF
62306 done
62308 else
62310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
62311 $as_echo_n "checking for _modfl declaration... " >&6; }
62312 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
62313 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
62314 $as_echo_n "(cached) " >&6
62315 else
62318 ac_ext=cpp
62319 ac_cpp='$CXXCPP $CPPFLAGS'
62320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62325 /* end confdefs.h. */
62326 #include <math.h>
62328 main ()
62330 _modfl(0, 0);
62332 return 0;
62334 _ACEOF
62335 if ac_fn_cxx_try_compile "$LINENO"; then :
62336 glibcxx_cv_func__modfl_use=yes
62337 else
62338 glibcxx_cv_func__modfl_use=no
62340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62341 ac_ext=c
62342 ac_cpp='$CPP $CPPFLAGS'
62343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
62352 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
62354 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
62355 for ac_func in _modfl
62356 do :
62357 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
62358 if test "x$ac_cv_func__modfl" = x""yes; then :
62359 cat >>confdefs.h <<_ACEOF
62360 #define HAVE__MODFL 1
62361 _ACEOF
62364 done
62373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
62374 $as_echo_n "checking for powl declaration... " >&6; }
62375 if test x${glibcxx_cv_func_powl_use+set} != xset; then
62376 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
62377 $as_echo_n "(cached) " >&6
62378 else
62381 ac_ext=cpp
62382 ac_cpp='$CXXCPP $CPPFLAGS'
62383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62388 /* end confdefs.h. */
62389 #include <math.h>
62391 main ()
62393 powl(0, 0);
62395 return 0;
62397 _ACEOF
62398 if ac_fn_cxx_try_compile "$LINENO"; then :
62399 glibcxx_cv_func_powl_use=yes
62400 else
62401 glibcxx_cv_func_powl_use=no
62403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62404 ac_ext=c
62405 ac_cpp='$CPP $CPPFLAGS'
62406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
62415 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
62417 if test x$glibcxx_cv_func_powl_use = x"yes"; then
62418 for ac_func in powl
62419 do :
62420 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
62421 if test "x$ac_cv_func_powl" = x""yes; then :
62422 cat >>confdefs.h <<_ACEOF
62423 #define HAVE_POWL 1
62424 _ACEOF
62427 done
62429 else
62431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
62432 $as_echo_n "checking for _powl declaration... " >&6; }
62433 if test x${glibcxx_cv_func__powl_use+set} != xset; then
62434 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
62435 $as_echo_n "(cached) " >&6
62436 else
62439 ac_ext=cpp
62440 ac_cpp='$CXXCPP $CPPFLAGS'
62441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62446 /* end confdefs.h. */
62447 #include <math.h>
62449 main ()
62451 _powl(0, 0);
62453 return 0;
62455 _ACEOF
62456 if ac_fn_cxx_try_compile "$LINENO"; then :
62457 glibcxx_cv_func__powl_use=yes
62458 else
62459 glibcxx_cv_func__powl_use=no
62461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62462 ac_ext=c
62463 ac_cpp='$CPP $CPPFLAGS'
62464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
62473 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
62475 if test x$glibcxx_cv_func__powl_use = x"yes"; then
62476 for ac_func in _powl
62477 do :
62478 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
62479 if test "x$ac_cv_func__powl" = x""yes; then :
62480 cat >>confdefs.h <<_ACEOF
62481 #define HAVE__POWL 1
62482 _ACEOF
62485 done
62494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
62495 $as_echo_n "checking for sqrtl declaration... " >&6; }
62496 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
62497 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
62498 $as_echo_n "(cached) " >&6
62499 else
62502 ac_ext=cpp
62503 ac_cpp='$CXXCPP $CPPFLAGS'
62504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62509 /* end confdefs.h. */
62510 #include <math.h>
62511 #ifdef HAVE_IEEEFP_H
62512 #include <ieeefp.h>
62513 #endif
62516 main ()
62518 sqrtl(0);
62520 return 0;
62522 _ACEOF
62523 if ac_fn_cxx_try_compile "$LINENO"; then :
62524 glibcxx_cv_func_sqrtl_use=yes
62525 else
62526 glibcxx_cv_func_sqrtl_use=no
62528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62529 ac_ext=c
62530 ac_cpp='$CPP $CPPFLAGS'
62531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
62540 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
62542 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
62543 for ac_func in sqrtl
62544 do :
62545 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
62546 if test "x$ac_cv_func_sqrtl" = x""yes; then :
62547 cat >>confdefs.h <<_ACEOF
62548 #define HAVE_SQRTL 1
62549 _ACEOF
62552 done
62554 else
62556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
62557 $as_echo_n "checking for _sqrtl declaration... " >&6; }
62558 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
62559 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
62560 $as_echo_n "(cached) " >&6
62561 else
62564 ac_ext=cpp
62565 ac_cpp='$CXXCPP $CPPFLAGS'
62566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62571 /* end confdefs.h. */
62572 #include <math.h>
62573 #ifdef HAVE_IEEEFP_H
62574 #include <ieeefp.h>
62575 #endif
62578 main ()
62580 _sqrtl(0);
62582 return 0;
62584 _ACEOF
62585 if ac_fn_cxx_try_compile "$LINENO"; then :
62586 glibcxx_cv_func__sqrtl_use=yes
62587 else
62588 glibcxx_cv_func__sqrtl_use=no
62590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62591 ac_ext=c
62592 ac_cpp='$CPP $CPPFLAGS'
62593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
62602 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
62604 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
62605 for ac_func in _sqrtl
62606 do :
62607 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
62608 if test "x$ac_cv_func__sqrtl" = x""yes; then :
62609 cat >>confdefs.h <<_ACEOF
62610 #define HAVE__SQRTL 1
62611 _ACEOF
62614 done
62623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
62624 $as_echo_n "checking for sincosl declaration... " >&6; }
62625 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
62626 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
62627 $as_echo_n "(cached) " >&6
62628 else
62631 ac_ext=cpp
62632 ac_cpp='$CXXCPP $CPPFLAGS'
62633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62638 /* end confdefs.h. */
62639 #include <math.h>
62641 main ()
62643 sincosl(0, 0, 0);
62645 return 0;
62647 _ACEOF
62648 if ac_fn_cxx_try_compile "$LINENO"; then :
62649 glibcxx_cv_func_sincosl_use=yes
62650 else
62651 glibcxx_cv_func_sincosl_use=no
62653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62654 ac_ext=c
62655 ac_cpp='$CPP $CPPFLAGS'
62656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
62665 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
62667 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
62668 for ac_func in sincosl
62669 do :
62670 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
62671 if test "x$ac_cv_func_sincosl" = x""yes; then :
62672 cat >>confdefs.h <<_ACEOF
62673 #define HAVE_SINCOSL 1
62674 _ACEOF
62677 done
62679 else
62681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
62682 $as_echo_n "checking for _sincosl declaration... " >&6; }
62683 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
62684 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
62685 $as_echo_n "(cached) " >&6
62686 else
62689 ac_ext=cpp
62690 ac_cpp='$CXXCPP $CPPFLAGS'
62691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62696 /* end confdefs.h. */
62697 #include <math.h>
62699 main ()
62701 _sincosl(0, 0, 0);
62703 return 0;
62705 _ACEOF
62706 if ac_fn_cxx_try_compile "$LINENO"; then :
62707 glibcxx_cv_func__sincosl_use=yes
62708 else
62709 glibcxx_cv_func__sincosl_use=no
62711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62712 ac_ext=c
62713 ac_cpp='$CPP $CPPFLAGS'
62714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
62723 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
62725 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
62726 for ac_func in _sincosl
62727 do :
62728 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
62729 if test "x$ac_cv_func__sincosl" = x""yes; then :
62730 cat >>confdefs.h <<_ACEOF
62731 #define HAVE__SINCOSL 1
62732 _ACEOF
62735 done
62744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
62745 $as_echo_n "checking for finitel declaration... " >&6; }
62746 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
62747 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
62748 $as_echo_n "(cached) " >&6
62749 else
62752 ac_ext=cpp
62753 ac_cpp='$CXXCPP $CPPFLAGS'
62754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62759 /* end confdefs.h. */
62760 #include <math.h>
62761 #ifdef HAVE_IEEEFP_H
62762 #include <ieeefp.h>
62763 #endif
62766 main ()
62768 finitel(0);
62770 return 0;
62772 _ACEOF
62773 if ac_fn_cxx_try_compile "$LINENO"; then :
62774 glibcxx_cv_func_finitel_use=yes
62775 else
62776 glibcxx_cv_func_finitel_use=no
62778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62779 ac_ext=c
62780 ac_cpp='$CPP $CPPFLAGS'
62781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
62790 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
62792 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
62793 for ac_func in finitel
62794 do :
62795 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
62796 if test "x$ac_cv_func_finitel" = x""yes; then :
62797 cat >>confdefs.h <<_ACEOF
62798 #define HAVE_FINITEL 1
62799 _ACEOF
62802 done
62804 else
62806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
62807 $as_echo_n "checking for _finitel declaration... " >&6; }
62808 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
62809 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
62810 $as_echo_n "(cached) " >&6
62811 else
62814 ac_ext=cpp
62815 ac_cpp='$CXXCPP $CPPFLAGS'
62816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62821 /* end confdefs.h. */
62822 #include <math.h>
62823 #ifdef HAVE_IEEEFP_H
62824 #include <ieeefp.h>
62825 #endif
62828 main ()
62830 _finitel(0);
62832 return 0;
62834 _ACEOF
62835 if ac_fn_cxx_try_compile "$LINENO"; then :
62836 glibcxx_cv_func__finitel_use=yes
62837 else
62838 glibcxx_cv_func__finitel_use=no
62840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62841 ac_ext=c
62842 ac_cpp='$CPP $CPPFLAGS'
62843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
62852 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
62854 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
62855 for ac_func in _finitel
62856 do :
62857 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
62858 if test "x$ac_cv_func__finitel" = x""yes; then :
62859 cat >>confdefs.h <<_ACEOF
62860 #define HAVE__FINITEL 1
62861 _ACEOF
62864 done
62872 LIBS="$ac_save_LIBS"
62873 CXXFLAGS="$ac_save_CXXFLAGS"
62876 ac_test_CXXFLAGS="${CXXFLAGS+set}"
62877 ac_save_CXXFLAGS="$CXXFLAGS"
62878 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
62881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
62882 $as_echo_n "checking for strtold declaration... " >&6; }
62883 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
62884 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
62885 $as_echo_n "(cached) " >&6
62886 else
62889 ac_ext=cpp
62890 ac_cpp='$CXXCPP $CPPFLAGS'
62891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62896 /* end confdefs.h. */
62897 #include <stdlib.h>
62899 main ()
62901 strtold(0, 0);
62903 return 0;
62905 _ACEOF
62906 if ac_fn_cxx_try_compile "$LINENO"; then :
62907 glibcxx_cv_func_strtold_use=yes
62908 else
62909 glibcxx_cv_func_strtold_use=no
62911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62912 ac_ext=c
62913 ac_cpp='$CPP $CPPFLAGS'
62914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
62923 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
62924 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
62925 for ac_func in strtold
62926 do :
62927 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
62928 if test "x$ac_cv_func_strtold" = x""yes; then :
62929 cat >>confdefs.h <<_ACEOF
62930 #define HAVE_STRTOLD 1
62931 _ACEOF
62934 done
62941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
62942 $as_echo_n "checking for strtof declaration... " >&6; }
62943 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
62944 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
62945 $as_echo_n "(cached) " >&6
62946 else
62949 ac_ext=cpp
62950 ac_cpp='$CXXCPP $CPPFLAGS'
62951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62956 /* end confdefs.h. */
62957 #include <stdlib.h>
62959 main ()
62961 strtof(0, 0);
62963 return 0;
62965 _ACEOF
62966 if ac_fn_cxx_try_compile "$LINENO"; then :
62967 glibcxx_cv_func_strtof_use=yes
62968 else
62969 glibcxx_cv_func_strtof_use=no
62971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62972 ac_ext=c
62973 ac_cpp='$CPP $CPPFLAGS'
62974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
62983 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
62984 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
62985 for ac_func in strtof
62986 do :
62987 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
62988 if test "x$ac_cv_func_strtof" = x""yes; then :
62989 cat >>confdefs.h <<_ACEOF
62990 #define HAVE_STRTOF 1
62991 _ACEOF
62994 done
63001 CXXFLAGS="$ac_save_CXXFLAGS"
63004 *-solaris*)
63005 case "$target" in
63006 *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
63008 # If we're not using GNU ld, then there's no point in even trying these
63009 # tests. Check for that first. We should have already tested for gld
63010 # by now (in libtool), but require it now just to be safe...
63011 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63012 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63016 # The name set by libtool depends on the version of libtool. Shame on us
63017 # for depending on an impl detail, but c'est la vie. Older versions used
63018 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63019 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63020 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63021 # set (hence we're using an older libtool), then set it.
63022 if test x${with_gnu_ld+set} != xset; then
63023 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63024 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63025 with_gnu_ld=no
63026 else
63027 with_gnu_ld=$ac_cv_prog_gnu_ld
63031 # Start by getting the version number. I think the libtool test already
63032 # does some of this, but throws away the result.
63033 glibcxx_ld_is_gold=no
63034 if test x"$with_gnu_ld" = x"yes"; then
63035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63036 $as_echo_n "checking for ld version... " >&6; }
63038 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63039 glibcxx_ld_is_gold=yes
63041 ldver=`$LD --version 2>/dev/null |
63042 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'`
63044 glibcxx_gnu_ld_version=`echo $ldver | \
63045 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63047 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63050 # Set --gc-sections.
63051 glibcxx_have_gc_sections=no
63052 if test "$glibcxx_ld_is_gold" = "yes"; then
63053 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63054 glibcxx_have_gc_sections=yes
63056 else
63057 glibcxx_gcsections_min_ld=21602
63058 if test x"$with_gnu_ld" = x"yes" &&
63059 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63060 glibcxx_have_gc_sections=yes
63063 if test "$glibcxx_have_gc_sections" = "yes"; then
63064 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63065 # NB: This flag only works reliably after 2.16.1. Configure tests
63066 # for this are difficult, so hard wire a value that should work.
63068 ac_test_CFLAGS="${CFLAGS+set}"
63069 ac_save_CFLAGS="$CFLAGS"
63070 CFLAGS='-Wl,--gc-sections'
63072 # Check for -Wl,--gc-sections
63073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63074 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63075 if test x$gcc_no_link = xyes; then
63076 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63079 /* end confdefs.h. */
63080 int one(void) { return 1; }
63081 int two(void) { return 2; }
63084 main ()
63086 two();
63088 return 0;
63090 _ACEOF
63091 if ac_fn_c_try_link "$LINENO"; then :
63092 ac_gcsections=yes
63093 else
63094 ac_gcsections=no
63096 rm -f core conftest.err conftest.$ac_objext \
63097 conftest$ac_exeext conftest.$ac_ext
63098 if test "$ac_gcsections" = "yes"; then
63099 rm -f conftest.c
63100 touch conftest.c
63101 if $CC -c conftest.c; then
63102 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63103 grep "Warning: gc-sections option ignored" > /dev/null; then
63104 ac_gcsections=no
63107 rm -f conftest.c conftest.o conftest
63109 if test "$ac_gcsections" = "yes"; then
63110 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63113 $as_echo "$ac_gcsections" >&6; }
63115 if test "$ac_test_CFLAGS" = set; then
63116 CFLAGS="$ac_save_CFLAGS"
63117 else
63118 # this is the suspicious part
63119 CFLAGS=''
63123 # Set -z,relro.
63124 # Note this is only for shared objects.
63125 ac_ld_relro=no
63126 if test x"$with_gnu_ld" = x"yes"; then
63127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63128 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63129 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63130 if test -n "$cxx_z_relo"; then
63131 OPT_LDFLAGS="-Wl,-z,relro"
63132 ac_ld_relro=yes
63134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63135 $as_echo "$ac_ld_relro" >&6; }
63138 # Set linker optimization flags.
63139 if test x"$with_gnu_ld" = x"yes"; then
63140 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63146 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
63148 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63150 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
63152 # All of the dependencies for wide character support are here, so
63153 # turn it on.
63154 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
63157 esac
63158 case "$target" in
63159 *-*-solaris2.10)
63160 # These two C99 functions are present only in Solaris >= 10
63161 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
63163 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
63166 esac
63167 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63169 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63171 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
63173 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63176 *-tpf)
63177 SECTION_FLAGS='-ffunction-sections -fdata-sections'
63180 # If we're not using GNU ld, then there's no point in even trying these
63181 # tests. Check for that first. We should have already tested for gld
63182 # by now (in libtool), but require it now just to be safe...
63183 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63184 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63188 # The name set by libtool depends on the version of libtool. Shame on us
63189 # for depending on an impl detail, but c'est la vie. Older versions used
63190 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63191 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63192 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63193 # set (hence we're using an older libtool), then set it.
63194 if test x${with_gnu_ld+set} != xset; then
63195 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63196 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63197 with_gnu_ld=no
63198 else
63199 with_gnu_ld=$ac_cv_prog_gnu_ld
63203 # Start by getting the version number. I think the libtool test already
63204 # does some of this, but throws away the result.
63205 glibcxx_ld_is_gold=no
63206 if test x"$with_gnu_ld" = x"yes"; then
63207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63208 $as_echo_n "checking for ld version... " >&6; }
63210 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63211 glibcxx_ld_is_gold=yes
63213 ldver=`$LD --version 2>/dev/null |
63214 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'`
63216 glibcxx_gnu_ld_version=`echo $ldver | \
63217 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63219 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63222 # Set --gc-sections.
63223 glibcxx_have_gc_sections=no
63224 if test "$glibcxx_ld_is_gold" = "yes"; then
63225 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63226 glibcxx_have_gc_sections=yes
63228 else
63229 glibcxx_gcsections_min_ld=21602
63230 if test x"$with_gnu_ld" = x"yes" &&
63231 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63232 glibcxx_have_gc_sections=yes
63235 if test "$glibcxx_have_gc_sections" = "yes"; then
63236 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63237 # NB: This flag only works reliably after 2.16.1. Configure tests
63238 # for this are difficult, so hard wire a value that should work.
63240 ac_test_CFLAGS="${CFLAGS+set}"
63241 ac_save_CFLAGS="$CFLAGS"
63242 CFLAGS='-Wl,--gc-sections'
63244 # Check for -Wl,--gc-sections
63245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63246 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63247 if test x$gcc_no_link = xyes; then
63248 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63251 /* end confdefs.h. */
63252 int one(void) { return 1; }
63253 int two(void) { return 2; }
63256 main ()
63258 two();
63260 return 0;
63262 _ACEOF
63263 if ac_fn_c_try_link "$LINENO"; then :
63264 ac_gcsections=yes
63265 else
63266 ac_gcsections=no
63268 rm -f core conftest.err conftest.$ac_objext \
63269 conftest$ac_exeext conftest.$ac_ext
63270 if test "$ac_gcsections" = "yes"; then
63271 rm -f conftest.c
63272 touch conftest.c
63273 if $CC -c conftest.c; then
63274 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63275 grep "Warning: gc-sections option ignored" > /dev/null; then
63276 ac_gcsections=no
63279 rm -f conftest.c conftest.o conftest
63281 if test "$ac_gcsections" = "yes"; then
63282 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63285 $as_echo "$ac_gcsections" >&6; }
63287 if test "$ac_test_CFLAGS" = set; then
63288 CFLAGS="$ac_save_CFLAGS"
63289 else
63290 # this is the suspicious part
63291 CFLAGS=''
63295 # Set -z,relro.
63296 # Note this is only for shared objects.
63297 ac_ld_relro=no
63298 if test x"$with_gnu_ld" = x"yes"; then
63299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63300 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63301 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63302 if test -n "$cxx_z_relo"; then
63303 OPT_LDFLAGS="-Wl,-z,relro"
63304 ac_ld_relro=yes
63306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63307 $as_echo "$ac_ld_relro" >&6; }
63310 # Set linker optimization flags.
63311 if test x"$with_gnu_ld" = x"yes"; then
63312 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63318 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63320 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
63322 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
63324 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
63326 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
63328 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
63330 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63332 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63334 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
63336 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
63338 if test x"long_double_math_on_this_cpu" = x"yes"; then
63339 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
63341 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
63343 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
63345 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
63349 *-vxworks)
63350 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
63352 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
63354 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
63356 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
63358 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
63360 $as_echo "#define HAVE_COSF 1" >>confdefs.h
63362 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
63364 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
63366 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
63368 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
63370 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
63372 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63374 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
63376 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
63378 $as_echo "#define HAVE_POWF 1" >>confdefs.h
63380 $as_echo "#define HAVE_SINF 1" >>confdefs.h
63382 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
63384 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
63386 $as_echo "#define HAVE_TANF 1" >>confdefs.h
63388 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
63392 as_fn_error "No support for this host/target combination." "$LINENO" 5
63394 esac
63398 # At some point, we should differentiate between architectures
63399 # like x86, which have long double versions, and alpha/powerpc/etc.,
63400 # which don't. For the time being, punt.
63401 if test x"long_double_math_on_this_cpu" = x"yes"; then
63402 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
63404 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
63406 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
63408 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
63410 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
63412 $as_echo "#define HAVE_COSL 1" >>confdefs.h
63414 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
63416 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
63418 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
63420 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
63422 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
63424 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
63426 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
63428 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
63430 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
63432 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
63434 $as_echo "#define HAVE_POWL 1" >>confdefs.h
63436 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
63438 $as_echo "#define HAVE_SINL 1" >>confdefs.h
63440 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
63442 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
63444 $as_echo "#define HAVE_TANL 1" >>confdefs.h
63446 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
63451 # Check for _Unwind_GetIPInfo.
63454 # Check whether --with-system-libunwind was given.
63455 if test "${with_system_libunwind+set}" = set; then :
63456 withval=$with_system_libunwind;
63459 # If system-libunwind was not specifically set, pick a default setting.
63460 if test x$with_system_libunwind = x; then
63461 case ${target} in
63462 ia64-*-hpux*) with_system_libunwind=yes ;;
63463 *) with_system_libunwind=no ;;
63464 esac
63466 # Based on system-libunwind and target, do we have ipinfo?
63467 if test x$with_system_libunwind = xyes; then
63468 case ${target} in
63469 ia64-*-*) have_unwind_getipinfo=no ;;
63470 *) have_unwind_getipinfo=yes ;;
63471 esac
63472 else
63473 # Darwin before version 9 does not have _Unwind_GetIPInfo.
63475 case ${target} in
63476 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
63477 *) have_unwind_getipinfo=yes ;;
63478 esac
63482 if test x$have_unwind_getipinfo = xyes; then
63484 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
63490 # Check whether --enable-linux-futex was given.
63491 if test "${enable_linux_futex+set}" = set; then :
63492 enableval=$enable_linux_futex;
63493 case "$enableval" in
63494 yes|no|default) ;;
63495 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
63496 esac
63498 else
63499 enable_linux_futex=default
63503 case "$target" in
63504 *-linux*)
63505 case "$enable_linux_futex" in
63506 default)
63507 # If headers don't have gettid/futex syscalls definition, then
63508 # default to no, otherwise there will be compile time failures.
63509 # Otherwise, default to yes. If we don't detect we are
63510 # compiled/linked against NPTL and not cross-compiling, check
63511 # if programs are run by default against NPTL and if not, issue
63512 # a warning.
63513 enable_linux_futex=no
63514 if test x$gcc_no_link = xyes; then
63515 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63518 /* end confdefs.h. */
63519 #include <sys/syscall.h>
63520 int lk;
63522 main ()
63524 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
63526 return 0;
63528 _ACEOF
63529 if ac_fn_c_try_link "$LINENO"; then :
63530 save_LIBS="$LIBS"
63531 LIBS="-lpthread $LIBS"
63532 if test x$gcc_no_link = xyes; then
63533 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63536 /* end confdefs.h. */
63537 #ifndef _GNU_SOURCE
63538 #define _GNU_SOURCE 1
63539 #endif
63540 #include <pthread.h>
63541 pthread_t th; void *status;
63543 main ()
63545 pthread_tryjoin_np (th, &status);
63547 return 0;
63549 _ACEOF
63550 if ac_fn_c_try_link "$LINENO"; then :
63551 enable_linux_futex=yes
63552 else
63553 if test x$cross_compiling = xno; then
63554 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
63555 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
63556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
63557 If so, please configure with --disable-linux-futex" >&5
63558 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
63559 If so, please configure with --disable-linux-futex" >&2;}
63562 enable_linux_futex=yes
63564 rm -f core conftest.err conftest.$ac_objext \
63565 conftest$ac_exeext conftest.$ac_ext
63566 LIBS="$save_LIBS"
63568 rm -f core conftest.err conftest.$ac_objext \
63569 conftest$ac_exeext conftest.$ac_ext
63571 yes)
63572 if test x$gcc_no_link = xyes; then
63573 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63576 /* end confdefs.h. */
63577 #include <sys/syscall.h>
63578 int lk;
63580 main ()
63582 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
63584 return 0;
63586 _ACEOF
63587 if ac_fn_c_try_link "$LINENO"; then :
63589 else
63590 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
63592 rm -f core conftest.err conftest.$ac_objext \
63593 conftest$ac_exeext conftest.$ac_ext
63595 esac
63598 enable_linux_futex=no
63600 esac
63601 if test x$enable_linux_futex = xyes; then
63603 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
63610 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
63612 acx_cv_header_stdint=stddef.h
63613 acx_cv_header_stdint_kind="(already complete)"
63614 for i in stdint.h $inttype_headers; do
63615 unset ac_cv_type_uintptr_t
63616 unset ac_cv_type_uintmax_t
63617 unset ac_cv_type_int_least32_t
63618 unset ac_cv_type_int_fast32_t
63619 unset ac_cv_type_uint64_t
63620 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
63621 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
63622 #include <$i>
63624 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
63625 acx_cv_header_stdint=$i
63626 else
63627 continue
63630 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
63631 #include <$i>
63633 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
63635 else
63636 acx_cv_header_stdint_kind="(mostly complete)"
63639 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
63640 #include <$i>
63642 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
63644 else
63645 acx_cv_header_stdint_kind="(mostly complete)"
63648 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
63649 #include <$i>
63651 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
63653 else
63654 acx_cv_header_stdint_kind="(mostly complete)"
63657 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
63658 #include <$i>
63660 if test "x$ac_cv_type_uint64_t" = x""yes; then :
63662 else
63663 acx_cv_header_stdint_kind="(lacks uint64_t)"
63666 break
63667 done
63668 if test "$acx_cv_header_stdint" = stddef.h; then
63669 acx_cv_header_stdint_kind="(lacks uintmax_t)"
63670 for i in stdint.h $inttype_headers; do
63671 unset ac_cv_type_uintptr_t
63672 unset ac_cv_type_uint32_t
63673 unset ac_cv_type_uint64_t
63674 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
63675 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
63676 #include <$i>
63678 if test "x$ac_cv_type_uint32_t" = x""yes; then :
63679 acx_cv_header_stdint=$i
63680 else
63681 continue
63684 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
63685 #include <$i>
63687 if test "x$ac_cv_type_uint64_t" = x""yes; then :
63691 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
63692 #include <$i>
63694 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
63698 break
63699 done
63701 if test "$acx_cv_header_stdint" = stddef.h; then
63702 acx_cv_header_stdint_kind="(u_intXX_t style)"
63703 for i in sys/types.h $inttype_headers; do
63704 unset ac_cv_type_u_int32_t
63705 unset ac_cv_type_u_int64_t
63706 $as_echo_n "looking for u_intXX_t types in $i, " >&6
63707 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
63708 #include <$i>
63710 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
63711 acx_cv_header_stdint=$i
63712 else
63713 continue
63716 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
63717 #include <$i>
63719 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
63723 break
63724 done
63726 if test "$acx_cv_header_stdint" = stddef.h; then
63727 acx_cv_header_stdint_kind="(using manual detection)"
63730 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
63731 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
63732 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
63733 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
63734 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
63736 # ----------------- Summarize what we found so far
63738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
63739 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
63741 case `$as_basename -- include/gstdint.h ||
63742 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
63743 Xinclude/gstdint.h : 'X\(//\)$' \| \
63744 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
63745 $as_echo X/include/gstdint.h |
63746 sed '/^.*\/\([^/][^/]*\)\/*$/{
63747 s//\1/
63750 /^X\/\(\/\/\)$/{
63751 s//\1/
63754 /^X\/\(\/\).*/{
63755 s//\1/
63758 s/.*/./; q'` in
63759 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
63760 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
63761 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
63762 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
63763 *) ;;
63764 esac
63766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
63767 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
63769 # ----------------- done included file, check C basic types --------
63771 # Lacking an uintptr_t? Test size of void *
63772 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
63773 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
63774 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
63775 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
63776 # This bug is HP SR number 8606223364.
63777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
63778 $as_echo_n "checking size of void *... " >&6; }
63779 if test "${ac_cv_sizeof_void_p+set}" = set; then :
63780 $as_echo_n "(cached) " >&6
63781 else
63782 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
63784 else
63785 if test "$ac_cv_type_void_p" = yes; then
63786 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
63787 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
63788 { as_fn_set_status 77
63789 as_fn_error "cannot compute sizeof (void *)
63790 See \`config.log' for more details." "$LINENO" 5; }; }
63791 else
63792 ac_cv_sizeof_void_p=0
63797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
63798 $as_echo "$ac_cv_sizeof_void_p" >&6; }
63802 cat >>confdefs.h <<_ACEOF
63803 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
63804 _ACEOF
63807 esac
63809 # Lacking an uint64_t? Test size of long
63810 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
63811 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
63812 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
63813 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
63814 # This bug is HP SR number 8606223364.
63815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
63816 $as_echo_n "checking size of long... " >&6; }
63817 if test "${ac_cv_sizeof_long+set}" = set; then :
63818 $as_echo_n "(cached) " >&6
63819 else
63820 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
63822 else
63823 if test "$ac_cv_type_long" = yes; then
63824 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
63825 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
63826 { as_fn_set_status 77
63827 as_fn_error "cannot compute sizeof (long)
63828 See \`config.log' for more details." "$LINENO" 5; }; }
63829 else
63830 ac_cv_sizeof_long=0
63835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
63836 $as_echo "$ac_cv_sizeof_long" >&6; }
63840 cat >>confdefs.h <<_ACEOF
63841 #define SIZEOF_LONG $ac_cv_sizeof_long
63842 _ACEOF
63845 esac
63847 if test $acx_cv_header_stdint = stddef.h; then
63848 # Lacking a good header? Test size of everything and deduce all types.
63849 # The cast to long int works around a bug in the HP C Compiler
63850 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
63851 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
63852 # This bug is HP SR number 8606223364.
63853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
63854 $as_echo_n "checking size of int... " >&6; }
63855 if test "${ac_cv_sizeof_int+set}" = set; then :
63856 $as_echo_n "(cached) " >&6
63857 else
63858 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
63860 else
63861 if test "$ac_cv_type_int" = yes; then
63862 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
63863 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
63864 { as_fn_set_status 77
63865 as_fn_error "cannot compute sizeof (int)
63866 See \`config.log' for more details." "$LINENO" 5; }; }
63867 else
63868 ac_cv_sizeof_int=0
63873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
63874 $as_echo "$ac_cv_sizeof_int" >&6; }
63878 cat >>confdefs.h <<_ACEOF
63879 #define SIZEOF_INT $ac_cv_sizeof_int
63880 _ACEOF
63883 # The cast to long int works around a bug in the HP C Compiler
63884 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
63885 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
63886 # This bug is HP SR number 8606223364.
63887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
63888 $as_echo_n "checking size of short... " >&6; }
63889 if test "${ac_cv_sizeof_short+set}" = set; then :
63890 $as_echo_n "(cached) " >&6
63891 else
63892 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
63894 else
63895 if test "$ac_cv_type_short" = yes; then
63896 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
63897 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
63898 { as_fn_set_status 77
63899 as_fn_error "cannot compute sizeof (short)
63900 See \`config.log' for more details." "$LINENO" 5; }; }
63901 else
63902 ac_cv_sizeof_short=0
63907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
63908 $as_echo "$ac_cv_sizeof_short" >&6; }
63912 cat >>confdefs.h <<_ACEOF
63913 #define SIZEOF_SHORT $ac_cv_sizeof_short
63914 _ACEOF
63917 # The cast to long int works around a bug in the HP C Compiler
63918 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
63919 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
63920 # This bug is HP SR number 8606223364.
63921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
63922 $as_echo_n "checking size of char... " >&6; }
63923 if test "${ac_cv_sizeof_char+set}" = set; then :
63924 $as_echo_n "(cached) " >&6
63925 else
63926 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
63928 else
63929 if test "$ac_cv_type_char" = yes; then
63930 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
63931 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
63932 { as_fn_set_status 77
63933 as_fn_error "cannot compute sizeof (char)
63934 See \`config.log' for more details." "$LINENO" 5; }; }
63935 else
63936 ac_cv_sizeof_char=0
63941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
63942 $as_echo "$ac_cv_sizeof_char" >&6; }
63946 cat >>confdefs.h <<_ACEOF
63947 #define SIZEOF_CHAR $ac_cv_sizeof_char
63948 _ACEOF
63952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
63953 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
63954 case "$ac_cv_sizeof_char" in
63955 1) acx_cv_type_int8_t=char ;;
63956 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
63957 esac
63958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
63959 $as_echo "$acx_cv_type_int8_t" >&6; }
63961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
63962 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
63963 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
63964 2:*) acx_cv_type_int16_t=int ;;
63965 *:2) acx_cv_type_int16_t=short ;;
63966 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
63967 esac
63968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
63969 $as_echo "$acx_cv_type_int16_t" >&6; }
63971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
63972 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
63973 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
63974 4:*) acx_cv_type_int32_t=int ;;
63975 *:4) acx_cv_type_int32_t=long ;;
63976 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
63977 esac
63978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
63979 $as_echo "$acx_cv_type_int32_t" >&6; }
63982 # These tests are here to make the output prettier
63984 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
63985 case "$ac_cv_sizeof_long" in
63986 8) acx_cv_type_int64_t=long ;;
63987 esac
63988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
63989 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
63990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
63991 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
63994 # Now we can use the above types
63996 if test "$ac_cv_type_uintptr_t" != yes; then
63997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
63998 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
63999 case $ac_cv_sizeof_void_p in
64000 2) acx_cv_type_intptr_t=int16_t ;;
64001 4) acx_cv_type_intptr_t=int32_t ;;
64002 8) acx_cv_type_intptr_t=int64_t ;;
64003 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
64004 esac
64005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
64006 $as_echo "$acx_cv_type_intptr_t" >&6; }
64009 # ----------------- done all checks, emit header -------------
64010 ac_config_commands="$ac_config_commands include/gstdint.h"
64015 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
64017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
64018 $as_echo_n "checking for GNU c++filt... " >&6; }
64019 if test "${ac_cv_path_CXXFILT+set}" = set; then :
64020 $as_echo_n "(cached) " >&6
64021 else
64022 if test -z "$CXXFILT"; then
64023 ac_path_CXXFILT_found=false
64024 # Loop through the user's path and test for each of PROGNAME-LIST
64025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64026 for as_dir in $PATH
64028 IFS=$as_save_IFS
64029 test -z "$as_dir" && as_dir=.
64030 for ac_prog in c++filt gc++filt; do
64031 for ac_exec_ext in '' $ac_executable_extensions; do
64032 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
64033 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
64034 # Check for GNU $ac_path_CXXFILT
64035 case `"$ac_path_CXXFILT" --version 2>&1` in
64036 *GNU*)
64037 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
64038 esac
64040 $ac_path_CXXFILT_found && break 3
64041 done
64042 done
64043 done
64044 IFS=$as_save_IFS
64045 if test -z "$ac_cv_path_CXXFILT"; then
64048 else
64049 ac_cv_path_CXXFILT=$CXXFILT
64053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
64054 $as_echo "$ac_cv_path_CXXFILT" >&6; }
64055 CXXFILT=$ac_cv_path_CXXFILT
64059 # Check whether --enable-symvers was given.
64060 if test "${enable_symvers+set}" = set; then :
64061 enableval=$enable_symvers;
64062 case "$enableval" in
64063 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
64064 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
64065 esac
64067 else
64068 enable_symvers=yes
64073 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
64074 # don't know enough about $LD to do tricks...
64076 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
64077 # with extern "C++" in version scripts.
64080 # Turn a 'yes' into a suitable default.
64081 if test x$enable_symvers = xyes ; then
64082 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
64083 enable_symvers=no
64084 else
64085 if test $with_gnu_ld = yes ; then
64086 case ${target_os} in
64087 hpux*)
64088 enable_symvers=no ;;
64090 enable_symvers=gnu ;;
64091 esac
64092 else
64093 case ${target_os} in
64094 darwin*)
64095 enable_symvers=darwin ;;
64096 # Sun symbol versioning exists since Solaris 2.5.
64097 solaris2.[5-9]* | solaris2.1[0-9]*)
64098 # make_sunver.pl needs GNU c++filt to support extern "C++" in
64099 # version scripts, so disable symbol versioning if none can be
64100 # found.
64101 if test -z "$ac_cv_path_CXXFILT"; then
64102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64103 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
64105 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
64106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64107 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64108 enable_symvers=no
64109 else
64110 enable_symvers=sun
64114 enable_symvers=no ;;
64115 esac
64120 # Check to see if 'darwin' or 'darwin-export' can win.
64121 if test x$enable_symvers = xdarwin-export ; then
64122 enable_symvers=darwin
64125 # Check if 'sun' was requested on non-Solaris 2 platforms.
64126 if test x$enable_symvers = xsun ; then
64127 case ${target_os} in
64128 solaris2*)
64129 # All fine.
64132 # Unlikely to work.
64133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64134 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
64136 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
64137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64138 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64139 enable_symvers=no
64141 esac
64144 # Check to see if 'gnu' can win.
64145 if test $enable_symvers = gnu ||
64146 test $enable_symvers = gnu-versioned-namespace ||
64147 test $enable_symvers = sun; then
64148 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
64149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
64150 $as_echo_n "checking for shared libgcc... " >&6; }
64151 ac_save_CFLAGS="$CFLAGS"
64152 CFLAGS=' -lgcc_s'
64153 if test x$gcc_no_link = xyes; then
64154 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64157 /* end confdefs.h. */
64160 main ()
64162 return 0;
64164 return 0;
64166 _ACEOF
64167 if ac_fn_c_try_link "$LINENO"; then :
64168 glibcxx_shared_libgcc=yes
64169 else
64170 glibcxx_shared_libgcc=no
64172 rm -f core conftest.err conftest.$ac_objext \
64173 conftest$ac_exeext conftest.$ac_ext
64174 CFLAGS="$ac_save_CFLAGS"
64175 if test $glibcxx_shared_libgcc = no; then
64176 cat > conftest.c <<EOF
64177 int main (void) { return 0; }
64179 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
64180 -shared -shared-libgcc -o conftest.so \
64181 conftest.c -v 2>&1 >/dev/null \
64182 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
64183 rm -f conftest.c conftest.so
64184 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
64185 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
64186 if test x$gcc_no_link = xyes; then
64187 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64190 /* end confdefs.h. */
64193 main ()
64195 return 0;
64197 return 0;
64199 _ACEOF
64200 if ac_fn_c_try_link "$LINENO"; then :
64201 glibcxx_shared_libgcc=yes
64203 rm -f core conftest.err conftest.$ac_objext \
64204 conftest$ac_exeext conftest.$ac_ext
64205 CFLAGS="$ac_save_CFLAGS"
64208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
64209 $as_echo "$glibcxx_shared_libgcc" >&6; }
64211 # For GNU ld, we need at least this version. The format is described in
64212 # GLIBCXX_CHECK_LINKER_FEATURES above.
64213 glibcxx_min_gnu_ld_version=21400
64215 # If no shared libgcc, can't win.
64216 if test $glibcxx_shared_libgcc != yes; then
64217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64218 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
64220 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
64221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64222 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64223 enable_symvers=no
64224 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
64225 : All interesting versions of Sun ld support sun style symbol versioning.
64226 elif test $with_gnu_ld != yes ; then
64227 # just fail for now
64228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64229 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
64231 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
64232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64233 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64234 enable_symvers=no
64235 elif test $glibcxx_ld_is_gold = yes ; then
64236 : All versions of gold support symbol versioning.
64237 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
64238 # The right tools, the right setup, but too old. Fallbacks?
64239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
64240 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
64241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
64242 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
64243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
64244 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
64245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
64246 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
64247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64248 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64249 enable_symvers=no
64253 # Everything parsed; figure out what file to use.
64254 case $enable_symvers in
64256 SYMVER_FILE=config/abi/pre/none.ver
64258 gnu)
64259 SYMVER_FILE=config/abi/pre/gnu.ver
64261 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
64264 gnu-versioned-namespace)
64265 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
64267 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
64270 darwin)
64271 SYMVER_FILE=config/abi/pre/gnu.ver
64273 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
64276 sun)
64277 SYMVER_FILE=config/abi/pre/gnu.ver
64279 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
64282 esac
64284 if test x$enable_symvers != xno ; then
64286 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
64290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
64291 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
64292 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
64293 $as_echo_n "(cached) " >&6
64294 else
64296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64297 /* end confdefs.h. */
64298 void foo (void); __asm (".symver foo, bar@SYMVER");
64300 main ()
64304 return 0;
64306 _ACEOF
64307 if ac_fn_c_try_compile "$LINENO"; then :
64308 glibcxx_cv_have_as_symver_directive=yes
64309 else
64310 glibcxx_cv_have_as_symver_directive=no
64312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
64315 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
64316 if test $glibcxx_cv_have_as_symver_directive = yes; then
64318 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
64329 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
64330 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
64332 if test $enable_symvers != no ; then
64333 case ${target_os} in
64334 # The Solaris 2 runtime linker doesn't support the GNU extension of
64335 # binding the same symbol to different versions
64336 solaris2*)
64337 symvers_renaming=no ;;
64338 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
64341 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
64343 symvers_renaming=yes ;;
64344 esac
64345 else
64346 symvers_renaming=no
64350 # Now, set up compatibility support, if any.
64351 # In addition, need this to deal with std::size_t mangling in
64352 # src/compatibility.cc. In a perfect world, could use
64353 # typeid(std::size_t).name()[0] to do direct substitution.
64354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
64355 $as_echo_n "checking for size_t as unsigned int... " >&6; }
64356 ac_save_CFLAGS="$CFLAGS"
64357 CFLAGS="-Werror"
64358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64359 /* end confdefs.h. */
64362 main ()
64364 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
64366 return 0;
64368 _ACEOF
64369 if ac_fn_c_try_compile "$LINENO"; then :
64370 glibcxx_size_t_is_i=yes
64371 else
64372 glibcxx_size_t_is_i=no
64374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64375 CFLAGS=$ac_save_CFLAGS
64376 if test "$glibcxx_size_t_is_i" = yes; then
64378 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
64381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
64382 $as_echo "$glibcxx_size_t_is_i" >&6; }
64384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
64385 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
64386 ac_save_CFLAGS="$CFLAGS"
64387 CFLAGS="-Werror"
64388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64389 /* end confdefs.h. */
64392 main ()
64394 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
64396 return 0;
64398 _ACEOF
64399 if ac_fn_c_try_compile "$LINENO"; then :
64400 glibcxx_ptrdiff_t_is_i=yes
64401 else
64402 glibcxx_ptrdiff_t_is_i=no
64404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64405 CFLAGS=$ac_save_CFLAGS
64406 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
64408 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
64411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
64412 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
64415 # Check whether --enable-visibility was given.
64416 if test "${enable_visibility+set}" = set; then :
64417 enableval=$enable_visibility;
64418 case "$enableval" in
64419 yes|no) ;;
64420 *) as_fn_error "Argument to enable/disable visibility must be yes or no" "$LINENO" 5 ;;
64421 esac
64423 else
64424 enable_visibility=yes
64429 if test x$enable_visibility = xyes ; then
64430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
64431 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
64432 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
64433 $as_echo_n "(cached) " >&6
64434 else
64436 save_CFLAGS="$CFLAGS"
64437 CFLAGS="$CFLAGS -Werror"
64438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64439 /* end confdefs.h. */
64440 void __attribute__((visibility("hidden"))) foo(void) { }
64442 main ()
64446 return 0;
64448 _ACEOF
64449 if ac_fn_c_try_compile "$LINENO"; then :
64450 glibcxx_cv_have_attribute_visibility=yes
64451 else
64452 glibcxx_cv_have_attribute_visibility=no
64454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64455 CFLAGS="$save_CFLAGS"
64457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
64458 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
64459 if test $glibcxx_cv_have_attribute_visibility = no; then
64460 enable_visibility=no
64465 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_visibility" >&5
64466 $as_echo "$as_me: visibility supported: $enable_visibility" >&6;}
64469 ac_ldbl_compat=no
64470 case "$target" in
64471 powerpc*-*-linux* | \
64472 powerpc*-*-gnu* | \
64473 sparc*-*-linux* | \
64474 s390*-*-linux* | \
64475 alpha*-*-linux*)
64476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64477 /* end confdefs.h. */
64480 main ()
64483 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
64484 #error no need for long double compatibility
64485 #endif
64488 return 0;
64490 _ACEOF
64491 if ac_fn_c_try_compile "$LINENO"; then :
64492 ac_ldbl_compat=yes
64493 else
64494 ac_ldbl_compat=no
64496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64497 if test "$ac_ldbl_compat" = yes; then
64499 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
64501 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
64503 esac
64506 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
64508 if $GLIBCXX_IS_NATIVE ; then
64509 # Do checks for resource limit functions.
64511 setrlimit_have_headers=yes
64512 for ac_header in unistd.h sys/time.h sys/resource.h
64513 do :
64514 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
64515 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
64516 eval as_val=\$$as_ac_Header
64517 if test "x$as_val" = x""yes; then :
64518 cat >>confdefs.h <<_ACEOF
64519 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
64520 _ACEOF
64522 else
64523 setrlimit_have_headers=no
64526 done
64528 # If don't have the headers, then we can't run the tests now, and we
64529 # won't be seeing any of these during testsuite compilation.
64530 if test $setrlimit_have_headers = yes; then
64531 # Can't do these in a loop, else the resulting syntax is wrong.
64533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
64534 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
64535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64536 /* end confdefs.h. */
64537 #include <unistd.h>
64538 #include <sys/time.h>
64539 #include <sys/resource.h>
64542 main ()
64544 int f = RLIMIT_DATA ;
64546 return 0;
64548 _ACEOF
64549 if ac_fn_c_try_compile "$LINENO"; then :
64550 glibcxx_mresult=1
64551 else
64552 glibcxx_mresult=0
64554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64556 cat >>confdefs.h <<_ACEOF
64557 #define HAVE_LIMIT_DATA $glibcxx_mresult
64558 _ACEOF
64560 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64562 $as_echo "$res" >&6; }
64565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
64566 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
64567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64568 /* end confdefs.h. */
64569 #include <unistd.h>
64570 #include <sys/time.h>
64571 #include <sys/resource.h>
64574 main ()
64576 int f = RLIMIT_RSS ;
64578 return 0;
64580 _ACEOF
64581 if ac_fn_c_try_compile "$LINENO"; then :
64582 glibcxx_mresult=1
64583 else
64584 glibcxx_mresult=0
64586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64588 cat >>confdefs.h <<_ACEOF
64589 #define HAVE_LIMIT_RSS $glibcxx_mresult
64590 _ACEOF
64592 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64594 $as_echo "$res" >&6; }
64597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
64598 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
64599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64600 /* end confdefs.h. */
64601 #include <unistd.h>
64602 #include <sys/time.h>
64603 #include <sys/resource.h>
64606 main ()
64608 int f = RLIMIT_VMEM ;
64610 return 0;
64612 _ACEOF
64613 if ac_fn_c_try_compile "$LINENO"; then :
64614 glibcxx_mresult=1
64615 else
64616 glibcxx_mresult=0
64618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64620 cat >>confdefs.h <<_ACEOF
64621 #define HAVE_LIMIT_VMEM $glibcxx_mresult
64622 _ACEOF
64624 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64626 $as_echo "$res" >&6; }
64629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
64630 $as_echo_n "checking for RLIMIT_AS... " >&6; }
64631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64632 /* end confdefs.h. */
64633 #include <unistd.h>
64634 #include <sys/time.h>
64635 #include <sys/resource.h>
64638 main ()
64640 int f = RLIMIT_AS ;
64642 return 0;
64644 _ACEOF
64645 if ac_fn_c_try_compile "$LINENO"; then :
64646 glibcxx_mresult=1
64647 else
64648 glibcxx_mresult=0
64650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64652 cat >>confdefs.h <<_ACEOF
64653 #define HAVE_LIMIT_AS $glibcxx_mresult
64654 _ACEOF
64656 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64658 $as_echo "$res" >&6; }
64661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
64662 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
64663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64664 /* end confdefs.h. */
64665 #include <unistd.h>
64666 #include <sys/time.h>
64667 #include <sys/resource.h>
64670 main ()
64672 int f = RLIMIT_FSIZE ;
64674 return 0;
64676 _ACEOF
64677 if ac_fn_c_try_compile "$LINENO"; then :
64678 glibcxx_mresult=1
64679 else
64680 glibcxx_mresult=0
64682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64684 cat >>confdefs.h <<_ACEOF
64685 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
64686 _ACEOF
64688 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
64689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
64690 $as_echo "$res" >&6; }
64693 # Check for rlimit, setrlimit.
64694 if test "${glibcxx_cv_setrlimit+set}" = set; then :
64695 $as_echo_n "(cached) " >&6
64696 else
64698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64699 /* end confdefs.h. */
64700 #include <unistd.h>
64701 #include <sys/time.h>
64702 #include <sys/resource.h>
64705 main ()
64707 struct rlimit r;
64708 setrlimit(0, &r);
64710 return 0;
64712 _ACEOF
64713 if ac_fn_c_try_compile "$LINENO"; then :
64714 glibcxx_cv_setrlimit=yes
64715 else
64716 glibcxx_cv_setrlimit=no
64718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
64725 $as_echo_n "checking for testsuite resource limits support... " >&6; }
64726 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
64727 ac_res_limits=yes
64729 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
64731 else
64732 ac_res_limits=no
64734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
64735 $as_echo "$ac_res_limits" >&6; }
64738 # Look for setenv, so that extended locale tests can be performed.
64740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
64741 $as_echo_n "checking for setenv declaration... " >&6; }
64742 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
64743 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
64744 $as_echo_n "(cached) " >&6
64745 else
64748 ac_ext=cpp
64749 ac_cpp='$CXXCPP $CPPFLAGS'
64750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64755 /* end confdefs.h. */
64756 #include <stdlib.h>
64758 main ()
64760 setenv(0, 0, 0);
64762 return 0;
64764 _ACEOF
64765 if ac_fn_cxx_try_compile "$LINENO"; then :
64766 glibcxx_cv_func_setenv_use=yes
64767 else
64768 glibcxx_cv_func_setenv_use=no
64770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64771 ac_ext=c
64772 ac_cpp='$CPP $CPPFLAGS'
64773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
64782 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
64783 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
64784 for ac_func in setenv
64785 do :
64786 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
64787 if test "x$ac_cv_func_setenv" = x""yes; then :
64788 cat >>confdefs.h <<_ACEOF
64789 #define HAVE_SETENV 1
64790 _ACEOF
64793 done
64799 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
64800 test $enable_symvers != no; then
64801 case "$host" in
64802 *-*-cygwin*)
64803 enable_abi_check=no ;;
64805 enable_abi_check=yes ;;
64806 esac
64807 else
64808 # Only build this as native, since automake does not understand
64809 # CXX_FOR_BUILD.
64810 enable_abi_check=no
64813 # Export file names for ABI checking.
64814 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
64818 # Define documentation rules conditionally.
64820 # See if makeinfo has been installed and is modern enough
64821 # that we can use it.
64823 # Extract the first word of "makeinfo", so it can be a program name with args.
64824 set dummy makeinfo; ac_word=$2
64825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
64826 $as_echo_n "checking for $ac_word... " >&6; }
64827 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
64828 $as_echo_n "(cached) " >&6
64829 else
64830 if test -n "$MAKEINFO"; then
64831 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
64832 else
64833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64834 for as_dir in $PATH
64836 IFS=$as_save_IFS
64837 test -z "$as_dir" && as_dir=.
64838 for ac_exec_ext in '' $ac_executable_extensions; do
64839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
64840 ac_cv_prog_MAKEINFO="makeinfo"
64841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
64842 break 2
64844 done
64845 done
64846 IFS=$as_save_IFS
64850 MAKEINFO=$ac_cv_prog_MAKEINFO
64851 if test -n "$MAKEINFO"; then
64852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
64853 $as_echo "$MAKEINFO" >&6; }
64854 else
64855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
64856 $as_echo "no" >&6; }
64860 if test -n "$MAKEINFO"; then
64861 # Found it, now check the version.
64862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
64863 $as_echo_n "checking for modern makeinfo... " >&6; }
64864 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
64865 $as_echo_n "(cached) " >&6
64866 else
64867 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
64868 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
64870 case $ac_prog_version in
64871 '') gcc_cv_prog_makeinfo_modern=no;;
64872 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
64873 *) gcc_cv_prog_makeinfo_modern=no;;
64874 esac
64877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
64878 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
64879 else
64880 gcc_cv_prog_makeinfo_modern=no
64882 if test $gcc_cv_prog_makeinfo_modern = no; then
64883 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
64886 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
64887 BUILD_INFO_TRUE=
64888 BUILD_INFO_FALSE='#'
64889 else
64890 BUILD_INFO_TRUE='#'
64891 BUILD_INFO_FALSE=
64895 # Check for doxygen
64896 # Extract the first word of "doxygen", so it can be a program name with args.
64897 set dummy doxygen; ac_word=$2
64898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
64899 $as_echo_n "checking for $ac_word... " >&6; }
64900 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
64901 $as_echo_n "(cached) " >&6
64902 else
64903 if test -n "$DOXYGEN"; then
64904 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
64905 else
64906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64907 for as_dir in $PATH
64909 IFS=$as_save_IFS
64910 test -z "$as_dir" && as_dir=.
64911 for ac_exec_ext in '' $ac_executable_extensions; do
64912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
64913 ac_cv_prog_DOXYGEN="yes"
64914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
64915 break 2
64917 done
64918 done
64919 IFS=$as_save_IFS
64921 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
64924 DOXYGEN=$ac_cv_prog_DOXYGEN
64925 if test -n "$DOXYGEN"; then
64926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
64927 $as_echo "$DOXYGEN" >&6; }
64928 else
64929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
64930 $as_echo "no" >&6; }
64934 # Extract the first word of "dot", so it can be a program name with args.
64935 set dummy dot; ac_word=$2
64936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
64937 $as_echo_n "checking for $ac_word... " >&6; }
64938 if test "${ac_cv_prog_DOT+set}" = set; then :
64939 $as_echo_n "(cached) " >&6
64940 else
64941 if test -n "$DOT"; then
64942 ac_cv_prog_DOT="$DOT" # Let the user override the test.
64943 else
64944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64945 for as_dir in $PATH
64947 IFS=$as_save_IFS
64948 test -z "$as_dir" && as_dir=.
64949 for ac_exec_ext in '' $ac_executable_extensions; do
64950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
64951 ac_cv_prog_DOT="yes"
64952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
64953 break 2
64955 done
64956 done
64957 IFS=$as_save_IFS
64959 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
64962 DOT=$ac_cv_prog_DOT
64963 if test -n "$DOT"; then
64964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
64965 $as_echo "$DOT" >&6; }
64966 else
64967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
64968 $as_echo "no" >&6; }
64973 # Check for docbook
64974 # Extract the first word of "xsltproc", so it can be a program name with args.
64975 set dummy xsltproc; ac_word=$2
64976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
64977 $as_echo_n "checking for $ac_word... " >&6; }
64978 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
64979 $as_echo_n "(cached) " >&6
64980 else
64981 if test -n "$XSLTPROC"; then
64982 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
64983 else
64984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64985 for as_dir in $PATH
64987 IFS=$as_save_IFS
64988 test -z "$as_dir" && as_dir=.
64989 for ac_exec_ext in '' $ac_executable_extensions; do
64990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
64991 ac_cv_prog_XSLTPROC="yes"
64992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
64993 break 2
64995 done
64996 done
64997 IFS=$as_save_IFS
64999 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
65002 XSLTPROC=$ac_cv_prog_XSLTPROC
65003 if test -n "$XSLTPROC"; then
65004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
65005 $as_echo "$XSLTPROC" >&6; }
65006 else
65007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65008 $as_echo "no" >&6; }
65012 # Extract the first word of "xmllint", so it can be a program name with args.
65013 set dummy xmllint; ac_word=$2
65014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65015 $as_echo_n "checking for $ac_word... " >&6; }
65016 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
65017 $as_echo_n "(cached) " >&6
65018 else
65019 if test -n "$XMLLINT"; then
65020 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
65021 else
65022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65023 for as_dir in $PATH
65025 IFS=$as_save_IFS
65026 test -z "$as_dir" && as_dir=.
65027 for ac_exec_ext in '' $ac_executable_extensions; do
65028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65029 ac_cv_prog_XMLLINT="yes"
65030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65031 break 2
65033 done
65034 done
65035 IFS=$as_save_IFS
65037 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
65040 XMLLINT=$ac_cv_prog_XMLLINT
65041 if test -n "$XMLLINT"; then
65042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
65043 $as_echo "$XMLLINT" >&6; }
65044 else
65045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65046 $as_echo "no" >&6; }
65051 glibcxx_stylesheets=no
65052 if test -f /usr/share/sgml/docbook/xsl-ns-stylesheets/VERSION; then
65053 glibcxx_stylesheets=yes
65056 # Check for xml/html dependencies.
65057 if test $ac_cv_prog_DOXYGEN = "yes" &&
65058 test $ac_cv_prog_DOT = "yes" &&
65059 test $ac_cv_prog_XSLTPROC = "yes" &&
65060 test $ac_cv_prog_XMLLINT = "yes" &&
65061 test $glibcxx_stylesheets = "yes"; then
65062 BUILD_XML_TRUE=
65063 BUILD_XML_FALSE='#'
65064 else
65065 BUILD_XML_TRUE='#'
65066 BUILD_XML_FALSE=
65070 if test $ac_cv_prog_DOXYGEN = "yes" &&
65071 test $ac_cv_prog_DOT = "yes" &&
65072 test $ac_cv_prog_XSLTPROC = "yes" &&
65073 test $ac_cv_prog_XMLLINT = "yes" &&
65074 test $glibcxx_stylesheets = "yes"; then
65075 BUILD_HTML_TRUE=
65076 BUILD_HTML_FALSE='#'
65077 else
65078 BUILD_HTML_TRUE='#'
65079 BUILD_HTML_FALSE=
65083 # Check for man dependencies.
65084 if test $ac_cv_prog_DOXYGEN = "yes" &&
65085 test $ac_cv_prog_DOT = "yes"; then
65086 BUILD_MAN_TRUE=
65087 BUILD_MAN_FALSE='#'
65088 else
65089 BUILD_MAN_TRUE='#'
65090 BUILD_MAN_FALSE=
65094 # Check for pdf/epub dependencies.
65095 # Extract the first word of "dblatex", so it can be a program name with args.
65096 set dummy dblatex; ac_word=$2
65097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65098 $as_echo_n "checking for $ac_word... " >&6; }
65099 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
65100 $as_echo_n "(cached) " >&6
65101 else
65102 if test -n "$DBLATEX"; then
65103 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
65104 else
65105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65106 for as_dir in $PATH
65108 IFS=$as_save_IFS
65109 test -z "$as_dir" && as_dir=.
65110 for ac_exec_ext in '' $ac_executable_extensions; do
65111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65112 ac_cv_prog_DBLATEX="yes"
65113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65114 break 2
65116 done
65117 done
65118 IFS=$as_save_IFS
65120 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
65123 DBLATEX=$ac_cv_prog_DBLATEX
65124 if test -n "$DBLATEX"; then
65125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
65126 $as_echo "$DBLATEX" >&6; }
65127 else
65128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65129 $as_echo "no" >&6; }
65133 # Extract the first word of "pdflatex", so it can be a program name with args.
65134 set dummy pdflatex; ac_word=$2
65135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65136 $as_echo_n "checking for $ac_word... " >&6; }
65137 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
65138 $as_echo_n "(cached) " >&6
65139 else
65140 if test -n "$PDFLATEX"; then
65141 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
65142 else
65143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65144 for as_dir in $PATH
65146 IFS=$as_save_IFS
65147 test -z "$as_dir" && as_dir=.
65148 for ac_exec_ext in '' $ac_executable_extensions; do
65149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65150 ac_cv_prog_PDFLATEX="yes"
65151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65152 break 2
65154 done
65155 done
65156 IFS=$as_save_IFS
65158 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
65161 PDFLATEX=$ac_cv_prog_PDFLATEX
65162 if test -n "$PDFLATEX"; then
65163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
65164 $as_echo "$PDFLATEX" >&6; }
65165 else
65166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65167 $as_echo "no" >&6; }
65171 if test $ac_cv_prog_DBLATEX = "yes" &&
65172 test $ac_cv_prog_PDFLATEX = "yes"; then
65173 BUILD_PDF_TRUE=
65174 BUILD_PDF_FALSE='#'
65175 else
65176 BUILD_PDF_TRUE='#'
65177 BUILD_PDF_FALSE=
65181 # Extract the first word of "ruby", so it can be a program name with args.
65182 set dummy ruby; ac_word=$2
65183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65184 $as_echo_n "checking for $ac_word... " >&6; }
65185 if test "${ac_cv_prog_RUBY+set}" = set; then :
65186 $as_echo_n "(cached) " >&6
65187 else
65188 if test -n "$RUBY"; then
65189 ac_cv_prog_RUBY="$RUBY" # Let the user override the test.
65190 else
65191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65192 for as_dir in $PATH
65194 IFS=$as_save_IFS
65195 test -z "$as_dir" && as_dir=.
65196 for ac_exec_ext in '' $ac_executable_extensions; do
65197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65198 ac_cv_prog_RUBY="yes"
65199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65200 break 2
65202 done
65203 done
65204 IFS=$as_save_IFS
65206 test -z "$ac_cv_prog_RUBY" && ac_cv_prog_RUBY="no"
65209 RUBY=$ac_cv_prog_RUBY
65210 if test -n "$RUBY"; then
65211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5
65212 $as_echo "$RUBY" >&6; }
65213 else
65214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65215 $as_echo "no" >&6; }
65219 # Extract the first word of "dbtoepubm", so it can be a program name with args.
65220 set dummy dbtoepubm; ac_word=$2
65221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65222 $as_echo_n "checking for $ac_word... " >&6; }
65223 if test "${ac_cv_prog_DBTOEPUB+set}" = set; then :
65224 $as_echo_n "(cached) " >&6
65225 else
65226 if test -n "$DBTOEPUB"; then
65227 ac_cv_prog_DBTOEPUB="$DBTOEPUB" # Let the user override the test.
65228 else
65229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65230 for as_dir in $PATH
65232 IFS=$as_save_IFS
65233 test -z "$as_dir" && as_dir=.
65234 for ac_exec_ext in '' $ac_executable_extensions; do
65235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65236 ac_cv_prog_DBTOEPUB="yes"
65237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65238 break 2
65240 done
65241 done
65242 IFS=$as_save_IFS
65244 test -z "$ac_cv_prog_DBTOEPUB" && ac_cv_prog_DBTOEPUB="no"
65247 DBTOEPUB=$ac_cv_prog_DBTOEPUB
65248 if test -n "$DBTOEPUB"; then
65249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBTOEPUB" >&5
65250 $as_echo "$DBTOEPUB" >&6; }
65251 else
65252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65253 $as_echo "no" >&6; }
65257 if test $ac_cv_prog_RUBY = "yes" &&
65258 test $ac_cv_prog_DBTOEPUB = "yes"; then
65259 BUILD_EPUB_TRUE=
65260 BUILD_EPUB_FALSE='#'
65261 else
65262 BUILD_EPUB_TRUE='#'
65263 BUILD_EPUB_FALSE=
65268 # Propagate the target-specific source directories through the build chain.
65269 ATOMICITY_SRCDIR=config/${atomicity_dir}
65270 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
65271 ATOMIC_FLAGS=${atomic_flags}
65272 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
65273 OS_INC_SRCDIR=config/${os_include_dir}
65274 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
65275 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
65285 # Determine cross-compile flags and AM_CONDITIONALs.
65286 #AC_SUBST(GLIBCXX_IS_NATIVE)
65287 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
65288 if test $is_hosted = yes; then
65289 GLIBCXX_HOSTED_TRUE=
65290 GLIBCXX_HOSTED_FALSE='#'
65291 else
65292 GLIBCXX_HOSTED_TRUE='#'
65293 GLIBCXX_HOSTED_FALSE=
65297 if test $enable_libstdcxx_pch = yes; then
65298 GLIBCXX_BUILD_PCH_TRUE=
65299 GLIBCXX_BUILD_PCH_FALSE='#'
65300 else
65301 GLIBCXX_BUILD_PCH_TRUE='#'
65302 GLIBCXX_BUILD_PCH_FALSE=
65306 if test $enable_cheaders = c; then
65307 GLIBCXX_C_HEADERS_C_TRUE=
65308 GLIBCXX_C_HEADERS_C_FALSE='#'
65309 else
65310 GLIBCXX_C_HEADERS_C_TRUE='#'
65311 GLIBCXX_C_HEADERS_C_FALSE=
65315 if test $enable_cheaders = c_std; then
65316 GLIBCXX_C_HEADERS_C_STD_TRUE=
65317 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
65318 else
65319 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
65320 GLIBCXX_C_HEADERS_C_STD_FALSE=
65324 if test $enable_cheaders = c_global; then
65325 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
65326 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
65327 else
65328 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
65329 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
65333 if test $c_compatibility = yes; then
65334 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
65335 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
65336 else
65337 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
65338 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
65342 if test $enable_libstdcxx_debug = yes; then
65343 GLIBCXX_BUILD_DEBUG_TRUE=
65344 GLIBCXX_BUILD_DEBUG_FALSE='#'
65345 else
65346 GLIBCXX_BUILD_DEBUG_TRUE='#'
65347 GLIBCXX_BUILD_DEBUG_FALSE=
65351 if test $enable_parallel = yes; then
65352 ENABLE_PARALLEL_TRUE=
65353 ENABLE_PARALLEL_FALSE='#'
65354 else
65355 ENABLE_PARALLEL_TRUE='#'
65356 ENABLE_PARALLEL_FALSE=
65360 if test $enable_symvers != no; then
65361 ENABLE_SYMVERS_TRUE=
65362 ENABLE_SYMVERS_FALSE='#'
65363 else
65364 ENABLE_SYMVERS_TRUE='#'
65365 ENABLE_SYMVERS_FALSE=
65369 if test $enable_symvers = gnu; then
65370 ENABLE_SYMVERS_GNU_TRUE=
65371 ENABLE_SYMVERS_GNU_FALSE='#'
65372 else
65373 ENABLE_SYMVERS_GNU_TRUE='#'
65374 ENABLE_SYMVERS_GNU_FALSE=
65378 if test $enable_symvers = gnu-versioned-namespace; then
65379 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
65380 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
65381 else
65382 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
65383 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
65387 if test $enable_symvers = darwin; then
65388 ENABLE_SYMVERS_DARWIN_TRUE=
65389 ENABLE_SYMVERS_DARWIN_FALSE='#'
65390 else
65391 ENABLE_SYMVERS_DARWIN_TRUE='#'
65392 ENABLE_SYMVERS_DARWIN_FALSE=
65396 if test $enable_symvers = sun; then
65397 ENABLE_SYMVERS_SUN_TRUE=
65398 ENABLE_SYMVERS_SUN_FALSE='#'
65399 else
65400 ENABLE_SYMVERS_SUN_TRUE='#'
65401 ENABLE_SYMVERS_SUN_FALSE=
65405 if test $symvers_renaming = no; then
65406 ENABLE_SYMVERS_SOL2_TRUE=
65407 ENABLE_SYMVERS_SOL2_FALSE='#'
65408 else
65409 ENABLE_SYMVERS_SOL2_TRUE='#'
65410 ENABLE_SYMVERS_SOL2_FALSE=
65414 if test $enable_visibility = yes; then
65415 ENABLE_VISIBILITY_TRUE=
65416 ENABLE_VISIBILITY_FALSE='#'
65417 else
65418 ENABLE_VISIBILITY_TRUE='#'
65419 ENABLE_VISIBILITY_FALSE=
65423 if test $ac_ldbl_compat = yes; then
65424 GLIBCXX_LDBL_COMPAT_TRUE=
65425 GLIBCXX_LDBL_COMPAT_FALSE='#'
65426 else
65427 GLIBCXX_LDBL_COMPAT_TRUE='#'
65428 GLIBCXX_LDBL_COMPAT_FALSE=
65434 cat >confcache <<\_ACEOF
65435 # This file is a shell script that caches the results of configure
65436 # tests run on this system so they can be shared between configure
65437 # scripts and configure runs, see configure's option --config-cache.
65438 # It is not useful on other systems. If it contains results you don't
65439 # want to keep, you may remove or edit it.
65441 # config.status only pays attention to the cache file if you give it
65442 # the --recheck option to rerun configure.
65444 # `ac_cv_env_foo' variables (set or unset) will be overridden when
65445 # loading this file, other *unset* `ac_cv_foo' will be assigned the
65446 # following values.
65448 _ACEOF
65450 # The following way of writing the cache mishandles newlines in values,
65451 # but we know of no workaround that is simple, portable, and efficient.
65452 # So, we kill variables containing newlines.
65453 # Ultrix sh set writes to stderr and can't be redirected directly,
65454 # and sets the high bit in the cache file unless we assign to the vars.
65456 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
65457 eval ac_val=\$$ac_var
65458 case $ac_val in #(
65459 *${as_nl}*)
65460 case $ac_var in #(
65461 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
65462 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
65463 esac
65464 case $ac_var in #(
65465 _ | IFS | as_nl) ;; #(
65466 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
65467 *) { eval $ac_var=; unset $ac_var;} ;;
65468 esac ;;
65469 esac
65470 done
65472 (set) 2>&1 |
65473 case $as_nl`(ac_space=' '; set) 2>&1` in #(
65474 *${as_nl}ac_space=\ *)
65475 # `set' does not quote correctly, so add quotes: double-quote
65476 # substitution turns \\\\ into \\, and sed turns \\ into \.
65477 sed -n \
65478 "s/'/'\\\\''/g;
65479 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
65480 ;; #(
65482 # `set' quotes correctly as required by POSIX, so do not add quotes.
65483 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
65485 esac |
65486 sort
65488 sed '
65489 /^ac_cv_env_/b end
65490 t clear
65491 :clear
65492 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
65493 t end
65494 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
65495 :end' >>confcache
65496 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
65497 if test -w "$cache_file"; then
65498 test "x$cache_file" != "x/dev/null" &&
65499 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
65500 $as_echo "$as_me: updating cache $cache_file" >&6;}
65501 cat confcache >$cache_file
65502 else
65503 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
65504 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
65507 rm -f confcache
65509 if test ${multilib} = yes; then
65510 multilib_arg="--enable-multilib"
65511 else
65512 multilib_arg=
65515 # Export all the install information.
65517 glibcxx_toolexecdir=no
65518 glibcxx_toolexeclibdir=no
65519 glibcxx_prefixdir=$prefix
65521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
65522 $as_echo_n "checking for gxx-include-dir... " >&6; }
65524 # Check whether --with-gxx-include-dir was given.
65525 if test "${with_gxx_include_dir+set}" = set; then :
65526 withval=$with_gxx_include_dir; case "$withval" in
65527 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
65528 no) gxx_include_dir=no ;;
65529 *) gxx_include_dir=$withval ;;
65530 esac
65531 else
65532 gxx_include_dir=no
65535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
65536 $as_echo "$gxx_include_dir" >&6; }
65538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
65539 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
65540 # Check whether --enable-version-specific-runtime-libs was given.
65541 if test "${enable_version_specific_runtime_libs+set}" = set; then :
65542 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
65543 yes) version_specific_libs=yes ;;
65544 no) version_specific_libs=no ;;
65545 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
65546 esac
65547 else
65548 version_specific_libs=no
65551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
65552 $as_echo "$version_specific_libs" >&6; }
65554 # Default case for install directory for include files.
65555 if test $version_specific_libs = no && test $gxx_include_dir = no; then
65556 gxx_include_dir='include/c++/${gcc_version}'
65557 if test -n "$with_cross_host" &&
65558 test x"$with_cross_host" != x"no"; then
65559 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
65560 else
65561 gxx_include_dir='${prefix}/'"$gxx_include_dir"
65565 # Version-specific runtime libs processing.
65566 if test $version_specific_libs = yes; then
65567 # Need the gcc compiler version to know where to install libraries
65568 # and header files if --enable-version-specific-runtime-libs option
65569 # is selected. FIXME: these variables are misnamed, there are
65570 # no executables installed in _toolexecdir or _toolexeclibdir.
65571 if test x"$gxx_include_dir" = x"no"; then
65572 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
65574 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
65575 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
65578 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
65579 # Install a library built with a cross compiler in tooldir, not libdir.
65580 if test x"$glibcxx_toolexecdir" = x"no"; then
65581 if test -n "$with_cross_host" &&
65582 test x"$with_cross_host" != x"no"; then
65583 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
65584 glibcxx_toolexeclibdir='${toolexecdir}/lib'
65585 else
65586 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
65587 glibcxx_toolexeclibdir='${libdir}'
65589 multi_os_directory=`$CXX -print-multi-os-directory`
65590 case $multi_os_directory in
65591 .) ;; # Avoid trailing /.
65592 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
65593 esac
65596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
65597 $as_echo_n "checking for install location... " >&6; }
65598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
65599 $as_echo "$gxx_include_dir" >&6; }
65607 # Export all the include and flag information to Makefiles.
65609 # Used for every C++ compile we perform.
65610 GLIBCXX_INCLUDES="\
65611 -I$glibcxx_builddir/include/$host_alias \
65612 -I$glibcxx_builddir/include \
65613 -I$glibcxx_srcdir/libsupc++"
65615 # For Canadian crosses, pick this up too.
65616 if test $CANADIAN = yes; then
65617 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
65620 # Stuff in the actual top level. Currently only used by libsupc++ to
65621 # get unwind* headers from the gcc dir.
65622 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
65623 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
65625 # Now, export this to all the little Makefiles....
65630 # Optimization flags that are probably a good idea for thrill-seekers. Just
65631 # uncomment the lines below and make, everything else is ready to go...
65632 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
65633 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
65636 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
65640 if test "$enable_shared" = yes; then
65641 LIBSUPCXX_PICFLAGS="-prefer-pic"
65642 else
65643 LIBSUPCXX_PICFLAGS=
65647 ac_config_files="$ac_config_files Makefile"
65649 ac_config_files="$ac_config_files scripts/testsuite_flags"
65651 ac_config_files="$ac_config_files scripts/extract_symvers"
65654 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
65655 # that multilib installs will end up installed in the correct place.
65656 # The testsuite needs it for multilib-aware ABI baseline files.
65657 # To work around this not being passed down from config-ml.in ->
65658 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
65659 # append it here. Only modify Makefiles that have just been created.
65661 # Also, get rid of this simulated-VPATH thing that automake does.
65662 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
65665 ac_config_commands="$ac_config_commands generate-headers"
65668 cat >confcache <<\_ACEOF
65669 # This file is a shell script that caches the results of configure
65670 # tests run on this system so they can be shared between configure
65671 # scripts and configure runs, see configure's option --config-cache.
65672 # It is not useful on other systems. If it contains results you don't
65673 # want to keep, you may remove or edit it.
65675 # config.status only pays attention to the cache file if you give it
65676 # the --recheck option to rerun configure.
65678 # `ac_cv_env_foo' variables (set or unset) will be overridden when
65679 # loading this file, other *unset* `ac_cv_foo' will be assigned the
65680 # following values.
65682 _ACEOF
65684 # The following way of writing the cache mishandles newlines in values,
65685 # but we know of no workaround that is simple, portable, and efficient.
65686 # So, we kill variables containing newlines.
65687 # Ultrix sh set writes to stderr and can't be redirected directly,
65688 # and sets the high bit in the cache file unless we assign to the vars.
65690 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
65691 eval ac_val=\$$ac_var
65692 case $ac_val in #(
65693 *${as_nl}*)
65694 case $ac_var in #(
65695 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
65696 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
65697 esac
65698 case $ac_var in #(
65699 _ | IFS | as_nl) ;; #(
65700 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
65701 *) { eval $ac_var=; unset $ac_var;} ;;
65702 esac ;;
65703 esac
65704 done
65706 (set) 2>&1 |
65707 case $as_nl`(ac_space=' '; set) 2>&1` in #(
65708 *${as_nl}ac_space=\ *)
65709 # `set' does not quote correctly, so add quotes: double-quote
65710 # substitution turns \\\\ into \\, and sed turns \\ into \.
65711 sed -n \
65712 "s/'/'\\\\''/g;
65713 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
65714 ;; #(
65716 # `set' quotes correctly as required by POSIX, so do not add quotes.
65717 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
65719 esac |
65720 sort
65722 sed '
65723 /^ac_cv_env_/b end
65724 t clear
65725 :clear
65726 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
65727 t end
65728 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
65729 :end' >>confcache
65730 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
65731 if test -w "$cache_file"; then
65732 test "x$cache_file" != "x/dev/null" &&
65733 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
65734 $as_echo "$as_me: updating cache $cache_file" >&6;}
65735 cat confcache >$cache_file
65736 else
65737 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
65738 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
65741 rm -f confcache
65743 test "x$prefix" = xNONE && prefix=$ac_default_prefix
65744 # Let make expand exec_prefix.
65745 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
65747 DEFS=-DHAVE_CONFIG_H
65749 ac_libobjs=
65750 ac_ltlibobjs=
65751 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
65752 # 1. Remove the extension, and $U if already installed.
65753 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
65754 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
65755 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
65756 # will be set to the directory where LIBOBJS objects are built.
65757 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
65758 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
65759 done
65760 LIBOBJS=$ac_libobjs
65762 LTLIBOBJS=$ac_ltlibobjs
65765 if test -n "$EXEEXT"; then
65766 am__EXEEXT_TRUE=
65767 am__EXEEXT_FALSE='#'
65768 else
65769 am__EXEEXT_TRUE='#'
65770 am__EXEEXT_FALSE=
65773 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
65774 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
65775 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65777 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
65778 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
65779 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65781 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
65782 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
65783 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65785 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
65786 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
65787 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65789 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
65790 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
65791 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65793 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
65794 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
65795 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65797 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
65798 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
65799 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65801 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
65802 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
65803 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65805 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
65806 as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
65807 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65809 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
65810 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
65811 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65813 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
65814 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
65815 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65817 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
65818 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
65819 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65821 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
65822 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
65823 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65825 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
65826 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
65827 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65829 if test -z "${ENABLE_SYMVERS_SOL2_TRUE}" && test -z "${ENABLE_SYMVERS_SOL2_FALSE}"; then
65830 as_fn_error "conditional \"ENABLE_SYMVERS_SOL2\" was never defined.
65831 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65833 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
65834 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
65835 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65837 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
65838 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
65839 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65841 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
65842 as_fn_error "conditional \"BUILD_INFO\" was never defined.
65843 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65845 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
65846 as_fn_error "conditional \"BUILD_XML\" was never defined.
65847 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65849 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
65850 as_fn_error "conditional \"BUILD_HTML\" was never defined.
65851 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65853 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
65854 as_fn_error "conditional \"BUILD_MAN\" was never defined.
65855 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65857 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
65858 as_fn_error "conditional \"BUILD_PDF\" was never defined.
65859 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65861 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
65862 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
65863 Usually this means the macro was only invoked conditionally." "$LINENO" 5
65866 : ${CONFIG_STATUS=./config.status}
65867 ac_write_fail=0
65868 ac_clean_files_save=$ac_clean_files
65869 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
65870 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
65871 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
65872 as_write_fail=0
65873 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
65874 #! $SHELL
65875 # Generated by $as_me.
65876 # Run this file to recreate the current configuration.
65877 # Compiler output produced by configure, useful for debugging
65878 # configure, is in config.log if it exists.
65880 debug=false
65881 ac_cs_recheck=false
65882 ac_cs_silent=false
65884 SHELL=\${CONFIG_SHELL-$SHELL}
65885 export SHELL
65886 _ASEOF
65887 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
65888 ## -------------------- ##
65889 ## M4sh Initialization. ##
65890 ## -------------------- ##
65892 # Be more Bourne compatible
65893 DUALCASE=1; export DUALCASE # for MKS sh
65894 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
65895 emulate sh
65896 NULLCMD=:
65897 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
65898 # is contrary to our usage. Disable this feature.
65899 alias -g '${1+"$@"}'='"$@"'
65900 setopt NO_GLOB_SUBST
65901 else
65902 case `(set -o) 2>/dev/null` in #(
65903 *posix*) :
65904 set -o posix ;; #(
65905 *) :
65907 esac
65911 as_nl='
65913 export as_nl
65914 # Printing a long string crashes Solaris 7 /usr/bin/printf.
65915 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
65916 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
65917 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
65918 # Prefer a ksh shell builtin over an external printf program on Solaris,
65919 # but without wasting forks for bash or zsh.
65920 if test -z "$BASH_VERSION$ZSH_VERSION" \
65921 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
65922 as_echo='print -r --'
65923 as_echo_n='print -rn --'
65924 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
65925 as_echo='printf %s\n'
65926 as_echo_n='printf %s'
65927 else
65928 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
65929 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
65930 as_echo_n='/usr/ucb/echo -n'
65931 else
65932 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
65933 as_echo_n_body='eval
65934 arg=$1;
65935 case $arg in #(
65936 *"$as_nl"*)
65937 expr "X$arg" : "X\\(.*\\)$as_nl";
65938 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65939 esac;
65940 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65942 export as_echo_n_body
65943 as_echo_n='sh -c $as_echo_n_body as_echo'
65945 export as_echo_body
65946 as_echo='sh -c $as_echo_body as_echo'
65949 # The user is always right.
65950 if test "${PATH_SEPARATOR+set}" != set; then
65951 PATH_SEPARATOR=:
65952 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
65953 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
65954 PATH_SEPARATOR=';'
65959 # IFS
65960 # We need space, tab and new line, in precisely that order. Quoting is
65961 # there to prevent editors from complaining about space-tab.
65962 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65963 # splitting by setting IFS to empty value.)
65964 IFS=" "" $as_nl"
65966 # Find who we are. Look in the path if we contain no directory separator.
65967 case $0 in #((
65968 *[\\/]* ) as_myself=$0 ;;
65969 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65970 for as_dir in $PATH
65972 IFS=$as_save_IFS
65973 test -z "$as_dir" && as_dir=.
65974 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
65975 done
65976 IFS=$as_save_IFS
65979 esac
65980 # We did not find ourselves, most probably we were run as `sh COMMAND'
65981 # in which case we are not to be found in the path.
65982 if test "x$as_myself" = x; then
65983 as_myself=$0
65985 if test ! -f "$as_myself"; then
65986 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
65987 exit 1
65990 # Unset variables that we do not need and which cause bugs (e.g. in
65991 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
65992 # suppresses any "Segmentation fault" message there. '((' could
65993 # trigger a bug in pdksh 5.2.14.
65994 for as_var in BASH_ENV ENV MAIL MAILPATH
65995 do eval test x\${$as_var+set} = xset \
65996 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
65997 done
65998 PS1='$ '
65999 PS2='> '
66000 PS4='+ '
66002 # NLS nuisances.
66003 LC_ALL=C
66004 export LC_ALL
66005 LANGUAGE=C
66006 export LANGUAGE
66008 # CDPATH.
66009 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
66012 # as_fn_error ERROR [LINENO LOG_FD]
66013 # ---------------------------------
66014 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
66015 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
66016 # script with status $?, using 1 if that was 0.
66017 as_fn_error ()
66019 as_status=$?; test $as_status -eq 0 && as_status=1
66020 if test "$3"; then
66021 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
66022 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
66024 $as_echo "$as_me: error: $1" >&2
66025 as_fn_exit $as_status
66026 } # as_fn_error
66029 # as_fn_set_status STATUS
66030 # -----------------------
66031 # Set $? to STATUS, without forking.
66032 as_fn_set_status ()
66034 return $1
66035 } # as_fn_set_status
66037 # as_fn_exit STATUS
66038 # -----------------
66039 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
66040 as_fn_exit ()
66042 set +e
66043 as_fn_set_status $1
66044 exit $1
66045 } # as_fn_exit
66047 # as_fn_unset VAR
66048 # ---------------
66049 # Portably unset VAR.
66050 as_fn_unset ()
66052 { eval $1=; unset $1;}
66054 as_unset=as_fn_unset
66055 # as_fn_append VAR VALUE
66056 # ----------------------
66057 # Append the text in VALUE to the end of the definition contained in VAR. Take
66058 # advantage of any shell optimizations that allow amortized linear growth over
66059 # repeated appends, instead of the typical quadratic growth present in naive
66060 # implementations.
66061 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
66062 eval 'as_fn_append ()
66064 eval $1+=\$2
66066 else
66067 as_fn_append ()
66069 eval $1=\$$1\$2
66071 fi # as_fn_append
66073 # as_fn_arith ARG...
66074 # ------------------
66075 # Perform arithmetic evaluation on the ARGs, and store the result in the
66076 # global $as_val. Take advantage of shells that can avoid forks. The arguments
66077 # must be portable across $(()) and expr.
66078 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
66079 eval 'as_fn_arith ()
66081 as_val=$(( $* ))
66083 else
66084 as_fn_arith ()
66086 as_val=`expr "$@" || test $? -eq 1`
66088 fi # as_fn_arith
66091 if expr a : '\(a\)' >/dev/null 2>&1 &&
66092 test "X`expr 00001 : '.*\(...\)'`" = X001; then
66093 as_expr=expr
66094 else
66095 as_expr=false
66098 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
66099 as_basename=basename
66100 else
66101 as_basename=false
66104 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
66105 as_dirname=dirname
66106 else
66107 as_dirname=false
66110 as_me=`$as_basename -- "$0" ||
66111 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66112 X"$0" : 'X\(//\)$' \| \
66113 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
66114 $as_echo X/"$0" |
66115 sed '/^.*\/\([^/][^/]*\)\/*$/{
66116 s//\1/
66119 /^X\/\(\/\/\)$/{
66120 s//\1/
66123 /^X\/\(\/\).*/{
66124 s//\1/
66127 s/.*/./; q'`
66129 # Avoid depending upon Character Ranges.
66130 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
66131 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
66132 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
66133 as_cr_digits='0123456789'
66134 as_cr_alnum=$as_cr_Letters$as_cr_digits
66136 ECHO_C= ECHO_N= ECHO_T=
66137 case `echo -n x` in #(((((
66138 -n*)
66139 case `echo 'xy\c'` in
66140 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
66141 xy) ECHO_C='\c';;
66142 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
66143 ECHO_T=' ';;
66144 esac;;
66146 ECHO_N='-n';;
66147 esac
66149 rm -f conf$$ conf$$.exe conf$$.file
66150 if test -d conf$$.dir; then
66151 rm -f conf$$.dir/conf$$.file
66152 else
66153 rm -f conf$$.dir
66154 mkdir conf$$.dir 2>/dev/null
66156 if (echo >conf$$.file) 2>/dev/null; then
66157 if ln -s conf$$.file conf$$ 2>/dev/null; then
66158 as_ln_s='ln -s'
66159 # ... but there are two gotchas:
66160 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
66161 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
66162 # In both cases, we have to default to `cp -p'.
66163 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
66164 as_ln_s='cp -p'
66165 elif ln conf$$.file conf$$ 2>/dev/null; then
66166 as_ln_s=ln
66167 else
66168 as_ln_s='cp -p'
66170 else
66171 as_ln_s='cp -p'
66173 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
66174 rmdir conf$$.dir 2>/dev/null
66177 # as_fn_mkdir_p
66178 # -------------
66179 # Create "$as_dir" as a directory, including parents if necessary.
66180 as_fn_mkdir_p ()
66183 case $as_dir in #(
66184 -*) as_dir=./$as_dir;;
66185 esac
66186 test -d "$as_dir" || eval $as_mkdir_p || {
66187 as_dirs=
66188 while :; do
66189 case $as_dir in #(
66190 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
66191 *) as_qdir=$as_dir;;
66192 esac
66193 as_dirs="'$as_qdir' $as_dirs"
66194 as_dir=`$as_dirname -- "$as_dir" ||
66195 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
66196 X"$as_dir" : 'X\(//\)[^/]' \| \
66197 X"$as_dir" : 'X\(//\)$' \| \
66198 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
66199 $as_echo X"$as_dir" |
66200 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
66201 s//\1/
66204 /^X\(\/\/\)[^/].*/{
66205 s//\1/
66208 /^X\(\/\/\)$/{
66209 s//\1/
66212 /^X\(\/\).*/{
66213 s//\1/
66216 s/.*/./; q'`
66217 test -d "$as_dir" && break
66218 done
66219 test -z "$as_dirs" || eval "mkdir $as_dirs"
66220 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
66223 } # as_fn_mkdir_p
66224 if mkdir -p . 2>/dev/null; then
66225 as_mkdir_p='mkdir -p "$as_dir"'
66226 else
66227 test -d ./-p && rmdir ./-p
66228 as_mkdir_p=false
66231 if test -x / >/dev/null 2>&1; then
66232 as_test_x='test -x'
66233 else
66234 if ls -dL / >/dev/null 2>&1; then
66235 as_ls_L_option=L
66236 else
66237 as_ls_L_option=
66239 as_test_x='
66240 eval sh -c '\''
66241 if test -d "$1"; then
66242 test -d "$1/.";
66243 else
66244 case $1 in #(
66245 -*)set "./$1";;
66246 esac;
66247 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
66248 ???[sx]*):;;*)false;;esac;fi
66249 '\'' sh
66252 as_executable_p=$as_test_x
66254 # Sed expression to map a string onto a valid CPP name.
66255 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
66257 # Sed expression to map a string onto a valid variable name.
66258 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
66261 exec 6>&1
66262 ## ----------------------------------- ##
66263 ## Main body of $CONFIG_STATUS script. ##
66264 ## ----------------------------------- ##
66265 _ASEOF
66266 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
66268 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66269 # Save the log message, to keep $0 and so on meaningful, and to
66270 # report actual input values of CONFIG_FILES etc. instead of their
66271 # values after options handling.
66272 ac_log="
66273 This file was extended by package-unused $as_me version-unused, which was
66274 generated by GNU Autoconf 2.64. Invocation command line was
66276 CONFIG_FILES = $CONFIG_FILES
66277 CONFIG_HEADERS = $CONFIG_HEADERS
66278 CONFIG_LINKS = $CONFIG_LINKS
66279 CONFIG_COMMANDS = $CONFIG_COMMANDS
66280 $ $0 $@
66282 on `(hostname || uname -n) 2>/dev/null | sed 1q`
66285 _ACEOF
66287 case $ac_config_files in *"
66288 "*) set x $ac_config_files; shift; ac_config_files=$*;;
66289 esac
66291 case $ac_config_headers in *"
66292 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
66293 esac
66296 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66297 # Files that config.status was made for.
66298 config_files="$ac_config_files"
66299 config_headers="$ac_config_headers"
66300 config_commands="$ac_config_commands"
66302 _ACEOF
66304 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66305 ac_cs_usage="\
66306 \`$as_me' instantiates files and other configuration actions
66307 from templates according to the current configuration. Unless the files
66308 and actions are specified as TAGs, all are instantiated by default.
66310 Usage: $0 [OPTION]... [TAG]...
66312 -h, --help print this help, then exit
66313 -V, --version print version number and configuration settings, then exit
66314 -q, --quiet, --silent
66315 do not print progress messages
66316 -d, --debug don't remove temporary files
66317 --recheck update $as_me by reconfiguring in the same conditions
66318 --file=FILE[:TEMPLATE]
66319 instantiate the configuration file FILE
66320 --header=FILE[:TEMPLATE]
66321 instantiate the configuration header FILE
66323 Configuration files:
66324 $config_files
66326 Configuration headers:
66327 $config_headers
66329 Configuration commands:
66330 $config_commands
66332 Report bugs to the package provider."
66334 _ACEOF
66335 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66336 ac_cs_version="\\
66337 package-unused config.status version-unused
66338 configured by $0, generated by GNU Autoconf 2.64,
66339 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
66341 Copyright (C) 2009 Free Software Foundation, Inc.
66342 This config.status script is free software; the Free Software Foundation
66343 gives unlimited permission to copy, distribute and modify it."
66345 ac_pwd='$ac_pwd'
66346 srcdir='$srcdir'
66347 INSTALL='$INSTALL'
66348 MKDIR_P='$MKDIR_P'
66349 AWK='$AWK'
66350 test -n "\$AWK" || AWK=awk
66351 _ACEOF
66353 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66354 # The default lists apply if the user does not specify any file.
66355 ac_need_defaults=:
66356 while test $# != 0
66358 case $1 in
66359 --*=*)
66360 ac_option=`expr "X$1" : 'X\([^=]*\)='`
66361 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
66362 ac_shift=:
66365 ac_option=$1
66366 ac_optarg=$2
66367 ac_shift=shift
66369 esac
66371 case $ac_option in
66372 # Handling of the options.
66373 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
66374 ac_cs_recheck=: ;;
66375 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
66376 $as_echo "$ac_cs_version"; exit ;;
66377 --debug | --debu | --deb | --de | --d | -d )
66378 debug=: ;;
66379 --file | --fil | --fi | --f )
66380 $ac_shift
66381 case $ac_optarg in
66382 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
66383 esac
66384 as_fn_append CONFIG_FILES " '$ac_optarg'"
66385 ac_need_defaults=false;;
66386 --header | --heade | --head | --hea )
66387 $ac_shift
66388 case $ac_optarg in
66389 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
66390 esac
66391 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
66392 ac_need_defaults=false;;
66393 --he | --h)
66394 # Conflict between --help and --header
66395 as_fn_error "ambiguous option: \`$1'
66396 Try \`$0 --help' for more information.";;
66397 --help | --hel | -h )
66398 $as_echo "$ac_cs_usage"; exit ;;
66399 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
66400 | -silent | --silent | --silen | --sile | --sil | --si | --s)
66401 ac_cs_silent=: ;;
66403 # This is an error.
66404 -*) as_fn_error "unrecognized option: \`$1'
66405 Try \`$0 --help' for more information." ;;
66407 *) as_fn_append ac_config_targets " $1"
66408 ac_need_defaults=false ;;
66410 esac
66411 shift
66412 done
66414 ac_configure_extra_args=
66416 if $ac_cs_silent; then
66417 exec 6>/dev/null
66418 ac_configure_extra_args="$ac_configure_extra_args --silent"
66421 _ACEOF
66422 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66423 if \$ac_cs_recheck; then
66424 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
66425 shift
66426 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
66427 CONFIG_SHELL='$SHELL'
66428 export CONFIG_SHELL
66429 exec "\$@"
66432 _ACEOF
66433 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66434 exec 5>>config.log
66436 echo
66437 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
66438 ## Running $as_me. ##
66439 _ASBOX
66440 $as_echo "$ac_log"
66441 } >&5
66443 _ACEOF
66444 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66446 # INIT-COMMANDS
66449 srcdir="$srcdir"
66450 host="$host"
66451 target="$target"
66452 with_multisubdir="$with_multisubdir"
66453 with_multisrctop="$with_multisrctop"
66454 with_target_subdir="$with_target_subdir"
66455 ac_configure_args="${multilib_arg} ${ac_configure_args}"
66456 multi_basedir="$multi_basedir"
66457 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
66458 CC="$CC"
66459 CXX="$CXX"
66460 GFORTRAN="$GFORTRAN"
66461 GCJ="$GCJ"
66464 # The HP-UX ksh and POSIX shell print the target directory to stdout
66465 # if CDPATH is set.
66466 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
66468 sed_quote_subst='$sed_quote_subst'
66469 double_quote_subst='$double_quote_subst'
66470 delay_variable_subst='$delay_variable_subst'
66471 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
66472 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
66473 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
66474 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
66475 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
66476 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
66477 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
66478 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
66479 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
66480 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
66481 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
66482 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
66483 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
66484 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
66485 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
66486 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
66487 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
66488 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
66489 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
66490 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
66491 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
66492 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
66493 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
66494 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
66495 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
66496 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
66497 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
66498 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
66499 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
66500 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
66501 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
66502 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
66503 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
66504 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
66505 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
66506 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
66507 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
66508 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
66509 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
66510 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
66511 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
66512 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
66513 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
66514 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
66515 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
66516 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
66517 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
66518 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
66519 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"`'
66520 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
66521 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
66522 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
66523 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
66524 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
66525 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
66526 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
66527 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
66528 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
66529 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
66530 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
66531 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
66532 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
66533 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
66534 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
66535 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
66536 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
66537 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
66538 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
66539 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
66540 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
66541 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
66542 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
66543 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
66544 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
66545 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
66546 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
66547 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
66548 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
66549 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
66550 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
66551 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
66552 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
66553 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
66554 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
66555 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
66556 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
66557 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
66558 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
66559 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
66560 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
66561 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
66562 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
66563 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
66564 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
66565 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
66566 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
66567 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
66568 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
66569 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
66570 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
66571 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
66572 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
66573 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
66574 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
66575 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
66576 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
66577 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
66578 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
66579 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
66580 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
66581 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
66582 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
66583 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
66584 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
66585 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
66586 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
66587 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
66588 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
66589 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
66590 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
66591 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
66592 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
66593 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
66594 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
66595 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
66596 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
66597 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
66598 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
66599 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66600 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66601 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
66602 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
66603 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
66604 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
66605 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
66606 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
66607 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
66608 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
66609 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
66610 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
66611 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
66612 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
66613 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66614 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66615 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66616 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66617 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66618 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66619 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
66620 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
66621 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
66622 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
66623 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
66624 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
66625 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
66626 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
66627 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
66628 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
66629 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
66630 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
66631 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
66632 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
66633 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
66634 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66635 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
66636 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
66637 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
66638 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
66639 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
66640 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
66641 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
66642 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
66643 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
66644 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
66645 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
66647 LTCC='$LTCC'
66648 LTCFLAGS='$LTCFLAGS'
66649 compiler='$compiler_DEFAULT'
66651 # A function that is used when there is no print builtin or printf.
66652 func_fallback_echo ()
66654 eval 'cat <<_LTECHO_EOF
66656 _LTECHO_EOF'
66659 # Quote evaled strings.
66660 for var in SHELL \
66661 ECHO \
66662 SED \
66663 GREP \
66664 EGREP \
66665 FGREP \
66666 LD \
66667 NM \
66668 LN_S \
66669 lt_SP2NL \
66670 lt_NL2SP \
66671 reload_flag \
66672 OBJDUMP \
66673 deplibs_check_method \
66674 file_magic_cmd \
66675 AR \
66676 AR_FLAGS \
66677 STRIP \
66678 RANLIB \
66679 CC \
66680 CFLAGS \
66681 compiler \
66682 lt_cv_sys_global_symbol_pipe \
66683 lt_cv_sys_global_symbol_to_cdecl \
66684 lt_cv_sys_global_symbol_to_c_name_address \
66685 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
66686 lt_prog_compiler_no_builtin_flag \
66687 lt_prog_compiler_wl \
66688 lt_prog_compiler_pic \
66689 lt_prog_compiler_static \
66690 lt_cv_prog_compiler_c_o \
66691 need_locks \
66692 DSYMUTIL \
66693 NMEDIT \
66694 LIPO \
66695 OTOOL \
66696 OTOOL64 \
66697 shrext_cmds \
66698 export_dynamic_flag_spec \
66699 whole_archive_flag_spec \
66700 compiler_needs_object \
66701 with_gnu_ld \
66702 allow_undefined_flag \
66703 no_undefined_flag \
66704 hardcode_libdir_flag_spec \
66705 hardcode_libdir_flag_spec_ld \
66706 hardcode_libdir_separator \
66707 fix_srcfile_path \
66708 exclude_expsyms \
66709 include_expsyms \
66710 file_list_spec \
66711 variables_saved_for_relink \
66712 libname_spec \
66713 library_names_spec \
66714 soname_spec \
66715 install_override_mode \
66716 finish_eval \
66717 old_striplib \
66718 striplib \
66719 compiler_lib_search_dirs \
66720 predep_objects \
66721 postdep_objects \
66722 predeps \
66723 postdeps \
66724 compiler_lib_search_path \
66725 LD_CXX \
66726 reload_flag_CXX \
66727 compiler_CXX \
66728 lt_prog_compiler_no_builtin_flag_CXX \
66729 lt_prog_compiler_wl_CXX \
66730 lt_prog_compiler_pic_CXX \
66731 lt_prog_compiler_static_CXX \
66732 lt_cv_prog_compiler_c_o_CXX \
66733 export_dynamic_flag_spec_CXX \
66734 whole_archive_flag_spec_CXX \
66735 compiler_needs_object_CXX \
66736 with_gnu_ld_CXX \
66737 allow_undefined_flag_CXX \
66738 no_undefined_flag_CXX \
66739 hardcode_libdir_flag_spec_CXX \
66740 hardcode_libdir_flag_spec_ld_CXX \
66741 hardcode_libdir_separator_CXX \
66742 fix_srcfile_path_CXX \
66743 exclude_expsyms_CXX \
66744 include_expsyms_CXX \
66745 file_list_spec_CXX \
66746 compiler_lib_search_dirs_CXX \
66747 predep_objects_CXX \
66748 postdep_objects_CXX \
66749 predeps_CXX \
66750 postdeps_CXX \
66751 compiler_lib_search_path_CXX; do
66752 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
66753 *[\\\\\\\`\\"\\\$]*)
66754 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
66757 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
66759 esac
66760 done
66762 # Double-quote double-evaled strings.
66763 for var in reload_cmds \
66764 old_postinstall_cmds \
66765 old_postuninstall_cmds \
66766 old_archive_cmds \
66767 extract_expsyms_cmds \
66768 old_archive_from_new_cmds \
66769 old_archive_from_expsyms_cmds \
66770 archive_cmds \
66771 archive_expsym_cmds \
66772 module_cmds \
66773 module_expsym_cmds \
66774 export_symbols_cmds \
66775 prelink_cmds \
66776 postinstall_cmds \
66777 postuninstall_cmds \
66778 finish_cmds \
66779 sys_lib_search_path_spec \
66780 sys_lib_dlsearch_path_spec \
66781 reload_cmds_CXX \
66782 old_archive_cmds_CXX \
66783 old_archive_from_new_cmds_CXX \
66784 old_archive_from_expsyms_cmds_CXX \
66785 archive_cmds_CXX \
66786 archive_expsym_cmds_CXX \
66787 module_cmds_CXX \
66788 module_expsym_cmds_CXX \
66789 export_symbols_cmds_CXX \
66790 prelink_cmds_CXX; do
66791 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
66792 *[\\\\\\\`\\"\\\$]*)
66793 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
66796 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
66798 esac
66799 done
66801 ac_aux_dir='$ac_aux_dir'
66802 xsi_shell='$xsi_shell'
66803 lt_shell_append='$lt_shell_append'
66805 # See if we are running on zsh, and set the options which allow our
66806 # commands through without removal of \ escapes INIT.
66807 if test -n "\${ZSH_VERSION+set}" ; then
66808 setopt NO_GLOB_SUBST
66812 PACKAGE='$PACKAGE'
66813 VERSION='$VERSION'
66814 TIMESTAMP='$TIMESTAMP'
66815 RM='$RM'
66816 ofile='$ofile'
66823 GCC="$GCC"
66824 CC="$CC"
66825 acx_cv_header_stdint="$acx_cv_header_stdint"
66826 acx_cv_type_int8_t="$acx_cv_type_int8_t"
66827 acx_cv_type_int16_t="$acx_cv_type_int16_t"
66828 acx_cv_type_int32_t="$acx_cv_type_int32_t"
66829 acx_cv_type_int64_t="$acx_cv_type_int64_t"
66830 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
66831 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
66832 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
66833 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
66834 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
66835 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
66836 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
66837 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
66838 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
66841 _ACEOF
66843 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66845 # Handling of arguments.
66846 for ac_config_target in $ac_config_targets
66848 case $ac_config_target in
66849 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
66850 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
66851 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
66852 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
66853 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
66854 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
66855 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
66856 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
66857 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
66858 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
66859 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
66860 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
66861 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
66862 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
66863 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
66865 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
66866 esac
66867 done
66870 # If the user did not use the arguments to specify the items to instantiate,
66871 # then the envvar interface is used. Set only those that are not.
66872 # We use the long form for the default assignment because of an extremely
66873 # bizarre bug on SunOS 4.1.3.
66874 if $ac_need_defaults; then
66875 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
66876 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
66877 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
66880 # Have a temporary directory for convenience. Make it in the build tree
66881 # simply because there is no reason against having it here, and in addition,
66882 # creating and moving files from /tmp can sometimes cause problems.
66883 # Hook for its removal unless debugging.
66884 # Note that there is a small window in which the directory will not be cleaned:
66885 # after its creation but before its name has been assigned to `$tmp'.
66886 $debug ||
66888 tmp=
66889 trap 'exit_status=$?
66890 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
66892 trap 'as_fn_exit 1' 1 2 13 15
66894 # Create a (secure) tmp directory for tmp files.
66897 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
66898 test -n "$tmp" && test -d "$tmp"
66899 } ||
66901 tmp=./conf$$-$RANDOM
66902 (umask 077 && mkdir "$tmp")
66903 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
66905 # Set up the scripts for CONFIG_FILES section.
66906 # No need to generate them if there are no CONFIG_FILES.
66907 # This happens for instance with `./config.status config.h'.
66908 if test -n "$CONFIG_FILES"; then
66911 ac_cr=`echo X | tr X '\015'`
66912 # On cygwin, bash can eat \r inside `` if the user requested igncr.
66913 # But we know of no other shell where ac_cr would be empty at this
66914 # point, so we can use a bashism as a fallback.
66915 if test "x$ac_cr" = x; then
66916 eval ac_cr=\$\'\\r\'
66918 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
66919 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
66920 ac_cs_awk_cr='\r'
66921 else
66922 ac_cs_awk_cr=$ac_cr
66925 echo 'BEGIN {' >"$tmp/subs1.awk" &&
66926 _ACEOF
66930 echo "cat >conf$$subs.awk <<_ACEOF" &&
66931 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
66932 echo "_ACEOF"
66933 } >conf$$subs.sh ||
66934 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
66935 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
66936 ac_delim='%!_!# '
66937 for ac_last_try in false false false false false :; do
66938 . ./conf$$subs.sh ||
66939 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
66941 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
66942 if test $ac_delim_n = $ac_delim_num; then
66943 break
66944 elif $ac_last_try; then
66945 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
66946 else
66947 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
66949 done
66950 rm -f conf$$subs.sh
66952 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66953 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
66954 _ACEOF
66955 sed -n '
66957 s/^/S["/; s/!.*/"]=/
66960 s/^[^!]*!//
66961 :repl
66962 t repl
66963 s/'"$ac_delim"'$//
66964 t delim
66967 s/\(.\{148\}\).*/\1/
66968 t more1
66969 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
66972 b repl
66973 :more1
66974 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
66977 s/.\{148\}//
66978 t nl
66979 :delim
66981 s/\(.\{148\}\).*/\1/
66982 t more2
66983 s/["\\]/\\&/g; s/^/"/; s/$/"/
66986 :more2
66987 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
66990 s/.\{148\}//
66991 t delim
66992 ' <conf$$subs.awk | sed '
66993 /^[^""]/{
66995 s/\n//
66997 ' >>$CONFIG_STATUS || ac_write_fail=1
66998 rm -f conf$$subs.awk
66999 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67000 _ACAWK
67001 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
67002 for (key in S) S_is_set[key] = 1
67003 FS = "\a"
67007 line = $ 0
67008 nfields = split(line, field, "@")
67009 substed = 0
67010 len = length(field[1])
67011 for (i = 2; i < nfields; i++) {
67012 key = field[i]
67013 keylen = length(key)
67014 if (S_is_set[key]) {
67015 value = S[key]
67016 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
67017 len += length(value) + length(field[++i])
67018 substed = 1
67019 } else
67020 len += 1 + keylen
67023 print line
67026 _ACAWK
67027 _ACEOF
67028 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67029 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
67030 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
67031 else
67033 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
67034 || as_fn_error "could not setup config files machinery" "$LINENO" 5
67035 _ACEOF
67037 # VPATH may cause trouble with some makes, so we remove $(srcdir),
67038 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
67039 # trailing colons and then remove the whole line if VPATH becomes empty
67040 # (actually we leave an empty line to preserve line numbers).
67041 if test "x$srcdir" = x.; then
67042 ac_vpsub='/^[ ]*VPATH[ ]*=/{
67043 s/:*\$(srcdir):*/:/
67044 s/:*\${srcdir}:*/:/
67045 s/:*@srcdir@:*/:/
67046 s/^\([^=]*=[ ]*\):*/\1/
67047 s/:*$//
67048 s/^[^=]*=[ ]*$//
67052 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67053 fi # test -n "$CONFIG_FILES"
67055 # Set up the scripts for CONFIG_HEADERS section.
67056 # No need to generate them if there are no CONFIG_HEADERS.
67057 # This happens for instance with `./config.status Makefile'.
67058 if test -n "$CONFIG_HEADERS"; then
67059 cat >"$tmp/defines.awk" <<\_ACAWK ||
67060 BEGIN {
67061 _ACEOF
67063 # Transform confdefs.h into an awk script `defines.awk', embedded as
67064 # here-document in config.status, that substitutes the proper values into
67065 # config.h.in to produce config.h.
67067 # Create a delimiter string that does not exist in confdefs.h, to ease
67068 # handling of long lines.
67069 ac_delim='%!_!# '
67070 for ac_last_try in false false :; do
67071 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
67072 if test -z "$ac_t"; then
67073 break
67074 elif $ac_last_try; then
67075 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
67076 else
67077 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67079 done
67081 # For the awk script, D is an array of macro values keyed by name,
67082 # likewise P contains macro parameters if any. Preserve backslash
67083 # newline sequences.
67085 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
67086 sed -n '
67087 s/.\{148\}/&'"$ac_delim"'/g
67088 t rset
67089 :rset
67090 s/^[ ]*#[ ]*define[ ][ ]*/ /
67091 t def
67093 :def
67094 s/\\$//
67095 t bsnl
67096 s/["\\]/\\&/g
67097 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
67098 D["\1"]=" \3"/p
67099 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
67101 :bsnl
67102 s/["\\]/\\&/g
67103 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
67104 D["\1"]=" \3\\\\\\n"\\/p
67105 t cont
67106 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
67107 t cont
67109 :cont
67111 s/.\{148\}/&'"$ac_delim"'/g
67112 t clear
67113 :clear
67114 s/\\$//
67115 t bsnlc
67116 s/["\\]/\\&/g; s/^/"/; s/$/"/p
67118 :bsnlc
67119 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
67120 b cont
67121 ' <confdefs.h | sed '
67122 s/'"$ac_delim"'/"\\\
67123 "/g' >>$CONFIG_STATUS || ac_write_fail=1
67125 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67126 for (key in D) D_is_set[key] = 1
67127 FS = "\a"
67129 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
67130 line = \$ 0
67131 split(line, arg, " ")
67132 if (arg[1] == "#") {
67133 defundef = arg[2]
67134 mac1 = arg[3]
67135 } else {
67136 defundef = substr(arg[1], 2)
67137 mac1 = arg[2]
67139 split(mac1, mac2, "(") #)
67140 macro = mac2[1]
67141 prefix = substr(line, 1, index(line, defundef) - 1)
67142 if (D_is_set[macro]) {
67143 # Preserve the white space surrounding the "#".
67144 print prefix "define", macro P[macro] D[macro]
67145 next
67146 } else {
67147 # Replace #undef with comments. This is necessary, for example,
67148 # in the case of _POSIX_SOURCE, which is predefined and required
67149 # on some systems where configure will not decide to define it.
67150 if (defundef == "undef") {
67151 print "/*", prefix defundef, macro, "*/"
67152 next
67156 { print }
67157 _ACAWK
67158 _ACEOF
67159 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67160 as_fn_error "could not setup config headers machinery" "$LINENO" 5
67161 fi # test -n "$CONFIG_HEADERS"
67164 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
67165 shift
67166 for ac_tag
67168 case $ac_tag in
67169 :[FHLC]) ac_mode=$ac_tag; continue;;
67170 esac
67171 case $ac_mode$ac_tag in
67172 :[FHL]*:*);;
67173 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
67174 :[FH]-) ac_tag=-:-;;
67175 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
67176 esac
67177 ac_save_IFS=$IFS
67178 IFS=:
67179 set x $ac_tag
67180 IFS=$ac_save_IFS
67181 shift
67182 ac_file=$1
67183 shift
67185 case $ac_mode in
67186 :L) ac_source=$1;;
67187 :[FH])
67188 ac_file_inputs=
67189 for ac_f
67191 case $ac_f in
67192 -) ac_f="$tmp/stdin";;
67193 *) # Look for the file first in the build tree, then in the source tree
67194 # (if the path is not absolute). The absolute path cannot be DOS-style,
67195 # because $ac_f cannot contain `:'.
67196 test -f "$ac_f" ||
67197 case $ac_f in
67198 [\\/$]*) false;;
67199 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
67200 esac ||
67201 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
67202 esac
67203 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
67204 as_fn_append ac_file_inputs " '$ac_f'"
67205 done
67207 # Let's still pretend it is `configure' which instantiates (i.e., don't
67208 # use $as_me), people would be surprised to read:
67209 # /* config.h. Generated by config.status. */
67210 configure_input='Generated from '`
67211 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
67212 `' by configure.'
67213 if test x"$ac_file" != x-; then
67214 configure_input="$ac_file. $configure_input"
67215 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
67216 $as_echo "$as_me: creating $ac_file" >&6;}
67218 # Neutralize special characters interpreted by sed in replacement strings.
67219 case $configure_input in #(
67220 *\&* | *\|* | *\\* )
67221 ac_sed_conf_input=`$as_echo "$configure_input" |
67222 sed 's/[\\\\&|]/\\\\&/g'`;; #(
67223 *) ac_sed_conf_input=$configure_input;;
67224 esac
67226 case $ac_tag in
67227 *:-:* | *:-) cat >"$tmp/stdin" \
67228 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
67229 esac
67231 esac
67233 ac_dir=`$as_dirname -- "$ac_file" ||
67234 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67235 X"$ac_file" : 'X\(//\)[^/]' \| \
67236 X"$ac_file" : 'X\(//\)$' \| \
67237 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
67238 $as_echo X"$ac_file" |
67239 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67240 s//\1/
67243 /^X\(\/\/\)[^/].*/{
67244 s//\1/
67247 /^X\(\/\/\)$/{
67248 s//\1/
67251 /^X\(\/\).*/{
67252 s//\1/
67255 s/.*/./; q'`
67256 as_dir="$ac_dir"; as_fn_mkdir_p
67257 ac_builddir=.
67259 case "$ac_dir" in
67260 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
67262 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
67263 # A ".." for each directory in $ac_dir_suffix.
67264 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
67265 case $ac_top_builddir_sub in
67266 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
67267 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
67268 esac ;;
67269 esac
67270 ac_abs_top_builddir=$ac_pwd
67271 ac_abs_builddir=$ac_pwd$ac_dir_suffix
67272 # for backward compatibility:
67273 ac_top_builddir=$ac_top_build_prefix
67275 case $srcdir in
67276 .) # We are building in place.
67277 ac_srcdir=.
67278 ac_top_srcdir=$ac_top_builddir_sub
67279 ac_abs_top_srcdir=$ac_pwd ;;
67280 [\\/]* | ?:[\\/]* ) # Absolute name.
67281 ac_srcdir=$srcdir$ac_dir_suffix;
67282 ac_top_srcdir=$srcdir
67283 ac_abs_top_srcdir=$srcdir ;;
67284 *) # Relative name.
67285 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
67286 ac_top_srcdir=$ac_top_build_prefix$srcdir
67287 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
67288 esac
67289 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
67292 case $ac_mode in
67295 # CONFIG_FILE
67298 case $INSTALL in
67299 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
67300 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
67301 esac
67302 ac_MKDIR_P=$MKDIR_P
67303 case $MKDIR_P in
67304 [\\/$]* | ?:[\\/]* ) ;;
67305 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
67306 esac
67307 _ACEOF
67309 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67310 # If the template does not know about datarootdir, expand it.
67311 # FIXME: This hack should be removed a few years after 2.60.
67312 ac_datarootdir_hack=; ac_datarootdir_seen=
67313 ac_sed_dataroot='
67314 /datarootdir/ {
67318 /@datadir@/p
67319 /@docdir@/p
67320 /@infodir@/p
67321 /@localedir@/p
67322 /@mandir@/p'
67323 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
67324 *datarootdir*) ac_datarootdir_seen=yes;;
67325 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
67326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
67327 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
67328 _ACEOF
67329 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67330 ac_datarootdir_hack='
67331 s&@datadir@&$datadir&g
67332 s&@docdir@&$docdir&g
67333 s&@infodir@&$infodir&g
67334 s&@localedir@&$localedir&g
67335 s&@mandir@&$mandir&g
67336 s&\\\${datarootdir}&$datarootdir&g' ;;
67337 esac
67338 _ACEOF
67340 # Neutralize VPATH when `$srcdir' = `.'.
67341 # Shell code in configure.ac might set extrasub.
67342 # FIXME: do we really want to maintain this feature?
67343 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67344 ac_sed_extra="$ac_vpsub
67345 $extrasub
67346 _ACEOF
67347 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67349 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
67350 s|@configure_input@|$ac_sed_conf_input|;t t
67351 s&@top_builddir@&$ac_top_builddir_sub&;t t
67352 s&@top_build_prefix@&$ac_top_build_prefix&;t t
67353 s&@srcdir@&$ac_srcdir&;t t
67354 s&@abs_srcdir@&$ac_abs_srcdir&;t t
67355 s&@top_srcdir@&$ac_top_srcdir&;t t
67356 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
67357 s&@builddir@&$ac_builddir&;t t
67358 s&@abs_builddir@&$ac_abs_builddir&;t t
67359 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
67360 s&@INSTALL@&$ac_INSTALL&;t t
67361 s&@MKDIR_P@&$ac_MKDIR_P&;t t
67362 $ac_datarootdir_hack
67364 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
67365 || as_fn_error "could not create $ac_file" "$LINENO" 5
67367 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
67368 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
67369 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
67370 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
67371 which seems to be undefined. Please make sure it is defined." >&5
67372 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
67373 which seems to be undefined. Please make sure it is defined." >&2;}
67375 rm -f "$tmp/stdin"
67376 case $ac_file in
67377 -) cat "$tmp/out" && rm -f "$tmp/out";;
67378 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
67379 esac \
67380 || as_fn_error "could not create $ac_file" "$LINENO" 5
67384 # CONFIG_HEADER
67386 if test x"$ac_file" != x-; then
67388 $as_echo "/* $configure_input */" \
67389 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
67390 } >"$tmp/config.h" \
67391 || as_fn_error "could not create $ac_file" "$LINENO" 5
67392 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
67393 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
67394 $as_echo "$as_me: $ac_file is unchanged" >&6;}
67395 else
67396 rm -f "$ac_file"
67397 mv "$tmp/config.h" "$ac_file" \
67398 || as_fn_error "could not create $ac_file" "$LINENO" 5
67400 else
67401 $as_echo "/* $configure_input */" \
67402 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
67403 || as_fn_error "could not create -" "$LINENO" 5
67405 # Compute "$ac_file"'s index in $config_headers.
67406 _am_arg="$ac_file"
67407 _am_stamp_count=1
67408 for _am_header in $config_headers :; do
67409 case $_am_header in
67410 $_am_arg | $_am_arg:* )
67411 break ;;
67413 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
67414 esac
67415 done
67416 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
67417 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67418 X"$_am_arg" : 'X\(//\)[^/]' \| \
67419 X"$_am_arg" : 'X\(//\)$' \| \
67420 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
67421 $as_echo X"$_am_arg" |
67422 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67423 s//\1/
67426 /^X\(\/\/\)[^/].*/{
67427 s//\1/
67430 /^X\(\/\/\)$/{
67431 s//\1/
67434 /^X\(\/\).*/{
67435 s//\1/
67438 s/.*/./; q'`/stamp-h$_am_stamp_count
67441 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
67442 $as_echo "$as_me: executing $ac_file commands" >&6;}
67444 esac
67447 case $ac_file$ac_mode in
67448 "default-1":C)
67449 # Only add multilib support code if we just rebuilt the top-level
67450 # Makefile.
67451 case " $CONFIG_FILES " in
67452 *" Makefile "*)
67453 ac_file=Makefile . ${multi_basedir}/config-ml.in
67455 esac ;;
67456 "libtool":C)
67458 # See if we are running on zsh, and set the options which allow our
67459 # commands through without removal of \ escapes.
67460 if test -n "${ZSH_VERSION+set}" ; then
67461 setopt NO_GLOB_SUBST
67464 cfgfile="${ofile}T"
67465 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
67466 $RM "$cfgfile"
67468 cat <<_LT_EOF >> "$cfgfile"
67469 #! $SHELL
67471 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
67472 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
67473 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
67474 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
67476 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
67477 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
67478 # Written by Gordon Matzigkeit, 1996
67480 # This file is part of GNU Libtool.
67482 # GNU Libtool is free software; you can redistribute it and/or
67483 # modify it under the terms of the GNU General Public License as
67484 # published by the Free Software Foundation; either version 2 of
67485 # the License, or (at your option) any later version.
67487 # As a special exception to the GNU General Public License,
67488 # if you distribute this file as part of a program or library that
67489 # is built using GNU Libtool, you may include this file under the
67490 # same distribution terms that you use for the rest of that program.
67492 # GNU Libtool is distributed in the hope that it will be useful,
67493 # but WITHOUT ANY WARRANTY; without even the implied warranty of
67494 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
67495 # GNU General Public License for more details.
67497 # You should have received a copy of the GNU General Public License
67498 # along with GNU Libtool; see the file COPYING. If not, a copy
67499 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
67500 # obtained by writing to the Free Software Foundation, Inc.,
67501 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
67504 # The names of the tagged configurations supported by this script.
67505 available_tags="CXX "
67507 # ### BEGIN LIBTOOL CONFIG
67509 # Which release of libtool.m4 was used?
67510 macro_version=$macro_version
67511 macro_revision=$macro_revision
67513 # Whether or not to build shared libraries.
67514 build_libtool_libs=$enable_shared
67516 # Whether or not to build static libraries.
67517 build_old_libs=$enable_static
67519 # What type of objects to build.
67520 pic_mode=$pic_mode
67522 # Whether or not to optimize for fast installation.
67523 fast_install=$enable_fast_install
67525 # Shell to use when invoking shell scripts.
67526 SHELL=$lt_SHELL
67528 # An echo program that protects backslashes.
67529 ECHO=$lt_ECHO
67531 # The host system.
67532 host_alias=$host_alias
67533 host=$host
67534 host_os=$host_os
67536 # The build system.
67537 build_alias=$build_alias
67538 build=$build
67539 build_os=$build_os
67541 # A sed program that does not truncate output.
67542 SED=$lt_SED
67544 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
67545 Xsed="\$SED -e 1s/^X//"
67547 # A grep program that handles long lines.
67548 GREP=$lt_GREP
67550 # An ERE matcher.
67551 EGREP=$lt_EGREP
67553 # A literal string matcher.
67554 FGREP=$lt_FGREP
67556 # A BSD- or MS-compatible name lister.
67557 NM=$lt_NM
67559 # Whether we need soft or hard links.
67560 LN_S=$lt_LN_S
67562 # What is the maximum length of a command?
67563 max_cmd_len=$max_cmd_len
67565 # Object file suffix (normally "o").
67566 objext=$ac_objext
67568 # Executable file suffix (normally "").
67569 exeext=$exeext
67571 # whether the shell understands "unset".
67572 lt_unset=$lt_unset
67574 # turn spaces into newlines.
67575 SP2NL=$lt_lt_SP2NL
67577 # turn newlines into spaces.
67578 NL2SP=$lt_lt_NL2SP
67580 # An object symbol dumper.
67581 OBJDUMP=$lt_OBJDUMP
67583 # Method to check whether dependent libraries are shared objects.
67584 deplibs_check_method=$lt_deplibs_check_method
67586 # Command to use when deplibs_check_method == "file_magic".
67587 file_magic_cmd=$lt_file_magic_cmd
67589 # The archiver.
67590 AR=$lt_AR
67591 AR_FLAGS=$lt_AR_FLAGS
67593 # A symbol stripping program.
67594 STRIP=$lt_STRIP
67596 # Commands used to install an old-style archive.
67597 RANLIB=$lt_RANLIB
67598 old_postinstall_cmds=$lt_old_postinstall_cmds
67599 old_postuninstall_cmds=$lt_old_postuninstall_cmds
67601 # Whether to use a lock for old archive extraction.
67602 lock_old_archive_extraction=$lock_old_archive_extraction
67604 # A C compiler.
67605 LTCC=$lt_CC
67607 # LTCC compiler flags.
67608 LTCFLAGS=$lt_CFLAGS
67610 # Take the output of nm and produce a listing of raw symbols and C names.
67611 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
67613 # Transform the output of nm in a proper C declaration.
67614 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
67616 # Transform the output of nm in a C name address pair.
67617 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
67619 # Transform the output of nm in a C name address pair when lib prefix is needed.
67620 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
67622 # The name of the directory that contains temporary libtool files.
67623 objdir=$objdir
67625 # Used to examine libraries when file_magic_cmd begins with "file".
67626 MAGIC_CMD=$MAGIC_CMD
67628 # Must we lock files when doing compilation?
67629 need_locks=$lt_need_locks
67631 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
67632 DSYMUTIL=$lt_DSYMUTIL
67634 # Tool to change global to local symbols on Mac OS X.
67635 NMEDIT=$lt_NMEDIT
67637 # Tool to manipulate fat objects and archives on Mac OS X.
67638 LIPO=$lt_LIPO
67640 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
67641 OTOOL=$lt_OTOOL
67643 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
67644 OTOOL64=$lt_OTOOL64
67646 # Old archive suffix (normally "a").
67647 libext=$libext
67649 # Shared library suffix (normally ".so").
67650 shrext_cmds=$lt_shrext_cmds
67652 # The commands to extract the exported symbol list from a shared archive.
67653 extract_expsyms_cmds=$lt_extract_expsyms_cmds
67655 # Variables whose values should be saved in libtool wrapper scripts and
67656 # restored at link time.
67657 variables_saved_for_relink=$lt_variables_saved_for_relink
67659 # Do we need the "lib" prefix for modules?
67660 need_lib_prefix=$need_lib_prefix
67662 # Do we need a version for libraries?
67663 need_version=$need_version
67665 # Library versioning type.
67666 version_type=$version_type
67668 # Shared library runtime path variable.
67669 runpath_var=$runpath_var
67671 # Shared library path variable.
67672 shlibpath_var=$shlibpath_var
67674 # Is shlibpath searched before the hard-coded library search path?
67675 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
67677 # Format of library name prefix.
67678 libname_spec=$lt_libname_spec
67680 # List of archive names. First name is the real one, the rest are links.
67681 # The last name is the one that the linker finds with -lNAME
67682 library_names_spec=$lt_library_names_spec
67684 # The coded name of the library, if different from the real name.
67685 soname_spec=$lt_soname_spec
67687 # Permission mode override for installation of shared libraries.
67688 install_override_mode=$lt_install_override_mode
67690 # Command to use after installation of a shared archive.
67691 postinstall_cmds=$lt_postinstall_cmds
67693 # Command to use after uninstallation of a shared archive.
67694 postuninstall_cmds=$lt_postuninstall_cmds
67696 # Commands used to finish a libtool library installation in a directory.
67697 finish_cmds=$lt_finish_cmds
67699 # As "finish_cmds", except a single script fragment to be evaled but
67700 # not shown.
67701 finish_eval=$lt_finish_eval
67703 # Whether we should hardcode library paths into libraries.
67704 hardcode_into_libs=$hardcode_into_libs
67706 # Compile-time system search path for libraries.
67707 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
67709 # Run-time system search path for libraries.
67710 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
67712 # Whether dlopen is supported.
67713 dlopen_support=$enable_dlopen
67715 # Whether dlopen of programs is supported.
67716 dlopen_self=$enable_dlopen_self
67718 # Whether dlopen of statically linked programs is supported.
67719 dlopen_self_static=$enable_dlopen_self_static
67721 # Commands to strip libraries.
67722 old_striplib=$lt_old_striplib
67723 striplib=$lt_striplib
67726 # The linker used to build libraries.
67727 LD=$lt_LD
67729 # How to create reloadable object files.
67730 reload_flag=$lt_reload_flag
67731 reload_cmds=$lt_reload_cmds
67733 # Commands used to build an old-style archive.
67734 old_archive_cmds=$lt_old_archive_cmds
67736 # A language specific compiler.
67737 CC=$lt_compiler
67739 # Is the compiler the GNU compiler?
67740 with_gcc=$GCC
67742 # Compiler flag to turn off builtin functions.
67743 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
67745 # How to pass a linker flag through the compiler.
67746 wl=$lt_lt_prog_compiler_wl
67748 # Additional compiler flags for building library objects.
67749 pic_flag=$lt_lt_prog_compiler_pic
67751 # Compiler flag to prevent dynamic linking.
67752 link_static_flag=$lt_lt_prog_compiler_static
67754 # Does compiler simultaneously support -c and -o options?
67755 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
67757 # Whether or not to add -lc for building shared libraries.
67758 build_libtool_need_lc=$archive_cmds_need_lc
67760 # Whether or not to disallow shared libs when runtime libs are static.
67761 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
67763 # Compiler flag to allow reflexive dlopens.
67764 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
67766 # Compiler flag to generate shared objects directly from archives.
67767 whole_archive_flag_spec=$lt_whole_archive_flag_spec
67769 # Whether the compiler copes with passing no objects directly.
67770 compiler_needs_object=$lt_compiler_needs_object
67772 # Create an old-style archive from a shared archive.
67773 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
67775 # Create a temporary old-style archive to link instead of a shared archive.
67776 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
67778 # Commands used to build a shared archive.
67779 archive_cmds=$lt_archive_cmds
67780 archive_expsym_cmds=$lt_archive_expsym_cmds
67782 # Commands used to build a loadable module if different from building
67783 # a shared archive.
67784 module_cmds=$lt_module_cmds
67785 module_expsym_cmds=$lt_module_expsym_cmds
67787 # Whether we are building with GNU ld or not.
67788 with_gnu_ld=$lt_with_gnu_ld
67790 # Flag that allows shared libraries with undefined symbols to be built.
67791 allow_undefined_flag=$lt_allow_undefined_flag
67793 # Flag that enforces no undefined symbols.
67794 no_undefined_flag=$lt_no_undefined_flag
67796 # Flag to hardcode \$libdir into a binary during linking.
67797 # This must work even if \$libdir does not exist
67798 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
67800 # If ld is used when linking, flag to hardcode \$libdir into a binary
67801 # during linking. This must work even if \$libdir does not exist.
67802 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
67804 # Whether we need a single "-rpath" flag with a separated argument.
67805 hardcode_libdir_separator=$lt_hardcode_libdir_separator
67807 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
67808 # DIR into the resulting binary.
67809 hardcode_direct=$hardcode_direct
67811 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
67812 # DIR into the resulting binary and the resulting library dependency is
67813 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
67814 # library is relocated.
67815 hardcode_direct_absolute=$hardcode_direct_absolute
67817 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
67818 # into the resulting binary.
67819 hardcode_minus_L=$hardcode_minus_L
67821 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
67822 # into the resulting binary.
67823 hardcode_shlibpath_var=$hardcode_shlibpath_var
67825 # Set to "yes" if building a shared library automatically hardcodes DIR
67826 # into the library and all subsequent libraries and executables linked
67827 # against it.
67828 hardcode_automatic=$hardcode_automatic
67830 # Set to yes if linker adds runtime paths of dependent libraries
67831 # to runtime path list.
67832 inherit_rpath=$inherit_rpath
67834 # Whether libtool must link a program against all its dependency libraries.
67835 link_all_deplibs=$link_all_deplibs
67837 # Fix the shell variable \$srcfile for the compiler.
67838 fix_srcfile_path=$lt_fix_srcfile_path
67840 # Set to "yes" if exported symbols are required.
67841 always_export_symbols=$always_export_symbols
67843 # The commands to list exported symbols.
67844 export_symbols_cmds=$lt_export_symbols_cmds
67846 # Symbols that should not be listed in the preloaded symbols.
67847 exclude_expsyms=$lt_exclude_expsyms
67849 # Symbols that must always be exported.
67850 include_expsyms=$lt_include_expsyms
67852 # Commands necessary for linking programs (against libraries) with templates.
67853 prelink_cmds=$lt_prelink_cmds
67855 # Specify filename containing input files.
67856 file_list_spec=$lt_file_list_spec
67858 # How to hardcode a shared library path into an executable.
67859 hardcode_action=$hardcode_action
67861 # The directories searched by this compiler when creating a shared library.
67862 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
67864 # Dependencies to place before and after the objects being linked to
67865 # create a shared library.
67866 predep_objects=$lt_predep_objects
67867 postdep_objects=$lt_postdep_objects
67868 predeps=$lt_predeps
67869 postdeps=$lt_postdeps
67871 # The library search path used internally by the compiler when linking
67872 # a shared library.
67873 compiler_lib_search_path=$lt_compiler_lib_search_path
67875 # ### END LIBTOOL CONFIG
67877 _LT_EOF
67879 case $host_os in
67880 aix3*)
67881 cat <<\_LT_EOF >> "$cfgfile"
67882 # AIX sometimes has problems with the GCC collect2 program. For some
67883 # reason, if we set the COLLECT_NAMES environment variable, the problems
67884 # vanish in a puff of smoke.
67885 if test "X${COLLECT_NAMES+set}" != Xset; then
67886 COLLECT_NAMES=
67887 export COLLECT_NAMES
67889 _LT_EOF
67891 esac
67894 ltmain="$ac_aux_dir/ltmain.sh"
67897 # We use sed instead of cat because bash on DJGPP gets confused if
67898 # if finds mixed CR/LF and LF-only lines. Since sed operates in
67899 # text mode, it properly converts lines to CR/LF. This bash problem
67900 # is reportedly fixed, but why not run on old versions too?
67901 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
67902 || (rm -f "$cfgfile"; exit 1)
67904 case $xsi_shell in
67905 yes)
67906 cat << \_LT_EOF >> "$cfgfile"
67908 # func_dirname file append nondir_replacement
67909 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
67910 # otherwise set result to NONDIR_REPLACEMENT.
67911 func_dirname ()
67913 case ${1} in
67914 */*) func_dirname_result="${1%/*}${2}" ;;
67915 * ) func_dirname_result="${3}" ;;
67916 esac
67919 # func_basename file
67920 func_basename ()
67922 func_basename_result="${1##*/}"
67925 # func_dirname_and_basename file append nondir_replacement
67926 # perform func_basename and func_dirname in a single function
67927 # call:
67928 # dirname: Compute the dirname of FILE. If nonempty,
67929 # add APPEND to the result, otherwise set result
67930 # to NONDIR_REPLACEMENT.
67931 # value returned in "$func_dirname_result"
67932 # basename: Compute filename of FILE.
67933 # value retuned in "$func_basename_result"
67934 # Implementation must be kept synchronized with func_dirname
67935 # and func_basename. For efficiency, we do not delegate to
67936 # those functions but instead duplicate the functionality here.
67937 func_dirname_and_basename ()
67939 case ${1} in
67940 */*) func_dirname_result="${1%/*}${2}" ;;
67941 * ) func_dirname_result="${3}" ;;
67942 esac
67943 func_basename_result="${1##*/}"
67946 # func_stripname prefix suffix name
67947 # strip PREFIX and SUFFIX off of NAME.
67948 # PREFIX and SUFFIX must not contain globbing or regex special
67949 # characters, hashes, percent signs, but SUFFIX may contain a leading
67950 # dot (in which case that matches only a dot).
67951 func_stripname ()
67953 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
67954 # positional parameters, so assign one to ordinary parameter first.
67955 func_stripname_result=${3}
67956 func_stripname_result=${func_stripname_result#"${1}"}
67957 func_stripname_result=${func_stripname_result%"${2}"}
67960 # func_opt_split
67961 func_opt_split ()
67963 func_opt_split_opt=${1%%=*}
67964 func_opt_split_arg=${1#*=}
67967 # func_lo2o object
67968 func_lo2o ()
67970 case ${1} in
67971 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
67972 *) func_lo2o_result=${1} ;;
67973 esac
67976 # func_xform libobj-or-source
67977 func_xform ()
67979 func_xform_result=${1%.*}.lo
67982 # func_arith arithmetic-term...
67983 func_arith ()
67985 func_arith_result=$(( $* ))
67988 # func_len string
67989 # STRING may not start with a hyphen.
67990 func_len ()
67992 func_len_result=${#1}
67995 _LT_EOF
67997 *) # Bourne compatible functions.
67998 cat << \_LT_EOF >> "$cfgfile"
68000 # func_dirname file append nondir_replacement
68001 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
68002 # otherwise set result to NONDIR_REPLACEMENT.
68003 func_dirname ()
68005 # Extract subdirectory from the argument.
68006 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
68007 if test "X$func_dirname_result" = "X${1}"; then
68008 func_dirname_result="${3}"
68009 else
68010 func_dirname_result="$func_dirname_result${2}"
68014 # func_basename file
68015 func_basename ()
68017 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
68021 # func_stripname prefix suffix name
68022 # strip PREFIX and SUFFIX off of NAME.
68023 # PREFIX and SUFFIX must not contain globbing or regex special
68024 # characters, hashes, percent signs, but SUFFIX may contain a leading
68025 # dot (in which case that matches only a dot).
68026 # func_strip_suffix prefix name
68027 func_stripname ()
68029 case ${2} in
68030 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
68031 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
68032 esac
68035 # sed scripts:
68036 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
68037 my_sed_long_arg='1s/^-[^=]*=//'
68039 # func_opt_split
68040 func_opt_split ()
68042 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
68043 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
68046 # func_lo2o object
68047 func_lo2o ()
68049 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
68052 # func_xform libobj-or-source
68053 func_xform ()
68055 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
68058 # func_arith arithmetic-term...
68059 func_arith ()
68061 func_arith_result=`expr "$@"`
68064 # func_len string
68065 # STRING may not start with a hyphen.
68066 func_len ()
68068 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
68071 _LT_EOF
68072 esac
68074 case $lt_shell_append in
68075 yes)
68076 cat << \_LT_EOF >> "$cfgfile"
68078 # func_append var value
68079 # Append VALUE to the end of shell variable VAR.
68080 func_append ()
68082 eval "$1+=\$2"
68084 _LT_EOF
68087 cat << \_LT_EOF >> "$cfgfile"
68089 # func_append var value
68090 # Append VALUE to the end of shell variable VAR.
68091 func_append ()
68093 eval "$1=\$$1\$2"
68096 _LT_EOF
68098 esac
68101 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
68102 || (rm -f "$cfgfile"; exit 1)
68104 mv -f "$cfgfile" "$ofile" ||
68105 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
68106 chmod +x "$ofile"
68109 cat <<_LT_EOF >> "$ofile"
68111 # ### BEGIN LIBTOOL TAG CONFIG: CXX
68113 # The linker used to build libraries.
68114 LD=$lt_LD_CXX
68116 # How to create reloadable object files.
68117 reload_flag=$lt_reload_flag_CXX
68118 reload_cmds=$lt_reload_cmds_CXX
68120 # Commands used to build an old-style archive.
68121 old_archive_cmds=$lt_old_archive_cmds_CXX
68123 # A language specific compiler.
68124 CC=$lt_compiler_CXX
68126 # Is the compiler the GNU compiler?
68127 with_gcc=$GCC_CXX
68129 # Compiler flag to turn off builtin functions.
68130 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
68132 # How to pass a linker flag through the compiler.
68133 wl=$lt_lt_prog_compiler_wl_CXX
68135 # Additional compiler flags for building library objects.
68136 pic_flag=$lt_lt_prog_compiler_pic_CXX
68138 # Compiler flag to prevent dynamic linking.
68139 link_static_flag=$lt_lt_prog_compiler_static_CXX
68141 # Does compiler simultaneously support -c and -o options?
68142 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
68144 # Whether or not to add -lc for building shared libraries.
68145 build_libtool_need_lc=$archive_cmds_need_lc_CXX
68147 # Whether or not to disallow shared libs when runtime libs are static.
68148 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
68150 # Compiler flag to allow reflexive dlopens.
68151 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
68153 # Compiler flag to generate shared objects directly from archives.
68154 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
68156 # Whether the compiler copes with passing no objects directly.
68157 compiler_needs_object=$lt_compiler_needs_object_CXX
68159 # Create an old-style archive from a shared archive.
68160 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
68162 # Create a temporary old-style archive to link instead of a shared archive.
68163 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
68165 # Commands used to build a shared archive.
68166 archive_cmds=$lt_archive_cmds_CXX
68167 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
68169 # Commands used to build a loadable module if different from building
68170 # a shared archive.
68171 module_cmds=$lt_module_cmds_CXX
68172 module_expsym_cmds=$lt_module_expsym_cmds_CXX
68174 # Whether we are building with GNU ld or not.
68175 with_gnu_ld=$lt_with_gnu_ld_CXX
68177 # Flag that allows shared libraries with undefined symbols to be built.
68178 allow_undefined_flag=$lt_allow_undefined_flag_CXX
68180 # Flag that enforces no undefined symbols.
68181 no_undefined_flag=$lt_no_undefined_flag_CXX
68183 # Flag to hardcode \$libdir into a binary during linking.
68184 # This must work even if \$libdir does not exist
68185 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
68187 # If ld is used when linking, flag to hardcode \$libdir into a binary
68188 # during linking. This must work even if \$libdir does not exist.
68189 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
68191 # Whether we need a single "-rpath" flag with a separated argument.
68192 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
68194 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68195 # DIR into the resulting binary.
68196 hardcode_direct=$hardcode_direct_CXX
68198 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68199 # DIR into the resulting binary and the resulting library dependency is
68200 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
68201 # library is relocated.
68202 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
68204 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
68205 # into the resulting binary.
68206 hardcode_minus_L=$hardcode_minus_L_CXX
68208 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
68209 # into the resulting binary.
68210 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
68212 # Set to "yes" if building a shared library automatically hardcodes DIR
68213 # into the library and all subsequent libraries and executables linked
68214 # against it.
68215 hardcode_automatic=$hardcode_automatic_CXX
68217 # Set to yes if linker adds runtime paths of dependent libraries
68218 # to runtime path list.
68219 inherit_rpath=$inherit_rpath_CXX
68221 # Whether libtool must link a program against all its dependency libraries.
68222 link_all_deplibs=$link_all_deplibs_CXX
68224 # Fix the shell variable \$srcfile for the compiler.
68225 fix_srcfile_path=$lt_fix_srcfile_path_CXX
68227 # Set to "yes" if exported symbols are required.
68228 always_export_symbols=$always_export_symbols_CXX
68230 # The commands to list exported symbols.
68231 export_symbols_cmds=$lt_export_symbols_cmds_CXX
68233 # Symbols that should not be listed in the preloaded symbols.
68234 exclude_expsyms=$lt_exclude_expsyms_CXX
68236 # Symbols that must always be exported.
68237 include_expsyms=$lt_include_expsyms_CXX
68239 # Commands necessary for linking programs (against libraries) with templates.
68240 prelink_cmds=$lt_prelink_cmds_CXX
68242 # Specify filename containing input files.
68243 file_list_spec=$lt_file_list_spec_CXX
68245 # How to hardcode a shared library path into an executable.
68246 hardcode_action=$hardcode_action_CXX
68248 # The directories searched by this compiler when creating a shared library.
68249 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
68251 # Dependencies to place before and after the objects being linked to
68252 # create a shared library.
68253 predep_objects=$lt_predep_objects_CXX
68254 postdep_objects=$lt_postdep_objects_CXX
68255 predeps=$lt_predeps_CXX
68256 postdeps=$lt_postdeps_CXX
68258 # The library search path used internally by the compiler when linking
68259 # a shared library.
68260 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
68262 # ### END LIBTOOL TAG CONFIG: CXX
68263 _LT_EOF
68266 "include/gstdint.h":C)
68267 if test "$GCC" = yes; then
68268 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
68269 else
68270 echo "/* generated for $CC */" > tmp-stdint.h
68273 sed 's/^ *//' >> tmp-stdint.h <<EOF
68275 #ifndef GCC_GENERATED_STDINT_H
68276 #define GCC_GENERATED_STDINT_H 1
68278 #include <sys/types.h>
68281 if test "$acx_cv_header_stdint" != stdint.h; then
68282 echo "#include <stddef.h>" >> tmp-stdint.h
68284 if test "$acx_cv_header_stdint" != stddef.h; then
68285 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
68288 sed 's/^ *//' >> tmp-stdint.h <<EOF
68289 /* glibc uses these symbols as guards to prevent redefinitions. */
68290 #ifdef __int8_t_defined
68291 #define _INT8_T
68292 #define _INT16_T
68293 #define _INT32_T
68294 #endif
68295 #ifdef __uint32_t_defined
68296 #define _UINT32_T
68297 #endif
68301 # ----------------- done header, emit basic int types -------------
68302 if test "$acx_cv_header_stdint" = stddef.h; then
68303 sed 's/^ *//' >> tmp-stdint.h <<EOF
68305 #ifndef _UINT8_T
68306 #define _UINT8_T
68307 #ifndef __uint8_t_defined
68308 #define __uint8_t_defined
68309 #ifndef uint8_t
68310 typedef unsigned $acx_cv_type_int8_t uint8_t;
68311 #endif
68312 #endif
68313 #endif
68315 #ifndef _UINT16_T
68316 #define _UINT16_T
68317 #ifndef __uint16_t_defined
68318 #define __uint16_t_defined
68319 #ifndef uint16_t
68320 typedef unsigned $acx_cv_type_int16_t uint16_t;
68321 #endif
68322 #endif
68323 #endif
68325 #ifndef _UINT32_T
68326 #define _UINT32_T
68327 #ifndef __uint32_t_defined
68328 #define __uint32_t_defined
68329 #ifndef uint32_t
68330 typedef unsigned $acx_cv_type_int32_t uint32_t;
68331 #endif
68332 #endif
68333 #endif
68335 #ifndef _INT8_T
68336 #define _INT8_T
68337 #ifndef __int8_t_defined
68338 #define __int8_t_defined
68339 #ifndef int8_t
68340 typedef $acx_cv_type_int8_t int8_t;
68341 #endif
68342 #endif
68343 #endif
68345 #ifndef _INT16_T
68346 #define _INT16_T
68347 #ifndef __int16_t_defined
68348 #define __int16_t_defined
68349 #ifndef int16_t
68350 typedef $acx_cv_type_int16_t int16_t;
68351 #endif
68352 #endif
68353 #endif
68355 #ifndef _INT32_T
68356 #define _INT32_T
68357 #ifndef __int32_t_defined
68358 #define __int32_t_defined
68359 #ifndef int32_t
68360 typedef $acx_cv_type_int32_t int32_t;
68361 #endif
68362 #endif
68363 #endif
68365 elif test "$ac_cv_type_u_int32_t" = yes; then
68366 sed 's/^ *//' >> tmp-stdint.h <<EOF
68368 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
68369 #ifndef _INT8_T
68370 #define _INT8_T
68371 #endif
68372 #ifndef _INT16_T
68373 #define _INT16_T
68374 #endif
68375 #ifndef _INT32_T
68376 #define _INT32_T
68377 #endif
68379 #ifndef _UINT8_T
68380 #define _UINT8_T
68381 #ifndef __uint8_t_defined
68382 #define __uint8_t_defined
68383 #ifndef uint8_t
68384 typedef u_int8_t uint8_t;
68385 #endif
68386 #endif
68387 #endif
68389 #ifndef _UINT16_T
68390 #define _UINT16_T
68391 #ifndef __uint16_t_defined
68392 #define __uint16_t_defined
68393 #ifndef uint16_t
68394 typedef u_int16_t uint16_t;
68395 #endif
68396 #endif
68397 #endif
68399 #ifndef _UINT32_T
68400 #define _UINT32_T
68401 #ifndef __uint32_t_defined
68402 #define __uint32_t_defined
68403 #ifndef uint32_t
68404 typedef u_int32_t uint32_t;
68405 #endif
68406 #endif
68407 #endif
68409 else
68410 sed 's/^ *//' >> tmp-stdint.h <<EOF
68412 /* Some systems have guard macros to prevent redefinitions, define them. */
68413 #ifndef _INT8_T
68414 #define _INT8_T
68415 #endif
68416 #ifndef _INT16_T
68417 #define _INT16_T
68418 #endif
68419 #ifndef _INT32_T
68420 #define _INT32_T
68421 #endif
68422 #ifndef _UINT8_T
68423 #define _UINT8_T
68424 #endif
68425 #ifndef _UINT16_T
68426 #define _UINT16_T
68427 #endif
68428 #ifndef _UINT32_T
68429 #define _UINT32_T
68430 #endif
68434 # ------------- done basic int types, emit int64_t types ------------
68435 if test "$ac_cv_type_uint64_t" = yes; then
68436 sed 's/^ *//' >> tmp-stdint.h <<EOF
68438 /* system headers have good uint64_t and int64_t */
68439 #ifndef _INT64_T
68440 #define _INT64_T
68441 #endif
68442 #ifndef _UINT64_T
68443 #define _UINT64_T
68444 #endif
68446 elif test "$ac_cv_type_u_int64_t" = yes; then
68447 sed 's/^ *//' >> tmp-stdint.h <<EOF
68449 /* system headers have an u_int64_t (and int64_t) */
68450 #ifndef _INT64_T
68451 #define _INT64_T
68452 #endif
68453 #ifndef _UINT64_T
68454 #define _UINT64_T
68455 #ifndef __uint64_t_defined
68456 #define __uint64_t_defined
68457 #ifndef uint64_t
68458 typedef u_int64_t uint64_t;
68459 #endif
68460 #endif
68461 #endif
68463 elif test -n "$acx_cv_type_int64_t"; then
68464 sed 's/^ *//' >> tmp-stdint.h <<EOF
68466 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
68467 #ifndef _INT64_T
68468 #define _INT64_T
68469 #ifndef int64_t
68470 typedef $acx_cv_type_int64_t int64_t;
68471 #endif
68472 #endif
68473 #ifndef _UINT64_T
68474 #define _UINT64_T
68475 #ifndef __uint64_t_defined
68476 #define __uint64_t_defined
68477 #ifndef uint64_t
68478 typedef unsigned $acx_cv_type_int64_t uint64_t;
68479 #endif
68480 #endif
68481 #endif
68483 else
68484 sed 's/^ *//' >> tmp-stdint.h <<EOF
68486 /* some common heuristics for int64_t, using compiler-specific tests */
68487 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
68488 #ifndef _INT64_T
68489 #define _INT64_T
68490 #ifndef __int64_t_defined
68491 #ifndef int64_t
68492 typedef long long int64_t;
68493 #endif
68494 #endif
68495 #endif
68496 #ifndef _UINT64_T
68497 #define _UINT64_T
68498 #ifndef uint64_t
68499 typedef unsigned long long uint64_t;
68500 #endif
68501 #endif
68503 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
68504 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
68505 does not implement __extension__. But that compiler doesn't define
68506 __GNUC_MINOR__. */
68507 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
68508 # define __extension__
68509 # endif
68511 # ifndef _INT64_T
68512 # define _INT64_T
68513 # ifndef int64_t
68514 __extension__ typedef long long int64_t;
68515 # endif
68516 # endif
68517 # ifndef _UINT64_T
68518 # define _UINT64_T
68519 # ifndef uint64_t
68520 __extension__ typedef unsigned long long uint64_t;
68521 # endif
68522 # endif
68524 #elif !defined __STRICT_ANSI__
68525 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
68527 # ifndef _INT64_T
68528 # define _INT64_T
68529 # ifndef int64_t
68530 typedef __int64 int64_t;
68531 # endif
68532 # endif
68533 # ifndef _UINT64_T
68534 # define _UINT64_T
68535 # ifndef uint64_t
68536 typedef unsigned __int64 uint64_t;
68537 # endif
68538 # endif
68539 # endif /* compiler */
68541 #endif /* ANSI version */
68545 # ------------- done int64_t types, emit intptr types ------------
68546 if test "$ac_cv_type_uintptr_t" != yes; then
68547 sed 's/^ *//' >> tmp-stdint.h <<EOF
68549 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
68550 #ifndef __uintptr_t_defined
68551 #ifndef uintptr_t
68552 typedef u$acx_cv_type_intptr_t uintptr_t;
68553 #endif
68554 #endif
68555 #ifndef __intptr_t_defined
68556 #ifndef intptr_t
68557 typedef $acx_cv_type_intptr_t intptr_t;
68558 #endif
68559 #endif
68563 # ------------- done intptr types, emit int_least types ------------
68564 if test "$ac_cv_type_int_least32_t" != yes; then
68565 sed 's/^ *//' >> tmp-stdint.h <<EOF
68567 /* Define int_least types */
68568 typedef int8_t int_least8_t;
68569 typedef int16_t int_least16_t;
68570 typedef int32_t int_least32_t;
68571 #ifdef _INT64_T
68572 typedef int64_t int_least64_t;
68573 #endif
68575 typedef uint8_t uint_least8_t;
68576 typedef uint16_t uint_least16_t;
68577 typedef uint32_t uint_least32_t;
68578 #ifdef _UINT64_T
68579 typedef uint64_t uint_least64_t;
68580 #endif
68584 # ------------- done intptr types, emit int_fast types ------------
68585 if test "$ac_cv_type_int_fast32_t" != yes; then
68586 sed 's/^ *//' >> tmp-stdint.h <<EOF
68588 /* Define int_fast types. short is often slow */
68589 typedef int8_t int_fast8_t;
68590 typedef int int_fast16_t;
68591 typedef int32_t int_fast32_t;
68592 #ifdef _INT64_T
68593 typedef int64_t int_fast64_t;
68594 #endif
68596 typedef uint8_t uint_fast8_t;
68597 typedef unsigned int uint_fast16_t;
68598 typedef uint32_t uint_fast32_t;
68599 #ifdef _UINT64_T
68600 typedef uint64_t uint_fast64_t;
68601 #endif
68605 if test "$ac_cv_type_uintmax_t" != yes; then
68606 sed 's/^ *//' >> tmp-stdint.h <<EOF
68608 /* Define intmax based on what we found */
68609 #ifndef intmax_t
68610 #ifdef _INT64_T
68611 typedef int64_t intmax_t;
68612 #else
68613 typedef long intmax_t;
68614 #endif
68615 #endif
68616 #ifndef uintmax_t
68617 #ifdef _UINT64_T
68618 typedef uint64_t uintmax_t;
68619 #else
68620 typedef unsigned long uintmax_t;
68621 #endif
68622 #endif
68626 sed 's/^ *//' >> tmp-stdint.h <<EOF
68628 #endif /* GCC_GENERATED_STDINT_H */
68631 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
68632 rm -f tmp-stdint.h
68633 else
68634 mv -f tmp-stdint.h include/gstdint.h
68638 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
68639 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
68640 "include/Makefile":F) cat > vpsed$$ << \_EOF
68641 s!`test -f '$<' || echo '$(srcdir)/'`!!
68642 _EOF
68643 sed -f vpsed$$ $ac_file > tmp$$
68644 mv tmp$$ $ac_file
68645 rm vpsed$$
68646 echo 'MULTISUBDIR =' >> $ac_file
68647 ml_norecursion=yes
68648 . ${multi_basedir}/config-ml.in
68649 { ml_norecursion=; unset ml_norecursion;}
68651 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
68652 s!`test -f '$<' || echo '$(srcdir)/'`!!
68653 _EOF
68654 sed -f vpsed$$ $ac_file > tmp$$
68655 mv tmp$$ $ac_file
68656 rm vpsed$$
68657 echo 'MULTISUBDIR =' >> $ac_file
68658 ml_norecursion=yes
68659 . ${multi_basedir}/config-ml.in
68660 { ml_norecursion=; unset ml_norecursion;}
68662 "python/Makefile":F) cat > vpsed$$ << \_EOF
68663 s!`test -f '$<' || echo '$(srcdir)/'`!!
68664 _EOF
68665 sed -f vpsed$$ $ac_file > tmp$$
68666 mv tmp$$ $ac_file
68667 rm vpsed$$
68668 echo 'MULTISUBDIR =' >> $ac_file
68669 ml_norecursion=yes
68670 . ${multi_basedir}/config-ml.in
68671 { ml_norecursion=; unset ml_norecursion;}
68673 "src/Makefile":F) cat > vpsed$$ << \_EOF
68674 s!`test -f '$<' || echo '$(srcdir)/'`!!
68675 _EOF
68676 sed -f vpsed$$ $ac_file > tmp$$
68677 mv tmp$$ $ac_file
68678 rm vpsed$$
68679 echo 'MULTISUBDIR =' >> $ac_file
68680 ml_norecursion=yes
68681 . ${multi_basedir}/config-ml.in
68682 { ml_norecursion=; unset ml_norecursion;}
68684 "doc/Makefile":F) cat > vpsed$$ << \_EOF
68685 s!`test -f '$<' || echo '$(srcdir)/'`!!
68686 _EOF
68687 sed -f vpsed$$ $ac_file > tmp$$
68688 mv tmp$$ $ac_file
68689 rm vpsed$$
68690 echo 'MULTISUBDIR =' >> $ac_file
68691 ml_norecursion=yes
68692 . ${multi_basedir}/config-ml.in
68693 { ml_norecursion=; unset ml_norecursion;}
68695 "po/Makefile":F) cat > vpsed$$ << \_EOF
68696 s!`test -f '$<' || echo '$(srcdir)/'`!!
68697 _EOF
68698 sed -f vpsed$$ $ac_file > tmp$$
68699 mv tmp$$ $ac_file
68700 rm vpsed$$
68701 echo 'MULTISUBDIR =' >> $ac_file
68702 ml_norecursion=yes
68703 . ${multi_basedir}/config-ml.in
68704 { ml_norecursion=; unset ml_norecursion;}
68706 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
68707 s!`test -f '$<' || echo '$(srcdir)/'`!!
68708 _EOF
68709 sed -f vpsed$$ $ac_file > tmp$$
68710 mv tmp$$ $ac_file
68711 rm vpsed$$
68712 echo 'MULTISUBDIR =' >> $ac_file
68713 ml_norecursion=yes
68714 . ${multi_basedir}/config-ml.in
68715 { ml_norecursion=; unset ml_norecursion;}
68717 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
68719 esac
68720 done # for ac_tag
68723 as_fn_exit 0
68724 _ACEOF
68725 ac_clean_files=$ac_clean_files_save
68727 test $ac_write_fail = 0 ||
68728 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
68731 # configure is writing to config.log, and then calls config.status.
68732 # config.status does its own redirection, appending to config.log.
68733 # Unfortunately, on DOS this fails, as config.log is still kept open
68734 # by configure, so config.status won't be able to write to it; its
68735 # output is simply discarded. So we exec the FD to /dev/null,
68736 # effectively closing config.log, so it can be properly (re)opened and
68737 # appended to by config.status. When coming back to configure, we
68738 # need to make the FD available again.
68739 if test "$no_create" != yes; then
68740 ac_cs_success=:
68741 ac_config_status_args=
68742 test "$silent" = yes &&
68743 ac_config_status_args="$ac_config_status_args --quiet"
68744 exec 5>/dev/null
68745 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
68746 exec 5>>config.log
68747 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
68748 # would make configure fail if this is the last instruction.
68749 $ac_cs_success || as_fn_exit $?
68751 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
68752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
68753 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}