2012-01-05 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git] / libstdc++-v3 / configure
blob3c64a28e3c80190c1670f46f165b186b2f37f1ee
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
148 esac
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
164 else
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
182 as_have_required=yes
183 else
184 as_have_required=no
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
188 else
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
193 IFS=$as_save_IFS
194 test -z "$as_dir" && as_dir=.
195 as_found=:
196 case $as_dir in #(
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 break 2
208 done;;
209 esac
210 as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
223 BASH_ENV=/dev/null
224 ENV=/dev/null
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 export CONFIG_SHELL
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236 else
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
242 exit 1
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
260 { eval $1=; unset $1;}
262 as_unset=as_fn_unset
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
269 return $1
270 } # as_fn_set_status
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
277 set +e
278 as_fn_set_status $1
279 exit $1
280 } # as_fn_exit
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
288 case $as_dir in #(
289 -*) as_dir=./$as_dir;;
290 esac
291 test -d "$as_dir" || eval $as_mkdir_p || {
292 as_dirs=
293 while :; do
294 case $as_dir in #(
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 *) as_qdir=$as_dir;;
297 esac
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306 s//\1/
309 /^X\(\/\/\)[^/].*/{
310 s//\1/
313 /^X\(\/\/\)$/{
314 s//\1/
317 /^X\(\/\).*/{
318 s//\1/
321 s/.*/./; q'`
322 test -d "$as_dir" && break
323 done
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
338 eval $1+=\$2
340 else
341 as_fn_append ()
343 eval $1=\$$1\$2
345 fi # as_fn_append
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 eval 'as_fn_arith ()
355 as_val=$(( $* ))
357 else
358 as_fn_arith ()
360 as_val=`expr "$@" || test $? -eq 1`
362 fi # as_fn_arith
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
372 as_status=$?; test $as_status -eq 0 && as_status=1
373 if test "$3"; then
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
379 } # as_fn_error
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 as_expr=expr
384 else
385 as_expr=false
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 as_basename=basename
390 else
391 as_basename=false
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 as_dirname=dirname
396 else
397 as_dirname=false
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
406 s//\1/
409 /^X\/\(\/\/\)$/{
410 s//\1/
413 /^X\/\(\/\).*/{
414 s//\1/
417 s/.*/./; q'`
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
440 :lineno
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
453 . "./$as_me.lineno"
454 # Exit status is that of the last command.
455 exit
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
463 xy) ECHO_C='\c';;
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 ECHO_T=' ';;
466 esac;;
468 ECHO_N='-n';;
469 esac
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
474 else
475 rm -f conf$$.dir
476 mkdir conf$$.dir 2>/dev/null
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s='ln -s'
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486 as_ln_s='cp -p'
487 elif ln conf$$.file conf$$ 2>/dev/null; then
488 as_ln_s=ln
489 else
490 as_ln_s='cp -p'
492 else
493 as_ln_s='cp -p'
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
500 else
501 test -d ./-p && rmdir ./-p
502 as_mkdir_p=false
505 if test -x / >/dev/null 2>&1; then
506 as_test_x='test -x'
507 else
508 if ls -dL / >/dev/null 2>&1; then
509 as_ls_L_option=L
510 else
511 as_ls_L_option=
513 as_test_x='
514 eval sh -c '\''
515 if test -d "$1"; then
516 test -d "$1/.";
517 else
518 case $1 in #(
519 -*)set "./$1";;
520 esac;
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
523 '\'' sh
526 as_executable_p=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev/null 6>&1
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
545 # Initializations.
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
564 ac_unique_file="src/ios.cc"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #ifdef STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # ifdef HAVE_STDLIB_H
579 # include <stdlib.h>
580 # endif
581 #endif
582 #ifdef HAVE_STRING_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 # include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #ifdef HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #ifdef HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 LIBSUPCXX_PICFLAGS
606 WARN_FLAGS
607 OPTIMIZE_CXXFLAGS
608 TOPLEVEL_INCLUDES
609 GLIBCXX_INCLUDES
610 glibcxx_toolexeclibdir
611 glibcxx_toolexecdir
612 gxx_include_dir
613 glibcxx_prefixdir
614 ERROR_CONSTANTS_SRCDIR
615 OS_INC_SRCDIR
616 ABI_TWEAKS_SRCDIR
617 CPU_DEFINES_SRCDIR
618 ATOMIC_FLAGS
619 ATOMIC_WORD_SRCDIR
620 ATOMICITY_SRCDIR
621 BUILD_EPUB_FALSE
622 BUILD_EPUB_TRUE
623 DBTOEPUB
624 RUBY
625 BUILD_PDF_FALSE
626 BUILD_PDF_TRUE
627 PDFLATEX
628 DBLATEX
629 BUILD_MAN_FALSE
630 BUILD_MAN_TRUE
631 BUILD_HTML_FALSE
632 BUILD_HTML_TRUE
633 BUILD_XML_FALSE
634 BUILD_XML_TRUE
635 XSL_STYLE_DIR
636 XMLLINT
637 XSLTPROC
639 DOXYGEN
640 BUILD_INFO_FALSE
641 BUILD_INFO_TRUE
642 baseline_subdir_switch
643 baseline_dir
644 GLIBCXX_LDBL_COMPAT_FALSE
645 GLIBCXX_LDBL_COMPAT_TRUE
646 ENABLE_VISIBILITY_FALSE
647 ENABLE_VISIBILITY_TRUE
648 libtool_VERSION
649 ENABLE_SYMVERS_SOL2_FALSE
650 ENABLE_SYMVERS_SOL2_TRUE
651 ENABLE_SYMVERS_SUN_FALSE
652 ENABLE_SYMVERS_SUN_TRUE
653 ENABLE_SYMVERS_DARWIN_FALSE
654 ENABLE_SYMVERS_DARWIN_TRUE
655 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
656 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
657 ENABLE_SYMVERS_GNU_FALSE
658 ENABLE_SYMVERS_GNU_TRUE
659 ENABLE_SYMVERS_FALSE
660 ENABLE_SYMVERS_TRUE
661 port_specific_symbol_files
662 SYMVER_FILE
663 CXXFILT
664 LTLIBICONV
665 LIBICONV
666 OPT_LDFLAGS
667 SECTION_LDFLAGS
668 GLIBCXX_LIBS
669 ENABLE_EXTERN_TEMPLATE_FALSE
670 ENABLE_EXTERN_TEMPLATE_TRUE
671 EXTRA_CXX_FLAGS
672 ENABLE_PARALLEL_FALSE
673 ENABLE_PARALLEL_TRUE
674 GLIBCXX_BUILD_DEBUG_FALSE
675 GLIBCXX_BUILD_DEBUG_TRUE
676 DEBUG_FLAGS
677 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
678 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
679 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
680 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
681 GLIBCXX_C_HEADERS_C_STD_FALSE
682 GLIBCXX_C_HEADERS_C_STD_TRUE
683 GLIBCXX_C_HEADERS_C_FALSE
684 GLIBCXX_C_HEADERS_C_TRUE
685 C_INCLUDE_DIR
686 ALLOCATOR_NAME
687 ALLOCATOR_H
688 CLOCALE_INTERNAL_H
689 CLOCALE_CC
690 CTIME_CC
691 CTIME_H
692 CNUMERIC_CC
693 CMONEY_CC
694 CMESSAGES_CC
695 CCTYPE_CC
696 CCOLLATE_CC
697 CCODECVT_CC
698 CMESSAGES_H
699 CLOCALE_H
700 USE_NLS
701 glibcxx_localedir
702 glibcxx_POFILES
703 glibcxx_MOFILES
704 check_msgfmt
705 BASIC_FILE_CC
706 BASIC_FILE_H
707 CSTDIO_H
708 SECTION_FLAGS
709 WERROR
710 glibcxx_PCHFLAGS
711 GLIBCXX_BUILD_PCH_FALSE
712 GLIBCXX_BUILD_PCH_TRUE
713 GLIBCXX_HOSTED_FALSE
714 GLIBCXX_HOSTED_TRUE
715 enable_static
716 enable_shared
717 lt_host_flags
718 CXXCPP
719 OTOOL64
720 OTOOL
721 LIPO
722 NMEDIT
723 DSYMUTIL
724 OBJDUMP
726 ac_ct_DUMPBIN
727 DUMPBIN
729 FGREP
731 LIBTOOL
732 EGREP
733 GREP
735 MAINT
736 MAINTAINER_MODE_FALSE
737 MAINTAINER_MODE_TRUE
738 RANLIB
741 LN_S
742 toplevel_srcdir
743 toplevel_builddir
744 glibcxx_srcdir
745 glibcxx_builddir
746 ac_ct_CXX
747 CXXFLAGS
749 OBJEXT
750 EXEEXT
751 ac_ct_CC
752 CPPFLAGS
753 LDFLAGS
754 CFLAGS
756 am__untar
757 am__tar
758 AMTAR
759 am__leading_dot
760 SET_MAKE
762 mkdir_p
763 MKDIR_P
764 INSTALL_STRIP_PROGRAM
765 STRIP
766 install_sh
767 MAKEINFO
768 AUTOHEADER
769 AUTOMAKE
770 AUTOCONF
771 ACLOCAL
772 VERSION
773 PACKAGE
774 CYGPATH_W
775 am__isrc
776 INSTALL_DATA
777 INSTALL_SCRIPT
778 INSTALL_PROGRAM
779 target_os
780 target_vendor
781 target_cpu
782 target
783 host_os
784 host_vendor
785 host_cpu
786 host
787 build_os
788 build_vendor
789 build_cpu
790 build
791 multi_basedir
792 target_alias
793 host_alias
794 build_alias
795 LIBS
796 ECHO_T
797 ECHO_N
798 ECHO_C
799 DEFS
800 mandir
801 localedir
802 libdir
803 psdir
804 pdfdir
805 dvidir
806 htmldir
807 infodir
808 docdir
809 oldincludedir
810 includedir
811 localstatedir
812 sharedstatedir
813 sysconfdir
814 datadir
815 datarootdir
816 libexecdir
817 sbindir
818 bindir
819 program_transform_name
820 prefix
821 exec_prefix
822 PACKAGE_URL
823 PACKAGE_BUGREPORT
824 PACKAGE_STRING
825 PACKAGE_VERSION
826 PACKAGE_TARNAME
827 PACKAGE_NAME
828 PATH_SEPARATOR
829 SHELL'
830 ac_subst_files=''
831 ac_user_opts='
832 enable_option_checking
833 enable_multilib
834 with_target_subdir
835 with_cross_host
836 with_newlib
837 enable_maintainer_mode
838 enable_shared
839 enable_static
840 with_pic
841 enable_fast_install
842 with_gnu_ld
843 enable_libtool_lock
844 enable_hosted_libstdcxx
845 enable_sjlj_exceptions
846 enable_libstdcxx_pch
847 enable_cstdio
848 enable_clocale
849 enable_nls
850 enable_libstdcxx_allocator
851 enable_cheaders
852 enable_long_long
853 enable_wchar_t
854 enable_c99
855 enable_concept_checks
856 enable_libstdcxx_debug_flags
857 enable_libstdcxx_debug
858 enable_cxx_flags
859 enable_fully_dynamic_string
860 enable_extern_template
861 enable_libstdcxx_time
862 enable_tls
863 enable_rpath
864 with_libiconv_prefix
865 with_system_libunwind
866 enable_linux_futex
867 enable_symvers
868 enable_libstdcxx_visibility
869 with_gxx_include_dir
870 enable_version_specific_runtime_libs
872 ac_precious_vars='build_alias
873 host_alias
874 target_alias
876 CFLAGS
877 LDFLAGS
878 LIBS
879 CPPFLAGS
881 CXXFLAGS
884 CXXCPP
885 CXXFILT'
888 # Initialize some variables set by options.
889 ac_init_help=
890 ac_init_version=false
891 ac_unrecognized_opts=
892 ac_unrecognized_sep=
893 # The variables have the same names as the options, with
894 # dashes changed to underlines.
895 cache_file=/dev/null
896 exec_prefix=NONE
897 no_create=
898 no_recursion=
899 prefix=NONE
900 program_prefix=NONE
901 program_suffix=NONE
902 program_transform_name=s,x,x,
903 silent=
904 site=
905 srcdir=
906 verbose=
907 x_includes=NONE
908 x_libraries=NONE
910 # Installation directory options.
911 # These are left unexpanded so users can "make install exec_prefix=/foo"
912 # and all the variables that are supposed to be based on exec_prefix
913 # by default will actually change.
914 # Use braces instead of parens because sh, perl, etc. also accept them.
915 # (The list follows the same order as the GNU Coding Standards.)
916 bindir='${exec_prefix}/bin'
917 sbindir='${exec_prefix}/sbin'
918 libexecdir='${exec_prefix}/libexec'
919 datarootdir='${prefix}/share'
920 datadir='${datarootdir}'
921 sysconfdir='${prefix}/etc'
922 sharedstatedir='${prefix}/com'
923 localstatedir='${prefix}/var'
924 includedir='${prefix}/include'
925 oldincludedir='/usr/include'
926 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
927 infodir='${datarootdir}/info'
928 htmldir='${docdir}'
929 dvidir='${docdir}'
930 pdfdir='${docdir}'
931 psdir='${docdir}'
932 libdir='${exec_prefix}/lib'
933 localedir='${datarootdir}/locale'
934 mandir='${datarootdir}/man'
936 ac_prev=
937 ac_dashdash=
938 for ac_option
940 # If the previous option needs an argument, assign it.
941 if test -n "$ac_prev"; then
942 eval $ac_prev=\$ac_option
943 ac_prev=
944 continue
947 case $ac_option in
948 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
949 *) ac_optarg=yes ;;
950 esac
952 # Accept the important Cygnus configure options, so we can diagnose typos.
954 case $ac_dashdash$ac_option in
956 ac_dashdash=yes ;;
958 -bindir | --bindir | --bindi | --bind | --bin | --bi)
959 ac_prev=bindir ;;
960 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
961 bindir=$ac_optarg ;;
963 -build | --build | --buil | --bui | --bu)
964 ac_prev=build_alias ;;
965 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
966 build_alias=$ac_optarg ;;
968 -cache-file | --cache-file | --cache-fil | --cache-fi \
969 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
970 ac_prev=cache_file ;;
971 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
972 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
973 cache_file=$ac_optarg ;;
975 --config-cache | -C)
976 cache_file=config.cache ;;
978 -datadir | --datadir | --datadi | --datad)
979 ac_prev=datadir ;;
980 -datadir=* | --datadir=* | --datadi=* | --datad=*)
981 datadir=$ac_optarg ;;
983 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
984 | --dataroo | --dataro | --datar)
985 ac_prev=datarootdir ;;
986 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
987 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
988 datarootdir=$ac_optarg ;;
990 -disable-* | --disable-*)
991 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
992 # Reject names that are not valid shell variable names.
993 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
994 as_fn_error "invalid feature name: $ac_useropt"
995 ac_useropt_orig=$ac_useropt
996 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
997 case $ac_user_opts in
999 "enable_$ac_useropt"
1000 "*) ;;
1001 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1002 ac_unrecognized_sep=', ';;
1003 esac
1004 eval enable_$ac_useropt=no ;;
1006 -docdir | --docdir | --docdi | --doc | --do)
1007 ac_prev=docdir ;;
1008 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1009 docdir=$ac_optarg ;;
1011 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1012 ac_prev=dvidir ;;
1013 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1014 dvidir=$ac_optarg ;;
1016 -enable-* | --enable-*)
1017 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1018 # Reject names that are not valid shell variable names.
1019 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1020 as_fn_error "invalid feature name: $ac_useropt"
1021 ac_useropt_orig=$ac_useropt
1022 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1023 case $ac_user_opts in
1025 "enable_$ac_useropt"
1026 "*) ;;
1027 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1028 ac_unrecognized_sep=', ';;
1029 esac
1030 eval enable_$ac_useropt=\$ac_optarg ;;
1032 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1033 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1034 | --exec | --exe | --ex)
1035 ac_prev=exec_prefix ;;
1036 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1037 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1038 | --exec=* | --exe=* | --ex=*)
1039 exec_prefix=$ac_optarg ;;
1041 -gas | --gas | --ga | --g)
1042 # Obsolete; use --with-gas.
1043 with_gas=yes ;;
1045 -help | --help | --hel | --he | -h)
1046 ac_init_help=long ;;
1047 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1048 ac_init_help=recursive ;;
1049 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1050 ac_init_help=short ;;
1052 -host | --host | --hos | --ho)
1053 ac_prev=host_alias ;;
1054 -host=* | --host=* | --hos=* | --ho=*)
1055 host_alias=$ac_optarg ;;
1057 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1058 ac_prev=htmldir ;;
1059 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1060 | --ht=*)
1061 htmldir=$ac_optarg ;;
1063 -includedir | --includedir | --includedi | --included | --include \
1064 | --includ | --inclu | --incl | --inc)
1065 ac_prev=includedir ;;
1066 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1067 | --includ=* | --inclu=* | --incl=* | --inc=*)
1068 includedir=$ac_optarg ;;
1070 -infodir | --infodir | --infodi | --infod | --info | --inf)
1071 ac_prev=infodir ;;
1072 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1073 infodir=$ac_optarg ;;
1075 -libdir | --libdir | --libdi | --libd)
1076 ac_prev=libdir ;;
1077 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1078 libdir=$ac_optarg ;;
1080 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1081 | --libexe | --libex | --libe)
1082 ac_prev=libexecdir ;;
1083 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1084 | --libexe=* | --libex=* | --libe=*)
1085 libexecdir=$ac_optarg ;;
1087 -localedir | --localedir | --localedi | --localed | --locale)
1088 ac_prev=localedir ;;
1089 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1090 localedir=$ac_optarg ;;
1092 -localstatedir | --localstatedir | --localstatedi | --localstated \
1093 | --localstate | --localstat | --localsta | --localst | --locals)
1094 ac_prev=localstatedir ;;
1095 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1096 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1097 localstatedir=$ac_optarg ;;
1099 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1100 ac_prev=mandir ;;
1101 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1102 mandir=$ac_optarg ;;
1104 -nfp | --nfp | --nf)
1105 # Obsolete; use --without-fp.
1106 with_fp=no ;;
1108 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1109 | --no-cr | --no-c | -n)
1110 no_create=yes ;;
1112 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1113 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1114 no_recursion=yes ;;
1116 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1117 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1118 | --oldin | --oldi | --old | --ol | --o)
1119 ac_prev=oldincludedir ;;
1120 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1121 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1122 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1123 oldincludedir=$ac_optarg ;;
1125 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1126 ac_prev=prefix ;;
1127 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1128 prefix=$ac_optarg ;;
1130 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1131 | --program-pre | --program-pr | --program-p)
1132 ac_prev=program_prefix ;;
1133 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1134 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1135 program_prefix=$ac_optarg ;;
1137 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1138 | --program-suf | --program-su | --program-s)
1139 ac_prev=program_suffix ;;
1140 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1141 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1142 program_suffix=$ac_optarg ;;
1144 -program-transform-name | --program-transform-name \
1145 | --program-transform-nam | --program-transform-na \
1146 | --program-transform-n | --program-transform- \
1147 | --program-transform | --program-transfor \
1148 | --program-transfo | --program-transf \
1149 | --program-trans | --program-tran \
1150 | --progr-tra | --program-tr | --program-t)
1151 ac_prev=program_transform_name ;;
1152 -program-transform-name=* | --program-transform-name=* \
1153 | --program-transform-nam=* | --program-transform-na=* \
1154 | --program-transform-n=* | --program-transform-=* \
1155 | --program-transform=* | --program-transfor=* \
1156 | --program-transfo=* | --program-transf=* \
1157 | --program-trans=* | --program-tran=* \
1158 | --progr-tra=* | --program-tr=* | --program-t=*)
1159 program_transform_name=$ac_optarg ;;
1161 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1162 ac_prev=pdfdir ;;
1163 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1164 pdfdir=$ac_optarg ;;
1166 -psdir | --psdir | --psdi | --psd | --ps)
1167 ac_prev=psdir ;;
1168 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1169 psdir=$ac_optarg ;;
1171 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1172 | -silent | --silent | --silen | --sile | --sil)
1173 silent=yes ;;
1175 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1176 ac_prev=sbindir ;;
1177 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1178 | --sbi=* | --sb=*)
1179 sbindir=$ac_optarg ;;
1181 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1182 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1183 | --sharedst | --shareds | --shared | --share | --shar \
1184 | --sha | --sh)
1185 ac_prev=sharedstatedir ;;
1186 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1187 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1188 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1189 | --sha=* | --sh=*)
1190 sharedstatedir=$ac_optarg ;;
1192 -site | --site | --sit)
1193 ac_prev=site ;;
1194 -site=* | --site=* | --sit=*)
1195 site=$ac_optarg ;;
1197 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1198 ac_prev=srcdir ;;
1199 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1200 srcdir=$ac_optarg ;;
1202 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1203 | --syscon | --sysco | --sysc | --sys | --sy)
1204 ac_prev=sysconfdir ;;
1205 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1206 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1207 sysconfdir=$ac_optarg ;;
1209 -target | --target | --targe | --targ | --tar | --ta | --t)
1210 ac_prev=target_alias ;;
1211 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1212 target_alias=$ac_optarg ;;
1214 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1215 verbose=yes ;;
1217 -version | --version | --versio | --versi | --vers | -V)
1218 ac_init_version=: ;;
1220 -with-* | --with-*)
1221 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1222 # Reject names that are not valid shell variable names.
1223 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1224 as_fn_error "invalid package name: $ac_useropt"
1225 ac_useropt_orig=$ac_useropt
1226 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1227 case $ac_user_opts in
1229 "with_$ac_useropt"
1230 "*) ;;
1231 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1232 ac_unrecognized_sep=', ';;
1233 esac
1234 eval with_$ac_useropt=\$ac_optarg ;;
1236 -without-* | --without-*)
1237 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1238 # Reject names that are not valid shell variable names.
1239 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1240 as_fn_error "invalid package name: $ac_useropt"
1241 ac_useropt_orig=$ac_useropt
1242 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1243 case $ac_user_opts in
1245 "with_$ac_useropt"
1246 "*) ;;
1247 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1248 ac_unrecognized_sep=', ';;
1249 esac
1250 eval with_$ac_useropt=no ;;
1252 --x)
1253 # Obsolete; use --with-x.
1254 with_x=yes ;;
1256 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1257 | --x-incl | --x-inc | --x-in | --x-i)
1258 ac_prev=x_includes ;;
1259 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1260 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1261 x_includes=$ac_optarg ;;
1263 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1264 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1265 ac_prev=x_libraries ;;
1266 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1267 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1268 x_libraries=$ac_optarg ;;
1270 -*) as_fn_error "unrecognized option: \`$ac_option'
1271 Try \`$0 --help' for more information."
1274 *=*)
1275 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1276 # Reject names that are not valid shell variable names.
1277 case $ac_envvar in #(
1278 '' | [0-9]* | *[!_$as_cr_alnum]* )
1279 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1280 esac
1281 eval $ac_envvar=\$ac_optarg
1282 export $ac_envvar ;;
1285 # FIXME: should be removed in autoconf 3.0.
1286 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1287 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1288 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1289 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1292 esac
1293 done
1295 if test -n "$ac_prev"; then
1296 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1297 as_fn_error "missing argument to $ac_option"
1300 if test -n "$ac_unrecognized_opts"; then
1301 case $enable_option_checking in
1302 no) ;;
1303 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1304 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1305 esac
1308 # Check all directory arguments for consistency.
1309 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1310 datadir sysconfdir sharedstatedir localstatedir includedir \
1311 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1312 libdir localedir mandir
1314 eval ac_val=\$$ac_var
1315 # Remove trailing slashes.
1316 case $ac_val in
1317 */ )
1318 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1319 eval $ac_var=\$ac_val;;
1320 esac
1321 # Be sure to have absolute directory names.
1322 case $ac_val in
1323 [\\/$]* | ?:[\\/]* ) continue;;
1324 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1325 esac
1326 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1327 done
1329 # There might be people who depend on the old broken behavior: `$host'
1330 # used to hold the argument of --host etc.
1331 # FIXME: To remove some day.
1332 build=$build_alias
1333 host=$host_alias
1334 target=$target_alias
1336 # FIXME: To remove some day.
1337 if test "x$host_alias" != x; then
1338 if test "x$build_alias" = x; then
1339 cross_compiling=maybe
1340 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1341 If a cross compiler is detected then cross compile mode will be used." >&2
1342 elif test "x$build_alias" != "x$host_alias"; then
1343 cross_compiling=yes
1347 ac_tool_prefix=
1348 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1350 test "$silent" = yes && exec 6>/dev/null
1353 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1354 ac_ls_di=`ls -di .` &&
1355 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1356 as_fn_error "working directory cannot be determined"
1357 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1358 as_fn_error "pwd does not report name of working directory"
1361 # Find the source files, if location was not specified.
1362 if test -z "$srcdir"; then
1363 ac_srcdir_defaulted=yes
1364 # Try the directory containing this script, then the parent directory.
1365 ac_confdir=`$as_dirname -- "$as_myself" ||
1366 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1367 X"$as_myself" : 'X\(//\)[^/]' \| \
1368 X"$as_myself" : 'X\(//\)$' \| \
1369 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1370 $as_echo X"$as_myself" |
1371 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1372 s//\1/
1375 /^X\(\/\/\)[^/].*/{
1376 s//\1/
1379 /^X\(\/\/\)$/{
1380 s//\1/
1383 /^X\(\/\).*/{
1384 s//\1/
1387 s/.*/./; q'`
1388 srcdir=$ac_confdir
1389 if test ! -r "$srcdir/$ac_unique_file"; then
1390 srcdir=..
1392 else
1393 ac_srcdir_defaulted=no
1395 if test ! -r "$srcdir/$ac_unique_file"; then
1396 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1397 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1399 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1400 ac_abs_confdir=`(
1401 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1402 pwd)`
1403 # When building in place, set srcdir=.
1404 if test "$ac_abs_confdir" = "$ac_pwd"; then
1405 srcdir=.
1407 # Remove unnecessary trailing slashes from srcdir.
1408 # Double slashes in file names in object file debugging info
1409 # mess up M-x gdb in Emacs.
1410 case $srcdir in
1411 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1412 esac
1413 for ac_var in $ac_precious_vars; do
1414 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1415 eval ac_env_${ac_var}_value=\$${ac_var}
1416 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1417 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1418 done
1421 # Report the --help message.
1423 if test "$ac_init_help" = "long"; then
1424 # Omit some internal or obsolete options to make the list less imposing.
1425 # This message is too long to be a string in the A/UX 3.1 sh.
1426 cat <<_ACEOF
1427 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1429 Usage: $0 [OPTION]... [VAR=VALUE]...
1431 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1432 VAR=VALUE. See below for descriptions of some of the useful variables.
1434 Defaults for the options are specified in brackets.
1436 Configuration:
1437 -h, --help display this help and exit
1438 --help=short display options specific to this package
1439 --help=recursive display the short help of all the included packages
1440 -V, --version display version information and exit
1441 -q, --quiet, --silent do not print \`checking...' messages
1442 --cache-file=FILE cache test results in FILE [disabled]
1443 -C, --config-cache alias for \`--cache-file=config.cache'
1444 -n, --no-create do not create output files
1445 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1447 Installation directories:
1448 --prefix=PREFIX install architecture-independent files in PREFIX
1449 [$ac_default_prefix]
1450 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1451 [PREFIX]
1453 By default, \`make install' will install all the files in
1454 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1455 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1456 for instance \`--prefix=\$HOME'.
1458 For better control, use the options below.
1460 Fine tuning of the installation directories:
1461 --bindir=DIR user executables [EPREFIX/bin]
1462 --sbindir=DIR system admin executables [EPREFIX/sbin]
1463 --libexecdir=DIR program executables [EPREFIX/libexec]
1464 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1465 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1466 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1467 --libdir=DIR object code libraries [EPREFIX/lib]
1468 --includedir=DIR C header files [PREFIX/include]
1469 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1470 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1471 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1472 --infodir=DIR info documentation [DATAROOTDIR/info]
1473 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1474 --mandir=DIR man documentation [DATAROOTDIR/man]
1475 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1476 --htmldir=DIR html documentation [DOCDIR]
1477 --dvidir=DIR dvi documentation [DOCDIR]
1478 --pdfdir=DIR pdf documentation [DOCDIR]
1479 --psdir=DIR ps documentation [DOCDIR]
1480 _ACEOF
1482 cat <<\_ACEOF
1484 Program names:
1485 --program-prefix=PREFIX prepend PREFIX to installed program names
1486 --program-suffix=SUFFIX append SUFFIX to installed program names
1487 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1489 System types:
1490 --build=BUILD configure for building on BUILD [guessed]
1491 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1492 --target=TARGET configure for building compilers for TARGET [HOST]
1493 _ACEOF
1496 if test -n "$ac_init_help"; then
1497 case $ac_init_help in
1498 short | recursive ) echo "Configuration of package-unused version-unused:";;
1499 esac
1500 cat <<\_ACEOF
1502 Optional Features:
1503 --disable-option-checking ignore unrecognized --enable/--with options
1504 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1505 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1506 --enable-multilib build many library versions (default)
1507 --enable-maintainer-mode enable make rules and dependencies not useful
1508 (and sometimes confusing) to the casual installer
1509 --enable-shared[=PKGS] build shared libraries [default=yes]
1510 --enable-static[=PKGS] build static libraries [default=yes]
1511 --enable-fast-install[=PKGS]
1512 optimize for fast installation [default=yes]
1513 --disable-libtool-lock avoid locking (might break parallel builds)
1514 --disable-hosted-libstdcxx
1515 only build freestanding C++ runtime support
1516 --enable-sjlj-exceptions
1517 force use of builtin_setjmp for exceptions
1518 [default=auto]
1519 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1520 [default=$is_hosted]
1521 --enable-cstdio[=PACKAGE]
1522 use target-specific I/O package [default=stdio]
1523 --enable-clocale[=MODEL]
1524 use MODEL for target locale package [default=auto]
1525 --enable-nls use Native Language Support (default)
1526 --enable-libstdcxx-allocator[=KIND]
1527 use KIND for target std::allocator base
1528 [default=auto]
1529 --enable-cheaders[=KIND]
1530 construct "C" headers for g++ [default=$c_model]
1531 --enable-long-long enable template specializations for 'long long'
1532 [default=yes]
1533 --enable-wchar_t enable template specializations for 'wchar_t'
1534 [default=yes]
1535 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1536 --enable-concept-checks use Boost-derived template checks [default=no]
1537 --enable-libstdcxx-debug-flags=FLAGS
1538 pass compiler FLAGS when building debug library
1539 [default="-g3 -O0"]
1540 --enable-libstdcxx-debug
1541 build extra debug library [default=no]
1542 --enable-cxx-flags=FLAGS
1543 pass compiler FLAGS when building library [default=]
1544 --enable-fully-dynamic-string
1545 do not put empty strings in per-process static
1546 memory [default=no]
1547 --enable-extern-template
1548 enable extern template [default=yes]
1549 --enable-libstdcxx-time[=KIND]
1550 use KIND for check type [default=no]
1551 --enable-tls Use thread-local storage [default=yes]
1552 --disable-rpath do not hardcode runtime library paths
1553 --enable-linux-futex use the Linux futex system call [default=default]
1554 --enable-symvers[=STYLE]
1555 enables symbol versioning of the shared library
1556 [default=yes]
1557 --enable-libstdcxx-visibility
1558 enables visibility safe usage [default=yes]
1559 --enable-version-specific-runtime-libs
1560 Specify that runtime libraries should be installed
1561 in a compiler-specific directory
1563 Optional Packages:
1564 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1565 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1566 --with-target-subdir=SUBDIR
1567 configuring in a subdirectory
1568 --with-cross-host=HOST configuring with a cross compiler
1569 --with-newlib assume newlib as a system C library
1570 --with-pic try to use only PIC/non-PIC objects [default=use
1571 both]
1572 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1573 --with-gnu-ld assume the C compiler uses GNU ld default=no
1574 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1575 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1576 --with-system-libunwind use installed libunwind
1577 --with-gxx-include-dir=DIR
1578 installation directory for include files
1580 Some influential environment variables:
1581 CC C compiler command
1582 CFLAGS C compiler flags
1583 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1584 nonstandard directory <lib dir>
1585 LIBS libraries to pass to the linker, e.g. -l<library>
1586 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1587 you have headers in a nonstandard directory <include dir>
1588 CXX C++ compiler command
1589 CXXFLAGS C++ compiler flags
1590 CPP C preprocessor
1591 CXXCPP C++ preprocessor
1592 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1593 `c++filt', `gc++filt' on PATH.
1595 Use these variables to override the choices made by `configure' or to help
1596 it to find libraries and programs with nonstandard names/locations.
1598 Report bugs to the package provider.
1599 _ACEOF
1600 ac_status=$?
1603 if test "$ac_init_help" = "recursive"; then
1604 # If there are subdirs, report their specific --help.
1605 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1606 test -d "$ac_dir" ||
1607 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1608 continue
1609 ac_builddir=.
1611 case "$ac_dir" in
1612 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1614 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1615 # A ".." for each directory in $ac_dir_suffix.
1616 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1617 case $ac_top_builddir_sub in
1618 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1619 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1620 esac ;;
1621 esac
1622 ac_abs_top_builddir=$ac_pwd
1623 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1624 # for backward compatibility:
1625 ac_top_builddir=$ac_top_build_prefix
1627 case $srcdir in
1628 .) # We are building in place.
1629 ac_srcdir=.
1630 ac_top_srcdir=$ac_top_builddir_sub
1631 ac_abs_top_srcdir=$ac_pwd ;;
1632 [\\/]* | ?:[\\/]* ) # Absolute name.
1633 ac_srcdir=$srcdir$ac_dir_suffix;
1634 ac_top_srcdir=$srcdir
1635 ac_abs_top_srcdir=$srcdir ;;
1636 *) # Relative name.
1637 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1638 ac_top_srcdir=$ac_top_build_prefix$srcdir
1639 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1640 esac
1641 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1643 cd "$ac_dir" || { ac_status=$?; continue; }
1644 # Check for guested configure.
1645 if test -f "$ac_srcdir/configure.gnu"; then
1646 echo &&
1647 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1648 elif test -f "$ac_srcdir/configure"; then
1649 echo &&
1650 $SHELL "$ac_srcdir/configure" --help=recursive
1651 else
1652 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1653 fi || ac_status=$?
1654 cd "$ac_pwd" || { ac_status=$?; break; }
1655 done
1658 test -n "$ac_init_help" && exit $ac_status
1659 if $ac_init_version; then
1660 cat <<\_ACEOF
1661 package-unused configure version-unused
1662 generated by GNU Autoconf 2.64
1664 Copyright (C) 2009 Free Software Foundation, Inc.
1665 This configure script is free software; the Free Software Foundation
1666 gives unlimited permission to copy, distribute and modify it.
1667 _ACEOF
1668 exit
1671 ## ------------------------ ##
1672 ## Autoconf initialization. ##
1673 ## ------------------------ ##
1675 # ac_fn_c_try_compile LINENO
1676 # --------------------------
1677 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1678 ac_fn_c_try_compile ()
1680 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1681 rm -f conftest.$ac_objext
1682 if { { ac_try="$ac_compile"
1683 case "(($ac_try" in
1684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1685 *) ac_try_echo=$ac_try;;
1686 esac
1687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1688 $as_echo "$ac_try_echo"; } >&5
1689 (eval "$ac_compile") 2>conftest.err
1690 ac_status=$?
1691 if test -s conftest.err; then
1692 grep -v '^ *+' conftest.err >conftest.er1
1693 cat conftest.er1 >&5
1694 mv -f conftest.er1 conftest.err
1696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1697 test $ac_status = 0; } && {
1698 test -z "$ac_c_werror_flag" ||
1699 test ! -s conftest.err
1700 } && test -s conftest.$ac_objext; then :
1701 ac_retval=0
1702 else
1703 $as_echo "$as_me: failed program was:" >&5
1704 sed 's/^/| /' conftest.$ac_ext >&5
1706 ac_retval=1
1708 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1709 return $ac_retval
1711 } # ac_fn_c_try_compile
1713 # ac_fn_cxx_try_compile LINENO
1714 # ----------------------------
1715 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1716 ac_fn_cxx_try_compile ()
1718 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1719 rm -f conftest.$ac_objext
1720 if { { ac_try="$ac_compile"
1721 case "(($ac_try" in
1722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1723 *) ac_try_echo=$ac_try;;
1724 esac
1725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1726 $as_echo "$ac_try_echo"; } >&5
1727 (eval "$ac_compile") 2>conftest.err
1728 ac_status=$?
1729 if test -s conftest.err; then
1730 grep -v '^ *+' conftest.err >conftest.er1
1731 cat conftest.er1 >&5
1732 mv -f conftest.er1 conftest.err
1734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1735 test $ac_status = 0; } && {
1736 test -z "$ac_cxx_werror_flag" ||
1737 test ! -s conftest.err
1738 } && test -s conftest.$ac_objext; then :
1739 ac_retval=0
1740 else
1741 $as_echo "$as_me: failed program was:" >&5
1742 sed 's/^/| /' conftest.$ac_ext >&5
1744 ac_retval=1
1746 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1747 return $ac_retval
1749 } # ac_fn_cxx_try_compile
1751 # ac_fn_c_try_cpp LINENO
1752 # ----------------------
1753 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1754 ac_fn_c_try_cpp ()
1756 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1757 if { { ac_try="$ac_cpp conftest.$ac_ext"
1758 case "(($ac_try" in
1759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1760 *) ac_try_echo=$ac_try;;
1761 esac
1762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1763 $as_echo "$ac_try_echo"; } >&5
1764 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1765 ac_status=$?
1766 if test -s conftest.err; then
1767 grep -v '^ *+' conftest.err >conftest.er1
1768 cat conftest.er1 >&5
1769 mv -f conftest.er1 conftest.err
1771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1772 test $ac_status = 0; } >/dev/null && {
1773 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1774 test ! -s conftest.err
1775 }; then :
1776 ac_retval=0
1777 else
1778 $as_echo "$as_me: failed program was:" >&5
1779 sed 's/^/| /' conftest.$ac_ext >&5
1781 ac_retval=1
1783 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1784 return $ac_retval
1786 } # ac_fn_c_try_cpp
1788 # ac_fn_c_try_link LINENO
1789 # -----------------------
1790 # Try to link conftest.$ac_ext, and return whether this succeeded.
1791 ac_fn_c_try_link ()
1793 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1794 rm -f conftest.$ac_objext conftest$ac_exeext
1795 if { { ac_try="$ac_link"
1796 case "(($ac_try" in
1797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1798 *) ac_try_echo=$ac_try;;
1799 esac
1800 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1801 $as_echo "$ac_try_echo"; } >&5
1802 (eval "$ac_link") 2>conftest.err
1803 ac_status=$?
1804 if test -s conftest.err; then
1805 grep -v '^ *+' conftest.err >conftest.er1
1806 cat conftest.er1 >&5
1807 mv -f conftest.er1 conftest.err
1809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1810 test $ac_status = 0; } && {
1811 test -z "$ac_c_werror_flag" ||
1812 test ! -s conftest.err
1813 } && test -s conftest$ac_exeext && {
1814 test "$cross_compiling" = yes ||
1815 $as_test_x conftest$ac_exeext
1816 }; then :
1817 ac_retval=0
1818 else
1819 $as_echo "$as_me: failed program was:" >&5
1820 sed 's/^/| /' conftest.$ac_ext >&5
1822 ac_retval=1
1824 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1825 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1826 # interfere with the next link command; also delete a directory that is
1827 # left behind by Apple's compiler. We do this before executing the actions.
1828 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1829 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1830 return $ac_retval
1832 } # ac_fn_c_try_link
1834 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1835 # -------------------------------------------------------
1836 # Tests whether HEADER exists and can be compiled using the include files in
1837 # INCLUDES, setting the cache variable VAR accordingly.
1838 ac_fn_c_check_header_compile ()
1840 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1842 $as_echo_n "checking for $2... " >&6; }
1843 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1844 $as_echo_n "(cached) " >&6
1845 else
1846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1847 /* end confdefs.h. */
1849 #include <$2>
1850 _ACEOF
1851 if ac_fn_c_try_compile "$LINENO"; then :
1852 eval "$3=yes"
1853 else
1854 eval "$3=no"
1856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1858 eval ac_res=\$$3
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1860 $as_echo "$ac_res" >&6; }
1861 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1863 } # ac_fn_c_check_header_compile
1865 # ac_fn_c_try_run LINENO
1866 # ----------------------
1867 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1868 # that executables *can* be run.
1869 ac_fn_c_try_run ()
1871 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1872 if { { ac_try="$ac_link"
1873 case "(($ac_try" in
1874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1875 *) ac_try_echo=$ac_try;;
1876 esac
1877 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1878 $as_echo "$ac_try_echo"; } >&5
1879 (eval "$ac_link") 2>&5
1880 ac_status=$?
1881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1882 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1883 { { case "(($ac_try" in
1884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1885 *) ac_try_echo=$ac_try;;
1886 esac
1887 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1888 $as_echo "$ac_try_echo"; } >&5
1889 (eval "$ac_try") 2>&5
1890 ac_status=$?
1891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1892 test $ac_status = 0; }; }; then :
1893 ac_retval=0
1894 else
1895 $as_echo "$as_me: program exited with status $ac_status" >&5
1896 $as_echo "$as_me: failed program was:" >&5
1897 sed 's/^/| /' conftest.$ac_ext >&5
1899 ac_retval=$ac_status
1901 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1902 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1903 return $ac_retval
1905 } # ac_fn_c_try_run
1907 # ac_fn_c_check_func LINENO FUNC VAR
1908 # ----------------------------------
1909 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1910 ac_fn_c_check_func ()
1912 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1914 $as_echo_n "checking for $2... " >&6; }
1915 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1916 $as_echo_n "(cached) " >&6
1917 else
1918 if test x$gcc_no_link = xyes; then
1919 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1922 /* end confdefs.h. */
1923 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1924 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1925 #define $2 innocuous_$2
1927 /* System header to define __stub macros and hopefully few prototypes,
1928 which can conflict with char $2 (); below.
1929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1930 <limits.h> exists even on freestanding compilers. */
1932 #ifdef __STDC__
1933 # include <limits.h>
1934 #else
1935 # include <assert.h>
1936 #endif
1938 #undef $2
1940 /* Override any GCC internal prototype to avoid an error.
1941 Use char because int might match the return type of a GCC
1942 builtin and then its argument prototype would still apply. */
1943 #ifdef __cplusplus
1944 extern "C"
1945 #endif
1946 char $2 ();
1947 /* The GNU C library defines this for functions which it implements
1948 to always fail with ENOSYS. Some functions are actually named
1949 something starting with __ and the normal name is an alias. */
1950 #if defined __stub_$2 || defined __stub___$2
1951 choke me
1952 #endif
1955 main ()
1957 return $2 ();
1959 return 0;
1961 _ACEOF
1962 if ac_fn_c_try_link "$LINENO"; then :
1963 eval "$3=yes"
1964 else
1965 eval "$3=no"
1967 rm -f core conftest.err conftest.$ac_objext \
1968 conftest$ac_exeext conftest.$ac_ext
1970 eval ac_res=\$$3
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1972 $as_echo "$ac_res" >&6; }
1973 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1975 } # ac_fn_c_check_func
1977 # ac_fn_cxx_try_cpp LINENO
1978 # ------------------------
1979 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1980 ac_fn_cxx_try_cpp ()
1982 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1983 if { { ac_try="$ac_cpp conftest.$ac_ext"
1984 case "(($ac_try" in
1985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1986 *) ac_try_echo=$ac_try;;
1987 esac
1988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1989 $as_echo "$ac_try_echo"; } >&5
1990 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1991 ac_status=$?
1992 if test -s conftest.err; then
1993 grep -v '^ *+' conftest.err >conftest.er1
1994 cat conftest.er1 >&5
1995 mv -f conftest.er1 conftest.err
1997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1998 test $ac_status = 0; } >/dev/null && {
1999 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2000 test ! -s conftest.err
2001 }; then :
2002 ac_retval=0
2003 else
2004 $as_echo "$as_me: failed program was:" >&5
2005 sed 's/^/| /' conftest.$ac_ext >&5
2007 ac_retval=1
2009 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2010 return $ac_retval
2012 } # ac_fn_cxx_try_cpp
2014 # ac_fn_cxx_try_link LINENO
2015 # -------------------------
2016 # Try to link conftest.$ac_ext, and return whether this succeeded.
2017 ac_fn_cxx_try_link ()
2019 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2020 rm -f conftest.$ac_objext conftest$ac_exeext
2021 if { { ac_try="$ac_link"
2022 case "(($ac_try" in
2023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2024 *) ac_try_echo=$ac_try;;
2025 esac
2026 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2027 $as_echo "$ac_try_echo"; } >&5
2028 (eval "$ac_link") 2>conftest.err
2029 ac_status=$?
2030 if test -s conftest.err; then
2031 grep -v '^ *+' conftest.err >conftest.er1
2032 cat conftest.er1 >&5
2033 mv -f conftest.er1 conftest.err
2035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2036 test $ac_status = 0; } && {
2037 test -z "$ac_cxx_werror_flag" ||
2038 test ! -s conftest.err
2039 } && test -s conftest$ac_exeext && {
2040 test "$cross_compiling" = yes ||
2041 $as_test_x conftest$ac_exeext
2042 }; then :
2043 ac_retval=0
2044 else
2045 $as_echo "$as_me: failed program was:" >&5
2046 sed 's/^/| /' conftest.$ac_ext >&5
2048 ac_retval=1
2050 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2051 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2052 # interfere with the next link command; also delete a directory that is
2053 # left behind by Apple's compiler. We do this before executing the actions.
2054 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2055 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2056 return $ac_retval
2058 } # ac_fn_cxx_try_link
2060 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2061 # -------------------------------------------------------
2062 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2063 # the include files in INCLUDES and setting the cache variable VAR
2064 # accordingly.
2065 ac_fn_c_check_header_mongrel ()
2067 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2068 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2070 $as_echo_n "checking for $2... " >&6; }
2071 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2072 $as_echo_n "(cached) " >&6
2074 eval ac_res=\$$3
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2076 $as_echo "$ac_res" >&6; }
2077 else
2078 # Is the header compilable?
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2080 $as_echo_n "checking $2 usability... " >&6; }
2081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2082 /* end confdefs.h. */
2084 #include <$2>
2085 _ACEOF
2086 if ac_fn_c_try_compile "$LINENO"; then :
2087 ac_header_compiler=yes
2088 else
2089 ac_header_compiler=no
2091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2093 $as_echo "$ac_header_compiler" >&6; }
2095 # Is the header present?
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2097 $as_echo_n "checking $2 presence... " >&6; }
2098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2099 /* end confdefs.h. */
2100 #include <$2>
2101 _ACEOF
2102 if ac_fn_c_try_cpp "$LINENO"; then :
2103 ac_header_preproc=yes
2104 else
2105 ac_header_preproc=no
2107 rm -f conftest.err conftest.$ac_ext
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2109 $as_echo "$ac_header_preproc" >&6; }
2111 # So? What about this header?
2112 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2113 yes:no: )
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2115 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2117 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2119 no:yes:* )
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2121 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2123 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2125 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2127 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2129 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2131 esac
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2133 $as_echo_n "checking for $2... " >&6; }
2134 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2135 $as_echo_n "(cached) " >&6
2136 else
2137 eval "$3=\$ac_header_compiler"
2139 eval ac_res=\$$3
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2141 $as_echo "$ac_res" >&6; }
2143 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2145 } # ac_fn_c_check_header_mongrel
2147 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2148 # ---------------------------------------------------------
2149 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2150 # the include files in INCLUDES and setting the cache variable VAR
2151 # accordingly.
2152 ac_fn_cxx_check_header_mongrel ()
2154 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2155 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2157 $as_echo_n "checking for $2... " >&6; }
2158 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2159 $as_echo_n "(cached) " >&6
2161 eval ac_res=\$$3
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2163 $as_echo "$ac_res" >&6; }
2164 else
2165 # Is the header compilable?
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2167 $as_echo_n "checking $2 usability... " >&6; }
2168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2169 /* end confdefs.h. */
2171 #include <$2>
2172 _ACEOF
2173 if ac_fn_cxx_try_compile "$LINENO"; then :
2174 ac_header_compiler=yes
2175 else
2176 ac_header_compiler=no
2178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2180 $as_echo "$ac_header_compiler" >&6; }
2182 # Is the header present?
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2184 $as_echo_n "checking $2 presence... " >&6; }
2185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2186 /* end confdefs.h. */
2187 #include <$2>
2188 _ACEOF
2189 if ac_fn_cxx_try_cpp "$LINENO"; then :
2190 ac_header_preproc=yes
2191 else
2192 ac_header_preproc=no
2194 rm -f conftest.err conftest.$ac_ext
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2196 $as_echo "$ac_header_preproc" >&6; }
2198 # So? What about this header?
2199 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2200 yes:no: )
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2202 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2204 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2206 no:yes:* )
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2208 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2210 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2212 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2214 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2216 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2218 esac
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2220 $as_echo_n "checking for $2... " >&6; }
2221 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2222 $as_echo_n "(cached) " >&6
2223 else
2224 eval "$3=\$ac_header_compiler"
2226 eval ac_res=\$$3
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2228 $as_echo "$ac_res" >&6; }
2230 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2232 } # ac_fn_cxx_check_header_mongrel
2234 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2235 # --------------------------------------------
2236 # Tries to find the compile-time value of EXPR in a program that includes
2237 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2238 # computed
2239 ac_fn_c_compute_int ()
2241 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2242 if test "$cross_compiling" = yes; then
2243 # Depending upon the size, compute the lo and hi bounds.
2244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2245 /* end confdefs.h. */
2248 main ()
2250 static int test_array [1 - 2 * !(($2) >= 0)];
2251 test_array [0] = 0
2254 return 0;
2256 _ACEOF
2257 if ac_fn_c_try_compile "$LINENO"; then :
2258 ac_lo=0 ac_mid=0
2259 while :; do
2260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2261 /* end confdefs.h. */
2264 main ()
2266 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2267 test_array [0] = 0
2270 return 0;
2272 _ACEOF
2273 if ac_fn_c_try_compile "$LINENO"; then :
2274 ac_hi=$ac_mid; break
2275 else
2276 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2277 if test $ac_lo -le $ac_mid; then
2278 ac_lo= ac_hi=
2279 break
2281 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2284 done
2285 else
2286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2287 /* end confdefs.h. */
2290 main ()
2292 static int test_array [1 - 2 * !(($2) < 0)];
2293 test_array [0] = 0
2296 return 0;
2298 _ACEOF
2299 if ac_fn_c_try_compile "$LINENO"; then :
2300 ac_hi=-1 ac_mid=-1
2301 while :; do
2302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2303 /* end confdefs.h. */
2306 main ()
2308 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2309 test_array [0] = 0
2312 return 0;
2314 _ACEOF
2315 if ac_fn_c_try_compile "$LINENO"; then :
2316 ac_lo=$ac_mid; break
2317 else
2318 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2319 if test $ac_mid -le $ac_hi; then
2320 ac_lo= ac_hi=
2321 break
2323 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2326 done
2327 else
2328 ac_lo= ac_hi=
2330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2333 # Binary search between lo and hi bounds.
2334 while test "x$ac_lo" != "x$ac_hi"; do
2335 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2337 /* end confdefs.h. */
2340 main ()
2342 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2343 test_array [0] = 0
2346 return 0;
2348 _ACEOF
2349 if ac_fn_c_try_compile "$LINENO"; then :
2350 ac_hi=$ac_mid
2351 else
2352 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2355 done
2356 case $ac_lo in #((
2357 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2358 '') ac_retval=1 ;;
2359 esac
2360 else
2361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2362 /* end confdefs.h. */
2364 static long int longval () { return $2; }
2365 static unsigned long int ulongval () { return $2; }
2366 #include <stdio.h>
2367 #include <stdlib.h>
2369 main ()
2372 FILE *f = fopen ("conftest.val", "w");
2373 if (! f)
2374 return 1;
2375 if (($2) < 0)
2377 long int i = longval ();
2378 if (i != ($2))
2379 return 1;
2380 fprintf (f, "%ld", i);
2382 else
2384 unsigned long int i = ulongval ();
2385 if (i != ($2))
2386 return 1;
2387 fprintf (f, "%lu", i);
2389 /* Do not output a trailing newline, as this causes \r\n confusion
2390 on some platforms. */
2391 return ferror (f) || fclose (f) != 0;
2394 return 0;
2396 _ACEOF
2397 if ac_fn_c_try_run "$LINENO"; then :
2398 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2399 else
2400 ac_retval=1
2402 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2403 conftest.$ac_objext conftest.beam conftest.$ac_ext
2404 rm -f conftest.val
2407 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2408 return $ac_retval
2410 } # ac_fn_c_compute_int
2412 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2413 # -------------------------------------------
2414 # Tests whether TYPE exists after having included INCLUDES, setting cache
2415 # variable VAR accordingly.
2416 ac_fn_c_check_type ()
2418 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2420 $as_echo_n "checking for $2... " >&6; }
2421 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2422 $as_echo_n "(cached) " >&6
2423 else
2424 eval "$3=no"
2425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2426 /* end confdefs.h. */
2429 main ()
2431 if (sizeof ($2))
2432 return 0;
2434 return 0;
2436 _ACEOF
2437 if ac_fn_c_try_compile "$LINENO"; then :
2438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2439 /* end confdefs.h. */
2442 main ()
2444 if (sizeof (($2)))
2445 return 0;
2447 return 0;
2449 _ACEOF
2450 if ac_fn_c_try_compile "$LINENO"; then :
2452 else
2453 eval "$3=yes"
2455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2459 eval ac_res=\$$3
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2461 $as_echo "$ac_res" >&6; }
2462 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2464 } # ac_fn_c_check_type
2465 cat >config.log <<_ACEOF
2466 This file contains any messages produced by compilers while
2467 running configure, to aid debugging if configure makes a mistake.
2469 It was created by package-unused $as_me version-unused, which was
2470 generated by GNU Autoconf 2.64. Invocation command line was
2472 $ $0 $@
2474 _ACEOF
2475 exec 5>>config.log
2477 cat <<_ASUNAME
2478 ## --------- ##
2479 ## Platform. ##
2480 ## --------- ##
2482 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2483 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2484 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2485 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2486 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2488 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2489 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2491 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2492 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2493 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2494 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2495 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2496 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2497 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2499 _ASUNAME
2501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2502 for as_dir in $PATH
2504 IFS=$as_save_IFS
2505 test -z "$as_dir" && as_dir=.
2506 $as_echo "PATH: $as_dir"
2507 done
2508 IFS=$as_save_IFS
2510 } >&5
2512 cat >&5 <<_ACEOF
2515 ## ----------- ##
2516 ## Core tests. ##
2517 ## ----------- ##
2519 _ACEOF
2522 # Keep a trace of the command line.
2523 # Strip out --no-create and --no-recursion so they do not pile up.
2524 # Strip out --silent because we don't want to record it for future runs.
2525 # Also quote any args containing shell meta-characters.
2526 # Make two passes to allow for proper duplicate-argument suppression.
2527 ac_configure_args=
2528 ac_configure_args0=
2529 ac_configure_args1=
2530 ac_must_keep_next=false
2531 for ac_pass in 1 2
2533 for ac_arg
2535 case $ac_arg in
2536 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2538 | -silent | --silent | --silen | --sile | --sil)
2539 continue ;;
2540 *\'*)
2541 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2542 esac
2543 case $ac_pass in
2544 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2546 as_fn_append ac_configure_args1 " '$ac_arg'"
2547 if test $ac_must_keep_next = true; then
2548 ac_must_keep_next=false # Got value, back to normal.
2549 else
2550 case $ac_arg in
2551 *=* | --config-cache | -C | -disable-* | --disable-* \
2552 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2553 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2554 | -with-* | --with-* | -without-* | --without-* | --x)
2555 case "$ac_configure_args0 " in
2556 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2557 esac
2559 -* ) ac_must_keep_next=true ;;
2560 esac
2562 as_fn_append ac_configure_args " '$ac_arg'"
2564 esac
2565 done
2566 done
2567 { ac_configure_args0=; unset ac_configure_args0;}
2568 { ac_configure_args1=; unset ac_configure_args1;}
2570 # When interrupted or exit'd, cleanup temporary files, and complete
2571 # config.log. We remove comments because anyway the quotes in there
2572 # would cause problems or look ugly.
2573 # WARNING: Use '\'' to represent an apostrophe within the trap.
2574 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2575 trap 'exit_status=$?
2576 # Save into config.log some information that might help in debugging.
2578 echo
2580 cat <<\_ASBOX
2581 ## ---------------- ##
2582 ## Cache variables. ##
2583 ## ---------------- ##
2584 _ASBOX
2585 echo
2586 # The following way of writing the cache mishandles newlines in values,
2588 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2589 eval ac_val=\$$ac_var
2590 case $ac_val in #(
2591 *${as_nl}*)
2592 case $ac_var in #(
2593 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2594 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2595 esac
2596 case $ac_var in #(
2597 _ | IFS | as_nl) ;; #(
2598 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2599 *) { eval $ac_var=; unset $ac_var;} ;;
2600 esac ;;
2601 esac
2602 done
2603 (set) 2>&1 |
2604 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2605 *${as_nl}ac_space=\ *)
2606 sed -n \
2607 "s/'\''/'\''\\\\'\'''\''/g;
2608 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2609 ;; #(
2611 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2613 esac |
2614 sort
2616 echo
2618 cat <<\_ASBOX
2619 ## ----------------- ##
2620 ## Output variables. ##
2621 ## ----------------- ##
2622 _ASBOX
2623 echo
2624 for ac_var in $ac_subst_vars
2626 eval ac_val=\$$ac_var
2627 case $ac_val in
2628 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2629 esac
2630 $as_echo "$ac_var='\''$ac_val'\''"
2631 done | sort
2632 echo
2634 if test -n "$ac_subst_files"; then
2635 cat <<\_ASBOX
2636 ## ------------------- ##
2637 ## File substitutions. ##
2638 ## ------------------- ##
2639 _ASBOX
2640 echo
2641 for ac_var in $ac_subst_files
2643 eval ac_val=\$$ac_var
2644 case $ac_val in
2645 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2646 esac
2647 $as_echo "$ac_var='\''$ac_val'\''"
2648 done | sort
2649 echo
2652 if test -s confdefs.h; then
2653 cat <<\_ASBOX
2654 ## ----------- ##
2655 ## confdefs.h. ##
2656 ## ----------- ##
2657 _ASBOX
2658 echo
2659 cat confdefs.h
2660 echo
2662 test "$ac_signal" != 0 &&
2663 $as_echo "$as_me: caught signal $ac_signal"
2664 $as_echo "$as_me: exit $exit_status"
2665 } >&5
2666 rm -f core *.core core.conftest.* &&
2667 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2668 exit $exit_status
2670 for ac_signal in 1 2 13 15; do
2671 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2672 done
2673 ac_signal=0
2675 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2676 rm -f -r conftest* confdefs.h
2678 $as_echo "/* confdefs.h */" > confdefs.h
2680 # Predefined preprocessor variables.
2682 cat >>confdefs.h <<_ACEOF
2683 #define PACKAGE_NAME "$PACKAGE_NAME"
2684 _ACEOF
2686 cat >>confdefs.h <<_ACEOF
2687 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2688 _ACEOF
2690 cat >>confdefs.h <<_ACEOF
2691 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2692 _ACEOF
2694 cat >>confdefs.h <<_ACEOF
2695 #define PACKAGE_STRING "$PACKAGE_STRING"
2696 _ACEOF
2698 cat >>confdefs.h <<_ACEOF
2699 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2700 _ACEOF
2702 cat >>confdefs.h <<_ACEOF
2703 #define PACKAGE_URL "$PACKAGE_URL"
2704 _ACEOF
2707 # Let the site file select an alternate cache file if it wants to.
2708 # Prefer an explicitly selected file to automatically selected ones.
2709 ac_site_file1=NONE
2710 ac_site_file2=NONE
2711 if test -n "$CONFIG_SITE"; then
2712 ac_site_file1=$CONFIG_SITE
2713 elif test "x$prefix" != xNONE; then
2714 ac_site_file1=$prefix/share/config.site
2715 ac_site_file2=$prefix/etc/config.site
2716 else
2717 ac_site_file1=$ac_default_prefix/share/config.site
2718 ac_site_file2=$ac_default_prefix/etc/config.site
2720 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2722 test "x$ac_site_file" = xNONE && continue
2723 if test -r "$ac_site_file"; then
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2725 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2726 sed 's/^/| /' "$ac_site_file" >&5
2727 . "$ac_site_file"
2729 done
2731 if test -r "$cache_file"; then
2732 # Some versions of bash will fail to source /dev/null (special
2733 # files actually), so we avoid doing that.
2734 if test -f "$cache_file"; then
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2736 $as_echo "$as_me: loading cache $cache_file" >&6;}
2737 case $cache_file in
2738 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2739 *) . "./$cache_file";;
2740 esac
2742 else
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2744 $as_echo "$as_me: creating cache $cache_file" >&6;}
2745 >$cache_file
2748 # Check that the precious variables saved in the cache have kept the same
2749 # value.
2750 ac_cache_corrupted=false
2751 for ac_var in $ac_precious_vars; do
2752 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2753 eval ac_new_set=\$ac_env_${ac_var}_set
2754 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2755 eval ac_new_val=\$ac_env_${ac_var}_value
2756 case $ac_old_set,$ac_new_set in
2757 set,)
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2759 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2760 ac_cache_corrupted=: ;;
2761 ,set)
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2763 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2764 ac_cache_corrupted=: ;;
2765 ,);;
2767 if test "x$ac_old_val" != "x$ac_new_val"; then
2768 # differences in whitespace do not lead to failure.
2769 ac_old_val_w=`echo x $ac_old_val`
2770 ac_new_val_w=`echo x $ac_new_val`
2771 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2773 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2774 ac_cache_corrupted=:
2775 else
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2777 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2778 eval $ac_var=\$ac_old_val
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2781 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2783 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2784 fi;;
2785 esac
2786 # Pass precious variables to config.status.
2787 if test "$ac_new_set" = set; then
2788 case $ac_new_val in
2789 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2790 *) ac_arg=$ac_var=$ac_new_val ;;
2791 esac
2792 case " $ac_configure_args " in
2793 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2794 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2795 esac
2797 done
2798 if $ac_cache_corrupted; then
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2800 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2802 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2803 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2805 ## -------------------- ##
2806 ## Main body of script. ##
2807 ## -------------------- ##
2809 ac_ext=c
2810 ac_cpp='$CPP $CPPFLAGS'
2811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2820 ac_config_headers="$ac_config_headers config.h"
2823 # This works around the fact that libtool configuration may change LD
2824 # for this particular configuration, but some shells, instead of
2825 # keeping the changes in LD private, export them just because LD is
2826 # exported. Only used at the end of this file.
2827 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2829 # Find the rest of the source tree framework.
2830 # Default to --enable-multilib
2831 # Check whether --enable-multilib was given.
2832 if test "${enable_multilib+set}" = set; then :
2833 enableval=$enable_multilib; case "$enableval" in
2834 yes) multilib=yes ;;
2835 no) multilib=no ;;
2836 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2837 esac
2838 else
2839 multilib=yes
2843 # We may get other options which we leave undocumented:
2844 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2845 # See config-ml.in if you want the gory details.
2847 if test "$srcdir" = "."; then
2848 if test "$with_target_subdir" != "."; then
2849 multi_basedir="$srcdir/$with_multisrctop../.."
2850 else
2851 multi_basedir="$srcdir/$with_multisrctop.."
2853 else
2854 multi_basedir="$srcdir/.."
2858 # Even if the default multilib is not a cross compilation,
2859 # it may be that some of the other multilibs are.
2860 if test $cross_compiling = no && test $multilib = yes \
2861 && test "x${with_multisubdir}" != x ; then
2862 cross_compiling=maybe
2865 ac_config_commands="$ac_config_commands default-1"
2868 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2870 # You will slowly go insane if you do not grok the following fact: when
2871 # building v3 as part of the compiler, the top-level /target/ becomes the
2872 # library's /host/. configure then causes --target to default to --host,
2873 # exactly like any other package using autoconf. Therefore, 'target' and
2874 # 'host' will always be the same. This makes sense both for native and
2875 # cross compilers, just think about it for a little while. :-)
2877 # Also, if v3 is being configured as part of a cross compiler, the top-level
2878 # configure script will pass the "real" host as $with_cross_host.
2880 # Do not delete or change the following two lines. For why, see
2881 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2882 ac_aux_dir=
2883 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2884 for ac_t in install-sh install.sh shtool; do
2885 if test -f "$ac_dir/$ac_t"; then
2886 ac_aux_dir=$ac_dir
2887 ac_install_sh="$ac_aux_dir/$ac_t -c"
2888 break 2
2890 done
2891 done
2892 if test -z "$ac_aux_dir"; then
2893 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2896 # These three variables are undocumented and unsupported,
2897 # and are intended to be withdrawn in a future Autoconf release.
2898 # They can cause serious problems if a builder's source tree is in a directory
2899 # whose full name contains unusual characters.
2900 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2901 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2902 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2905 # Make sure we can run config.sub.
2906 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2907 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2910 $as_echo_n "checking build system type... " >&6; }
2911 if test "${ac_cv_build+set}" = set; then :
2912 $as_echo_n "(cached) " >&6
2913 else
2914 ac_build_alias=$build_alias
2915 test "x$ac_build_alias" = x &&
2916 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2917 test "x$ac_build_alias" = x &&
2918 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2919 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2920 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2924 $as_echo "$ac_cv_build" >&6; }
2925 case $ac_cv_build in
2926 *-*-*) ;;
2927 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2928 esac
2929 build=$ac_cv_build
2930 ac_save_IFS=$IFS; IFS='-'
2931 set x $ac_cv_build
2932 shift
2933 build_cpu=$1
2934 build_vendor=$2
2935 shift; shift
2936 # Remember, the first character of IFS is used to create $*,
2937 # except with old shells:
2938 build_os=$*
2939 IFS=$ac_save_IFS
2940 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2944 $as_echo_n "checking host system type... " >&6; }
2945 if test "${ac_cv_host+set}" = set; then :
2946 $as_echo_n "(cached) " >&6
2947 else
2948 if test "x$host_alias" = x; then
2949 ac_cv_host=$ac_cv_build
2950 else
2951 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2952 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2957 $as_echo "$ac_cv_host" >&6; }
2958 case $ac_cv_host in
2959 *-*-*) ;;
2960 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2961 esac
2962 host=$ac_cv_host
2963 ac_save_IFS=$IFS; IFS='-'
2964 set x $ac_cv_host
2965 shift
2966 host_cpu=$1
2967 host_vendor=$2
2968 shift; shift
2969 # Remember, the first character of IFS is used to create $*,
2970 # except with old shells:
2971 host_os=$*
2972 IFS=$ac_save_IFS
2973 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2977 $as_echo_n "checking target system type... " >&6; }
2978 if test "${ac_cv_target+set}" = set; then :
2979 $as_echo_n "(cached) " >&6
2980 else
2981 if test "x$target_alias" = x; then
2982 ac_cv_target=$ac_cv_host
2983 else
2984 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2985 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2990 $as_echo "$ac_cv_target" >&6; }
2991 case $ac_cv_target in
2992 *-*-*) ;;
2993 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2994 esac
2995 target=$ac_cv_target
2996 ac_save_IFS=$IFS; IFS='-'
2997 set x $ac_cv_target
2998 shift
2999 target_cpu=$1
3000 target_vendor=$2
3001 shift; shift
3002 # Remember, the first character of IFS is used to create $*,
3003 # except with old shells:
3004 target_os=$*
3005 IFS=$ac_save_IFS
3006 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3009 # The aliases save the names the user supplied, while $host etc.
3010 # will get canonicalized.
3011 test -n "$target_alias" &&
3012 test "$program_prefix$program_suffix$program_transform_name" = \
3013 NONENONEs,x,x, &&
3014 program_prefix=${target_alias}-
3016 target_alias=${target_alias-$host_alias}
3018 # Handy for debugging:
3019 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3021 if test "$build" != "$host"; then
3022 # We are being configured with some form of cross compiler.
3023 GLIBCXX_IS_NATIVE=false
3024 case "$host","$target" in
3025 # Darwin crosses can use the host system's libraries and headers,
3026 # because of the fat library support. Of course, it must be the
3027 # same version of Darwin on both sides. Allow the user to
3028 # just say --target=foo-darwin without a version number to mean
3029 # "the version on this system".
3030 *-*-darwin*,*-*-darwin*)
3031 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3032 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3033 if test $hostos = $targetos -o $targetos = darwin ; then
3034 GLIBCXX_IS_NATIVE=true
3041 esac
3042 else
3043 GLIBCXX_IS_NATIVE=true
3046 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3047 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3048 # 1.x: minimum required version
3049 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3050 # of other PACKAGE_* variables will, however, and there's nothing
3051 # we can do about that; they come from AC_INIT).
3052 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3053 # file in the top srcdir, etc, etc), so stop complaining.
3054 # no-dependencies: turns off auto dependency generation (just for now)
3055 # no-dist: we don't want 'dist' and related rules.
3056 # -Wall: turns on all automake warnings...
3057 # -Wno-portability: ...except this one, since GNU make is now required.
3058 am__api_version='1.11'
3060 # Find a good install program. We prefer a C program (faster),
3061 # so one script is as good as another. But avoid the broken or
3062 # incompatible versions:
3063 # SysV /etc/install, /usr/sbin/install
3064 # SunOS /usr/etc/install
3065 # IRIX /sbin/install
3066 # AIX /bin/install
3067 # AmigaOS /C/install, which installs bootblocks on floppy discs
3068 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3069 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3070 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3071 # OS/2's system install, which has a completely different semantic
3072 # ./install, which can be erroneously created by make from ./install.sh.
3073 # Reject install programs that cannot install multiple files.
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3075 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3076 if test -z "$INSTALL"; then
3077 if test "${ac_cv_path_install+set}" = set; then :
3078 $as_echo_n "(cached) " >&6
3079 else
3080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3081 for as_dir in $PATH
3083 IFS=$as_save_IFS
3084 test -z "$as_dir" && as_dir=.
3085 # Account for people who put trailing slashes in PATH elements.
3086 case $as_dir/ in #((
3087 ./ | .// | /[cC]/* | \
3088 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3089 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3090 /usr/ucb/* ) ;;
3092 # OSF1 and SCO ODT 3.0 have their own names for install.
3093 # Don't use installbsd from OSF since it installs stuff as root
3094 # by default.
3095 for ac_prog in ginstall scoinst install; do
3096 for ac_exec_ext in '' $ac_executable_extensions; do
3097 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3098 if test $ac_prog = install &&
3099 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3100 # AIX install. It has an incompatible calling convention.
3102 elif test $ac_prog = install &&
3103 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3104 # program-specific install script used by HP pwplus--don't use.
3106 else
3107 rm -rf conftest.one conftest.two conftest.dir
3108 echo one > conftest.one
3109 echo two > conftest.two
3110 mkdir conftest.dir
3111 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3112 test -s conftest.one && test -s conftest.two &&
3113 test -s conftest.dir/conftest.one &&
3114 test -s conftest.dir/conftest.two
3115 then
3116 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3117 break 3
3121 done
3122 done
3124 esac
3126 done
3127 IFS=$as_save_IFS
3129 rm -rf conftest.one conftest.two conftest.dir
3132 if test "${ac_cv_path_install+set}" = set; then
3133 INSTALL=$ac_cv_path_install
3134 else
3135 # As a last resort, use the slow shell script. Don't cache a
3136 # value for INSTALL within a source directory, because that will
3137 # break other packages using the cache if that directory is
3138 # removed, or if the value is a relative name.
3139 INSTALL=$ac_install_sh
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3143 $as_echo "$INSTALL" >&6; }
3145 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3146 # It thinks the first close brace ends the variable substitution.
3147 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3149 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3151 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3154 $as_echo_n "checking whether build environment is sane... " >&6; }
3155 # Just in case
3156 sleep 1
3157 echo timestamp > conftest.file
3158 # Reject unsafe characters in $srcdir or the absolute working directory
3159 # name. Accept space and tab only in the latter.
3160 am_lf='
3162 case `pwd` in
3163 *[\\\"\#\$\&\'\`$am_lf]*)
3164 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3165 esac
3166 case $srcdir in
3167 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3168 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3169 esac
3171 # Do `set' in a subshell so we don't clobber the current shell's
3172 # arguments. Must try -L first in case configure is actually a
3173 # symlink; some systems play weird games with the mod time of symlinks
3174 # (eg FreeBSD returns the mod time of the symlink's containing
3175 # directory).
3176 if (
3177 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3178 if test "$*" = "X"; then
3179 # -L didn't work.
3180 set X `ls -t "$srcdir/configure" conftest.file`
3182 rm -f conftest.file
3183 if test "$*" != "X $srcdir/configure conftest.file" \
3184 && test "$*" != "X conftest.file $srcdir/configure"; then
3186 # If neither matched, then we have a broken ls. This can happen
3187 # if, for instance, CONFIG_SHELL is bash and it inherits a
3188 # broken ls alias from the environment. This has actually
3189 # happened. Such a system could not be considered "sane".
3190 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3191 alias in your environment" "$LINENO" 5
3194 test "$2" = conftest.file
3196 then
3197 # Ok.
3199 else
3200 as_fn_error "newly created file is older than distributed files!
3201 Check your system clock" "$LINENO" 5
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3204 $as_echo "yes" >&6; }
3205 test "$program_prefix" != NONE &&
3206 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3207 # Use a double $ so make ignores it.
3208 test "$program_suffix" != NONE &&
3209 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3210 # Double any \ or $.
3211 # By default was `s,x,x', remove it if useless.
3212 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3213 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3215 # expand $ac_aux_dir to an absolute path
3216 am_aux_dir=`cd $ac_aux_dir && pwd`
3218 if test x"${MISSING+set}" != xset; then
3219 case $am_aux_dir in
3220 *\ * | *\ *)
3221 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3223 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3224 esac
3226 # Use eval to expand $SHELL
3227 if eval "$MISSING --run true"; then
3228 am_missing_run="$MISSING --run "
3229 else
3230 am_missing_run=
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3232 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3235 if test x"${install_sh}" != xset; then
3236 case $am_aux_dir in
3237 *\ * | *\ *)
3238 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3240 install_sh="\${SHELL} $am_aux_dir/install-sh"
3241 esac
3244 # Installed binaries are usually stripped using `strip' when the user
3245 # run `make install-strip'. However `strip' might not be the right
3246 # tool to use in cross-compilation environments, therefore Automake
3247 # will honor the `STRIP' environment variable to overrule this program.
3248 if test "$cross_compiling" != no; then
3249 if test -n "$ac_tool_prefix"; then
3250 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3251 set dummy ${ac_tool_prefix}strip; ac_word=$2
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3253 $as_echo_n "checking for $ac_word... " >&6; }
3254 if test "${ac_cv_prog_STRIP+set}" = set; then :
3255 $as_echo_n "(cached) " >&6
3256 else
3257 if test -n "$STRIP"; then
3258 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3259 else
3260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3261 for as_dir in $PATH
3263 IFS=$as_save_IFS
3264 test -z "$as_dir" && as_dir=.
3265 for ac_exec_ext in '' $ac_executable_extensions; do
3266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3267 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3269 break 2
3271 done
3272 done
3273 IFS=$as_save_IFS
3277 STRIP=$ac_cv_prog_STRIP
3278 if test -n "$STRIP"; then
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3280 $as_echo "$STRIP" >&6; }
3281 else
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3283 $as_echo "no" >&6; }
3288 if test -z "$ac_cv_prog_STRIP"; then
3289 ac_ct_STRIP=$STRIP
3290 # Extract the first word of "strip", so it can be a program name with args.
3291 set dummy strip; ac_word=$2
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3293 $as_echo_n "checking for $ac_word... " >&6; }
3294 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3295 $as_echo_n "(cached) " >&6
3296 else
3297 if test -n "$ac_ct_STRIP"; then
3298 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3299 else
3300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3301 for as_dir in $PATH
3303 IFS=$as_save_IFS
3304 test -z "$as_dir" && as_dir=.
3305 for ac_exec_ext in '' $ac_executable_extensions; do
3306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3307 ac_cv_prog_ac_ct_STRIP="strip"
3308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3309 break 2
3311 done
3312 done
3313 IFS=$as_save_IFS
3317 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3318 if test -n "$ac_ct_STRIP"; then
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3320 $as_echo "$ac_ct_STRIP" >&6; }
3321 else
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3323 $as_echo "no" >&6; }
3326 if test "x$ac_ct_STRIP" = x; then
3327 STRIP=":"
3328 else
3329 case $cross_compiling:$ac_tool_warned in
3330 yes:)
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3332 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3333 ac_tool_warned=yes ;;
3334 esac
3335 STRIP=$ac_ct_STRIP
3337 else
3338 STRIP="$ac_cv_prog_STRIP"
3342 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3345 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3346 if test -z "$MKDIR_P"; then
3347 if test "${ac_cv_path_mkdir+set}" = set; then :
3348 $as_echo_n "(cached) " >&6
3349 else
3350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3351 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3353 IFS=$as_save_IFS
3354 test -z "$as_dir" && as_dir=.
3355 for ac_prog in mkdir gmkdir; do
3356 for ac_exec_ext in '' $ac_executable_extensions; do
3357 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3358 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3359 'mkdir (GNU coreutils) '* | \
3360 'mkdir (coreutils) '* | \
3361 'mkdir (fileutils) '4.1*)
3362 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3363 break 3;;
3364 esac
3365 done
3366 done
3367 done
3368 IFS=$as_save_IFS
3372 if test "${ac_cv_path_mkdir+set}" = set; then
3373 MKDIR_P="$ac_cv_path_mkdir -p"
3374 else
3375 # As a last resort, use the slow shell script. Don't cache a
3376 # value for MKDIR_P within a source directory, because that will
3377 # break other packages using the cache if that directory is
3378 # removed, or if the value is a relative name.
3379 test -d ./--version && rmdir ./--version
3380 MKDIR_P="$ac_install_sh -d"
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3384 $as_echo "$MKDIR_P" >&6; }
3386 mkdir_p="$MKDIR_P"
3387 case $mkdir_p in
3388 [\\/$]* | ?:[\\/]*) ;;
3389 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3390 esac
3392 for ac_prog in gawk mawk nawk awk
3394 # Extract the first word of "$ac_prog", so it can be a program name with args.
3395 set dummy $ac_prog; ac_word=$2
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3397 $as_echo_n "checking for $ac_word... " >&6; }
3398 if test "${ac_cv_prog_AWK+set}" = set; then :
3399 $as_echo_n "(cached) " >&6
3400 else
3401 if test -n "$AWK"; then
3402 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3403 else
3404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3405 for as_dir in $PATH
3407 IFS=$as_save_IFS
3408 test -z "$as_dir" && as_dir=.
3409 for ac_exec_ext in '' $ac_executable_extensions; do
3410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3411 ac_cv_prog_AWK="$ac_prog"
3412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3413 break 2
3415 done
3416 done
3417 IFS=$as_save_IFS
3421 AWK=$ac_cv_prog_AWK
3422 if test -n "$AWK"; then
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3424 $as_echo "$AWK" >&6; }
3425 else
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3427 $as_echo "no" >&6; }
3431 test -n "$AWK" && break
3432 done
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3435 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3436 set x ${MAKE-make}
3437 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3438 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3439 $as_echo_n "(cached) " >&6
3440 else
3441 cat >conftest.make <<\_ACEOF
3442 SHELL = /bin/sh
3443 all:
3444 @echo '@@@%%%=$(MAKE)=@@@%%%'
3445 _ACEOF
3446 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3447 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3448 *@@@%%%=?*=@@@%%%*)
3449 eval ac_cv_prog_make_${ac_make}_set=yes;;
3451 eval ac_cv_prog_make_${ac_make}_set=no;;
3452 esac
3453 rm -f conftest.make
3455 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3457 $as_echo "yes" >&6; }
3458 SET_MAKE=
3459 else
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3461 $as_echo "no" >&6; }
3462 SET_MAKE="MAKE=${MAKE-make}"
3465 rm -rf .tst 2>/dev/null
3466 mkdir .tst 2>/dev/null
3467 if test -d .tst; then
3468 am__leading_dot=.
3469 else
3470 am__leading_dot=_
3472 rmdir .tst 2>/dev/null
3474 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3475 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3476 # is not polluted with repeated "-I."
3477 am__isrc=' -I$(srcdir)'
3478 # test to see if srcdir already configured
3479 if test -f $srcdir/config.status; then
3480 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3484 # test whether we have cygpath
3485 if test -z "$CYGPATH_W"; then
3486 if (cygpath --version) >/dev/null 2>/dev/null; then
3487 CYGPATH_W='cygpath -w'
3488 else
3489 CYGPATH_W=echo
3494 # Define the identity of the package.
3495 PACKAGE='libstdc++'
3496 VERSION='version-unused'
3499 # Some tools Automake needs.
3501 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3504 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3507 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3510 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3513 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3515 # We need awk for the "check" target. The system "awk" is bad on
3516 # some platforms.
3517 # Always define AMTAR for backward compatibility.
3519 AMTAR=${AMTAR-"${am_missing_run}tar"}
3521 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3530 # -fno-builtin must be present here so that a non-conflicting form of
3531 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3533 save_CXXFLAGS="$CXXFLAGS"
3534 CXXFLAGS="$CXXFLAGS -fno-builtin"
3535 ac_ext=c
3536 ac_cpp='$CPP $CPPFLAGS'
3537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3540 if test -n "$ac_tool_prefix"; then
3541 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3542 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3544 $as_echo_n "checking for $ac_word... " >&6; }
3545 if test "${ac_cv_prog_CC+set}" = set; then :
3546 $as_echo_n "(cached) " >&6
3547 else
3548 if test -n "$CC"; then
3549 ac_cv_prog_CC="$CC" # Let the user override the test.
3550 else
3551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3552 for as_dir in $PATH
3554 IFS=$as_save_IFS
3555 test -z "$as_dir" && as_dir=.
3556 for ac_exec_ext in '' $ac_executable_extensions; do
3557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3558 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3560 break 2
3562 done
3563 done
3564 IFS=$as_save_IFS
3568 CC=$ac_cv_prog_CC
3569 if test -n "$CC"; then
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3571 $as_echo "$CC" >&6; }
3572 else
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3574 $as_echo "no" >&6; }
3579 if test -z "$ac_cv_prog_CC"; then
3580 ac_ct_CC=$CC
3581 # Extract the first word of "gcc", so it can be a program name with args.
3582 set dummy gcc; ac_word=$2
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3584 $as_echo_n "checking for $ac_word... " >&6; }
3585 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3586 $as_echo_n "(cached) " >&6
3587 else
3588 if test -n "$ac_ct_CC"; then
3589 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3590 else
3591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3592 for as_dir in $PATH
3594 IFS=$as_save_IFS
3595 test -z "$as_dir" && as_dir=.
3596 for ac_exec_ext in '' $ac_executable_extensions; do
3597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3598 ac_cv_prog_ac_ct_CC="gcc"
3599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3600 break 2
3602 done
3603 done
3604 IFS=$as_save_IFS
3608 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3609 if test -n "$ac_ct_CC"; then
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3611 $as_echo "$ac_ct_CC" >&6; }
3612 else
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3614 $as_echo "no" >&6; }
3617 if test "x$ac_ct_CC" = x; then
3618 CC=""
3619 else
3620 case $cross_compiling:$ac_tool_warned in
3621 yes:)
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3623 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3624 ac_tool_warned=yes ;;
3625 esac
3626 CC=$ac_ct_CC
3628 else
3629 CC="$ac_cv_prog_CC"
3632 if test -z "$CC"; then
3633 if test -n "$ac_tool_prefix"; then
3634 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3635 set dummy ${ac_tool_prefix}cc; ac_word=$2
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3637 $as_echo_n "checking for $ac_word... " >&6; }
3638 if test "${ac_cv_prog_CC+set}" = set; then :
3639 $as_echo_n "(cached) " >&6
3640 else
3641 if test -n "$CC"; then
3642 ac_cv_prog_CC="$CC" # Let the user override the test.
3643 else
3644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3645 for as_dir in $PATH
3647 IFS=$as_save_IFS
3648 test -z "$as_dir" && as_dir=.
3649 for ac_exec_ext in '' $ac_executable_extensions; do
3650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3651 ac_cv_prog_CC="${ac_tool_prefix}cc"
3652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3653 break 2
3655 done
3656 done
3657 IFS=$as_save_IFS
3661 CC=$ac_cv_prog_CC
3662 if test -n "$CC"; then
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3664 $as_echo "$CC" >&6; }
3665 else
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3667 $as_echo "no" >&6; }
3673 if test -z "$CC"; then
3674 # Extract the first word of "cc", so it can be a program name with args.
3675 set dummy cc; ac_word=$2
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3677 $as_echo_n "checking for $ac_word... " >&6; }
3678 if test "${ac_cv_prog_CC+set}" = set; then :
3679 $as_echo_n "(cached) " >&6
3680 else
3681 if test -n "$CC"; then
3682 ac_cv_prog_CC="$CC" # Let the user override the test.
3683 else
3684 ac_prog_rejected=no
3685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3686 for as_dir in $PATH
3688 IFS=$as_save_IFS
3689 test -z "$as_dir" && as_dir=.
3690 for ac_exec_ext in '' $ac_executable_extensions; do
3691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3692 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3693 ac_prog_rejected=yes
3694 continue
3696 ac_cv_prog_CC="cc"
3697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3698 break 2
3700 done
3701 done
3702 IFS=$as_save_IFS
3704 if test $ac_prog_rejected = yes; then
3705 # We found a bogon in the path, so make sure we never use it.
3706 set dummy $ac_cv_prog_CC
3707 shift
3708 if test $# != 0; then
3709 # We chose a different compiler from the bogus one.
3710 # However, it has the same basename, so the bogon will be chosen
3711 # first if we set CC to just the basename; use the full file name.
3712 shift
3713 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3718 CC=$ac_cv_prog_CC
3719 if test -n "$CC"; then
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3721 $as_echo "$CC" >&6; }
3722 else
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3724 $as_echo "no" >&6; }
3729 if test -z "$CC"; then
3730 if test -n "$ac_tool_prefix"; then
3731 for ac_prog in cl.exe
3733 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3734 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3736 $as_echo_n "checking for $ac_word... " >&6; }
3737 if test "${ac_cv_prog_CC+set}" = set; then :
3738 $as_echo_n "(cached) " >&6
3739 else
3740 if test -n "$CC"; then
3741 ac_cv_prog_CC="$CC" # Let the user override the test.
3742 else
3743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3744 for as_dir in $PATH
3746 IFS=$as_save_IFS
3747 test -z "$as_dir" && as_dir=.
3748 for ac_exec_ext in '' $ac_executable_extensions; do
3749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3750 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3752 break 2
3754 done
3755 done
3756 IFS=$as_save_IFS
3760 CC=$ac_cv_prog_CC
3761 if test -n "$CC"; then
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3763 $as_echo "$CC" >&6; }
3764 else
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3766 $as_echo "no" >&6; }
3770 test -n "$CC" && break
3771 done
3773 if test -z "$CC"; then
3774 ac_ct_CC=$CC
3775 for ac_prog in cl.exe
3777 # Extract the first word of "$ac_prog", so it can be a program name with args.
3778 set dummy $ac_prog; ac_word=$2
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3780 $as_echo_n "checking for $ac_word... " >&6; }
3781 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3782 $as_echo_n "(cached) " >&6
3783 else
3784 if test -n "$ac_ct_CC"; then
3785 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3786 else
3787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3788 for as_dir in $PATH
3790 IFS=$as_save_IFS
3791 test -z "$as_dir" && as_dir=.
3792 for ac_exec_ext in '' $ac_executable_extensions; do
3793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3794 ac_cv_prog_ac_ct_CC="$ac_prog"
3795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3796 break 2
3798 done
3799 done
3800 IFS=$as_save_IFS
3804 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3805 if test -n "$ac_ct_CC"; then
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3807 $as_echo "$ac_ct_CC" >&6; }
3808 else
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3810 $as_echo "no" >&6; }
3814 test -n "$ac_ct_CC" && break
3815 done
3817 if test "x$ac_ct_CC" = x; then
3818 CC=""
3819 else
3820 case $cross_compiling:$ac_tool_warned in
3821 yes:)
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3823 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3824 ac_tool_warned=yes ;;
3825 esac
3826 CC=$ac_ct_CC
3833 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3834 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3835 as_fn_error "no acceptable C compiler found in \$PATH
3836 See \`config.log' for more details." "$LINENO" 5; }
3838 # Provide some information about the compiler.
3839 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3840 set X $ac_compile
3841 ac_compiler=$2
3842 for ac_option in --version -v -V -qversion; do
3843 { { ac_try="$ac_compiler $ac_option >&5"
3844 case "(($ac_try" in
3845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3846 *) ac_try_echo=$ac_try;;
3847 esac
3848 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3849 $as_echo "$ac_try_echo"; } >&5
3850 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3851 ac_status=$?
3852 if test -s conftest.err; then
3853 sed '10a\
3854 ... rest of stderr output deleted ...
3855 10q' conftest.err >conftest.er1
3856 cat conftest.er1 >&5
3857 rm -f conftest.er1 conftest.err
3859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3860 test $ac_status = 0; }
3861 done
3863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3864 /* end confdefs.h. */
3867 main ()
3871 return 0;
3873 _ACEOF
3874 # FIXME: Cleanup?
3875 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3876 (eval $ac_link) 2>&5
3877 ac_status=$?
3878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3879 test $ac_status = 0; }; then :
3880 gcc_no_link=no
3881 else
3882 gcc_no_link=yes
3884 if test x$gcc_no_link = xyes; then
3885 # Setting cross_compile will disable run tests; it will
3886 # also disable AC_CHECK_FILE but that's generally
3887 # correct if we can't link.
3888 cross_compiling=yes
3889 EXEEXT=
3890 else
3891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3892 /* end confdefs.h. */
3895 main ()
3899 return 0;
3901 _ACEOF
3902 ac_clean_files_save=$ac_clean_files
3903 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3904 # Try to create an executable without -o first, disregard a.out.
3905 # It will help us diagnose broken compilers, and finding out an intuition
3906 # of exeext.
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3908 $as_echo_n "checking for C compiler default output file name... " >&6; }
3909 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3911 # The possible output files:
3912 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3914 ac_rmfiles=
3915 for ac_file in $ac_files
3917 case $ac_file in
3918 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3919 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3920 esac
3921 done
3922 rm -f $ac_rmfiles
3924 if { { ac_try="$ac_link_default"
3925 case "(($ac_try" in
3926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3927 *) ac_try_echo=$ac_try;;
3928 esac
3929 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3930 $as_echo "$ac_try_echo"; } >&5
3931 (eval "$ac_link_default") 2>&5
3932 ac_status=$?
3933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3934 test $ac_status = 0; }; then :
3935 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3936 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3937 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3938 # so that the user can short-circuit this test for compilers unknown to
3939 # Autoconf.
3940 for ac_file in $ac_files ''
3942 test -f "$ac_file" || continue
3943 case $ac_file in
3944 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3946 [ab].out )
3947 # We found the default executable, but exeext='' is most
3948 # certainly right.
3949 break;;
3950 *.* )
3951 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3952 then :; else
3953 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3955 # We set ac_cv_exeext here because the later test for it is not
3956 # safe: cross compilers may not add the suffix if given an `-o'
3957 # argument, so we may need to know it at that point already.
3958 # Even if this section looks crufty: it has the advantage of
3959 # actually working.
3960 break;;
3962 break;;
3963 esac
3964 done
3965 test "$ac_cv_exeext" = no && ac_cv_exeext=
3967 else
3968 ac_file=''
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3971 $as_echo "$ac_file" >&6; }
3972 if test -z "$ac_file"; then :
3973 $as_echo "$as_me: failed program was:" >&5
3974 sed 's/^/| /' conftest.$ac_ext >&5
3976 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3977 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3978 { as_fn_set_status 77
3979 as_fn_error "C compiler cannot create executables
3980 See \`config.log' for more details." "$LINENO" 5; }; }
3982 ac_exeext=$ac_cv_exeext
3984 # Check that the compiler produces executables we can run. If not, either
3985 # the compiler is broken, or we cross compile.
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3987 $as_echo_n "checking whether the C compiler works... " >&6; }
3988 # If not cross compiling, check that we can run a simple program.
3989 if test "$cross_compiling" != yes; then
3990 if { ac_try='./$ac_file'
3991 { { case "(($ac_try" in
3992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3993 *) ac_try_echo=$ac_try;;
3994 esac
3995 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3996 $as_echo "$ac_try_echo"; } >&5
3997 (eval "$ac_try") 2>&5
3998 ac_status=$?
3999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4000 test $ac_status = 0; }; }; then
4001 cross_compiling=no
4002 else
4003 if test "$cross_compiling" = maybe; then
4004 cross_compiling=yes
4005 else
4006 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4007 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4008 as_fn_error "cannot run C compiled programs.
4009 If you meant to cross compile, use \`--host'.
4010 See \`config.log' for more details." "$LINENO" 5; }
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4015 $as_echo "yes" >&6; }
4017 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4018 ac_clean_files=$ac_clean_files_save
4019 # Check that the compiler produces executables we can run. If not, either
4020 # the compiler is broken, or we cross compile.
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4022 $as_echo_n "checking whether we are cross compiling... " >&6; }
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4024 $as_echo "$cross_compiling" >&6; }
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4027 $as_echo_n "checking for suffix of executables... " >&6; }
4028 if { { ac_try="$ac_link"
4029 case "(($ac_try" in
4030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4031 *) ac_try_echo=$ac_try;;
4032 esac
4033 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4034 $as_echo "$ac_try_echo"; } >&5
4035 (eval "$ac_link") 2>&5
4036 ac_status=$?
4037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4038 test $ac_status = 0; }; then :
4039 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4040 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4041 # work properly (i.e., refer to `conftest.exe'), while it won't with
4042 # `rm'.
4043 for ac_file in conftest.exe conftest conftest.*; do
4044 test -f "$ac_file" || continue
4045 case $ac_file in
4046 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4047 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4048 break;;
4049 * ) break;;
4050 esac
4051 done
4052 else
4053 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4054 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4055 as_fn_error "cannot compute suffix of executables: cannot compile and link
4056 See \`config.log' for more details." "$LINENO" 5; }
4058 rm -f conftest$ac_cv_exeext
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4060 $as_echo "$ac_cv_exeext" >&6; }
4062 rm -f conftest.$ac_ext
4063 EXEEXT=$ac_cv_exeext
4064 ac_exeext=$EXEEXT
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4067 $as_echo_n "checking for suffix of object files... " >&6; }
4068 if test "${ac_cv_objext+set}" = set; then :
4069 $as_echo_n "(cached) " >&6
4070 else
4071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4072 /* end confdefs.h. */
4075 main ()
4079 return 0;
4081 _ACEOF
4082 rm -f conftest.o conftest.obj
4083 if { { ac_try="$ac_compile"
4084 case "(($ac_try" in
4085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4086 *) ac_try_echo=$ac_try;;
4087 esac
4088 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4089 $as_echo "$ac_try_echo"; } >&5
4090 (eval "$ac_compile") 2>&5
4091 ac_status=$?
4092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4093 test $ac_status = 0; }; then :
4094 for ac_file in conftest.o conftest.obj conftest.*; do
4095 test -f "$ac_file" || continue;
4096 case $ac_file in
4097 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4098 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4099 break;;
4100 esac
4101 done
4102 else
4103 $as_echo "$as_me: failed program was:" >&5
4104 sed 's/^/| /' conftest.$ac_ext >&5
4106 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4107 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4108 as_fn_error "cannot compute suffix of object files: cannot compile
4109 See \`config.log' for more details." "$LINENO" 5; }
4111 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4114 $as_echo "$ac_cv_objext" >&6; }
4115 OBJEXT=$ac_cv_objext
4116 ac_objext=$OBJEXT
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4118 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4119 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4120 $as_echo_n "(cached) " >&6
4121 else
4122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4123 /* end confdefs.h. */
4126 main ()
4128 #ifndef __GNUC__
4129 choke me
4130 #endif
4133 return 0;
4135 _ACEOF
4136 if ac_fn_c_try_compile "$LINENO"; then :
4137 ac_compiler_gnu=yes
4138 else
4139 ac_compiler_gnu=no
4141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4142 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4146 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4147 if test $ac_compiler_gnu = yes; then
4148 GCC=yes
4149 else
4150 GCC=
4152 ac_test_CFLAGS=${CFLAGS+set}
4153 ac_save_CFLAGS=$CFLAGS
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4155 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4156 if test "${ac_cv_prog_cc_g+set}" = set; then :
4157 $as_echo_n "(cached) " >&6
4158 else
4159 ac_save_c_werror_flag=$ac_c_werror_flag
4160 ac_c_werror_flag=yes
4161 ac_cv_prog_cc_g=no
4162 CFLAGS="-g"
4163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4164 /* end confdefs.h. */
4167 main ()
4171 return 0;
4173 _ACEOF
4174 if ac_fn_c_try_compile "$LINENO"; then :
4175 ac_cv_prog_cc_g=yes
4176 else
4177 CFLAGS=""
4178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4179 /* end confdefs.h. */
4182 main ()
4186 return 0;
4188 _ACEOF
4189 if ac_fn_c_try_compile "$LINENO"; then :
4191 else
4192 ac_c_werror_flag=$ac_save_c_werror_flag
4193 CFLAGS="-g"
4194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4195 /* end confdefs.h. */
4198 main ()
4202 return 0;
4204 _ACEOF
4205 if ac_fn_c_try_compile "$LINENO"; then :
4206 ac_cv_prog_cc_g=yes
4208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4213 ac_c_werror_flag=$ac_save_c_werror_flag
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4216 $as_echo "$ac_cv_prog_cc_g" >&6; }
4217 if test "$ac_test_CFLAGS" = set; then
4218 CFLAGS=$ac_save_CFLAGS
4219 elif test $ac_cv_prog_cc_g = yes; then
4220 if test "$GCC" = yes; then
4221 CFLAGS="-g -O2"
4222 else
4223 CFLAGS="-g"
4225 else
4226 if test "$GCC" = yes; then
4227 CFLAGS="-O2"
4228 else
4229 CFLAGS=
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4233 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4234 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4235 $as_echo_n "(cached) " >&6
4236 else
4237 ac_cv_prog_cc_c89=no
4238 ac_save_CC=$CC
4239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4240 /* end confdefs.h. */
4241 #include <stdarg.h>
4242 #include <stdio.h>
4243 #include <sys/types.h>
4244 #include <sys/stat.h>
4245 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4246 struct buf { int x; };
4247 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4248 static char *e (p, i)
4249 char **p;
4250 int i;
4252 return p[i];
4254 static char *f (char * (*g) (char **, int), char **p, ...)
4256 char *s;
4257 va_list v;
4258 va_start (v,p);
4259 s = g (p, va_arg (v,int));
4260 va_end (v);
4261 return s;
4264 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4265 function prototypes and stuff, but not '\xHH' hex character constants.
4266 These don't provoke an error unfortunately, instead are silently treated
4267 as 'x'. The following induces an error, until -std is added to get
4268 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4269 array size at least. It's necessary to write '\x00'==0 to get something
4270 that's true only with -std. */
4271 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4273 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4274 inside strings and character constants. */
4275 #define FOO(x) 'x'
4276 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4278 int test (int i, double x);
4279 struct s1 {int (*f) (int a);};
4280 struct s2 {int (*f) (double a);};
4281 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4282 int argc;
4283 char **argv;
4285 main ()
4287 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4289 return 0;
4291 _ACEOF
4292 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4293 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4295 CC="$ac_save_CC $ac_arg"
4296 if ac_fn_c_try_compile "$LINENO"; then :
4297 ac_cv_prog_cc_c89=$ac_arg
4299 rm -f core conftest.err conftest.$ac_objext
4300 test "x$ac_cv_prog_cc_c89" != "xno" && break
4301 done
4302 rm -f conftest.$ac_ext
4303 CC=$ac_save_CC
4306 # AC_CACHE_VAL
4307 case "x$ac_cv_prog_cc_c89" in
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4310 $as_echo "none needed" >&6; } ;;
4311 xno)
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4313 $as_echo "unsupported" >&6; } ;;
4315 CC="$CC $ac_cv_prog_cc_c89"
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4317 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4318 esac
4319 if test "x$ac_cv_prog_cc_c89" != xno; then :
4323 ac_ext=c
4324 ac_cpp='$CPP $CPPFLAGS'
4325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4329 ac_ext=cpp
4330 ac_cpp='$CXXCPP $CPPFLAGS'
4331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4334 if test -z "$CXX"; then
4335 if test -n "$CCC"; then
4336 CXX=$CCC
4337 else
4338 if test -n "$ac_tool_prefix"; then
4339 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4341 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4342 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4344 $as_echo_n "checking for $ac_word... " >&6; }
4345 if test "${ac_cv_prog_CXX+set}" = set; then :
4346 $as_echo_n "(cached) " >&6
4347 else
4348 if test -n "$CXX"; then
4349 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4350 else
4351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4352 for as_dir in $PATH
4354 IFS=$as_save_IFS
4355 test -z "$as_dir" && as_dir=.
4356 for ac_exec_ext in '' $ac_executable_extensions; do
4357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4358 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4360 break 2
4362 done
4363 done
4364 IFS=$as_save_IFS
4368 CXX=$ac_cv_prog_CXX
4369 if test -n "$CXX"; then
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4371 $as_echo "$CXX" >&6; }
4372 else
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4374 $as_echo "no" >&6; }
4378 test -n "$CXX" && break
4379 done
4381 if test -z "$CXX"; then
4382 ac_ct_CXX=$CXX
4383 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4385 # Extract the first word of "$ac_prog", so it can be a program name with args.
4386 set dummy $ac_prog; ac_word=$2
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4388 $as_echo_n "checking for $ac_word... " >&6; }
4389 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4390 $as_echo_n "(cached) " >&6
4391 else
4392 if test -n "$ac_ct_CXX"; then
4393 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4394 else
4395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4396 for as_dir in $PATH
4398 IFS=$as_save_IFS
4399 test -z "$as_dir" && as_dir=.
4400 for ac_exec_ext in '' $ac_executable_extensions; do
4401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4402 ac_cv_prog_ac_ct_CXX="$ac_prog"
4403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4404 break 2
4406 done
4407 done
4408 IFS=$as_save_IFS
4412 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4413 if test -n "$ac_ct_CXX"; then
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4415 $as_echo "$ac_ct_CXX" >&6; }
4416 else
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4418 $as_echo "no" >&6; }
4422 test -n "$ac_ct_CXX" && break
4423 done
4425 if test "x$ac_ct_CXX" = x; then
4426 CXX="g++"
4427 else
4428 case $cross_compiling:$ac_tool_warned in
4429 yes:)
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4431 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4432 ac_tool_warned=yes ;;
4433 esac
4434 CXX=$ac_ct_CXX
4440 # Provide some information about the compiler.
4441 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4442 set X $ac_compile
4443 ac_compiler=$2
4444 for ac_option in --version -v -V -qversion; do
4445 { { ac_try="$ac_compiler $ac_option >&5"
4446 case "(($ac_try" in
4447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4448 *) ac_try_echo=$ac_try;;
4449 esac
4450 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4451 $as_echo "$ac_try_echo"; } >&5
4452 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4453 ac_status=$?
4454 if test -s conftest.err; then
4455 sed '10a\
4456 ... rest of stderr output deleted ...
4457 10q' conftest.err >conftest.er1
4458 cat conftest.er1 >&5
4459 rm -f conftest.er1 conftest.err
4461 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4462 test $ac_status = 0; }
4463 done
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4466 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4467 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4468 $as_echo_n "(cached) " >&6
4469 else
4470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4471 /* end confdefs.h. */
4474 main ()
4476 #ifndef __GNUC__
4477 choke me
4478 #endif
4481 return 0;
4483 _ACEOF
4484 if ac_fn_cxx_try_compile "$LINENO"; then :
4485 ac_compiler_gnu=yes
4486 else
4487 ac_compiler_gnu=no
4489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4490 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4494 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4495 if test $ac_compiler_gnu = yes; then
4496 GXX=yes
4497 else
4498 GXX=
4500 ac_test_CXXFLAGS=${CXXFLAGS+set}
4501 ac_save_CXXFLAGS=$CXXFLAGS
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4503 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4504 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4505 $as_echo_n "(cached) " >&6
4506 else
4507 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4508 ac_cxx_werror_flag=yes
4509 ac_cv_prog_cxx_g=no
4510 CXXFLAGS="-g"
4511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4512 /* end confdefs.h. */
4515 main ()
4519 return 0;
4521 _ACEOF
4522 if ac_fn_cxx_try_compile "$LINENO"; then :
4523 ac_cv_prog_cxx_g=yes
4524 else
4525 CXXFLAGS=""
4526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4527 /* end confdefs.h. */
4530 main ()
4534 return 0;
4536 _ACEOF
4537 if ac_fn_cxx_try_compile "$LINENO"; then :
4539 else
4540 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4541 CXXFLAGS="-g"
4542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4543 /* end confdefs.h. */
4546 main ()
4550 return 0;
4552 _ACEOF
4553 if ac_fn_cxx_try_compile "$LINENO"; then :
4554 ac_cv_prog_cxx_g=yes
4556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4561 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4564 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4565 if test "$ac_test_CXXFLAGS" = set; then
4566 CXXFLAGS=$ac_save_CXXFLAGS
4567 elif test $ac_cv_prog_cxx_g = yes; then
4568 if test "$GXX" = yes; then
4569 CXXFLAGS="-g -O2"
4570 else
4571 CXXFLAGS="-g"
4573 else
4574 if test "$GXX" = yes; then
4575 CXXFLAGS="-O2"
4576 else
4577 CXXFLAGS=
4580 ac_ext=c
4581 ac_cpp='$CPP $CPPFLAGS'
4582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4586 CXXFLAGS="$save_CXXFLAGS"
4588 # Runs configure.host, and assorted other critical bits. Sets
4589 # up critical shell variables.
4591 ac_ext=c
4592 ac_cpp='$CPP $CPPFLAGS'
4593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4597 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4598 # On Suns, sometimes $CPP names a directory.
4599 if test -n "$CPP" && test -d "$CPP"; then
4600 CPP=
4602 if test -z "$CPP"; then
4603 if test "${ac_cv_prog_CPP+set}" = set; then :
4604 $as_echo_n "(cached) " >&6
4605 else
4606 # Double quotes because CPP needs to be expanded
4607 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4609 ac_preproc_ok=false
4610 for ac_c_preproc_warn_flag in '' yes
4612 # Use a header file that comes with gcc, so configuring glibc
4613 # with a fresh cross-compiler works.
4614 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4615 # <limits.h> exists even on freestanding compilers.
4616 # On the NeXT, cc -E runs the code through the compiler's parser,
4617 # not just through cpp. "Syntax error" is here to catch this case.
4618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4619 /* end confdefs.h. */
4620 #ifdef __STDC__
4621 # include <limits.h>
4622 #else
4623 # include <assert.h>
4624 #endif
4625 Syntax error
4626 _ACEOF
4627 if ac_fn_c_try_cpp "$LINENO"; then :
4629 else
4630 # Broken: fails on valid input.
4631 continue
4633 rm -f conftest.err conftest.$ac_ext
4635 # OK, works on sane cases. Now check whether nonexistent headers
4636 # can be detected and how.
4637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4638 /* end confdefs.h. */
4639 #include <ac_nonexistent.h>
4640 _ACEOF
4641 if ac_fn_c_try_cpp "$LINENO"; then :
4642 # Broken: success on invalid input.
4643 continue
4644 else
4645 # Passes both tests.
4646 ac_preproc_ok=:
4647 break
4649 rm -f conftest.err conftest.$ac_ext
4651 done
4652 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4653 rm -f conftest.err conftest.$ac_ext
4654 if $ac_preproc_ok; then :
4655 break
4658 done
4659 ac_cv_prog_CPP=$CPP
4662 CPP=$ac_cv_prog_CPP
4663 else
4664 ac_cv_prog_CPP=$CPP
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4667 $as_echo "$CPP" >&6; }
4668 ac_preproc_ok=false
4669 for ac_c_preproc_warn_flag in '' yes
4671 # Use a header file that comes with gcc, so configuring glibc
4672 # with a fresh cross-compiler works.
4673 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4674 # <limits.h> exists even on freestanding compilers.
4675 # On the NeXT, cc -E runs the code through the compiler's parser,
4676 # not just through cpp. "Syntax error" is here to catch this case.
4677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4678 /* end confdefs.h. */
4679 #ifdef __STDC__
4680 # include <limits.h>
4681 #else
4682 # include <assert.h>
4683 #endif
4684 Syntax error
4685 _ACEOF
4686 if ac_fn_c_try_cpp "$LINENO"; then :
4688 else
4689 # Broken: fails on valid input.
4690 continue
4692 rm -f conftest.err conftest.$ac_ext
4694 # OK, works on sane cases. Now check whether nonexistent headers
4695 # can be detected and how.
4696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4697 /* end confdefs.h. */
4698 #include <ac_nonexistent.h>
4699 _ACEOF
4700 if ac_fn_c_try_cpp "$LINENO"; then :
4701 # Broken: success on invalid input.
4702 continue
4703 else
4704 # Passes both tests.
4705 ac_preproc_ok=:
4706 break
4708 rm -f conftest.err conftest.$ac_ext
4710 done
4711 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4712 rm -f conftest.err conftest.$ac_ext
4713 if $ac_preproc_ok; then :
4715 else
4716 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4717 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4718 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4719 See \`config.log' for more details." "$LINENO" 5; }
4722 ac_ext=c
4723 ac_cpp='$CPP $CPPFLAGS'
4724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4730 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4731 if test "${ac_cv_path_GREP+set}" = set; then :
4732 $as_echo_n "(cached) " >&6
4733 else
4734 if test -z "$GREP"; then
4735 ac_path_GREP_found=false
4736 # Loop through the user's path and test for each of PROGNAME-LIST
4737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4738 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4740 IFS=$as_save_IFS
4741 test -z "$as_dir" && as_dir=.
4742 for ac_prog in grep ggrep; do
4743 for ac_exec_ext in '' $ac_executable_extensions; do
4744 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4745 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4746 # Check for GNU ac_path_GREP and select it if it is found.
4747 # Check for GNU $ac_path_GREP
4748 case `"$ac_path_GREP" --version 2>&1` in
4749 *GNU*)
4750 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4752 ac_count=0
4753 $as_echo_n 0123456789 >"conftest.in"
4754 while :
4756 cat "conftest.in" "conftest.in" >"conftest.tmp"
4757 mv "conftest.tmp" "conftest.in"
4758 cp "conftest.in" "conftest.nl"
4759 $as_echo 'GREP' >> "conftest.nl"
4760 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4761 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4762 as_fn_arith $ac_count + 1 && ac_count=$as_val
4763 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4764 # Best one so far, save it but keep looking for a better one
4765 ac_cv_path_GREP="$ac_path_GREP"
4766 ac_path_GREP_max=$ac_count
4768 # 10*(2^10) chars as input seems more than enough
4769 test $ac_count -gt 10 && break
4770 done
4771 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4772 esac
4774 $ac_path_GREP_found && break 3
4775 done
4776 done
4777 done
4778 IFS=$as_save_IFS
4779 if test -z "$ac_cv_path_GREP"; then
4780 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4782 else
4783 ac_cv_path_GREP=$GREP
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4788 $as_echo "$ac_cv_path_GREP" >&6; }
4789 GREP="$ac_cv_path_GREP"
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4793 $as_echo_n "checking for egrep... " >&6; }
4794 if test "${ac_cv_path_EGREP+set}" = set; then :
4795 $as_echo_n "(cached) " >&6
4796 else
4797 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4798 then ac_cv_path_EGREP="$GREP -E"
4799 else
4800 if test -z "$EGREP"; then
4801 ac_path_EGREP_found=false
4802 # Loop through the user's path and test for each of PROGNAME-LIST
4803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4804 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4806 IFS=$as_save_IFS
4807 test -z "$as_dir" && as_dir=.
4808 for ac_prog in egrep; do
4809 for ac_exec_ext in '' $ac_executable_extensions; do
4810 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4811 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4812 # Check for GNU ac_path_EGREP and select it if it is found.
4813 # Check for GNU $ac_path_EGREP
4814 case `"$ac_path_EGREP" --version 2>&1` in
4815 *GNU*)
4816 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4818 ac_count=0
4819 $as_echo_n 0123456789 >"conftest.in"
4820 while :
4822 cat "conftest.in" "conftest.in" >"conftest.tmp"
4823 mv "conftest.tmp" "conftest.in"
4824 cp "conftest.in" "conftest.nl"
4825 $as_echo 'EGREP' >> "conftest.nl"
4826 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4827 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4828 as_fn_arith $ac_count + 1 && ac_count=$as_val
4829 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4830 # Best one so far, save it but keep looking for a better one
4831 ac_cv_path_EGREP="$ac_path_EGREP"
4832 ac_path_EGREP_max=$ac_count
4834 # 10*(2^10) chars as input seems more than enough
4835 test $ac_count -gt 10 && break
4836 done
4837 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4838 esac
4840 $ac_path_EGREP_found && break 3
4841 done
4842 done
4843 done
4844 IFS=$as_save_IFS
4845 if test -z "$ac_cv_path_EGREP"; then
4846 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4848 else
4849 ac_cv_path_EGREP=$EGREP
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4855 $as_echo "$ac_cv_path_EGREP" >&6; }
4856 EGREP="$ac_cv_path_EGREP"
4860 # Keep these sync'd with the list in Makefile.am. The first provides an
4861 # expandable list at autoconf time; the second provides an expandable list
4862 # (i.e., shell variable) at configure time.
4864 SUBDIRS='include libsupc++ python src doc po testsuite'
4866 # These need to be absolute paths, yet at the same time need to
4867 # canonicalize only relative paths, because then amd will not unmount
4868 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4869 glibcxx_builddir=`${PWDCMD-pwd}`
4870 case $srcdir in
4871 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4872 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4873 esac
4874 toplevel_builddir=${glibcxx_builddir}/..
4875 toplevel_srcdir=${glibcxx_srcdir}/..
4881 # We use these options to decide which functions to include. They are
4882 # set from the top level.
4884 # Check whether --with-target-subdir was given.
4885 if test "${with_target_subdir+set}" = set; then :
4886 withval=$with_target_subdir;
4891 # Check whether --with-cross-host was given.
4892 if test "${with_cross_host+set}" = set; then :
4893 withval=$with_cross_host;
4898 # Check whether --with-newlib was given.
4899 if test "${with_newlib+set}" = set; then :
4900 withval=$with_newlib;
4904 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4905 # available). Uncomment the next line to force a particular method.
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4907 $as_echo_n "checking whether ln -s works... " >&6; }
4908 LN_S=$as_ln_s
4909 if test "$LN_S" = "ln -s"; then
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4911 $as_echo "yes" >&6; }
4912 else
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4914 $as_echo "no, using $LN_S" >&6; }
4917 #LN_S='cp -p'
4919 if test -n "$ac_tool_prefix"; then
4920 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4921 set dummy ${ac_tool_prefix}as; ac_word=$2
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4923 $as_echo_n "checking for $ac_word... " >&6; }
4924 if test "${ac_cv_prog_AS+set}" = set; then :
4925 $as_echo_n "(cached) " >&6
4926 else
4927 if test -n "$AS"; then
4928 ac_cv_prog_AS="$AS" # Let the user override the test.
4929 else
4930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4931 for as_dir in $PATH
4933 IFS=$as_save_IFS
4934 test -z "$as_dir" && as_dir=.
4935 for ac_exec_ext in '' $ac_executable_extensions; do
4936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4937 ac_cv_prog_AS="${ac_tool_prefix}as"
4938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4939 break 2
4941 done
4942 done
4943 IFS=$as_save_IFS
4947 AS=$ac_cv_prog_AS
4948 if test -n "$AS"; then
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4950 $as_echo "$AS" >&6; }
4951 else
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4953 $as_echo "no" >&6; }
4958 if test -z "$ac_cv_prog_AS"; then
4959 ac_ct_AS=$AS
4960 # Extract the first word of "as", so it can be a program name with args.
4961 set dummy as; ac_word=$2
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4963 $as_echo_n "checking for $ac_word... " >&6; }
4964 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4965 $as_echo_n "(cached) " >&6
4966 else
4967 if test -n "$ac_ct_AS"; then
4968 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4969 else
4970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4971 for as_dir in $PATH
4973 IFS=$as_save_IFS
4974 test -z "$as_dir" && as_dir=.
4975 for ac_exec_ext in '' $ac_executable_extensions; do
4976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4977 ac_cv_prog_ac_ct_AS="as"
4978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4979 break 2
4981 done
4982 done
4983 IFS=$as_save_IFS
4987 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4988 if test -n "$ac_ct_AS"; then
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4990 $as_echo "$ac_ct_AS" >&6; }
4991 else
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4993 $as_echo "no" >&6; }
4996 if test "x$ac_ct_AS" = x; then
4997 AS=""
4998 else
4999 case $cross_compiling:$ac_tool_warned in
5000 yes:)
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5002 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5003 ac_tool_warned=yes ;;
5004 esac
5005 AS=$ac_ct_AS
5007 else
5008 AS="$ac_cv_prog_AS"
5011 if test -n "$ac_tool_prefix"; then
5012 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5013 set dummy ${ac_tool_prefix}ar; ac_word=$2
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5015 $as_echo_n "checking for $ac_word... " >&6; }
5016 if test "${ac_cv_prog_AR+set}" = set; then :
5017 $as_echo_n "(cached) " >&6
5018 else
5019 if test -n "$AR"; then
5020 ac_cv_prog_AR="$AR" # Let the user override the test.
5021 else
5022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5023 for as_dir in $PATH
5025 IFS=$as_save_IFS
5026 test -z "$as_dir" && as_dir=.
5027 for ac_exec_ext in '' $ac_executable_extensions; do
5028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5029 ac_cv_prog_AR="${ac_tool_prefix}ar"
5030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5031 break 2
5033 done
5034 done
5035 IFS=$as_save_IFS
5039 AR=$ac_cv_prog_AR
5040 if test -n "$AR"; then
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5042 $as_echo "$AR" >&6; }
5043 else
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5045 $as_echo "no" >&6; }
5050 if test -z "$ac_cv_prog_AR"; then
5051 ac_ct_AR=$AR
5052 # Extract the first word of "ar", so it can be a program name with args.
5053 set dummy ar; ac_word=$2
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5055 $as_echo_n "checking for $ac_word... " >&6; }
5056 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5057 $as_echo_n "(cached) " >&6
5058 else
5059 if test -n "$ac_ct_AR"; then
5060 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5061 else
5062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5063 for as_dir in $PATH
5065 IFS=$as_save_IFS
5066 test -z "$as_dir" && as_dir=.
5067 for ac_exec_ext in '' $ac_executable_extensions; do
5068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5069 ac_cv_prog_ac_ct_AR="ar"
5070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5071 break 2
5073 done
5074 done
5075 IFS=$as_save_IFS
5079 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5080 if test -n "$ac_ct_AR"; then
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5082 $as_echo "$ac_ct_AR" >&6; }
5083 else
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5085 $as_echo "no" >&6; }
5088 if test "x$ac_ct_AR" = x; then
5089 AR=""
5090 else
5091 case $cross_compiling:$ac_tool_warned in
5092 yes:)
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5094 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5095 ac_tool_warned=yes ;;
5096 esac
5097 AR=$ac_ct_AR
5099 else
5100 AR="$ac_cv_prog_AR"
5103 if test -n "$ac_tool_prefix"; then
5104 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5105 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5107 $as_echo_n "checking for $ac_word... " >&6; }
5108 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5109 $as_echo_n "(cached) " >&6
5110 else
5111 if test -n "$RANLIB"; then
5112 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5113 else
5114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5115 for as_dir in $PATH
5117 IFS=$as_save_IFS
5118 test -z "$as_dir" && as_dir=.
5119 for ac_exec_ext in '' $ac_executable_extensions; do
5120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5121 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5123 break 2
5125 done
5126 done
5127 IFS=$as_save_IFS
5131 RANLIB=$ac_cv_prog_RANLIB
5132 if test -n "$RANLIB"; then
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5134 $as_echo "$RANLIB" >&6; }
5135 else
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5137 $as_echo "no" >&6; }
5142 if test -z "$ac_cv_prog_RANLIB"; then
5143 ac_ct_RANLIB=$RANLIB
5144 # Extract the first word of "ranlib", so it can be a program name with args.
5145 set dummy ranlib; ac_word=$2
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5147 $as_echo_n "checking for $ac_word... " >&6; }
5148 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5149 $as_echo_n "(cached) " >&6
5150 else
5151 if test -n "$ac_ct_RANLIB"; then
5152 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5153 else
5154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5155 for as_dir in $PATH
5157 IFS=$as_save_IFS
5158 test -z "$as_dir" && as_dir=.
5159 for ac_exec_ext in '' $ac_executable_extensions; do
5160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5161 ac_cv_prog_ac_ct_RANLIB="ranlib"
5162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5163 break 2
5165 done
5166 done
5167 IFS=$as_save_IFS
5171 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5172 if test -n "$ac_ct_RANLIB"; then
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5174 $as_echo "$ac_ct_RANLIB" >&6; }
5175 else
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5177 $as_echo "no" >&6; }
5180 if test "x$ac_ct_RANLIB" = x; then
5181 RANLIB="ranlib-not-found-in-path-error"
5182 else
5183 case $cross_compiling:$ac_tool_warned in
5184 yes:)
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5186 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5187 ac_tool_warned=yes ;;
5188 esac
5189 RANLIB=$ac_ct_RANLIB
5191 else
5192 RANLIB="$ac_cv_prog_RANLIB"
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5198 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5199 # Check whether --enable-maintainer-mode was given.
5200 if test "${enable_maintainer_mode+set}" = set; then :
5201 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5202 else
5203 USE_MAINTAINER_MODE=no
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5207 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5208 if test $USE_MAINTAINER_MODE = yes; then
5209 MAINTAINER_MODE_TRUE=
5210 MAINTAINER_MODE_FALSE='#'
5211 else
5212 MAINTAINER_MODE_TRUE='#'
5213 MAINTAINER_MODE_FALSE=
5216 MAINT=$MAINTAINER_MODE_TRUE
5220 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5221 # which are themselves conditionally expanded.
5222 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5223 ## other macros from doing the same. This should be automated.) -pme
5225 # Check for C library flavor since GNU/Linux platforms use different
5226 # configuration directories depending on the C library in use.
5227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5228 /* end confdefs.h. */
5230 #include <stdio.h>
5231 #if __UCLIBC__
5232 _using_uclibc
5233 #endif
5235 _ACEOF
5236 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5237 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5238 uclibc=yes
5239 else
5240 uclibc=no
5242 rm -f conftest*
5245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5246 /* end confdefs.h. */
5248 #include <stdio.h>
5249 #if __BIONIC__
5250 _using_bionic
5251 #endif
5253 _ACEOF
5254 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5255 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5256 bionic=yes
5257 else
5258 bionic=no
5260 rm -f conftest*
5263 # Find platform-specific directories containing configuration info.
5264 # Also possibly modify flags used elsewhere, as needed by the platform.
5266 . $glibcxx_srcdir/configure.host
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5268 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5270 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5274 if test "x${with_newlib}" != "xyes"; then
5275 enable_dlopen=yes
5280 case `pwd` in
5281 *\ * | *\ *)
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5283 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5284 esac
5288 macro_version='2.2.7a'
5289 macro_revision='1.3134'
5303 ltmain="$ac_aux_dir/ltmain.sh"
5305 # Backslashify metacharacters that are still active within
5306 # double-quoted strings.
5307 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5309 # Same as above, but do not quote variable references.
5310 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5312 # Sed substitution to delay expansion of an escaped shell variable in a
5313 # double_quote_subst'ed string.
5314 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5316 # Sed substitution to delay expansion of an escaped single quote.
5317 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5319 # Sed substitution to avoid accidental globbing in evaled expressions
5320 no_glob_subst='s/\*/\\\*/g'
5322 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5323 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5324 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5327 $as_echo_n "checking how to print strings... " >&6; }
5328 # Test print first, because it will be a builtin if present.
5329 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5330 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5331 ECHO='print -r --'
5332 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5333 ECHO='printf %s\n'
5334 else
5335 # Use this function as a fallback that always works.
5336 func_fallback_echo ()
5338 eval 'cat <<_LTECHO_EOF
5340 _LTECHO_EOF'
5342 ECHO='func_fallback_echo'
5345 # func_echo_all arg...
5346 # Invoke $ECHO with all args, space-separated.
5347 func_echo_all ()
5349 $ECHO ""
5352 case "$ECHO" in
5353 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5354 $as_echo "printf" >&6; } ;;
5355 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5356 $as_echo "print -r" >&6; } ;;
5357 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5358 $as_echo "cat" >&6; } ;;
5359 esac
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5375 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5376 if test "${ac_cv_path_SED+set}" = set; then :
5377 $as_echo_n "(cached) " >&6
5378 else
5379 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5380 for ac_i in 1 2 3 4 5 6 7; do
5381 ac_script="$ac_script$as_nl$ac_script"
5382 done
5383 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5384 { ac_script=; unset ac_script;}
5385 if test -z "$SED"; then
5386 ac_path_SED_found=false
5387 # Loop through the user's path and test for each of PROGNAME-LIST
5388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5389 for as_dir in $PATH
5391 IFS=$as_save_IFS
5392 test -z "$as_dir" && as_dir=.
5393 for ac_prog in sed gsed; do
5394 for ac_exec_ext in '' $ac_executable_extensions; do
5395 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5396 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5397 # Check for GNU ac_path_SED and select it if it is found.
5398 # Check for GNU $ac_path_SED
5399 case `"$ac_path_SED" --version 2>&1` in
5400 *GNU*)
5401 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5403 ac_count=0
5404 $as_echo_n 0123456789 >"conftest.in"
5405 while :
5407 cat "conftest.in" "conftest.in" >"conftest.tmp"
5408 mv "conftest.tmp" "conftest.in"
5409 cp "conftest.in" "conftest.nl"
5410 $as_echo '' >> "conftest.nl"
5411 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5412 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5413 as_fn_arith $ac_count + 1 && ac_count=$as_val
5414 if test $ac_count -gt ${ac_path_SED_max-0}; then
5415 # Best one so far, save it but keep looking for a better one
5416 ac_cv_path_SED="$ac_path_SED"
5417 ac_path_SED_max=$ac_count
5419 # 10*(2^10) chars as input seems more than enough
5420 test $ac_count -gt 10 && break
5421 done
5422 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5423 esac
5425 $ac_path_SED_found && break 3
5426 done
5427 done
5428 done
5429 IFS=$as_save_IFS
5430 if test -z "$ac_cv_path_SED"; then
5431 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5433 else
5434 ac_cv_path_SED=$SED
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5439 $as_echo "$ac_cv_path_SED" >&6; }
5440 SED="$ac_cv_path_SED"
5441 rm -f conftest.sed
5443 test -z "$SED" && SED=sed
5444 Xsed="$SED -e 1s/^X//"
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5457 $as_echo_n "checking for fgrep... " >&6; }
5458 if test "${ac_cv_path_FGREP+set}" = set; then :
5459 $as_echo_n "(cached) " >&6
5460 else
5461 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5462 then ac_cv_path_FGREP="$GREP -F"
5463 else
5464 if test -z "$FGREP"; then
5465 ac_path_FGREP_found=false
5466 # Loop through the user's path and test for each of PROGNAME-LIST
5467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5468 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5470 IFS=$as_save_IFS
5471 test -z "$as_dir" && as_dir=.
5472 for ac_prog in fgrep; do
5473 for ac_exec_ext in '' $ac_executable_extensions; do
5474 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5475 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5476 # Check for GNU ac_path_FGREP and select it if it is found.
5477 # Check for GNU $ac_path_FGREP
5478 case `"$ac_path_FGREP" --version 2>&1` in
5479 *GNU*)
5480 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5482 ac_count=0
5483 $as_echo_n 0123456789 >"conftest.in"
5484 while :
5486 cat "conftest.in" "conftest.in" >"conftest.tmp"
5487 mv "conftest.tmp" "conftest.in"
5488 cp "conftest.in" "conftest.nl"
5489 $as_echo 'FGREP' >> "conftest.nl"
5490 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5491 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5492 as_fn_arith $ac_count + 1 && ac_count=$as_val
5493 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5494 # Best one so far, save it but keep looking for a better one
5495 ac_cv_path_FGREP="$ac_path_FGREP"
5496 ac_path_FGREP_max=$ac_count
5498 # 10*(2^10) chars as input seems more than enough
5499 test $ac_count -gt 10 && break
5500 done
5501 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5502 esac
5504 $ac_path_FGREP_found && break 3
5505 done
5506 done
5507 done
5508 IFS=$as_save_IFS
5509 if test -z "$ac_cv_path_FGREP"; then
5510 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5512 else
5513 ac_cv_path_FGREP=$FGREP
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5519 $as_echo "$ac_cv_path_FGREP" >&6; }
5520 FGREP="$ac_cv_path_FGREP"
5523 test -z "$GREP" && GREP=grep
5543 # Check whether --with-gnu-ld was given.
5544 if test "${with_gnu_ld+set}" = set; then :
5545 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5546 else
5547 with_gnu_ld=no
5550 ac_prog=ld
5551 if test "$GCC" = yes; then
5552 # Check if gcc -print-prog-name=ld gives a path.
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5554 $as_echo_n "checking for ld used by $CC... " >&6; }
5555 case $host in
5556 *-*-mingw*)
5557 # gcc leaves a trailing carriage return which upsets mingw
5558 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5560 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5561 esac
5562 case $ac_prog in
5563 # Accept absolute paths.
5564 [\\/]* | ?:[\\/]*)
5565 re_direlt='/[^/][^/]*/\.\./'
5566 # Canonicalize the pathname of ld
5567 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5568 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5569 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5570 done
5571 test -z "$LD" && LD="$ac_prog"
5574 # If it fails, then pretend we aren't using GCC.
5575 ac_prog=ld
5578 # If it is relative, then search for the first ld in PATH.
5579 with_gnu_ld=unknown
5581 esac
5582 elif test "$with_gnu_ld" = yes; then
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5584 $as_echo_n "checking for GNU ld... " >&6; }
5585 else
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5587 $as_echo_n "checking for non-GNU ld... " >&6; }
5589 if test "${lt_cv_path_LD+set}" = set; then :
5590 $as_echo_n "(cached) " >&6
5591 else
5592 if test -z "$LD"; then
5593 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5594 for ac_dir in $PATH; do
5595 IFS="$lt_save_ifs"
5596 test -z "$ac_dir" && ac_dir=.
5597 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5598 lt_cv_path_LD="$ac_dir/$ac_prog"
5599 # Check to see if the program is GNU ld. I'd rather use --version,
5600 # but apparently some variants of GNU ld only accept -v.
5601 # Break only if it was the GNU/non-GNU ld that we prefer.
5602 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5603 *GNU* | *'with BFD'*)
5604 test "$with_gnu_ld" != no && break
5607 test "$with_gnu_ld" != yes && break
5609 esac
5611 done
5612 IFS="$lt_save_ifs"
5613 else
5614 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5618 LD="$lt_cv_path_LD"
5619 if test -n "$LD"; then
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5621 $as_echo "$LD" >&6; }
5622 else
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5624 $as_echo "no" >&6; }
5626 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5628 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5629 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5630 $as_echo_n "(cached) " >&6
5631 else
5632 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5633 case `$LD -v 2>&1 </dev/null` in
5634 *GNU* | *'with BFD'*)
5635 lt_cv_prog_gnu_ld=yes
5638 lt_cv_prog_gnu_ld=no
5640 esac
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5643 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5644 with_gnu_ld=$lt_cv_prog_gnu_ld
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5655 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5656 if test "${lt_cv_path_NM+set}" = set; then :
5657 $as_echo_n "(cached) " >&6
5658 else
5659 if test -n "$NM"; then
5660 # Let the user override the test.
5661 lt_cv_path_NM="$NM"
5662 else
5663 lt_nm_to_check="${ac_tool_prefix}nm"
5664 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5665 lt_nm_to_check="$lt_nm_to_check nm"
5667 for lt_tmp_nm in $lt_nm_to_check; do
5668 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5669 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5670 IFS="$lt_save_ifs"
5671 test -z "$ac_dir" && ac_dir=.
5672 tmp_nm="$ac_dir/$lt_tmp_nm"
5673 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5674 # Check to see if the nm accepts a BSD-compat flag.
5675 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5676 # nm: unknown option "B" ignored
5677 # Tru64's nm complains that /dev/null is an invalid object file
5678 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5679 */dev/null* | *'Invalid file or object type'*)
5680 lt_cv_path_NM="$tmp_nm -B"
5681 break
5684 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5685 */dev/null*)
5686 lt_cv_path_NM="$tmp_nm -p"
5687 break
5690 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5691 continue # so that we can try to find one that supports BSD flags
5693 esac
5695 esac
5697 done
5698 IFS="$lt_save_ifs"
5699 done
5700 : ${lt_cv_path_NM=no}
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5704 $as_echo "$lt_cv_path_NM" >&6; }
5705 if test "$lt_cv_path_NM" != "no"; then
5706 NM="$lt_cv_path_NM"
5707 else
5708 # Didn't find any BSD compatible name lister, look for dumpbin.
5709 if test -n "$DUMPBIN"; then :
5710 # Let the user override the test.
5711 else
5712 if test -n "$ac_tool_prefix"; then
5713 for ac_prog in dumpbin "link -dump"
5715 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5716 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5718 $as_echo_n "checking for $ac_word... " >&6; }
5719 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5720 $as_echo_n "(cached) " >&6
5721 else
5722 if test -n "$DUMPBIN"; then
5723 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5724 else
5725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5726 for as_dir in $PATH
5728 IFS=$as_save_IFS
5729 test -z "$as_dir" && as_dir=.
5730 for ac_exec_ext in '' $ac_executable_extensions; do
5731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5732 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5734 break 2
5736 done
5737 done
5738 IFS=$as_save_IFS
5742 DUMPBIN=$ac_cv_prog_DUMPBIN
5743 if test -n "$DUMPBIN"; then
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5745 $as_echo "$DUMPBIN" >&6; }
5746 else
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5748 $as_echo "no" >&6; }
5752 test -n "$DUMPBIN" && break
5753 done
5755 if test -z "$DUMPBIN"; then
5756 ac_ct_DUMPBIN=$DUMPBIN
5757 for ac_prog in dumpbin "link -dump"
5759 # Extract the first word of "$ac_prog", so it can be a program name with args.
5760 set dummy $ac_prog; ac_word=$2
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5762 $as_echo_n "checking for $ac_word... " >&6; }
5763 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5764 $as_echo_n "(cached) " >&6
5765 else
5766 if test -n "$ac_ct_DUMPBIN"; then
5767 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5768 else
5769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5770 for as_dir in $PATH
5772 IFS=$as_save_IFS
5773 test -z "$as_dir" && as_dir=.
5774 for ac_exec_ext in '' $ac_executable_extensions; do
5775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5776 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5778 break 2
5780 done
5781 done
5782 IFS=$as_save_IFS
5786 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5787 if test -n "$ac_ct_DUMPBIN"; then
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5789 $as_echo "$ac_ct_DUMPBIN" >&6; }
5790 else
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5792 $as_echo "no" >&6; }
5796 test -n "$ac_ct_DUMPBIN" && break
5797 done
5799 if test "x$ac_ct_DUMPBIN" = x; then
5800 DUMPBIN=":"
5801 else
5802 case $cross_compiling:$ac_tool_warned in
5803 yes:)
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5805 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5806 ac_tool_warned=yes ;;
5807 esac
5808 DUMPBIN=$ac_ct_DUMPBIN
5812 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5813 *COFF*)
5814 DUMPBIN="$DUMPBIN -symbols"
5817 DUMPBIN=:
5819 esac
5822 if test "$DUMPBIN" != ":"; then
5823 NM="$DUMPBIN"
5826 test -z "$NM" && NM=nm
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5834 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5835 if test "${lt_cv_nm_interface+set}" = set; then :
5836 $as_echo_n "(cached) " >&6
5837 else
5838 lt_cv_nm_interface="BSD nm"
5839 echo "int some_variable = 0;" > conftest.$ac_ext
5840 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5841 (eval "$ac_compile" 2>conftest.err)
5842 cat conftest.err >&5
5843 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5844 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5845 cat conftest.err >&5
5846 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5847 cat conftest.out >&5
5848 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5849 lt_cv_nm_interface="MS dumpbin"
5851 rm -f conftest*
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5854 $as_echo "$lt_cv_nm_interface" >&6; }
5856 # find the maximum length of command line arguments
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5858 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5859 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5860 $as_echo_n "(cached) " >&6
5861 else
5863 teststring="ABCD"
5865 case $build_os in
5866 msdosdjgpp*)
5867 # On DJGPP, this test can blow up pretty badly due to problems in libc
5868 # (any single argument exceeding 2000 bytes causes a buffer overrun
5869 # during glob expansion). Even if it were fixed, the result of this
5870 # check would be larger than it should be.
5871 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5874 gnu*)
5875 # Under GNU Hurd, this test is not required because there is
5876 # no limit to the length of command line arguments.
5877 # Libtool will interpret -1 as no limit whatsoever
5878 lt_cv_sys_max_cmd_len=-1;
5881 cygwin* | mingw* | cegcc*)
5882 # On Win9x/ME, this test blows up -- it succeeds, but takes
5883 # about 5 minutes as the teststring grows exponentially.
5884 # Worse, since 9x/ME are not pre-emptively multitasking,
5885 # you end up with a "frozen" computer, even though with patience
5886 # the test eventually succeeds (with a max line length of 256k).
5887 # Instead, let's just punt: use the minimum linelength reported by
5888 # all of the supported platforms: 8192 (on NT/2K/XP).
5889 lt_cv_sys_max_cmd_len=8192;
5892 mint*)
5893 # On MiNT this can take a long time and run out of memory.
5894 lt_cv_sys_max_cmd_len=8192;
5897 amigaos*)
5898 # On AmigaOS with pdksh, this test takes hours, literally.
5899 # So we just punt and use a minimum line length of 8192.
5900 lt_cv_sys_max_cmd_len=8192;
5903 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5904 # This has been around since 386BSD, at least. Likely further.
5905 if test -x /sbin/sysctl; then
5906 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5907 elif test -x /usr/sbin/sysctl; then
5908 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5909 else
5910 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5912 # And add a safety zone
5913 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5914 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5917 interix*)
5918 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5919 lt_cv_sys_max_cmd_len=196608
5922 osf*)
5923 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5924 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5925 # nice to cause kernel panics so lets avoid the loop below.
5926 # First set a reasonable default.
5927 lt_cv_sys_max_cmd_len=16384
5929 if test -x /sbin/sysconfig; then
5930 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5931 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5932 esac
5935 sco3.2v5*)
5936 lt_cv_sys_max_cmd_len=102400
5938 sysv5* | sco5v6* | sysv4.2uw2*)
5939 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5940 if test -n "$kargmax"; then
5941 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5942 else
5943 lt_cv_sys_max_cmd_len=32768
5947 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5948 if test -n "$lt_cv_sys_max_cmd_len"; then
5949 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5950 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5951 else
5952 # Make teststring a little bigger before we do anything with it.
5953 # a 1K string should be a reasonable start.
5954 for i in 1 2 3 4 5 6 7 8 ; do
5955 teststring=$teststring$teststring
5956 done
5957 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5958 # If test is not a shell built-in, we'll probably end up computing a
5959 # maximum length that is only half of the actual maximum length, but
5960 # we can't tell.
5961 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5962 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5963 test $i != 17 # 1/2 MB should be enough
5965 i=`expr $i + 1`
5966 teststring=$teststring$teststring
5967 done
5968 # Only check the string length outside the loop.
5969 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5970 teststring=
5971 # Add a significant safety factor because C++ compilers can tack on
5972 # massive amounts of additional arguments before passing them to the
5973 # linker. It appears as though 1/2 is a usable value.
5974 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5977 esac
5981 if test -n $lt_cv_sys_max_cmd_len ; then
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5983 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5984 else
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5986 $as_echo "none" >&6; }
5988 max_cmd_len=$lt_cv_sys_max_cmd_len
5995 : ${CP="cp -f"}
5996 : ${MV="mv -f"}
5997 : ${RM="rm -f"}
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6000 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6001 # Try some XSI features
6002 xsi_shell=no
6003 ( _lt_dummy="a/b/c"
6004 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6005 = c,a/b,, \
6006 && eval 'test $(( 1 + 1 )) -eq 2 \
6007 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6008 && xsi_shell=yes
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6010 $as_echo "$xsi_shell" >&6; }
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6014 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6015 lt_shell_append=no
6016 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6017 >/dev/null 2>&1 \
6018 && lt_shell_append=yes
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6020 $as_echo "$lt_shell_append" >&6; }
6023 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6024 lt_unset=unset
6025 else
6026 lt_unset=false
6033 # test EBCDIC or ASCII
6034 case `echo X|tr X '\101'` in
6035 A) # ASCII based system
6036 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6037 lt_SP2NL='tr \040 \012'
6038 lt_NL2SP='tr \015\012 \040\040'
6040 *) # EBCDIC based system
6041 lt_SP2NL='tr \100 \n'
6042 lt_NL2SP='tr \r\n \100\100'
6044 esac
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6055 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6056 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6057 $as_echo_n "(cached) " >&6
6058 else
6059 lt_cv_ld_reload_flag='-r'
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6062 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6063 reload_flag=$lt_cv_ld_reload_flag
6064 case $reload_flag in
6065 "" | " "*) ;;
6066 *) reload_flag=" $reload_flag" ;;
6067 esac
6068 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6069 case $host_os in
6070 darwin*)
6071 if test "$GCC" = yes; then
6072 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6073 else
6074 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6077 esac
6087 if test -n "$ac_tool_prefix"; then
6088 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6089 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6091 $as_echo_n "checking for $ac_word... " >&6; }
6092 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6093 $as_echo_n "(cached) " >&6
6094 else
6095 if test -n "$OBJDUMP"; then
6096 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6097 else
6098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6099 for as_dir in $PATH
6101 IFS=$as_save_IFS
6102 test -z "$as_dir" && as_dir=.
6103 for ac_exec_ext in '' $ac_executable_extensions; do
6104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6105 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6107 break 2
6109 done
6110 done
6111 IFS=$as_save_IFS
6115 OBJDUMP=$ac_cv_prog_OBJDUMP
6116 if test -n "$OBJDUMP"; then
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6118 $as_echo "$OBJDUMP" >&6; }
6119 else
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6121 $as_echo "no" >&6; }
6126 if test -z "$ac_cv_prog_OBJDUMP"; then
6127 ac_ct_OBJDUMP=$OBJDUMP
6128 # Extract the first word of "objdump", so it can be a program name with args.
6129 set dummy objdump; ac_word=$2
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6131 $as_echo_n "checking for $ac_word... " >&6; }
6132 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6133 $as_echo_n "(cached) " >&6
6134 else
6135 if test -n "$ac_ct_OBJDUMP"; then
6136 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6137 else
6138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6139 for as_dir in $PATH
6141 IFS=$as_save_IFS
6142 test -z "$as_dir" && as_dir=.
6143 for ac_exec_ext in '' $ac_executable_extensions; do
6144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6145 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6147 break 2
6149 done
6150 done
6151 IFS=$as_save_IFS
6155 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6156 if test -n "$ac_ct_OBJDUMP"; then
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6158 $as_echo "$ac_ct_OBJDUMP" >&6; }
6159 else
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6161 $as_echo "no" >&6; }
6164 if test "x$ac_ct_OBJDUMP" = x; then
6165 OBJDUMP="false"
6166 else
6167 case $cross_compiling:$ac_tool_warned in
6168 yes:)
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6170 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6171 ac_tool_warned=yes ;;
6172 esac
6173 OBJDUMP=$ac_ct_OBJDUMP
6175 else
6176 OBJDUMP="$ac_cv_prog_OBJDUMP"
6179 test -z "$OBJDUMP" && OBJDUMP=objdump
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6190 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6191 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6192 $as_echo_n "(cached) " >&6
6193 else
6194 lt_cv_file_magic_cmd='$MAGIC_CMD'
6195 lt_cv_file_magic_test_file=
6196 lt_cv_deplibs_check_method='unknown'
6197 # Need to set the preceding variable on all platforms that support
6198 # interlibrary dependencies.
6199 # 'none' -- dependencies not supported.
6200 # `unknown' -- same as none, but documents that we really don't know.
6201 # 'pass_all' -- all dependencies passed with no checks.
6202 # 'test_compile' -- check by making test program.
6203 # 'file_magic [[regex]]' -- check by looking for files in library path
6204 # which responds to the $file_magic_cmd with a given extended regex.
6205 # If you have `file' or equivalent on your system and you're not sure
6206 # whether `pass_all' will *always* work, you probably want this one.
6208 case $host_os in
6209 aix[4-9]*)
6210 lt_cv_deplibs_check_method=pass_all
6213 beos*)
6214 lt_cv_deplibs_check_method=pass_all
6217 bsdi[45]*)
6218 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6219 lt_cv_file_magic_cmd='/usr/bin/file -L'
6220 lt_cv_file_magic_test_file=/shlib/libc.so
6223 cygwin*)
6224 # func_win32_libid is a shell function defined in ltmain.sh
6225 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6226 lt_cv_file_magic_cmd='func_win32_libid'
6229 mingw* | pw32*)
6230 # Base MSYS/MinGW do not provide the 'file' command needed by
6231 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6232 # unless we find 'file', for example because we are cross-compiling.
6233 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6234 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6235 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6236 lt_cv_file_magic_cmd='func_win32_libid'
6237 else
6238 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6239 lt_cv_file_magic_cmd='$OBJDUMP -f'
6243 cegcc*)
6244 # use the weaker test based on 'objdump'. See mingw*.
6245 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6246 lt_cv_file_magic_cmd='$OBJDUMP -f'
6249 darwin* | rhapsody*)
6250 lt_cv_deplibs_check_method=pass_all
6253 freebsd* | dragonfly*)
6254 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6255 case $host_cpu in
6256 i*86 )
6257 # Not sure whether the presence of OpenBSD here was a mistake.
6258 # Let's accept both of them until this is cleared up.
6259 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6260 lt_cv_file_magic_cmd=/usr/bin/file
6261 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6263 esac
6264 else
6265 lt_cv_deplibs_check_method=pass_all
6269 gnu*)
6270 lt_cv_deplibs_check_method=pass_all
6273 haiku*)
6274 lt_cv_deplibs_check_method=pass_all
6277 hpux10.20* | hpux11*)
6278 lt_cv_file_magic_cmd=/usr/bin/file
6279 case $host_cpu in
6280 ia64*)
6281 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6282 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6284 hppa*64*)
6285 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6286 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6289 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6290 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6292 esac
6295 interix[3-9]*)
6296 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6297 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6300 irix5* | irix6* | nonstopux*)
6301 case $LD in
6302 *-32|*"-32 ") libmagic=32-bit;;
6303 *-n32|*"-n32 ") libmagic=N32;;
6304 *-64|*"-64 ") libmagic=64-bit;;
6305 *) libmagic=never-match;;
6306 esac
6307 lt_cv_deplibs_check_method=pass_all
6310 # This must be Linux ELF.
6311 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6312 lt_cv_deplibs_check_method=pass_all
6315 netbsd*)
6316 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6317 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6318 else
6319 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6323 newos6*)
6324 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6325 lt_cv_file_magic_cmd=/usr/bin/file
6326 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6329 *nto* | *qnx*)
6330 lt_cv_deplibs_check_method=pass_all
6333 openbsd*)
6334 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6335 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6336 else
6337 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6341 osf3* | osf4* | osf5*)
6342 lt_cv_deplibs_check_method=pass_all
6345 rdos*)
6346 lt_cv_deplibs_check_method=pass_all
6349 solaris*)
6350 lt_cv_deplibs_check_method=pass_all
6353 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6354 lt_cv_deplibs_check_method=pass_all
6357 sysv4 | sysv4.3*)
6358 case $host_vendor in
6359 motorola)
6360 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
6361 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6363 ncr)
6364 lt_cv_deplibs_check_method=pass_all
6366 sequent)
6367 lt_cv_file_magic_cmd='/bin/file'
6368 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6370 sni)
6371 lt_cv_file_magic_cmd='/bin/file'
6372 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6373 lt_cv_file_magic_test_file=/lib/libc.so
6375 siemens)
6376 lt_cv_deplibs_check_method=pass_all
6379 lt_cv_deplibs_check_method=pass_all
6381 esac
6384 tpf*)
6385 lt_cv_deplibs_check_method=pass_all
6387 esac
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6391 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6392 file_magic_cmd=$lt_cv_file_magic_cmd
6393 deplibs_check_method=$lt_cv_deplibs_check_method
6394 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6407 if test -n "$ac_tool_prefix"; then
6408 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6409 set dummy ${ac_tool_prefix}ar; ac_word=$2
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6411 $as_echo_n "checking for $ac_word... " >&6; }
6412 if test "${ac_cv_prog_AR+set}" = set; then :
6413 $as_echo_n "(cached) " >&6
6414 else
6415 if test -n "$AR"; then
6416 ac_cv_prog_AR="$AR" # Let the user override the test.
6417 else
6418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6419 for as_dir in $PATH
6421 IFS=$as_save_IFS
6422 test -z "$as_dir" && as_dir=.
6423 for ac_exec_ext in '' $ac_executable_extensions; do
6424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6425 ac_cv_prog_AR="${ac_tool_prefix}ar"
6426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6427 break 2
6429 done
6430 done
6431 IFS=$as_save_IFS
6435 AR=$ac_cv_prog_AR
6436 if test -n "$AR"; then
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6438 $as_echo "$AR" >&6; }
6439 else
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6441 $as_echo "no" >&6; }
6446 if test -z "$ac_cv_prog_AR"; then
6447 ac_ct_AR=$AR
6448 # Extract the first word of "ar", so it can be a program name with args.
6449 set dummy ar; ac_word=$2
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6451 $as_echo_n "checking for $ac_word... " >&6; }
6452 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6453 $as_echo_n "(cached) " >&6
6454 else
6455 if test -n "$ac_ct_AR"; then
6456 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6457 else
6458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6459 for as_dir in $PATH
6461 IFS=$as_save_IFS
6462 test -z "$as_dir" && as_dir=.
6463 for ac_exec_ext in '' $ac_executable_extensions; do
6464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6465 ac_cv_prog_ac_ct_AR="ar"
6466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6467 break 2
6469 done
6470 done
6471 IFS=$as_save_IFS
6475 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6476 if test -n "$ac_ct_AR"; then
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6478 $as_echo "$ac_ct_AR" >&6; }
6479 else
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6481 $as_echo "no" >&6; }
6484 if test "x$ac_ct_AR" = x; then
6485 AR="false"
6486 else
6487 case $cross_compiling:$ac_tool_warned in
6488 yes:)
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6490 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6491 ac_tool_warned=yes ;;
6492 esac
6493 AR=$ac_ct_AR
6495 else
6496 AR="$ac_cv_prog_AR"
6499 test -z "$AR" && AR=ar
6500 test -z "$AR_FLAGS" && AR_FLAGS=cru
6512 if test -n "$ac_tool_prefix"; then
6513 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6514 set dummy ${ac_tool_prefix}strip; ac_word=$2
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6516 $as_echo_n "checking for $ac_word... " >&6; }
6517 if test "${ac_cv_prog_STRIP+set}" = set; then :
6518 $as_echo_n "(cached) " >&6
6519 else
6520 if test -n "$STRIP"; then
6521 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6522 else
6523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6524 for as_dir in $PATH
6526 IFS=$as_save_IFS
6527 test -z "$as_dir" && as_dir=.
6528 for ac_exec_ext in '' $ac_executable_extensions; do
6529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6530 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6532 break 2
6534 done
6535 done
6536 IFS=$as_save_IFS
6540 STRIP=$ac_cv_prog_STRIP
6541 if test -n "$STRIP"; then
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6543 $as_echo "$STRIP" >&6; }
6544 else
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6546 $as_echo "no" >&6; }
6551 if test -z "$ac_cv_prog_STRIP"; then
6552 ac_ct_STRIP=$STRIP
6553 # Extract the first word of "strip", so it can be a program name with args.
6554 set dummy strip; ac_word=$2
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6556 $as_echo_n "checking for $ac_word... " >&6; }
6557 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6558 $as_echo_n "(cached) " >&6
6559 else
6560 if test -n "$ac_ct_STRIP"; then
6561 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6562 else
6563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6564 for as_dir in $PATH
6566 IFS=$as_save_IFS
6567 test -z "$as_dir" && as_dir=.
6568 for ac_exec_ext in '' $ac_executable_extensions; do
6569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6570 ac_cv_prog_ac_ct_STRIP="strip"
6571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6572 break 2
6574 done
6575 done
6576 IFS=$as_save_IFS
6580 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6581 if test -n "$ac_ct_STRIP"; then
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6583 $as_echo "$ac_ct_STRIP" >&6; }
6584 else
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6586 $as_echo "no" >&6; }
6589 if test "x$ac_ct_STRIP" = x; then
6590 STRIP=":"
6591 else
6592 case $cross_compiling:$ac_tool_warned in
6593 yes:)
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6596 ac_tool_warned=yes ;;
6597 esac
6598 STRIP=$ac_ct_STRIP
6600 else
6601 STRIP="$ac_cv_prog_STRIP"
6604 test -z "$STRIP" && STRIP=:
6611 if test -n "$ac_tool_prefix"; then
6612 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6613 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6615 $as_echo_n "checking for $ac_word... " >&6; }
6616 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6617 $as_echo_n "(cached) " >&6
6618 else
6619 if test -n "$RANLIB"; then
6620 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6621 else
6622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6623 for as_dir in $PATH
6625 IFS=$as_save_IFS
6626 test -z "$as_dir" && as_dir=.
6627 for ac_exec_ext in '' $ac_executable_extensions; do
6628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6629 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6631 break 2
6633 done
6634 done
6635 IFS=$as_save_IFS
6639 RANLIB=$ac_cv_prog_RANLIB
6640 if test -n "$RANLIB"; then
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6642 $as_echo "$RANLIB" >&6; }
6643 else
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6645 $as_echo "no" >&6; }
6650 if test -z "$ac_cv_prog_RANLIB"; then
6651 ac_ct_RANLIB=$RANLIB
6652 # Extract the first word of "ranlib", so it can be a program name with args.
6653 set dummy ranlib; ac_word=$2
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6655 $as_echo_n "checking for $ac_word... " >&6; }
6656 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6657 $as_echo_n "(cached) " >&6
6658 else
6659 if test -n "$ac_ct_RANLIB"; then
6660 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6661 else
6662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6663 for as_dir in $PATH
6665 IFS=$as_save_IFS
6666 test -z "$as_dir" && as_dir=.
6667 for ac_exec_ext in '' $ac_executable_extensions; do
6668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6669 ac_cv_prog_ac_ct_RANLIB="ranlib"
6670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6671 break 2
6673 done
6674 done
6675 IFS=$as_save_IFS
6679 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6680 if test -n "$ac_ct_RANLIB"; then
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6682 $as_echo "$ac_ct_RANLIB" >&6; }
6683 else
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6685 $as_echo "no" >&6; }
6688 if test "x$ac_ct_RANLIB" = x; then
6689 RANLIB=":"
6690 else
6691 case $cross_compiling:$ac_tool_warned in
6692 yes:)
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6694 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6695 ac_tool_warned=yes ;;
6696 esac
6697 RANLIB=$ac_ct_RANLIB
6699 else
6700 RANLIB="$ac_cv_prog_RANLIB"
6703 test -z "$RANLIB" && RANLIB=:
6710 # Determine commands to create old-style static archives.
6711 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6712 old_postinstall_cmds='chmod 644 $oldlib'
6713 old_postuninstall_cmds=
6715 if test -n "$RANLIB"; then
6716 case $host_os in
6717 openbsd*)
6718 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6721 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6723 esac
6724 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6727 case $host_os in
6728 darwin*)
6729 lock_old_archive_extraction=yes ;;
6731 lock_old_archive_extraction=no ;;
6732 esac
6772 # If no C compiler was specified, use CC.
6773 LTCC=${LTCC-"$CC"}
6775 # If no C compiler flags were specified, use CFLAGS.
6776 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6778 # Allow CC to be a program name with arguments.
6779 compiler=$CC
6782 # Check for command to grab the raw symbol name followed by C symbol from nm.
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6784 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6785 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6786 $as_echo_n "(cached) " >&6
6787 else
6789 # These are sane defaults that work on at least a few old systems.
6790 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6792 # Character class describing NM global symbol codes.
6793 symcode='[BCDEGRST]'
6795 # Regexp to match symbols that can be accessed directly from C.
6796 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6798 # Define system-specific variables.
6799 case $host_os in
6800 aix*)
6801 symcode='[BCDT]'
6803 cygwin* | mingw* | pw32* | cegcc*)
6804 symcode='[ABCDGISTW]'
6806 hpux*)
6807 if test "$host_cpu" = ia64; then
6808 symcode='[ABCDEGRST]'
6811 irix* | nonstopux*)
6812 symcode='[BCDEGRST]'
6814 osf*)
6815 symcode='[BCDEGQRST]'
6817 solaris*)
6818 symcode='[BDRT]'
6820 sco3.2v5*)
6821 symcode='[DT]'
6823 sysv4.2uw2*)
6824 symcode='[DT]'
6826 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6827 symcode='[ABDT]'
6829 sysv4)
6830 symcode='[DFNSTU]'
6832 esac
6834 # If we're using GNU nm, then use its standard symbol codes.
6835 case `$NM -V 2>&1` in
6836 *GNU* | *'with BFD'*)
6837 symcode='[ABCDGIRSTW]' ;;
6838 esac
6840 # Transform an extracted symbol line into a proper C declaration.
6841 # Some systems (esp. on ia64) link data and code symbols differently,
6842 # so use this general approach.
6843 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6845 # Transform an extracted symbol line into symbol name and symbol address
6846 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6847 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6849 # Handle CRLF in mingw tool chain
6850 opt_cr=
6851 case $build_os in
6852 mingw*)
6853 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6855 esac
6857 # Try without a prefix underscore, then with it.
6858 for ac_symprfx in "" "_"; do
6860 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6861 symxfrm="\\1 $ac_symprfx\\2 \\2"
6863 # Write the raw and C identifiers.
6864 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6865 # Fake it for dumpbin and say T for any non-static function
6866 # and D for any global variable.
6867 # Also find C++ and __fastcall symbols from MSVC++,
6868 # which start with @ or ?.
6869 lt_cv_sys_global_symbol_pipe="$AWK '"\
6870 " {last_section=section; section=\$ 3};"\
6871 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6872 " \$ 0!~/External *\|/{next};"\
6873 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6874 " {if(hide[section]) next};"\
6875 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6876 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6877 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6878 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6879 " ' prfx=^$ac_symprfx"
6880 else
6881 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6884 # Check to see that the pipe works correctly.
6885 pipe_works=no
6887 rm -f conftest*
6888 cat > conftest.$ac_ext <<_LT_EOF
6889 #ifdef __cplusplus
6890 extern "C" {
6891 #endif
6892 char nm_test_var;
6893 void nm_test_func(void);
6894 void nm_test_func(void){}
6895 #ifdef __cplusplus
6897 #endif
6898 int main(){nm_test_var='a';nm_test_func();return(0);}
6899 _LT_EOF
6901 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6902 (eval $ac_compile) 2>&5
6903 ac_status=$?
6904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6905 test $ac_status = 0; }; then
6906 # Now try to grab the symbols.
6907 nlist=conftest.nm
6908 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6909 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6910 ac_status=$?
6911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6912 test $ac_status = 0; } && test -s "$nlist"; then
6913 # Try sorting and uniquifying the output.
6914 if sort "$nlist" | uniq > "$nlist"T; then
6915 mv -f "$nlist"T "$nlist"
6916 else
6917 rm -f "$nlist"T
6920 # Make sure that we snagged all the symbols we need.
6921 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6922 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6923 cat <<_LT_EOF > conftest.$ac_ext
6924 #ifdef __cplusplus
6925 extern "C" {
6926 #endif
6928 _LT_EOF
6929 # Now generate the symbol file.
6930 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6932 cat <<_LT_EOF >> conftest.$ac_ext
6934 /* The mapping between symbol names and symbols. */
6935 const struct {
6936 const char *name;
6937 void *address;
6939 lt__PROGRAM__LTX_preloaded_symbols[] =
6941 { "@PROGRAM@", (void *) 0 },
6942 _LT_EOF
6943 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6944 cat <<\_LT_EOF >> conftest.$ac_ext
6945 {0, (void *) 0}
6948 /* This works around a problem in FreeBSD linker */
6949 #ifdef FREEBSD_WORKAROUND
6950 static const void *lt_preloaded_setup() {
6951 return lt__PROGRAM__LTX_preloaded_symbols;
6953 #endif
6955 #ifdef __cplusplus
6957 #endif
6958 _LT_EOF
6959 # Now try linking the two files.
6960 mv conftest.$ac_objext conftstm.$ac_objext
6961 lt_save_LIBS="$LIBS"
6962 lt_save_CFLAGS="$CFLAGS"
6963 LIBS="conftstm.$ac_objext"
6964 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6965 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6966 (eval $ac_link) 2>&5
6967 ac_status=$?
6968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6969 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6970 pipe_works=yes
6972 LIBS="$lt_save_LIBS"
6973 CFLAGS="$lt_save_CFLAGS"
6974 else
6975 echo "cannot find nm_test_func in $nlist" >&5
6977 else
6978 echo "cannot find nm_test_var in $nlist" >&5
6980 else
6981 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6983 else
6984 echo "$progname: failed program was:" >&5
6985 cat conftest.$ac_ext >&5
6987 rm -rf conftest* conftst*
6989 # Do not use the global_symbol_pipe unless it works.
6990 if test "$pipe_works" = yes; then
6991 break
6992 else
6993 lt_cv_sys_global_symbol_pipe=
6995 done
6999 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7000 lt_cv_sys_global_symbol_to_cdecl=
7002 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7004 $as_echo "failed" >&6; }
7005 else
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7007 $as_echo "ok" >&6; }
7031 # Check whether --enable-libtool-lock was given.
7032 if test "${enable_libtool_lock+set}" = set; then :
7033 enableval=$enable_libtool_lock;
7036 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7038 # Some flags need to be propagated to the compiler or linker for good
7039 # libtool support.
7040 case $host in
7041 ia64-*-hpux*)
7042 # Find out which ABI we are using.
7043 echo 'int i;' > conftest.$ac_ext
7044 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7045 (eval $ac_compile) 2>&5
7046 ac_status=$?
7047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7048 test $ac_status = 0; }; then
7049 case `/usr/bin/file conftest.$ac_objext` in
7050 *ELF-32*)
7051 HPUX_IA64_MODE="32"
7053 *ELF-64*)
7054 HPUX_IA64_MODE="64"
7056 esac
7058 rm -rf conftest*
7060 *-*-irix6*)
7061 # Find out which ABI we are using.
7062 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7063 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7064 (eval $ac_compile) 2>&5
7065 ac_status=$?
7066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7067 test $ac_status = 0; }; then
7068 if test "$lt_cv_prog_gnu_ld" = yes; then
7069 case `/usr/bin/file conftest.$ac_objext` in
7070 *32-bit*)
7071 LD="${LD-ld} -melf32bsmip"
7073 *N32*)
7074 LD="${LD-ld} -melf32bmipn32"
7076 *64-bit*)
7077 LD="${LD-ld} -melf64bmip"
7079 esac
7080 else
7081 case `/usr/bin/file conftest.$ac_objext` in
7082 *32-bit*)
7083 LD="${LD-ld} -32"
7085 *N32*)
7086 LD="${LD-ld} -n32"
7088 *64-bit*)
7089 LD="${LD-ld} -64"
7091 esac
7094 rm -rf conftest*
7097 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7098 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7099 # Find out which ABI we are using.
7100 echo 'int i;' > conftest.$ac_ext
7101 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7102 (eval $ac_compile) 2>&5
7103 ac_status=$?
7104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7105 test $ac_status = 0; }; then
7106 case `/usr/bin/file conftest.o` in
7107 *32-bit*)
7108 case $host in
7109 x86_64-*kfreebsd*-gnu)
7110 LD="${LD-ld} -m elf_i386_fbsd"
7112 x86_64-*linux*)
7113 LD="${LD-ld} -m elf_i386"
7115 ppc64-*linux*|powerpc64-*linux*)
7116 LD="${LD-ld} -m elf32ppclinux"
7118 s390x-*linux*)
7119 LD="${LD-ld} -m elf_s390"
7121 sparc64-*linux*)
7122 LD="${LD-ld} -m elf32_sparc"
7124 esac
7126 *64-bit*)
7127 case $host in
7128 x86_64-*kfreebsd*-gnu)
7129 LD="${LD-ld} -m elf_x86_64_fbsd"
7131 x86_64-*linux*)
7132 LD="${LD-ld} -m elf_x86_64"
7134 ppc*-*linux*|powerpc*-*linux*)
7135 LD="${LD-ld} -m elf64ppc"
7137 s390*-*linux*|s390*-*tpf*)
7138 LD="${LD-ld} -m elf64_s390"
7140 sparc*-*linux*)
7141 LD="${LD-ld} -m elf64_sparc"
7143 esac
7145 esac
7147 rm -rf conftest*
7150 *-*-sco3.2v5*)
7151 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7152 SAVE_CFLAGS="$CFLAGS"
7153 CFLAGS="$CFLAGS -belf"
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7155 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7156 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7157 $as_echo_n "(cached) " >&6
7158 else
7159 ac_ext=c
7160 ac_cpp='$CPP $CPPFLAGS'
7161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7165 if test x$gcc_no_link = xyes; then
7166 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7169 /* end confdefs.h. */
7172 main ()
7176 return 0;
7178 _ACEOF
7179 if ac_fn_c_try_link "$LINENO"; then :
7180 lt_cv_cc_needs_belf=yes
7181 else
7182 lt_cv_cc_needs_belf=no
7184 rm -f core conftest.err conftest.$ac_objext \
7185 conftest$ac_exeext conftest.$ac_ext
7186 ac_ext=c
7187 ac_cpp='$CPP $CPPFLAGS'
7188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7194 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7195 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7196 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7197 CFLAGS="$SAVE_CFLAGS"
7200 sparc*-*solaris*)
7201 # Find out which ABI we are using.
7202 echo 'int i;' > conftest.$ac_ext
7203 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7204 (eval $ac_compile) 2>&5
7205 ac_status=$?
7206 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7207 test $ac_status = 0; }; then
7208 case `/usr/bin/file conftest.o` in
7209 *64-bit*)
7210 case $lt_cv_prog_gnu_ld in
7211 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7213 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7214 LD="${LD-ld} -64"
7217 esac
7219 esac
7221 rm -rf conftest*
7223 esac
7225 need_locks="$enable_libtool_lock"
7228 case $host_os in
7229 rhapsody* | darwin*)
7230 if test -n "$ac_tool_prefix"; then
7231 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7232 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7234 $as_echo_n "checking for $ac_word... " >&6; }
7235 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7236 $as_echo_n "(cached) " >&6
7237 else
7238 if test -n "$DSYMUTIL"; then
7239 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7240 else
7241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7242 for as_dir in $PATH
7244 IFS=$as_save_IFS
7245 test -z "$as_dir" && as_dir=.
7246 for ac_exec_ext in '' $ac_executable_extensions; do
7247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7248 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7250 break 2
7252 done
7253 done
7254 IFS=$as_save_IFS
7258 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7259 if test -n "$DSYMUTIL"; then
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7261 $as_echo "$DSYMUTIL" >&6; }
7262 else
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7264 $as_echo "no" >&6; }
7269 if test -z "$ac_cv_prog_DSYMUTIL"; then
7270 ac_ct_DSYMUTIL=$DSYMUTIL
7271 # Extract the first word of "dsymutil", so it can be a program name with args.
7272 set dummy dsymutil; ac_word=$2
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7274 $as_echo_n "checking for $ac_word... " >&6; }
7275 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7276 $as_echo_n "(cached) " >&6
7277 else
7278 if test -n "$ac_ct_DSYMUTIL"; then
7279 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7280 else
7281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7282 for as_dir in $PATH
7284 IFS=$as_save_IFS
7285 test -z "$as_dir" && as_dir=.
7286 for ac_exec_ext in '' $ac_executable_extensions; do
7287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7288 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7290 break 2
7292 done
7293 done
7294 IFS=$as_save_IFS
7298 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7299 if test -n "$ac_ct_DSYMUTIL"; then
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7301 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7302 else
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7304 $as_echo "no" >&6; }
7307 if test "x$ac_ct_DSYMUTIL" = x; then
7308 DSYMUTIL=":"
7309 else
7310 case $cross_compiling:$ac_tool_warned in
7311 yes:)
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7313 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7314 ac_tool_warned=yes ;;
7315 esac
7316 DSYMUTIL=$ac_ct_DSYMUTIL
7318 else
7319 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7322 if test -n "$ac_tool_prefix"; then
7323 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7324 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7326 $as_echo_n "checking for $ac_word... " >&6; }
7327 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7328 $as_echo_n "(cached) " >&6
7329 else
7330 if test -n "$NMEDIT"; then
7331 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7332 else
7333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7334 for as_dir in $PATH
7336 IFS=$as_save_IFS
7337 test -z "$as_dir" && as_dir=.
7338 for ac_exec_ext in '' $ac_executable_extensions; do
7339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7340 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7342 break 2
7344 done
7345 done
7346 IFS=$as_save_IFS
7350 NMEDIT=$ac_cv_prog_NMEDIT
7351 if test -n "$NMEDIT"; then
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7353 $as_echo "$NMEDIT" >&6; }
7354 else
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7356 $as_echo "no" >&6; }
7361 if test -z "$ac_cv_prog_NMEDIT"; then
7362 ac_ct_NMEDIT=$NMEDIT
7363 # Extract the first word of "nmedit", so it can be a program name with args.
7364 set dummy nmedit; ac_word=$2
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7366 $as_echo_n "checking for $ac_word... " >&6; }
7367 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7368 $as_echo_n "(cached) " >&6
7369 else
7370 if test -n "$ac_ct_NMEDIT"; then
7371 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7372 else
7373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7374 for as_dir in $PATH
7376 IFS=$as_save_IFS
7377 test -z "$as_dir" && as_dir=.
7378 for ac_exec_ext in '' $ac_executable_extensions; do
7379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7380 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7382 break 2
7384 done
7385 done
7386 IFS=$as_save_IFS
7390 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7391 if test -n "$ac_ct_NMEDIT"; then
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7393 $as_echo "$ac_ct_NMEDIT" >&6; }
7394 else
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7396 $as_echo "no" >&6; }
7399 if test "x$ac_ct_NMEDIT" = x; then
7400 NMEDIT=":"
7401 else
7402 case $cross_compiling:$ac_tool_warned in
7403 yes:)
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7405 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7406 ac_tool_warned=yes ;;
7407 esac
7408 NMEDIT=$ac_ct_NMEDIT
7410 else
7411 NMEDIT="$ac_cv_prog_NMEDIT"
7414 if test -n "$ac_tool_prefix"; then
7415 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7416 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7418 $as_echo_n "checking for $ac_word... " >&6; }
7419 if test "${ac_cv_prog_LIPO+set}" = set; then :
7420 $as_echo_n "(cached) " >&6
7421 else
7422 if test -n "$LIPO"; then
7423 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7424 else
7425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7426 for as_dir in $PATH
7428 IFS=$as_save_IFS
7429 test -z "$as_dir" && as_dir=.
7430 for ac_exec_ext in '' $ac_executable_extensions; do
7431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7432 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7434 break 2
7436 done
7437 done
7438 IFS=$as_save_IFS
7442 LIPO=$ac_cv_prog_LIPO
7443 if test -n "$LIPO"; then
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7445 $as_echo "$LIPO" >&6; }
7446 else
7447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7448 $as_echo "no" >&6; }
7453 if test -z "$ac_cv_prog_LIPO"; then
7454 ac_ct_LIPO=$LIPO
7455 # Extract the first word of "lipo", so it can be a program name with args.
7456 set dummy lipo; ac_word=$2
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7458 $as_echo_n "checking for $ac_word... " >&6; }
7459 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7460 $as_echo_n "(cached) " >&6
7461 else
7462 if test -n "$ac_ct_LIPO"; then
7463 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7464 else
7465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7466 for as_dir in $PATH
7468 IFS=$as_save_IFS
7469 test -z "$as_dir" && as_dir=.
7470 for ac_exec_ext in '' $ac_executable_extensions; do
7471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7472 ac_cv_prog_ac_ct_LIPO="lipo"
7473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7474 break 2
7476 done
7477 done
7478 IFS=$as_save_IFS
7482 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7483 if test -n "$ac_ct_LIPO"; then
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7485 $as_echo "$ac_ct_LIPO" >&6; }
7486 else
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7488 $as_echo "no" >&6; }
7491 if test "x$ac_ct_LIPO" = x; then
7492 LIPO=":"
7493 else
7494 case $cross_compiling:$ac_tool_warned in
7495 yes:)
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7497 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7498 ac_tool_warned=yes ;;
7499 esac
7500 LIPO=$ac_ct_LIPO
7502 else
7503 LIPO="$ac_cv_prog_LIPO"
7506 if test -n "$ac_tool_prefix"; then
7507 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7508 set dummy ${ac_tool_prefix}otool; ac_word=$2
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7510 $as_echo_n "checking for $ac_word... " >&6; }
7511 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7512 $as_echo_n "(cached) " >&6
7513 else
7514 if test -n "$OTOOL"; then
7515 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7516 else
7517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7518 for as_dir in $PATH
7520 IFS=$as_save_IFS
7521 test -z "$as_dir" && as_dir=.
7522 for ac_exec_ext in '' $ac_executable_extensions; do
7523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7524 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7526 break 2
7528 done
7529 done
7530 IFS=$as_save_IFS
7534 OTOOL=$ac_cv_prog_OTOOL
7535 if test -n "$OTOOL"; then
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7537 $as_echo "$OTOOL" >&6; }
7538 else
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7540 $as_echo "no" >&6; }
7545 if test -z "$ac_cv_prog_OTOOL"; then
7546 ac_ct_OTOOL=$OTOOL
7547 # Extract the first word of "otool", so it can be a program name with args.
7548 set dummy otool; ac_word=$2
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7550 $as_echo_n "checking for $ac_word... " >&6; }
7551 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7552 $as_echo_n "(cached) " >&6
7553 else
7554 if test -n "$ac_ct_OTOOL"; then
7555 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7556 else
7557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7558 for as_dir in $PATH
7560 IFS=$as_save_IFS
7561 test -z "$as_dir" && as_dir=.
7562 for ac_exec_ext in '' $ac_executable_extensions; do
7563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7564 ac_cv_prog_ac_ct_OTOOL="otool"
7565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7566 break 2
7568 done
7569 done
7570 IFS=$as_save_IFS
7574 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7575 if test -n "$ac_ct_OTOOL"; then
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7577 $as_echo "$ac_ct_OTOOL" >&6; }
7578 else
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7580 $as_echo "no" >&6; }
7583 if test "x$ac_ct_OTOOL" = x; then
7584 OTOOL=":"
7585 else
7586 case $cross_compiling:$ac_tool_warned in
7587 yes:)
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7589 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7590 ac_tool_warned=yes ;;
7591 esac
7592 OTOOL=$ac_ct_OTOOL
7594 else
7595 OTOOL="$ac_cv_prog_OTOOL"
7598 if test -n "$ac_tool_prefix"; then
7599 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7600 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7602 $as_echo_n "checking for $ac_word... " >&6; }
7603 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7604 $as_echo_n "(cached) " >&6
7605 else
7606 if test -n "$OTOOL64"; then
7607 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7608 else
7609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7610 for as_dir in $PATH
7612 IFS=$as_save_IFS
7613 test -z "$as_dir" && as_dir=.
7614 for ac_exec_ext in '' $ac_executable_extensions; do
7615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7616 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7618 break 2
7620 done
7621 done
7622 IFS=$as_save_IFS
7626 OTOOL64=$ac_cv_prog_OTOOL64
7627 if test -n "$OTOOL64"; then
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7629 $as_echo "$OTOOL64" >&6; }
7630 else
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7632 $as_echo "no" >&6; }
7637 if test -z "$ac_cv_prog_OTOOL64"; then
7638 ac_ct_OTOOL64=$OTOOL64
7639 # Extract the first word of "otool64", so it can be a program name with args.
7640 set dummy otool64; ac_word=$2
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7642 $as_echo_n "checking for $ac_word... " >&6; }
7643 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7644 $as_echo_n "(cached) " >&6
7645 else
7646 if test -n "$ac_ct_OTOOL64"; then
7647 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7648 else
7649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7650 for as_dir in $PATH
7652 IFS=$as_save_IFS
7653 test -z "$as_dir" && as_dir=.
7654 for ac_exec_ext in '' $ac_executable_extensions; do
7655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7656 ac_cv_prog_ac_ct_OTOOL64="otool64"
7657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7658 break 2
7660 done
7661 done
7662 IFS=$as_save_IFS
7666 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7667 if test -n "$ac_ct_OTOOL64"; then
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7669 $as_echo "$ac_ct_OTOOL64" >&6; }
7670 else
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7672 $as_echo "no" >&6; }
7675 if test "x$ac_ct_OTOOL64" = x; then
7676 OTOOL64=":"
7677 else
7678 case $cross_compiling:$ac_tool_warned in
7679 yes:)
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7681 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7682 ac_tool_warned=yes ;;
7683 esac
7684 OTOOL64=$ac_ct_OTOOL64
7686 else
7687 OTOOL64="$ac_cv_prog_OTOOL64"
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7717 $as_echo_n "checking for -single_module linker flag... " >&6; }
7718 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7719 $as_echo_n "(cached) " >&6
7720 else
7721 lt_cv_apple_cc_single_mod=no
7722 if test -z "${LT_MULTI_MODULE}"; then
7723 # By default we will add the -single_module flag. You can override
7724 # by either setting the environment variable LT_MULTI_MODULE
7725 # non-empty at configure time, or by adding -multi_module to the
7726 # link flags.
7727 rm -rf libconftest.dylib*
7728 echo "int foo(void){return 1;}" > conftest.c
7729 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7730 -dynamiclib -Wl,-single_module conftest.c" >&5
7731 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7732 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7733 _lt_result=$?
7734 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7735 lt_cv_apple_cc_single_mod=yes
7736 else
7737 cat conftest.err >&5
7739 rm -rf libconftest.dylib*
7740 rm -f conftest.*
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7744 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7746 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7747 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7748 $as_echo_n "(cached) " >&6
7749 else
7750 lt_cv_ld_exported_symbols_list=no
7751 save_LDFLAGS=$LDFLAGS
7752 echo "_main" > conftest.sym
7753 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7754 if test x$gcc_no_link = xyes; then
7755 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7758 /* end confdefs.h. */
7761 main ()
7765 return 0;
7767 _ACEOF
7768 if ac_fn_c_try_link "$LINENO"; then :
7769 lt_cv_ld_exported_symbols_list=yes
7770 else
7771 lt_cv_ld_exported_symbols_list=no
7773 rm -f core conftest.err conftest.$ac_objext \
7774 conftest$ac_exeext conftest.$ac_ext
7775 LDFLAGS="$save_LDFLAGS"
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7779 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7781 $as_echo_n "checking for -force_load linker flag... " >&6; }
7782 if test "${lt_cv_ld_force_load+set}" = set; then :
7783 $as_echo_n "(cached) " >&6
7784 else
7785 lt_cv_ld_force_load=no
7786 cat > conftest.c << _LT_EOF
7787 int forced_loaded() { return 2;}
7788 _LT_EOF
7789 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7790 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7791 echo "$AR cru libconftest.a conftest.o" >&5
7792 $AR cru libconftest.a conftest.o 2>&5
7793 cat > conftest.c << _LT_EOF
7794 int main() { return 0;}
7795 _LT_EOF
7796 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7797 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7798 _lt_result=$?
7799 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7800 lt_cv_ld_force_load=yes
7801 else
7802 cat conftest.err >&5
7804 rm -f conftest.err libconftest.a conftest conftest.c
7805 rm -rf conftest.dSYM
7808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7809 $as_echo "$lt_cv_ld_force_load" >&6; }
7810 case $host_os in
7811 rhapsody* | darwin1.[012])
7812 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7813 darwin1.*)
7814 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7815 darwin*) # darwin 5.x on
7816 # if running on 10.5 or later, the deployment target defaults
7817 # to the OS version, if on x86, and 10.4, the deployment
7818 # target defaults to 10.4. Don't you love it?
7819 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7820 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7821 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7822 10.[012]*)
7823 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7824 10.*)
7825 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7826 esac
7828 esac
7829 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7830 _lt_dar_single_mod='$single_module'
7832 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7833 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7834 else
7835 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7837 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7838 _lt_dsymutil='~$DSYMUTIL $lib || :'
7839 else
7840 _lt_dsymutil=
7843 esac
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7846 $as_echo_n "checking for ANSI C header files... " >&6; }
7847 if test "${ac_cv_header_stdc+set}" = set; then :
7848 $as_echo_n "(cached) " >&6
7849 else
7850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7851 /* end confdefs.h. */
7852 #include <stdlib.h>
7853 #include <stdarg.h>
7854 #include <string.h>
7855 #include <float.h>
7858 main ()
7862 return 0;
7864 _ACEOF
7865 if ac_fn_c_try_compile "$LINENO"; then :
7866 ac_cv_header_stdc=yes
7867 else
7868 ac_cv_header_stdc=no
7870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7872 if test $ac_cv_header_stdc = yes; then
7873 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7875 /* end confdefs.h. */
7876 #include <string.h>
7878 _ACEOF
7879 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7880 $EGREP "memchr" >/dev/null 2>&1; then :
7882 else
7883 ac_cv_header_stdc=no
7885 rm -f conftest*
7889 if test $ac_cv_header_stdc = yes; then
7890 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7892 /* end confdefs.h. */
7893 #include <stdlib.h>
7895 _ACEOF
7896 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7897 $EGREP "free" >/dev/null 2>&1; then :
7899 else
7900 ac_cv_header_stdc=no
7902 rm -f conftest*
7906 if test $ac_cv_header_stdc = yes; then
7907 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7908 if test "$cross_compiling" = yes; then :
7910 else
7911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7912 /* end confdefs.h. */
7913 #include <ctype.h>
7914 #include <stdlib.h>
7915 #if ((' ' & 0x0FF) == 0x020)
7916 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7917 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7918 #else
7919 # define ISLOWER(c) \
7920 (('a' <= (c) && (c) <= 'i') \
7921 || ('j' <= (c) && (c) <= 'r') \
7922 || ('s' <= (c) && (c) <= 'z'))
7923 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7924 #endif
7926 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7928 main ()
7930 int i;
7931 for (i = 0; i < 256; i++)
7932 if (XOR (islower (i), ISLOWER (i))
7933 || toupper (i) != TOUPPER (i))
7934 return 2;
7935 return 0;
7937 _ACEOF
7938 if ac_fn_c_try_run "$LINENO"; then :
7940 else
7941 ac_cv_header_stdc=no
7943 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7944 conftest.$ac_objext conftest.beam conftest.$ac_ext
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7950 $as_echo "$ac_cv_header_stdc" >&6; }
7951 if test $ac_cv_header_stdc = yes; then
7953 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7957 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7958 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7959 inttypes.h stdint.h unistd.h
7960 do :
7961 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7962 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7964 eval as_val=\$$as_ac_Header
7965 if test "x$as_val" = x""yes; then :
7966 cat >>confdefs.h <<_ACEOF
7967 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7968 _ACEOF
7972 done
7975 for ac_header in dlfcn.h
7976 do :
7977 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7979 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7980 cat >>confdefs.h <<_ACEOF
7981 #define HAVE_DLFCN_H 1
7982 _ACEOF
7986 done
7993 # Set options
7998 enable_win32_dll=no
8001 # Check whether --enable-shared was given.
8002 if test "${enable_shared+set}" = set; then :
8003 enableval=$enable_shared; p=${PACKAGE-default}
8004 case $enableval in
8005 yes) enable_shared=yes ;;
8006 no) enable_shared=no ;;
8008 enable_shared=no
8009 # Look at the argument we got. We use all the common list separators.
8010 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8011 for pkg in $enableval; do
8012 IFS="$lt_save_ifs"
8013 if test "X$pkg" = "X$p"; then
8014 enable_shared=yes
8016 done
8017 IFS="$lt_save_ifs"
8019 esac
8020 else
8021 enable_shared=yes
8032 # Check whether --enable-static was given.
8033 if test "${enable_static+set}" = set; then :
8034 enableval=$enable_static; p=${PACKAGE-default}
8035 case $enableval in
8036 yes) enable_static=yes ;;
8037 no) enable_static=no ;;
8039 enable_static=no
8040 # Look at the argument we got. We use all the common list separators.
8041 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8042 for pkg in $enableval; do
8043 IFS="$lt_save_ifs"
8044 if test "X$pkg" = "X$p"; then
8045 enable_static=yes
8047 done
8048 IFS="$lt_save_ifs"
8050 esac
8051 else
8052 enable_static=yes
8064 # Check whether --with-pic was given.
8065 if test "${with_pic+set}" = set; then :
8066 withval=$with_pic; pic_mode="$withval"
8067 else
8068 pic_mode=default
8072 test -z "$pic_mode" && pic_mode=default
8080 # Check whether --enable-fast-install was given.
8081 if test "${enable_fast_install+set}" = set; then :
8082 enableval=$enable_fast_install; p=${PACKAGE-default}
8083 case $enableval in
8084 yes) enable_fast_install=yes ;;
8085 no) enable_fast_install=no ;;
8087 enable_fast_install=no
8088 # Look at the argument we got. We use all the common list separators.
8089 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8090 for pkg in $enableval; do
8091 IFS="$lt_save_ifs"
8092 if test "X$pkg" = "X$p"; then
8093 enable_fast_install=yes
8095 done
8096 IFS="$lt_save_ifs"
8098 esac
8099 else
8100 enable_fast_install=yes
8113 # This can be used to rebuild libtool when needed
8114 LIBTOOL_DEPS="$ltmain"
8116 # Always use our own libtool.
8117 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8144 test -z "$LN_S" && LN_S="ln -s"
8159 if test -n "${ZSH_VERSION+set}" ; then
8160 setopt NO_GLOB_SUBST
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8164 $as_echo_n "checking for objdir... " >&6; }
8165 if test "${lt_cv_objdir+set}" = set; then :
8166 $as_echo_n "(cached) " >&6
8167 else
8168 rm -f .libs 2>/dev/null
8169 mkdir .libs 2>/dev/null
8170 if test -d .libs; then
8171 lt_cv_objdir=.libs
8172 else
8173 # MS-DOS does not allow filenames that begin with a dot.
8174 lt_cv_objdir=_libs
8176 rmdir .libs 2>/dev/null
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8179 $as_echo "$lt_cv_objdir" >&6; }
8180 objdir=$lt_cv_objdir
8186 cat >>confdefs.h <<_ACEOF
8187 #define LT_OBJDIR "$lt_cv_objdir/"
8188 _ACEOF
8193 case $host_os in
8194 aix3*)
8195 # AIX sometimes has problems with the GCC collect2 program. For some
8196 # reason, if we set the COLLECT_NAMES environment variable, the problems
8197 # vanish in a puff of smoke.
8198 if test "X${COLLECT_NAMES+set}" != Xset; then
8199 COLLECT_NAMES=
8200 export COLLECT_NAMES
8203 esac
8205 # Global variables:
8206 ofile=libtool
8207 can_build_shared=yes
8209 # All known linkers require a `.a' archive for static linking (except MSVC,
8210 # which needs '.lib').
8211 libext=a
8213 with_gnu_ld="$lt_cv_prog_gnu_ld"
8215 old_CC="$CC"
8216 old_CFLAGS="$CFLAGS"
8218 # Set sane defaults for various variables
8219 test -z "$CC" && CC=cc
8220 test -z "$LTCC" && LTCC=$CC
8221 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8222 test -z "$LD" && LD=ld
8223 test -z "$ac_objext" && ac_objext=o
8225 for cc_temp in $compiler""; do
8226 case $cc_temp in
8227 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8228 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8229 \-*) ;;
8230 *) break;;
8231 esac
8232 done
8233 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8236 # Only perform the check for file, if the check method requires it
8237 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8238 case $deplibs_check_method in
8239 file_magic*)
8240 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8242 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8243 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8244 $as_echo_n "(cached) " >&6
8245 else
8246 case $MAGIC_CMD in
8247 [\\/*] | ?:[\\/]*)
8248 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8251 lt_save_MAGIC_CMD="$MAGIC_CMD"
8252 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8253 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8254 for ac_dir in $ac_dummy; do
8255 IFS="$lt_save_ifs"
8256 test -z "$ac_dir" && ac_dir=.
8257 if test -f $ac_dir/${ac_tool_prefix}file; then
8258 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8259 if test -n "$file_magic_test_file"; then
8260 case $deplibs_check_method in
8261 "file_magic "*)
8262 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8263 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8264 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8265 $EGREP "$file_magic_regex" > /dev/null; then
8267 else
8268 cat <<_LT_EOF 1>&2
8270 *** Warning: the command libtool uses to detect shared libraries,
8271 *** $file_magic_cmd, produces output that libtool cannot recognize.
8272 *** The result is that libtool may fail to recognize shared libraries
8273 *** as such. This will affect the creation of libtool libraries that
8274 *** depend on shared libraries, but programs linked with such libtool
8275 *** libraries will work regardless of this problem. Nevertheless, you
8276 *** may want to report the problem to your system manager and/or to
8277 *** bug-libtool@gnu.org
8279 _LT_EOF
8280 fi ;;
8281 esac
8283 break
8285 done
8286 IFS="$lt_save_ifs"
8287 MAGIC_CMD="$lt_save_MAGIC_CMD"
8289 esac
8292 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8293 if test -n "$MAGIC_CMD"; then
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8295 $as_echo "$MAGIC_CMD" >&6; }
8296 else
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8298 $as_echo "no" >&6; }
8305 if test -z "$lt_cv_path_MAGIC_CMD"; then
8306 if test -n "$ac_tool_prefix"; then
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8308 $as_echo_n "checking for file... " >&6; }
8309 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8310 $as_echo_n "(cached) " >&6
8311 else
8312 case $MAGIC_CMD in
8313 [\\/*] | ?:[\\/]*)
8314 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8317 lt_save_MAGIC_CMD="$MAGIC_CMD"
8318 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8319 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8320 for ac_dir in $ac_dummy; do
8321 IFS="$lt_save_ifs"
8322 test -z "$ac_dir" && ac_dir=.
8323 if test -f $ac_dir/file; then
8324 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8325 if test -n "$file_magic_test_file"; then
8326 case $deplibs_check_method in
8327 "file_magic "*)
8328 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8329 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8330 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8331 $EGREP "$file_magic_regex" > /dev/null; then
8333 else
8334 cat <<_LT_EOF 1>&2
8336 *** Warning: the command libtool uses to detect shared libraries,
8337 *** $file_magic_cmd, produces output that libtool cannot recognize.
8338 *** The result is that libtool may fail to recognize shared libraries
8339 *** as such. This will affect the creation of libtool libraries that
8340 *** depend on shared libraries, but programs linked with such libtool
8341 *** libraries will work regardless of this problem. Nevertheless, you
8342 *** may want to report the problem to your system manager and/or to
8343 *** bug-libtool@gnu.org
8345 _LT_EOF
8346 fi ;;
8347 esac
8349 break
8351 done
8352 IFS="$lt_save_ifs"
8353 MAGIC_CMD="$lt_save_MAGIC_CMD"
8355 esac
8358 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8359 if test -n "$MAGIC_CMD"; then
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8361 $as_echo "$MAGIC_CMD" >&6; }
8362 else
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8364 $as_echo "no" >&6; }
8368 else
8369 MAGIC_CMD=:
8375 esac
8377 # Use C for the default configuration in the libtool script
8379 lt_save_CC="$CC"
8380 ac_ext=c
8381 ac_cpp='$CPP $CPPFLAGS'
8382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8387 # Source file extension for C test sources.
8388 ac_ext=c
8390 # Object file extension for compiled C test sources.
8391 objext=o
8392 objext=$objext
8394 # Code to be used in simple compile tests
8395 lt_simple_compile_test_code="int some_variable = 0;"
8397 # Code to be used in simple link tests
8398 lt_simple_link_test_code='int main(){return(0);}'
8406 # If no C compiler was specified, use CC.
8407 LTCC=${LTCC-"$CC"}
8409 # If no C compiler flags were specified, use CFLAGS.
8410 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8412 # Allow CC to be a program name with arguments.
8413 compiler=$CC
8415 # Save the default compiler, since it gets overwritten when the other
8416 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8417 compiler_DEFAULT=$CC
8419 # save warnings/boilerplate of simple test code
8420 ac_outfile=conftest.$ac_objext
8421 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8422 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8423 _lt_compiler_boilerplate=`cat conftest.err`
8424 $RM conftest*
8426 ac_outfile=conftest.$ac_objext
8427 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8428 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8429 _lt_linker_boilerplate=`cat conftest.err`
8430 $RM -r conftest*
8433 ## CAVEAT EMPTOR:
8434 ## There is no encapsulation within the following macros, do not change
8435 ## the running order or otherwise move them around unless you know exactly
8436 ## what you are doing...
8437 if test -n "$compiler"; then
8439 lt_prog_compiler_no_builtin_flag=
8441 if test "$GCC" = yes; then
8442 case $cc_basename in
8443 nvcc*)
8444 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8446 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8447 esac
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8450 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8451 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8452 $as_echo_n "(cached) " >&6
8453 else
8454 lt_cv_prog_compiler_rtti_exceptions=no
8455 ac_outfile=conftest.$ac_objext
8456 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8457 lt_compiler_flag="-fno-rtti -fno-exceptions"
8458 # Insert the option either (1) after the last *FLAGS variable, or
8459 # (2) before a word containing "conftest.", or (3) at the end.
8460 # Note that $ac_compile itself does not contain backslashes and begins
8461 # with a dollar sign (not a hyphen), so the echo should work correctly.
8462 # The option is referenced via a variable to avoid confusing sed.
8463 lt_compile=`echo "$ac_compile" | $SED \
8464 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8465 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8466 -e 's:$: $lt_compiler_flag:'`
8467 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8468 (eval "$lt_compile" 2>conftest.err)
8469 ac_status=$?
8470 cat conftest.err >&5
8471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8472 if (exit $ac_status) && test -s "$ac_outfile"; then
8473 # The compiler can only warn and ignore the option if not recognized
8474 # So say no if there are warnings other than the usual output.
8475 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8476 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8477 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8478 lt_cv_prog_compiler_rtti_exceptions=yes
8481 $RM conftest*
8484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8485 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8487 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8488 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8489 else
8500 lt_prog_compiler_wl=
8501 lt_prog_compiler_pic=
8502 lt_prog_compiler_static=
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8505 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8507 if test "$GCC" = yes; then
8508 lt_prog_compiler_wl='-Wl,'
8509 lt_prog_compiler_static='-static'
8511 case $host_os in
8512 aix*)
8513 # All AIX code is PIC.
8514 if test "$host_cpu" = ia64; then
8515 # AIX 5 now supports IA64 processor
8516 lt_prog_compiler_static='-Bstatic'
8520 amigaos*)
8521 case $host_cpu in
8522 powerpc)
8523 # see comment about AmigaOS4 .so support
8524 lt_prog_compiler_pic='-fPIC'
8526 m68k)
8527 # FIXME: we need at least 68020 code to build shared libraries, but
8528 # adding the `-m68020' flag to GCC prevents building anything better,
8529 # like `-m68040'.
8530 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8532 esac
8535 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8536 # PIC is the default for these OSes.
8539 mingw* | cygwin* | pw32* | os2* | cegcc*)
8540 # This hack is so that the source file can tell whether it is being
8541 # built for inclusion in a dll (and should export symbols for example).
8542 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8543 # (--disable-auto-import) libraries
8544 lt_prog_compiler_pic='-DDLL_EXPORT'
8547 darwin* | rhapsody*)
8548 # PIC is the default on this platform
8549 # Common symbols not allowed in MH_DYLIB files
8550 lt_prog_compiler_pic='-fno-common'
8553 haiku*)
8554 # PIC is the default for Haiku.
8555 # The "-static" flag exists, but is broken.
8556 lt_prog_compiler_static=
8559 hpux*)
8560 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8561 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8562 # sets the default TLS model and affects inlining.
8563 case $host_cpu in
8564 hppa*64*)
8565 # +Z the default
8568 lt_prog_compiler_pic='-fPIC'
8570 esac
8573 interix[3-9]*)
8574 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8575 # Instead, we relocate shared libraries at runtime.
8578 msdosdjgpp*)
8579 # Just because we use GCC doesn't mean we suddenly get shared libraries
8580 # on systems that don't support them.
8581 lt_prog_compiler_can_build_shared=no
8582 enable_shared=no
8585 *nto* | *qnx*)
8586 # QNX uses GNU C++, but need to define -shared option too, otherwise
8587 # it will coredump.
8588 lt_prog_compiler_pic='-fPIC -shared'
8591 sysv4*MP*)
8592 if test -d /usr/nec; then
8593 lt_prog_compiler_pic=-Kconform_pic
8598 lt_prog_compiler_pic='-fPIC'
8600 esac
8602 case $cc_basename in
8603 nvcc*) # Cuda Compiler Driver 2.2
8604 lt_prog_compiler_wl='-Xlinker '
8605 lt_prog_compiler_pic='-Xcompiler -fPIC'
8607 esac
8608 else
8609 # PORTME Check for flag to pass linker flags through the system compiler.
8610 case $host_os in
8611 aix*)
8612 lt_prog_compiler_wl='-Wl,'
8613 if test "$host_cpu" = ia64; then
8614 # AIX 5 now supports IA64 processor
8615 lt_prog_compiler_static='-Bstatic'
8616 else
8617 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8621 mingw* | cygwin* | pw32* | os2* | cegcc*)
8622 # This hack is so that the source file can tell whether it is being
8623 # built for inclusion in a dll (and should export symbols for example).
8624 lt_prog_compiler_pic='-DDLL_EXPORT'
8627 hpux9* | hpux10* | hpux11*)
8628 lt_prog_compiler_wl='-Wl,'
8629 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8630 # not for PA HP-UX.
8631 case $host_cpu in
8632 hppa*64*|ia64*)
8633 # +Z the default
8636 lt_prog_compiler_pic='+Z'
8638 esac
8639 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8640 lt_prog_compiler_static='${wl}-a ${wl}archive'
8643 irix5* | irix6* | nonstopux*)
8644 lt_prog_compiler_wl='-Wl,'
8645 # PIC (with -KPIC) is the default.
8646 lt_prog_compiler_static='-non_shared'
8649 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8650 case $cc_basename in
8651 # old Intel for x86_64 which still supported -KPIC.
8652 ecc*)
8653 lt_prog_compiler_wl='-Wl,'
8654 lt_prog_compiler_pic='-KPIC'
8655 lt_prog_compiler_static='-static'
8657 # icc used to be incompatible with GCC.
8658 # ICC 10 doesn't accept -KPIC any more.
8659 icc* | ifort*)
8660 lt_prog_compiler_wl='-Wl,'
8661 lt_prog_compiler_pic='-fPIC'
8662 lt_prog_compiler_static='-static'
8664 # Lahey Fortran 8.1.
8665 lf95*)
8666 lt_prog_compiler_wl='-Wl,'
8667 lt_prog_compiler_pic='--shared'
8668 lt_prog_compiler_static='--static'
8670 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8671 # Portland Group compilers (*not* the Pentium gcc compiler,
8672 # which looks to be a dead project)
8673 lt_prog_compiler_wl='-Wl,'
8674 lt_prog_compiler_pic='-fpic'
8675 lt_prog_compiler_static='-Bstatic'
8677 ccc*)
8678 lt_prog_compiler_wl='-Wl,'
8679 # All Alpha code is PIC.
8680 lt_prog_compiler_static='-non_shared'
8682 xl* | bgxl* | bgf* | mpixl*)
8683 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8684 lt_prog_compiler_wl='-Wl,'
8685 lt_prog_compiler_pic='-qpic'
8686 lt_prog_compiler_static='-qstaticlink'
8689 case `$CC -V 2>&1 | sed 5q` in
8690 *Sun\ F* | *Sun*Fortran*)
8691 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8692 lt_prog_compiler_pic='-KPIC'
8693 lt_prog_compiler_static='-Bstatic'
8694 lt_prog_compiler_wl=''
8696 *Sun\ C*)
8697 # Sun C 5.9
8698 lt_prog_compiler_pic='-KPIC'
8699 lt_prog_compiler_static='-Bstatic'
8700 lt_prog_compiler_wl='-Wl,'
8702 esac
8704 esac
8707 newsos6)
8708 lt_prog_compiler_pic='-KPIC'
8709 lt_prog_compiler_static='-Bstatic'
8712 *nto* | *qnx*)
8713 # QNX uses GNU C++, but need to define -shared option too, otherwise
8714 # it will coredump.
8715 lt_prog_compiler_pic='-fPIC -shared'
8718 osf3* | osf4* | osf5*)
8719 lt_prog_compiler_wl='-Wl,'
8720 # All OSF/1 code is PIC.
8721 lt_prog_compiler_static='-non_shared'
8724 rdos*)
8725 lt_prog_compiler_static='-non_shared'
8728 solaris*)
8729 lt_prog_compiler_pic='-KPIC'
8730 lt_prog_compiler_static='-Bstatic'
8731 case $cc_basename in
8732 f77* | f90* | f95*)
8733 lt_prog_compiler_wl='-Qoption ld ';;
8735 lt_prog_compiler_wl='-Wl,';;
8736 esac
8739 sunos4*)
8740 lt_prog_compiler_wl='-Qoption ld '
8741 lt_prog_compiler_pic='-PIC'
8742 lt_prog_compiler_static='-Bstatic'
8745 sysv4 | sysv4.2uw2* | sysv4.3*)
8746 lt_prog_compiler_wl='-Wl,'
8747 lt_prog_compiler_pic='-KPIC'
8748 lt_prog_compiler_static='-Bstatic'
8751 sysv4*MP*)
8752 if test -d /usr/nec ;then
8753 lt_prog_compiler_pic='-Kconform_pic'
8754 lt_prog_compiler_static='-Bstatic'
8758 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8759 lt_prog_compiler_wl='-Wl,'
8760 lt_prog_compiler_pic='-KPIC'
8761 lt_prog_compiler_static='-Bstatic'
8764 unicos*)
8765 lt_prog_compiler_wl='-Wl,'
8766 lt_prog_compiler_can_build_shared=no
8769 uts4*)
8770 lt_prog_compiler_pic='-pic'
8771 lt_prog_compiler_static='-Bstatic'
8775 lt_prog_compiler_can_build_shared=no
8777 esac
8780 case $host_os in
8781 # For platforms which do not support PIC, -DPIC is meaningless:
8782 *djgpp*)
8783 lt_prog_compiler_pic=
8786 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8788 esac
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8790 $as_echo "$lt_prog_compiler_pic" >&6; }
8798 # Check to make sure the PIC flag actually works.
8800 if test -n "$lt_prog_compiler_pic"; then
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8802 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8803 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8804 $as_echo_n "(cached) " >&6
8805 else
8806 lt_cv_prog_compiler_pic_works=no
8807 ac_outfile=conftest.$ac_objext
8808 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8809 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8810 # Insert the option either (1) after the last *FLAGS variable, or
8811 # (2) before a word containing "conftest.", or (3) at the end.
8812 # Note that $ac_compile itself does not contain backslashes and begins
8813 # with a dollar sign (not a hyphen), so the echo should work correctly.
8814 # The option is referenced via a variable to avoid confusing sed.
8815 lt_compile=`echo "$ac_compile" | $SED \
8816 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8817 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8818 -e 's:$: $lt_compiler_flag:'`
8819 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8820 (eval "$lt_compile" 2>conftest.err)
8821 ac_status=$?
8822 cat conftest.err >&5
8823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8824 if (exit $ac_status) && test -s "$ac_outfile"; then
8825 # The compiler can only warn and ignore the option if not recognized
8826 # So say no if there are warnings other than the usual output.
8827 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8828 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8829 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8830 lt_cv_prog_compiler_pic_works=yes
8833 $RM conftest*
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8837 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8839 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8840 case $lt_prog_compiler_pic in
8841 "" | " "*) ;;
8842 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8843 esac
8844 else
8845 lt_prog_compiler_pic=
8846 lt_prog_compiler_can_build_shared=no
8857 # Check to make sure the static flag actually works.
8859 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8861 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8862 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8863 $as_echo_n "(cached) " >&6
8864 else
8865 lt_cv_prog_compiler_static_works=no
8866 save_LDFLAGS="$LDFLAGS"
8867 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8868 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8869 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8870 # The linker can only warn and ignore the option if not recognized
8871 # So say no if there are warnings
8872 if test -s conftest.err; then
8873 # Append any errors to the config.log.
8874 cat conftest.err 1>&5
8875 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8876 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8877 if diff conftest.exp conftest.er2 >/dev/null; then
8878 lt_cv_prog_compiler_static_works=yes
8880 else
8881 lt_cv_prog_compiler_static_works=yes
8884 $RM -r conftest*
8885 LDFLAGS="$save_LDFLAGS"
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8889 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8891 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8893 else
8894 lt_prog_compiler_static=
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8904 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8905 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8906 $as_echo_n "(cached) " >&6
8907 else
8908 lt_cv_prog_compiler_c_o=no
8909 $RM -r conftest 2>/dev/null
8910 mkdir conftest
8911 cd conftest
8912 mkdir out
8913 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8915 lt_compiler_flag="-o out/conftest2.$ac_objext"
8916 # Insert the option either (1) after the last *FLAGS variable, or
8917 # (2) before a word containing "conftest.", or (3) at the end.
8918 # Note that $ac_compile itself does not contain backslashes and begins
8919 # with a dollar sign (not a hyphen), so the echo should work correctly.
8920 lt_compile=`echo "$ac_compile" | $SED \
8921 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8922 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8923 -e 's:$: $lt_compiler_flag:'`
8924 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8925 (eval "$lt_compile" 2>out/conftest.err)
8926 ac_status=$?
8927 cat out/conftest.err >&5
8928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8929 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8930 then
8931 # The compiler can only warn and ignore the option if not recognized
8932 # So say no if there are warnings
8933 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8934 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8935 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8936 lt_cv_prog_compiler_c_o=yes
8939 chmod u+w . 2>&5
8940 $RM conftest*
8941 # SGI C++ compiler will create directory out/ii_files/ for
8942 # template instantiation
8943 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8944 $RM out/* && rmdir out
8945 cd ..
8946 $RM -r conftest
8947 $RM conftest*
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8951 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8959 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8960 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8961 $as_echo_n "(cached) " >&6
8962 else
8963 lt_cv_prog_compiler_c_o=no
8964 $RM -r conftest 2>/dev/null
8965 mkdir conftest
8966 cd conftest
8967 mkdir out
8968 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8970 lt_compiler_flag="-o out/conftest2.$ac_objext"
8971 # Insert the option either (1) after the last *FLAGS variable, or
8972 # (2) before a word containing "conftest.", or (3) at the end.
8973 # Note that $ac_compile itself does not contain backslashes and begins
8974 # with a dollar sign (not a hyphen), so the echo should work correctly.
8975 lt_compile=`echo "$ac_compile" | $SED \
8976 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8977 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8978 -e 's:$: $lt_compiler_flag:'`
8979 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8980 (eval "$lt_compile" 2>out/conftest.err)
8981 ac_status=$?
8982 cat out/conftest.err >&5
8983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8984 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8985 then
8986 # The compiler can only warn and ignore the option if not recognized
8987 # So say no if there are warnings
8988 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8989 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8990 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8991 lt_cv_prog_compiler_c_o=yes
8994 chmod u+w . 2>&5
8995 $RM conftest*
8996 # SGI C++ compiler will create directory out/ii_files/ for
8997 # template instantiation
8998 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8999 $RM out/* && rmdir out
9000 cd ..
9001 $RM -r conftest
9002 $RM conftest*
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9006 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9011 hard_links="nottested"
9012 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9013 # do not overwrite the value of need_locks provided by the user
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9015 $as_echo_n "checking if we can lock with hard links... " >&6; }
9016 hard_links=yes
9017 $RM conftest*
9018 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9019 touch conftest.a
9020 ln conftest.a conftest.b 2>&5 || hard_links=no
9021 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9023 $as_echo "$hard_links" >&6; }
9024 if test "$hard_links" = no; then
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9026 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9027 need_locks=warn
9029 else
9030 need_locks=no
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9039 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9041 runpath_var=
9042 allow_undefined_flag=
9043 always_export_symbols=no
9044 archive_cmds=
9045 archive_expsym_cmds=
9046 compiler_needs_object=no
9047 enable_shared_with_static_runtimes=no
9048 export_dynamic_flag_spec=
9049 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9050 hardcode_automatic=no
9051 hardcode_direct=no
9052 hardcode_direct_absolute=no
9053 hardcode_libdir_flag_spec=
9054 hardcode_libdir_flag_spec_ld=
9055 hardcode_libdir_separator=
9056 hardcode_minus_L=no
9057 hardcode_shlibpath_var=unsupported
9058 inherit_rpath=no
9059 link_all_deplibs=unknown
9060 module_cmds=
9061 module_expsym_cmds=
9062 old_archive_from_new_cmds=
9063 old_archive_from_expsyms_cmds=
9064 thread_safe_flag_spec=
9065 whole_archive_flag_spec=
9066 # include_expsyms should be a list of space-separated symbols to be *always*
9067 # included in the symbol list
9068 include_expsyms=
9069 # exclude_expsyms can be an extended regexp of symbols to exclude
9070 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9071 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9072 # as well as any symbol that contains `d'.
9073 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9074 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9075 # platforms (ab)use it in PIC code, but their linkers get confused if
9076 # the symbol is explicitly referenced. Since portable code cannot
9077 # rely on this symbol name, it's probably fine to never include it in
9078 # preloaded symbol tables.
9079 # Exclude shared library initialization/finalization symbols.
9080 extract_expsyms_cmds=
9082 case $host_os in
9083 cygwin* | mingw* | pw32* | cegcc*)
9084 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9085 # When not using gcc, we currently assume that we are using
9086 # Microsoft Visual C++.
9087 if test "$GCC" != yes; then
9088 with_gnu_ld=no
9091 interix*)
9092 # we just hope/assume this is gcc and not c89 (= MSVC++)
9093 with_gnu_ld=yes
9095 openbsd*)
9096 with_gnu_ld=no
9098 esac
9100 ld_shlibs=yes
9102 # On some targets, GNU ld is compatible enough with the native linker
9103 # that we're better off using the native interface for both.
9104 lt_use_gnu_ld_interface=no
9105 if test "$with_gnu_ld" = yes; then
9106 case $host_os in
9107 aix*)
9108 # The AIX port of GNU ld has always aspired to compatibility
9109 # with the native linker. However, as the warning in the GNU ld
9110 # block says, versions before 2.19.5* couldn't really create working
9111 # shared libraries, regardless of the interface used.
9112 case `$LD -v 2>&1` in
9113 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9114 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9115 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9117 lt_use_gnu_ld_interface=yes
9119 esac
9122 lt_use_gnu_ld_interface=yes
9124 esac
9127 if test "$lt_use_gnu_ld_interface" = yes; then
9128 # If archive_cmds runs LD, not CC, wlarc should be empty
9129 wlarc='${wl}'
9131 # Set some defaults for GNU ld with shared library support. These
9132 # are reset later if shared libraries are not supported. Putting them
9133 # here allows them to be overridden if necessary.
9134 runpath_var=LD_RUN_PATH
9135 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9136 export_dynamic_flag_spec='${wl}--export-dynamic'
9137 # ancient GNU ld didn't support --whole-archive et. al.
9138 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9139 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9140 else
9141 whole_archive_flag_spec=
9143 supports_anon_versioning=no
9144 case `$LD -v 2>&1` in
9145 *GNU\ gold*) supports_anon_versioning=yes ;;
9146 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9147 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9148 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9149 *\ 2.11.*) ;; # other 2.11 versions
9150 *) supports_anon_versioning=yes ;;
9151 esac
9153 # See if GNU ld supports shared libraries.
9154 case $host_os in
9155 aix[3-9]*)
9156 # On AIX/PPC, the GNU linker is very broken
9157 if test "$host_cpu" != ia64; then
9158 ld_shlibs=no
9159 cat <<_LT_EOF 1>&2
9161 *** Warning: the GNU linker, at least up to release 2.19, is reported
9162 *** to be unable to reliably create shared libraries on AIX.
9163 *** Therefore, libtool is disabling shared libraries support. If you
9164 *** really care for shared libraries, you may want to install binutils
9165 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9166 *** You will then need to restart the configuration process.
9168 _LT_EOF
9172 amigaos*)
9173 case $host_cpu in
9174 powerpc)
9175 # see comment about AmigaOS4 .so support
9176 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9177 archive_expsym_cmds=''
9179 m68k)
9180 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9181 hardcode_libdir_flag_spec='-L$libdir'
9182 hardcode_minus_L=yes
9184 esac
9187 beos*)
9188 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9189 allow_undefined_flag=unsupported
9190 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9191 # support --undefined. This deserves some investigation. FIXME
9192 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9193 else
9194 ld_shlibs=no
9198 cygwin* | mingw* | pw32* | cegcc*)
9199 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9200 # as there is no search path for DLLs.
9201 hardcode_libdir_flag_spec='-L$libdir'
9202 export_dynamic_flag_spec='${wl}--export-all-symbols'
9203 allow_undefined_flag=unsupported
9204 always_export_symbols=no
9205 enable_shared_with_static_runtimes=yes
9206 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9208 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9209 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9210 # If the export-symbols file already is a .def file (1st line
9211 # is EXPORTS), use it as is; otherwise, prepend...
9212 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9213 cp $export_symbols $output_objdir/$soname.def;
9214 else
9215 echo EXPORTS > $output_objdir/$soname.def;
9216 cat $export_symbols >> $output_objdir/$soname.def;
9218 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9219 else
9220 ld_shlibs=no
9224 haiku*)
9225 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9226 link_all_deplibs=yes
9229 interix[3-9]*)
9230 hardcode_direct=no
9231 hardcode_shlibpath_var=no
9232 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9233 export_dynamic_flag_spec='${wl}-E'
9234 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9235 # Instead, shared libraries are loaded at an image base (0x10000000 by
9236 # default) and relocated if they conflict, which is a slow very memory
9237 # consuming and fragmenting process. To avoid this, we pick a random,
9238 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9239 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9240 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9241 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9244 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9245 tmp_diet=no
9246 if test "$host_os" = linux-dietlibc; then
9247 case $cc_basename in
9248 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9249 esac
9251 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9252 && test "$tmp_diet" = no
9253 then
9254 tmp_addflag=
9255 tmp_sharedflag='-shared'
9256 case $cc_basename,$host_cpu in
9257 pgcc*) # Portland Group C compiler
9258 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9259 tmp_addflag=' $pic_flag'
9261 pgf77* | pgf90* | pgf95* | pgfortran*)
9262 # Portland Group f77 and f90 compilers
9263 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9264 tmp_addflag=' $pic_flag -Mnomain' ;;
9265 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9266 tmp_addflag=' -i_dynamic' ;;
9267 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9268 tmp_addflag=' -i_dynamic -nofor_main' ;;
9269 ifc* | ifort*) # Intel Fortran compiler
9270 tmp_addflag=' -nofor_main' ;;
9271 lf95*) # Lahey Fortran 8.1
9272 whole_archive_flag_spec=
9273 tmp_sharedflag='--shared' ;;
9274 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9275 tmp_sharedflag='-qmkshrobj'
9276 tmp_addflag= ;;
9277 nvcc*) # Cuda Compiler Driver 2.2
9278 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9279 compiler_needs_object=yes
9281 esac
9282 case `$CC -V 2>&1 | sed 5q` in
9283 *Sun\ C*) # Sun C 5.9
9284 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9285 compiler_needs_object=yes
9286 tmp_sharedflag='-G' ;;
9287 *Sun\ F*) # Sun Fortran 8.3
9288 tmp_sharedflag='-G' ;;
9289 esac
9290 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9292 if test "x$supports_anon_versioning" = xyes; then
9293 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9294 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9295 echo "local: *; };" >> $output_objdir/$libname.ver~
9296 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9299 case $cc_basename in
9300 xlf* | bgf* | bgxlf* | mpixlf*)
9301 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9302 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9303 hardcode_libdir_flag_spec=
9304 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9305 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9306 if test "x$supports_anon_versioning" = xyes; then
9307 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9308 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9309 echo "local: *; };" >> $output_objdir/$libname.ver~
9310 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9313 esac
9314 else
9315 ld_shlibs=no
9319 netbsd*)
9320 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9321 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9322 wlarc=
9323 else
9324 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9325 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9329 solaris*)
9330 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9331 ld_shlibs=no
9332 cat <<_LT_EOF 1>&2
9334 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9335 *** create shared libraries on Solaris systems. Therefore, libtool
9336 *** is disabling shared libraries support. We urge you to upgrade GNU
9337 *** binutils to release 2.9.1 or newer. Another option is to modify
9338 *** your PATH or compiler configuration so that the native linker is
9339 *** used, and then restart.
9341 _LT_EOF
9342 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9343 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9344 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9345 else
9346 ld_shlibs=no
9350 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9351 case `$LD -v 2>&1` in
9352 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9353 ld_shlibs=no
9354 cat <<_LT_EOF 1>&2
9356 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9357 *** reliably create shared libraries on SCO systems. Therefore, libtool
9358 *** is disabling shared libraries support. We urge you to upgrade GNU
9359 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9360 *** your PATH or compiler configuration so that the native linker is
9361 *** used, and then restart.
9363 _LT_EOF
9366 # For security reasons, it is highly recommended that you always
9367 # use absolute paths for naming shared libraries, and exclude the
9368 # DT_RUNPATH tag from executables and libraries. But doing so
9369 # requires that you compile everything twice, which is a pain.
9370 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9371 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9372 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9373 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9374 else
9375 ld_shlibs=no
9378 esac
9381 sunos4*)
9382 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9383 wlarc=
9384 hardcode_direct=yes
9385 hardcode_shlibpath_var=no
9389 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9390 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9391 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9392 else
9393 ld_shlibs=no
9396 esac
9398 if test "$ld_shlibs" = no; then
9399 runpath_var=
9400 hardcode_libdir_flag_spec=
9401 export_dynamic_flag_spec=
9402 whole_archive_flag_spec=
9404 else
9405 # PORTME fill in a description of your system's linker (not GNU ld)
9406 case $host_os in
9407 aix3*)
9408 allow_undefined_flag=unsupported
9409 always_export_symbols=yes
9410 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9411 # Note: this linker hardcodes the directories in LIBPATH if there
9412 # are no directories specified by -L.
9413 hardcode_minus_L=yes
9414 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9415 # Neither direct hardcoding nor static linking is supported with a
9416 # broken collect2.
9417 hardcode_direct=unsupported
9421 aix[4-9]*)
9422 if test "$host_cpu" = ia64; then
9423 # On IA64, the linker does run time linking by default, so we don't
9424 # have to do anything special.
9425 aix_use_runtimelinking=no
9426 exp_sym_flag='-Bexport'
9427 no_entry_flag=""
9428 else
9429 # If we're using GNU nm, then we don't want the "-C" option.
9430 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9431 # Also, AIX nm treats weak defined symbols like other global
9432 # defined symbols, whereas GNU nm marks them as "W".
9433 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9434 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9435 else
9436 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9438 aix_use_runtimelinking=no
9440 # Test if we are trying to use run time linking or normal
9441 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9442 # need to do runtime linking.
9443 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9444 for ld_flag in $LDFLAGS; do
9445 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9446 aix_use_runtimelinking=yes
9447 break
9449 done
9451 esac
9453 exp_sym_flag='-bexport'
9454 no_entry_flag='-bnoentry'
9457 # When large executables or shared objects are built, AIX ld can
9458 # have problems creating the table of contents. If linking a library
9459 # or program results in "error TOC overflow" add -mminimal-toc to
9460 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9461 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9463 archive_cmds=''
9464 hardcode_direct=yes
9465 hardcode_direct_absolute=yes
9466 hardcode_libdir_separator=':'
9467 link_all_deplibs=yes
9468 file_list_spec='${wl}-f,'
9470 if test "$GCC" = yes; then
9471 case $host_os in aix4.[012]|aix4.[012].*)
9472 # We only want to do this on AIX 4.2 and lower, the check
9473 # below for broken collect2 doesn't work under 4.3+
9474 collect2name=`${CC} -print-prog-name=collect2`
9475 if test -f "$collect2name" &&
9476 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9477 then
9478 # We have reworked collect2
9480 else
9481 # We have old collect2
9482 hardcode_direct=unsupported
9483 # It fails to find uninstalled libraries when the uninstalled
9484 # path is not listed in the libpath. Setting hardcode_minus_L
9485 # to unsupported forces relinking
9486 hardcode_minus_L=yes
9487 hardcode_libdir_flag_spec='-L$libdir'
9488 hardcode_libdir_separator=
9491 esac
9492 shared_flag='-shared'
9493 if test "$aix_use_runtimelinking" = yes; then
9494 shared_flag="$shared_flag "'${wl}-G'
9496 else
9497 # not using gcc
9498 if test "$host_cpu" = ia64; then
9499 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9500 # chokes on -Wl,-G. The following line is correct:
9501 shared_flag='-G'
9502 else
9503 if test "$aix_use_runtimelinking" = yes; then
9504 shared_flag='${wl}-G'
9505 else
9506 shared_flag='${wl}-bM:SRE'
9511 export_dynamic_flag_spec='${wl}-bexpall'
9512 # It seems that -bexpall does not export symbols beginning with
9513 # underscore (_), so it is better to generate a list of symbols to export.
9514 always_export_symbols=yes
9515 if test "$aix_use_runtimelinking" = yes; then
9516 # Warning - without using the other runtime loading flags (-brtl),
9517 # -berok will link without error, but may produce a broken library.
9518 allow_undefined_flag='-berok'
9519 # Determine the default libpath from the value encoded in an
9520 # empty executable.
9521 if test x$gcc_no_link = xyes; then
9522 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9525 /* end confdefs.h. */
9528 main ()
9532 return 0;
9534 _ACEOF
9535 if ac_fn_c_try_link "$LINENO"; then :
9537 lt_aix_libpath_sed='
9538 /Import File Strings/,/^$/ {
9539 /^0/ {
9540 s/^0 *\(.*\)$/\1/
9544 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9545 # Check for a 64-bit object if we didn't find anything.
9546 if test -z "$aix_libpath"; then
9547 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9550 rm -f core conftest.err conftest.$ac_objext \
9551 conftest$ac_exeext conftest.$ac_ext
9552 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9554 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9555 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9556 else
9557 if test "$host_cpu" = ia64; then
9558 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9559 allow_undefined_flag="-z nodefs"
9560 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9561 else
9562 # Determine the default libpath from the value encoded in an
9563 # empty executable.
9564 if test x$gcc_no_link = xyes; then
9565 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9568 /* end confdefs.h. */
9571 main ()
9575 return 0;
9577 _ACEOF
9578 if ac_fn_c_try_link "$LINENO"; then :
9580 lt_aix_libpath_sed='
9581 /Import File Strings/,/^$/ {
9582 /^0/ {
9583 s/^0 *\(.*\)$/\1/
9587 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9588 # Check for a 64-bit object if we didn't find anything.
9589 if test -z "$aix_libpath"; then
9590 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9593 rm -f core conftest.err conftest.$ac_objext \
9594 conftest$ac_exeext conftest.$ac_ext
9595 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9597 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9598 # Warning - without using the other run time loading flags,
9599 # -berok will link without error, but may produce a broken library.
9600 no_undefined_flag=' ${wl}-bernotok'
9601 allow_undefined_flag=' ${wl}-berok'
9602 if test "$with_gnu_ld" = yes; then
9603 # We only use this code for GNU lds that support --whole-archive.
9604 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9605 else
9606 # Exported symbols can be pulled into shared objects from archives
9607 whole_archive_flag_spec='$convenience'
9609 archive_cmds_need_lc=yes
9610 # This is similar to how AIX traditionally builds its shared libraries.
9611 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9616 amigaos*)
9617 case $host_cpu in
9618 powerpc)
9619 # see comment about AmigaOS4 .so support
9620 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9621 archive_expsym_cmds=''
9623 m68k)
9624 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9625 hardcode_libdir_flag_spec='-L$libdir'
9626 hardcode_minus_L=yes
9628 esac
9631 bsdi[45]*)
9632 export_dynamic_flag_spec=-rdynamic
9635 cygwin* | mingw* | pw32* | cegcc*)
9636 # When not using gcc, we currently assume that we are using
9637 # Microsoft Visual C++.
9638 # hardcode_libdir_flag_spec is actually meaningless, as there is
9639 # no search path for DLLs.
9640 hardcode_libdir_flag_spec=' '
9641 allow_undefined_flag=unsupported
9642 # Tell ltmain to make .lib files, not .a files.
9643 libext=lib
9644 # Tell ltmain to make .dll files, not .so files.
9645 shrext_cmds=".dll"
9646 # FIXME: Setting linknames here is a bad hack.
9647 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9648 # The linker will automatically build a .lib file if we build a DLL.
9649 old_archive_from_new_cmds='true'
9650 # FIXME: Should let the user specify the lib program.
9651 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9652 fix_srcfile_path='`cygpath -w "$srcfile"`'
9653 enable_shared_with_static_runtimes=yes
9656 darwin* | rhapsody*)
9659 archive_cmds_need_lc=no
9660 hardcode_direct=no
9661 hardcode_automatic=yes
9662 hardcode_shlibpath_var=unsupported
9663 if test "$lt_cv_ld_force_load" = "yes"; then
9664 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9665 else
9666 whole_archive_flag_spec=''
9668 link_all_deplibs=yes
9669 allow_undefined_flag="$_lt_dar_allow_undefined"
9670 case $cc_basename in
9671 ifort*) _lt_dar_can_shared=yes ;;
9672 *) _lt_dar_can_shared=$GCC ;;
9673 esac
9674 if test "$_lt_dar_can_shared" = "yes"; then
9675 output_verbose_link_cmd=func_echo_all
9676 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9677 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9678 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9679 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9681 else
9682 ld_shlibs=no
9687 dgux*)
9688 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9689 hardcode_libdir_flag_spec='-L$libdir'
9690 hardcode_shlibpath_var=no
9693 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9694 # support. Future versions do this automatically, but an explicit c++rt0.o
9695 # does not break anything, and helps significantly (at the cost of a little
9696 # extra space).
9697 freebsd2.2*)
9698 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9699 hardcode_libdir_flag_spec='-R$libdir'
9700 hardcode_direct=yes
9701 hardcode_shlibpath_var=no
9704 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9705 freebsd2.*)
9706 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9707 hardcode_direct=yes
9708 hardcode_minus_L=yes
9709 hardcode_shlibpath_var=no
9712 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9713 freebsd* | dragonfly*)
9714 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9715 hardcode_libdir_flag_spec='-R$libdir'
9716 hardcode_direct=yes
9717 hardcode_shlibpath_var=no
9720 hpux9*)
9721 if test "$GCC" = yes; then
9722 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9723 else
9724 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9726 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9727 hardcode_libdir_separator=:
9728 hardcode_direct=yes
9730 # hardcode_minus_L: Not really in the search PATH,
9731 # but as the default location of the library.
9732 hardcode_minus_L=yes
9733 export_dynamic_flag_spec='${wl}-E'
9736 hpux10*)
9737 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9738 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9739 else
9740 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9742 if test "$with_gnu_ld" = no; then
9743 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9744 hardcode_libdir_flag_spec_ld='+b $libdir'
9745 hardcode_libdir_separator=:
9746 hardcode_direct=yes
9747 hardcode_direct_absolute=yes
9748 export_dynamic_flag_spec='${wl}-E'
9749 # hardcode_minus_L: Not really in the search PATH,
9750 # but as the default location of the library.
9751 hardcode_minus_L=yes
9755 hpux11*)
9756 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9757 case $host_cpu in
9758 hppa*64*)
9759 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9761 ia64*)
9762 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9765 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9767 esac
9768 else
9769 case $host_cpu in
9770 hppa*64*)
9771 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9773 ia64*)
9774 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9778 # Older versions of the 11.00 compiler do not understand -b yet
9779 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9781 $as_echo_n "checking if $CC understands -b... " >&6; }
9782 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9783 $as_echo_n "(cached) " >&6
9784 else
9785 lt_cv_prog_compiler__b=no
9786 save_LDFLAGS="$LDFLAGS"
9787 LDFLAGS="$LDFLAGS -b"
9788 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9789 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9790 # The linker can only warn and ignore the option if not recognized
9791 # So say no if there are warnings
9792 if test -s conftest.err; then
9793 # Append any errors to the config.log.
9794 cat conftest.err 1>&5
9795 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9796 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9797 if diff conftest.exp conftest.er2 >/dev/null; then
9798 lt_cv_prog_compiler__b=yes
9800 else
9801 lt_cv_prog_compiler__b=yes
9804 $RM -r conftest*
9805 LDFLAGS="$save_LDFLAGS"
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9809 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9811 if test x"$lt_cv_prog_compiler__b" = xyes; then
9812 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9813 else
9814 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9818 esac
9820 if test "$with_gnu_ld" = no; then
9821 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9822 hardcode_libdir_separator=:
9824 case $host_cpu in
9825 hppa*64*|ia64*)
9826 hardcode_direct=no
9827 hardcode_shlibpath_var=no
9830 hardcode_direct=yes
9831 hardcode_direct_absolute=yes
9832 export_dynamic_flag_spec='${wl}-E'
9834 # hardcode_minus_L: Not really in the search PATH,
9835 # but as the default location of the library.
9836 hardcode_minus_L=yes
9838 esac
9842 irix5* | irix6* | nonstopux*)
9843 if test "$GCC" = yes; then
9844 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9845 # Try to use the -exported_symbol ld option, if it does not
9846 # work, assume that -exports_file does not work either and
9847 # implicitly export all symbols.
9848 save_LDFLAGS="$LDFLAGS"
9849 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9850 if test x$gcc_no_link = xyes; then
9851 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9854 /* end confdefs.h. */
9855 int foo(void) {}
9856 _ACEOF
9857 if ac_fn_c_try_link "$LINENO"; then :
9858 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9861 rm -f core conftest.err conftest.$ac_objext \
9862 conftest$ac_exeext conftest.$ac_ext
9863 LDFLAGS="$save_LDFLAGS"
9864 else
9865 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9866 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9868 archive_cmds_need_lc='no'
9869 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9870 hardcode_libdir_separator=:
9871 inherit_rpath=yes
9872 link_all_deplibs=yes
9875 netbsd*)
9876 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9877 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9878 else
9879 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9881 hardcode_libdir_flag_spec='-R$libdir'
9882 hardcode_direct=yes
9883 hardcode_shlibpath_var=no
9886 newsos6)
9887 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9888 hardcode_direct=yes
9889 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9890 hardcode_libdir_separator=:
9891 hardcode_shlibpath_var=no
9894 *nto* | *qnx*)
9897 openbsd*)
9898 if test -f /usr/libexec/ld.so; then
9899 hardcode_direct=yes
9900 hardcode_shlibpath_var=no
9901 hardcode_direct_absolute=yes
9902 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9903 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9904 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9905 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9906 export_dynamic_flag_spec='${wl}-E'
9907 else
9908 case $host_os in
9909 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9910 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9911 hardcode_libdir_flag_spec='-R$libdir'
9914 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9915 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9917 esac
9919 else
9920 ld_shlibs=no
9924 os2*)
9925 hardcode_libdir_flag_spec='-L$libdir'
9926 hardcode_minus_L=yes
9927 allow_undefined_flag=unsupported
9928 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9929 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9932 osf3*)
9933 if test "$GCC" = yes; then
9934 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9935 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9936 else
9937 allow_undefined_flag=' -expect_unresolved \*'
9938 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9940 archive_cmds_need_lc='no'
9941 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9942 hardcode_libdir_separator=:
9945 osf4* | osf5*) # as osf3* with the addition of -msym flag
9946 if test "$GCC" = yes; then
9947 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9948 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9949 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9950 else
9951 allow_undefined_flag=' -expect_unresolved \*'
9952 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9953 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9954 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9956 # Both c and cxx compiler support -rpath directly
9957 hardcode_libdir_flag_spec='-rpath $libdir'
9959 archive_cmds_need_lc='no'
9960 hardcode_libdir_separator=:
9963 solaris*)
9964 no_undefined_flag=' -z defs'
9965 if test "$GCC" = yes; then
9966 wlarc='${wl}'
9967 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9968 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9969 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9970 else
9971 case `$CC -V 2>&1` in
9972 *"Compilers 5.0"*)
9973 wlarc=''
9974 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9975 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9976 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9979 wlarc='${wl}'
9980 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9981 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9982 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9984 esac
9986 hardcode_libdir_flag_spec='-R$libdir'
9987 hardcode_shlibpath_var=no
9988 case $host_os in
9989 solaris2.[0-5] | solaris2.[0-5].*) ;;
9991 # The compiler driver will combine and reorder linker options,
9992 # but understands `-z linker_flag'. GCC discards it without `$wl',
9993 # but is careful enough not to reorder.
9994 # Supported since Solaris 2.6 (maybe 2.5.1?)
9995 if test "$GCC" = yes; then
9996 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9997 else
9998 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10001 esac
10002 link_all_deplibs=yes
10005 sunos4*)
10006 if test "x$host_vendor" = xsequent; then
10007 # Use $CC to link under sequent, because it throws in some extra .o
10008 # files that make .init and .fini sections work.
10009 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10010 else
10011 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10013 hardcode_libdir_flag_spec='-L$libdir'
10014 hardcode_direct=yes
10015 hardcode_minus_L=yes
10016 hardcode_shlibpath_var=no
10019 sysv4)
10020 case $host_vendor in
10021 sni)
10022 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10023 hardcode_direct=yes # is this really true???
10025 siemens)
10026 ## LD is ld it makes a PLAMLIB
10027 ## CC just makes a GrossModule.
10028 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10029 reload_cmds='$CC -r -o $output$reload_objs'
10030 hardcode_direct=no
10032 motorola)
10033 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10034 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10036 esac
10037 runpath_var='LD_RUN_PATH'
10038 hardcode_shlibpath_var=no
10041 sysv4.3*)
10042 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10043 hardcode_shlibpath_var=no
10044 export_dynamic_flag_spec='-Bexport'
10047 sysv4*MP*)
10048 if test -d /usr/nec; then
10049 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10050 hardcode_shlibpath_var=no
10051 runpath_var=LD_RUN_PATH
10052 hardcode_runpath_var=yes
10053 ld_shlibs=yes
10057 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10058 no_undefined_flag='${wl}-z,text'
10059 archive_cmds_need_lc=no
10060 hardcode_shlibpath_var=no
10061 runpath_var='LD_RUN_PATH'
10063 if test "$GCC" = yes; then
10064 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10065 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10066 else
10067 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10068 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10072 sysv5* | sco3.2v5* | sco5v6*)
10073 # Note: We can NOT use -z defs as we might desire, because we do not
10074 # link with -lc, and that would cause any symbols used from libc to
10075 # always be unresolved, which means just about no library would
10076 # ever link correctly. If we're not using GNU ld we use -z text
10077 # though, which does catch some bad symbols but isn't as heavy-handed
10078 # as -z defs.
10079 no_undefined_flag='${wl}-z,text'
10080 allow_undefined_flag='${wl}-z,nodefs'
10081 archive_cmds_need_lc=no
10082 hardcode_shlibpath_var=no
10083 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10084 hardcode_libdir_separator=':'
10085 link_all_deplibs=yes
10086 export_dynamic_flag_spec='${wl}-Bexport'
10087 runpath_var='LD_RUN_PATH'
10089 if test "$GCC" = yes; then
10090 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10091 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10092 else
10093 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10094 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10098 uts4*)
10099 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10100 hardcode_libdir_flag_spec='-L$libdir'
10101 hardcode_shlibpath_var=no
10105 ld_shlibs=no
10107 esac
10109 if test x$host_vendor = xsni; then
10110 case $host in
10111 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10112 export_dynamic_flag_spec='${wl}-Blargedynsym'
10114 esac
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10119 $as_echo "$ld_shlibs" >&6; }
10120 test "$ld_shlibs" = no && can_build_shared=no
10122 with_gnu_ld=$with_gnu_ld
10139 # Do we need to explicitly link libc?
10141 case "x$archive_cmds_need_lc" in
10142 x|xyes)
10143 # Assume -lc should be added
10144 archive_cmds_need_lc=yes
10146 if test "$enable_shared" = yes && test "$GCC" = yes; then
10147 case $archive_cmds in
10148 *'~'*)
10149 # FIXME: we may have to deal with multi-command sequences.
10151 '$CC '*)
10152 # Test whether the compiler implicitly links with -lc since on some
10153 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10154 # to ld, don't add -lc before -lgcc.
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10156 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10157 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10158 $as_echo_n "(cached) " >&6
10159 else
10160 $RM conftest*
10161 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10163 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10164 (eval $ac_compile) 2>&5
10165 ac_status=$?
10166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10167 test $ac_status = 0; } 2>conftest.err; then
10168 soname=conftest
10169 lib=conftest
10170 libobjs=conftest.$ac_objext
10171 deplibs=
10172 wl=$lt_prog_compiler_wl
10173 pic_flag=$lt_prog_compiler_pic
10174 compiler_flags=-v
10175 linker_flags=-v
10176 verstring=
10177 output_objdir=.
10178 libname=conftest
10179 lt_save_allow_undefined_flag=$allow_undefined_flag
10180 allow_undefined_flag=
10181 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10182 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10183 ac_status=$?
10184 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10185 test $ac_status = 0; }
10186 then
10187 lt_cv_archive_cmds_need_lc=no
10188 else
10189 lt_cv_archive_cmds_need_lc=yes
10191 allow_undefined_flag=$lt_save_allow_undefined_flag
10192 else
10193 cat conftest.err 1>&5
10195 $RM conftest*
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10199 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10200 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10202 esac
10205 esac
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10364 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10366 if test "$GCC" = yes; then
10367 case $host_os in
10368 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10369 *) lt_awk_arg="/^libraries:/" ;;
10370 esac
10371 case $host_os in
10372 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10373 *) lt_sed_strip_eq="s,=/,/,g" ;;
10374 esac
10375 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10376 case $lt_search_path_spec in
10377 *\;*)
10378 # if the path contains ";" then we assume it to be the separator
10379 # otherwise default to the standard path separator (i.e. ":") - it is
10380 # assumed that no part of a normal pathname contains ";" but that should
10381 # okay in the real world where ";" in dirpaths is itself problematic.
10382 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10385 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10387 esac
10388 # Ok, now we have the path, separated by spaces, we can step through it
10389 # and add multilib dir if necessary.
10390 lt_tmp_lt_search_path_spec=
10391 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10392 for lt_sys_path in $lt_search_path_spec; do
10393 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10394 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10395 else
10396 test -d "$lt_sys_path" && \
10397 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10399 done
10400 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10401 BEGIN {RS=" "; FS="/|\n";} {
10402 lt_foo="";
10403 lt_count=0;
10404 for (lt_i = NF; lt_i > 0; lt_i--) {
10405 if ($lt_i != "" && $lt_i != ".") {
10406 if ($lt_i == "..") {
10407 lt_count++;
10408 } else {
10409 if (lt_count == 0) {
10410 lt_foo="/" $lt_i lt_foo;
10411 } else {
10412 lt_count--;
10417 if (lt_foo != "") { lt_freq[lt_foo]++; }
10418 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10420 # AWK program above erroneously prepends '/' to C:/dos/paths
10421 # for these hosts.
10422 case $host_os in
10423 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10424 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10425 esac
10426 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10427 else
10428 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10430 library_names_spec=
10431 libname_spec='lib$name'
10432 soname_spec=
10433 shrext_cmds=".so"
10434 postinstall_cmds=
10435 postuninstall_cmds=
10436 finish_cmds=
10437 finish_eval=
10438 shlibpath_var=
10439 shlibpath_overrides_runpath=unknown
10440 version_type=none
10441 dynamic_linker="$host_os ld.so"
10442 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10443 need_lib_prefix=unknown
10444 hardcode_into_libs=no
10446 # when you set need_version to no, make sure it does not cause -set_version
10447 # flags to be left without arguments
10448 need_version=unknown
10450 case $host_os in
10451 aix3*)
10452 version_type=linux
10453 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10454 shlibpath_var=LIBPATH
10456 # AIX 3 has no versioning support, so we append a major version to the name.
10457 soname_spec='${libname}${release}${shared_ext}$major'
10460 aix[4-9]*)
10461 version_type=linux
10462 need_lib_prefix=no
10463 need_version=no
10464 hardcode_into_libs=yes
10465 if test "$host_cpu" = ia64; then
10466 # AIX 5 supports IA64
10467 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10468 shlibpath_var=LD_LIBRARY_PATH
10469 else
10470 # With GCC up to 2.95.x, collect2 would create an import file
10471 # for dependence libraries. The import file would start with
10472 # the line `#! .'. This would cause the generated library to
10473 # depend on `.', always an invalid library. This was fixed in
10474 # development snapshots of GCC prior to 3.0.
10475 case $host_os in
10476 aix4 | aix4.[01] | aix4.[01].*)
10477 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10478 echo ' yes '
10479 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10481 else
10482 can_build_shared=no
10485 esac
10486 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10487 # soname into executable. Probably we can add versioning support to
10488 # collect2, so additional links can be useful in future.
10489 if test "$aix_use_runtimelinking" = yes; then
10490 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10491 # instead of lib<name>.a to let people know that these are not
10492 # typical AIX shared libraries.
10493 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10494 else
10495 # We preserve .a as extension for shared libraries through AIX4.2
10496 # and later when we are not doing run time linking.
10497 library_names_spec='${libname}${release}.a $libname.a'
10498 soname_spec='${libname}${release}${shared_ext}$major'
10500 shlibpath_var=LIBPATH
10504 amigaos*)
10505 case $host_cpu in
10506 powerpc)
10507 # Since July 2007 AmigaOS4 officially supports .so libraries.
10508 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10509 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10511 m68k)
10512 library_names_spec='$libname.ixlibrary $libname.a'
10513 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10514 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10516 esac
10519 beos*)
10520 library_names_spec='${libname}${shared_ext}'
10521 dynamic_linker="$host_os ld.so"
10522 shlibpath_var=LIBRARY_PATH
10525 bsdi[45]*)
10526 version_type=linux
10527 need_version=no
10528 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10529 soname_spec='${libname}${release}${shared_ext}$major'
10530 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10531 shlibpath_var=LD_LIBRARY_PATH
10532 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10533 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10534 # the default ld.so.conf also contains /usr/contrib/lib and
10535 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10536 # libtool to hard-code these into programs
10539 cygwin* | mingw* | pw32* | cegcc*)
10540 version_type=windows
10541 shrext_cmds=".dll"
10542 need_version=no
10543 need_lib_prefix=no
10545 case $GCC,$host_os in
10546 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10547 library_names_spec='$libname.dll.a'
10548 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10549 postinstall_cmds='base_file=`basename \${file}`~
10550 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10551 dldir=$destdir/`dirname \$dlpath`~
10552 test -d \$dldir || mkdir -p \$dldir~
10553 $install_prog $dir/$dlname \$dldir/$dlname~
10554 chmod a+x \$dldir/$dlname~
10555 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10556 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10558 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10559 dlpath=$dir/\$dldll~
10560 $RM \$dlpath'
10561 shlibpath_overrides_runpath=yes
10563 case $host_os in
10564 cygwin*)
10565 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10566 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10568 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10570 mingw* | cegcc*)
10571 # MinGW DLLs use traditional 'lib' prefix
10572 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10574 pw32*)
10575 # pw32 DLLs use 'pw' prefix rather than 'lib'
10576 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10578 esac
10582 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10584 esac
10585 dynamic_linker='Win32 ld.exe'
10586 # FIXME: first we should search . and the directory the executable is in
10587 shlibpath_var=PATH
10590 darwin* | rhapsody*)
10591 dynamic_linker="$host_os dyld"
10592 version_type=darwin
10593 need_lib_prefix=no
10594 need_version=no
10595 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10596 soname_spec='${libname}${release}${major}$shared_ext'
10597 shlibpath_overrides_runpath=yes
10598 shlibpath_var=DYLD_LIBRARY_PATH
10599 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10601 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10602 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10605 dgux*)
10606 version_type=linux
10607 need_lib_prefix=no
10608 need_version=no
10609 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10610 soname_spec='${libname}${release}${shared_ext}$major'
10611 shlibpath_var=LD_LIBRARY_PATH
10614 freebsd* | dragonfly*)
10615 # DragonFly does not have aout. When/if they implement a new
10616 # versioning mechanism, adjust this.
10617 if test -x /usr/bin/objformat; then
10618 objformat=`/usr/bin/objformat`
10619 else
10620 case $host_os in
10621 freebsd[23].*) objformat=aout ;;
10622 *) objformat=elf ;;
10623 esac
10625 version_type=freebsd-$objformat
10626 case $version_type in
10627 freebsd-elf*)
10628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10629 need_version=no
10630 need_lib_prefix=no
10632 freebsd-*)
10633 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10634 need_version=yes
10636 esac
10637 shlibpath_var=LD_LIBRARY_PATH
10638 case $host_os in
10639 freebsd2.*)
10640 shlibpath_overrides_runpath=yes
10642 freebsd3.[01]* | freebsdelf3.[01]*)
10643 shlibpath_overrides_runpath=yes
10644 hardcode_into_libs=yes
10646 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10647 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10648 shlibpath_overrides_runpath=no
10649 hardcode_into_libs=yes
10651 *) # from 4.6 on, and DragonFly
10652 shlibpath_overrides_runpath=yes
10653 hardcode_into_libs=yes
10655 esac
10658 gnu*)
10659 version_type=linux
10660 need_lib_prefix=no
10661 need_version=no
10662 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10663 soname_spec='${libname}${release}${shared_ext}$major'
10664 shlibpath_var=LD_LIBRARY_PATH
10665 hardcode_into_libs=yes
10668 haiku*)
10669 version_type=linux
10670 need_lib_prefix=no
10671 need_version=no
10672 dynamic_linker="$host_os runtime_loader"
10673 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10674 soname_spec='${libname}${release}${shared_ext}$major'
10675 shlibpath_var=LIBRARY_PATH
10676 shlibpath_overrides_runpath=yes
10677 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10678 hardcode_into_libs=yes
10681 hpux9* | hpux10* | hpux11*)
10682 # Give a soname corresponding to the major version so that dld.sl refuses to
10683 # link against other versions.
10684 version_type=sunos
10685 need_lib_prefix=no
10686 need_version=no
10687 case $host_cpu in
10688 ia64*)
10689 shrext_cmds='.so'
10690 hardcode_into_libs=yes
10691 dynamic_linker="$host_os dld.so"
10692 shlibpath_var=LD_LIBRARY_PATH
10693 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10694 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10695 soname_spec='${libname}${release}${shared_ext}$major'
10696 if test "X$HPUX_IA64_MODE" = X32; then
10697 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10698 else
10699 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10701 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10703 hppa*64*)
10704 shrext_cmds='.sl'
10705 hardcode_into_libs=yes
10706 dynamic_linker="$host_os dld.sl"
10707 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10708 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10709 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10710 soname_spec='${libname}${release}${shared_ext}$major'
10711 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10712 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10715 shrext_cmds='.sl'
10716 dynamic_linker="$host_os dld.sl"
10717 shlibpath_var=SHLIB_PATH
10718 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10719 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10720 soname_spec='${libname}${release}${shared_ext}$major'
10722 esac
10723 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10724 postinstall_cmds='chmod 555 $lib'
10725 # or fails outright, so override atomically:
10726 install_override_mode=555
10729 interix[3-9]*)
10730 version_type=linux
10731 need_lib_prefix=no
10732 need_version=no
10733 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10734 soname_spec='${libname}${release}${shared_ext}$major'
10735 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10736 shlibpath_var=LD_LIBRARY_PATH
10737 shlibpath_overrides_runpath=no
10738 hardcode_into_libs=yes
10741 irix5* | irix6* | nonstopux*)
10742 case $host_os in
10743 nonstopux*) version_type=nonstopux ;;
10745 if test "$lt_cv_prog_gnu_ld" = yes; then
10746 version_type=linux
10747 else
10748 version_type=irix
10749 fi ;;
10750 esac
10751 need_lib_prefix=no
10752 need_version=no
10753 soname_spec='${libname}${release}${shared_ext}$major'
10754 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10755 case $host_os in
10756 irix5* | nonstopux*)
10757 libsuff= shlibsuff=
10760 case $LD in # libtool.m4 will add one of these switches to LD
10761 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10762 libsuff= shlibsuff= libmagic=32-bit;;
10763 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10764 libsuff=32 shlibsuff=N32 libmagic=N32;;
10765 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10766 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10767 *) libsuff= shlibsuff= libmagic=never-match;;
10768 esac
10770 esac
10771 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10772 shlibpath_overrides_runpath=no
10773 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10774 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10775 hardcode_into_libs=yes
10778 # No shared lib support for Linux oldld, aout, or coff.
10779 linux*oldld* | linux*aout* | linux*coff*)
10780 dynamic_linker=no
10783 # This must be Linux ELF.
10784 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10785 version_type=linux
10786 need_lib_prefix=no
10787 need_version=no
10788 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10789 soname_spec='${libname}${release}${shared_ext}$major'
10790 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10791 shlibpath_var=LD_LIBRARY_PATH
10792 shlibpath_overrides_runpath=no
10794 # Some binutils ld are patched to set DT_RUNPATH
10795 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10796 $as_echo_n "(cached) " >&6
10797 else
10798 lt_cv_shlibpath_overrides_runpath=no
10799 save_LDFLAGS=$LDFLAGS
10800 save_libdir=$libdir
10801 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10802 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10803 if test x$gcc_no_link = xyes; then
10804 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10807 /* end confdefs.h. */
10810 main ()
10814 return 0;
10816 _ACEOF
10817 if ac_fn_c_try_link "$LINENO"; then :
10818 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10819 lt_cv_shlibpath_overrides_runpath=yes
10822 rm -f core conftest.err conftest.$ac_objext \
10823 conftest$ac_exeext conftest.$ac_ext
10824 LDFLAGS=$save_LDFLAGS
10825 libdir=$save_libdir
10829 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10831 # This implies no fast_install, which is unacceptable.
10832 # Some rework will be needed to allow for fast_install
10833 # before this can be enabled.
10834 hardcode_into_libs=yes
10836 # Append ld.so.conf contents to the search path
10837 if test -f /etc/ld.so.conf; then
10838 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10839 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10842 # We used to test for /lib/ld.so.1 and disable shared libraries on
10843 # powerpc, because MkLinux only supported shared libraries with the
10844 # GNU dynamic linker. Since this was broken with cross compilers,
10845 # most powerpc-linux boxes support dynamic linking these days and
10846 # people can always --disable-shared, the test was removed, and we
10847 # assume the GNU/Linux dynamic linker is in use.
10848 dynamic_linker='GNU/Linux ld.so'
10851 netbsd*)
10852 version_type=sunos
10853 need_lib_prefix=no
10854 need_version=no
10855 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10856 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10857 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10858 dynamic_linker='NetBSD (a.out) ld.so'
10859 else
10860 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10861 soname_spec='${libname}${release}${shared_ext}$major'
10862 dynamic_linker='NetBSD ld.elf_so'
10864 shlibpath_var=LD_LIBRARY_PATH
10865 shlibpath_overrides_runpath=yes
10866 hardcode_into_libs=yes
10869 newsos6)
10870 version_type=linux
10871 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10872 shlibpath_var=LD_LIBRARY_PATH
10873 shlibpath_overrides_runpath=yes
10876 *nto* | *qnx*)
10877 version_type=qnx
10878 need_lib_prefix=no
10879 need_version=no
10880 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10881 soname_spec='${libname}${release}${shared_ext}$major'
10882 shlibpath_var=LD_LIBRARY_PATH
10883 shlibpath_overrides_runpath=no
10884 hardcode_into_libs=yes
10885 dynamic_linker='ldqnx.so'
10888 openbsd*)
10889 version_type=sunos
10890 sys_lib_dlsearch_path_spec="/usr/lib"
10891 need_lib_prefix=no
10892 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10893 case $host_os in
10894 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10895 *) need_version=no ;;
10896 esac
10897 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10898 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10899 shlibpath_var=LD_LIBRARY_PATH
10900 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10901 case $host_os in
10902 openbsd2.[89] | openbsd2.[89].*)
10903 shlibpath_overrides_runpath=no
10906 shlibpath_overrides_runpath=yes
10908 esac
10909 else
10910 shlibpath_overrides_runpath=yes
10914 os2*)
10915 libname_spec='$name'
10916 shrext_cmds=".dll"
10917 need_lib_prefix=no
10918 library_names_spec='$libname${shared_ext} $libname.a'
10919 dynamic_linker='OS/2 ld.exe'
10920 shlibpath_var=LIBPATH
10923 osf3* | osf4* | osf5*)
10924 version_type=osf
10925 need_lib_prefix=no
10926 need_version=no
10927 soname_spec='${libname}${release}${shared_ext}$major'
10928 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10929 shlibpath_var=LD_LIBRARY_PATH
10930 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10931 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10934 rdos*)
10935 dynamic_linker=no
10938 solaris*)
10939 version_type=linux
10940 need_lib_prefix=no
10941 need_version=no
10942 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10943 soname_spec='${libname}${release}${shared_ext}$major'
10944 shlibpath_var=LD_LIBRARY_PATH
10945 shlibpath_overrides_runpath=yes
10946 hardcode_into_libs=yes
10947 # ldd complains unless libraries are executable
10948 postinstall_cmds='chmod +x $lib'
10951 sunos4*)
10952 version_type=sunos
10953 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10954 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10955 shlibpath_var=LD_LIBRARY_PATH
10956 shlibpath_overrides_runpath=yes
10957 if test "$with_gnu_ld" = yes; then
10958 need_lib_prefix=no
10960 need_version=yes
10963 sysv4 | sysv4.3*)
10964 version_type=linux
10965 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10966 soname_spec='${libname}${release}${shared_ext}$major'
10967 shlibpath_var=LD_LIBRARY_PATH
10968 case $host_vendor in
10969 sni)
10970 shlibpath_overrides_runpath=no
10971 need_lib_prefix=no
10972 runpath_var=LD_RUN_PATH
10974 siemens)
10975 need_lib_prefix=no
10977 motorola)
10978 need_lib_prefix=no
10979 need_version=no
10980 shlibpath_overrides_runpath=no
10981 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10983 esac
10986 sysv4*MP*)
10987 if test -d /usr/nec ;then
10988 version_type=linux
10989 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10990 soname_spec='$libname${shared_ext}.$major'
10991 shlibpath_var=LD_LIBRARY_PATH
10995 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10996 version_type=freebsd-elf
10997 need_lib_prefix=no
10998 need_version=no
10999 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11000 soname_spec='${libname}${release}${shared_ext}$major'
11001 shlibpath_var=LD_LIBRARY_PATH
11002 shlibpath_overrides_runpath=yes
11003 hardcode_into_libs=yes
11004 if test "$with_gnu_ld" = yes; then
11005 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11006 else
11007 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11008 case $host_os in
11009 sco3.2v5*)
11010 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11012 esac
11014 sys_lib_dlsearch_path_spec='/usr/lib'
11017 tpf*)
11018 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11019 version_type=linux
11020 need_lib_prefix=no
11021 need_version=no
11022 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11023 shlibpath_var=LD_LIBRARY_PATH
11024 shlibpath_overrides_runpath=no
11025 hardcode_into_libs=yes
11028 uts4*)
11029 version_type=linux
11030 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11031 soname_spec='${libname}${release}${shared_ext}$major'
11032 shlibpath_var=LD_LIBRARY_PATH
11036 dynamic_linker=no
11038 esac
11039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11040 $as_echo "$dynamic_linker" >&6; }
11041 test "$dynamic_linker" = no && can_build_shared=no
11043 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11044 if test "$GCC" = yes; then
11045 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11048 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11049 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11051 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11052 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11147 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11148 hardcode_action=
11149 if test -n "$hardcode_libdir_flag_spec" ||
11150 test -n "$runpath_var" ||
11151 test "X$hardcode_automatic" = "Xyes" ; then
11153 # We can hardcode non-existent directories.
11154 if test "$hardcode_direct" != no &&
11155 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11156 # have to relink, otherwise we might link with an installed library
11157 # when we should be linking with a yet-to-be-installed one
11158 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11159 test "$hardcode_minus_L" != no; then
11160 # Linking always hardcodes the temporary library directory.
11161 hardcode_action=relink
11162 else
11163 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11164 hardcode_action=immediate
11166 else
11167 # We cannot hardcode anything, or else we can only hardcode existing
11168 # directories.
11169 hardcode_action=unsupported
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11172 $as_echo "$hardcode_action" >&6; }
11174 if test "$hardcode_action" = relink ||
11175 test "$inherit_rpath" = yes; then
11176 # Fast installation is not supported
11177 enable_fast_install=no
11178 elif test "$shlibpath_overrides_runpath" = yes ||
11179 test "$enable_shared" = no; then
11180 # Fast installation is not necessary
11181 enable_fast_install=needless
11189 if test "x$enable_dlopen" != xyes; then
11190 enable_dlopen=unknown
11191 enable_dlopen_self=unknown
11192 enable_dlopen_self_static=unknown
11193 else
11194 lt_cv_dlopen=no
11195 lt_cv_dlopen_libs=
11197 case $host_os in
11198 beos*)
11199 lt_cv_dlopen="load_add_on"
11200 lt_cv_dlopen_libs=
11201 lt_cv_dlopen_self=yes
11204 mingw* | pw32* | cegcc*)
11205 lt_cv_dlopen="LoadLibrary"
11206 lt_cv_dlopen_libs=
11209 cygwin*)
11210 lt_cv_dlopen="dlopen"
11211 lt_cv_dlopen_libs=
11214 darwin*)
11215 # if libdl is installed we need to link against it
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11217 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11218 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11219 $as_echo_n "(cached) " >&6
11220 else
11221 ac_check_lib_save_LIBS=$LIBS
11222 LIBS="-ldl $LIBS"
11223 if test x$gcc_no_link = xyes; then
11224 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11227 /* end confdefs.h. */
11229 /* Override any GCC internal prototype to avoid an error.
11230 Use char because int might match the return type of a GCC
11231 builtin and then its argument prototype would still apply. */
11232 #ifdef __cplusplus
11233 extern "C"
11234 #endif
11235 char dlopen ();
11237 main ()
11239 return dlopen ();
11241 return 0;
11243 _ACEOF
11244 if ac_fn_c_try_link "$LINENO"; then :
11245 ac_cv_lib_dl_dlopen=yes
11246 else
11247 ac_cv_lib_dl_dlopen=no
11249 rm -f core conftest.err conftest.$ac_objext \
11250 conftest$ac_exeext conftest.$ac_ext
11251 LIBS=$ac_check_lib_save_LIBS
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11254 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11255 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11256 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11257 else
11259 lt_cv_dlopen="dyld"
11260 lt_cv_dlopen_libs=
11261 lt_cv_dlopen_self=yes
11268 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11269 if test "x$ac_cv_func_shl_load" = x""yes; then :
11270 lt_cv_dlopen="shl_load"
11271 else
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11273 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11274 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11275 $as_echo_n "(cached) " >&6
11276 else
11277 ac_check_lib_save_LIBS=$LIBS
11278 LIBS="-ldld $LIBS"
11279 if test x$gcc_no_link = xyes; then
11280 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11283 /* end confdefs.h. */
11285 /* Override any GCC internal prototype to avoid an error.
11286 Use char because int might match the return type of a GCC
11287 builtin and then its argument prototype would still apply. */
11288 #ifdef __cplusplus
11289 extern "C"
11290 #endif
11291 char shl_load ();
11293 main ()
11295 return shl_load ();
11297 return 0;
11299 _ACEOF
11300 if ac_fn_c_try_link "$LINENO"; then :
11301 ac_cv_lib_dld_shl_load=yes
11302 else
11303 ac_cv_lib_dld_shl_load=no
11305 rm -f core conftest.err conftest.$ac_objext \
11306 conftest$ac_exeext conftest.$ac_ext
11307 LIBS=$ac_check_lib_save_LIBS
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11310 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11311 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11312 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11313 else
11314 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11315 if test "x$ac_cv_func_dlopen" = x""yes; then :
11316 lt_cv_dlopen="dlopen"
11317 else
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11319 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11320 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11321 $as_echo_n "(cached) " >&6
11322 else
11323 ac_check_lib_save_LIBS=$LIBS
11324 LIBS="-ldl $LIBS"
11325 if test x$gcc_no_link = xyes; then
11326 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11329 /* end confdefs.h. */
11331 /* Override any GCC internal prototype to avoid an error.
11332 Use char because int might match the return type of a GCC
11333 builtin and then its argument prototype would still apply. */
11334 #ifdef __cplusplus
11335 extern "C"
11336 #endif
11337 char dlopen ();
11339 main ()
11341 return dlopen ();
11343 return 0;
11345 _ACEOF
11346 if ac_fn_c_try_link "$LINENO"; then :
11347 ac_cv_lib_dl_dlopen=yes
11348 else
11349 ac_cv_lib_dl_dlopen=no
11351 rm -f core conftest.err conftest.$ac_objext \
11352 conftest$ac_exeext conftest.$ac_ext
11353 LIBS=$ac_check_lib_save_LIBS
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11356 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11357 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11358 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11359 else
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11361 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11362 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11363 $as_echo_n "(cached) " >&6
11364 else
11365 ac_check_lib_save_LIBS=$LIBS
11366 LIBS="-lsvld $LIBS"
11367 if test x$gcc_no_link = xyes; then
11368 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11371 /* end confdefs.h. */
11373 /* Override any GCC internal prototype to avoid an error.
11374 Use char because int might match the return type of a GCC
11375 builtin and then its argument prototype would still apply. */
11376 #ifdef __cplusplus
11377 extern "C"
11378 #endif
11379 char dlopen ();
11381 main ()
11383 return dlopen ();
11385 return 0;
11387 _ACEOF
11388 if ac_fn_c_try_link "$LINENO"; then :
11389 ac_cv_lib_svld_dlopen=yes
11390 else
11391 ac_cv_lib_svld_dlopen=no
11393 rm -f core conftest.err conftest.$ac_objext \
11394 conftest$ac_exeext conftest.$ac_ext
11395 LIBS=$ac_check_lib_save_LIBS
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11398 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11399 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11400 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11401 else
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11403 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11404 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11405 $as_echo_n "(cached) " >&6
11406 else
11407 ac_check_lib_save_LIBS=$LIBS
11408 LIBS="-ldld $LIBS"
11409 if test x$gcc_no_link = xyes; then
11410 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11413 /* end confdefs.h. */
11415 /* Override any GCC internal prototype to avoid an error.
11416 Use char because int might match the return type of a GCC
11417 builtin and then its argument prototype would still apply. */
11418 #ifdef __cplusplus
11419 extern "C"
11420 #endif
11421 char dld_link ();
11423 main ()
11425 return dld_link ();
11427 return 0;
11429 _ACEOF
11430 if ac_fn_c_try_link "$LINENO"; then :
11431 ac_cv_lib_dld_dld_link=yes
11432 else
11433 ac_cv_lib_dld_dld_link=no
11435 rm -f core conftest.err conftest.$ac_objext \
11436 conftest$ac_exeext conftest.$ac_ext
11437 LIBS=$ac_check_lib_save_LIBS
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11440 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11441 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11442 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11461 esac
11463 if test "x$lt_cv_dlopen" != xno; then
11464 enable_dlopen=yes
11465 else
11466 enable_dlopen=no
11469 case $lt_cv_dlopen in
11470 dlopen)
11471 save_CPPFLAGS="$CPPFLAGS"
11472 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11474 save_LDFLAGS="$LDFLAGS"
11475 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11477 save_LIBS="$LIBS"
11478 LIBS="$lt_cv_dlopen_libs $LIBS"
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11481 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11482 if test "${lt_cv_dlopen_self+set}" = set; then :
11483 $as_echo_n "(cached) " >&6
11484 else
11485 if test "$cross_compiling" = yes; then :
11486 lt_cv_dlopen_self=cross
11487 else
11488 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11489 lt_status=$lt_dlunknown
11490 cat > conftest.$ac_ext <<_LT_EOF
11491 #line 11491 "configure"
11492 #include "confdefs.h"
11494 #if HAVE_DLFCN_H
11495 #include <dlfcn.h>
11496 #endif
11498 #include <stdio.h>
11500 #ifdef RTLD_GLOBAL
11501 # define LT_DLGLOBAL RTLD_GLOBAL
11502 #else
11503 # ifdef DL_GLOBAL
11504 # define LT_DLGLOBAL DL_GLOBAL
11505 # else
11506 # define LT_DLGLOBAL 0
11507 # endif
11508 #endif
11510 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11511 find out it does not work in some platform. */
11512 #ifndef LT_DLLAZY_OR_NOW
11513 # ifdef RTLD_LAZY
11514 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11515 # else
11516 # ifdef DL_LAZY
11517 # define LT_DLLAZY_OR_NOW DL_LAZY
11518 # else
11519 # ifdef RTLD_NOW
11520 # define LT_DLLAZY_OR_NOW RTLD_NOW
11521 # else
11522 # ifdef DL_NOW
11523 # define LT_DLLAZY_OR_NOW DL_NOW
11524 # else
11525 # define LT_DLLAZY_OR_NOW 0
11526 # endif
11527 # endif
11528 # endif
11529 # endif
11530 #endif
11532 /* When -fvisbility=hidden is used, assume the code has been annotated
11533 correspondingly for the symbols needed. */
11534 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11535 void fnord () __attribute__((visibility("default")));
11536 #endif
11538 void fnord () { int i=42; }
11539 int main ()
11541 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11542 int status = $lt_dlunknown;
11544 if (self)
11546 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11547 else
11549 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11550 else puts (dlerror ());
11552 /* dlclose (self); */
11554 else
11555 puts (dlerror ());
11557 return status;
11559 _LT_EOF
11560 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11561 (eval $ac_link) 2>&5
11562 ac_status=$?
11563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11564 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11565 (./conftest; exit; ) >&5 2>/dev/null
11566 lt_status=$?
11567 case x$lt_status in
11568 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11569 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11570 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11571 esac
11572 else :
11573 # compilation failed
11574 lt_cv_dlopen_self=no
11577 rm -fr conftest*
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11582 $as_echo "$lt_cv_dlopen_self" >&6; }
11584 if test "x$lt_cv_dlopen_self" = xyes; then
11585 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11587 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11588 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11589 $as_echo_n "(cached) " >&6
11590 else
11591 if test "$cross_compiling" = yes; then :
11592 lt_cv_dlopen_self_static=cross
11593 else
11594 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11595 lt_status=$lt_dlunknown
11596 cat > conftest.$ac_ext <<_LT_EOF
11597 #line 11597 "configure"
11598 #include "confdefs.h"
11600 #if HAVE_DLFCN_H
11601 #include <dlfcn.h>
11602 #endif
11604 #include <stdio.h>
11606 #ifdef RTLD_GLOBAL
11607 # define LT_DLGLOBAL RTLD_GLOBAL
11608 #else
11609 # ifdef DL_GLOBAL
11610 # define LT_DLGLOBAL DL_GLOBAL
11611 # else
11612 # define LT_DLGLOBAL 0
11613 # endif
11614 #endif
11616 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11617 find out it does not work in some platform. */
11618 #ifndef LT_DLLAZY_OR_NOW
11619 # ifdef RTLD_LAZY
11620 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11621 # else
11622 # ifdef DL_LAZY
11623 # define LT_DLLAZY_OR_NOW DL_LAZY
11624 # else
11625 # ifdef RTLD_NOW
11626 # define LT_DLLAZY_OR_NOW RTLD_NOW
11627 # else
11628 # ifdef DL_NOW
11629 # define LT_DLLAZY_OR_NOW DL_NOW
11630 # else
11631 # define LT_DLLAZY_OR_NOW 0
11632 # endif
11633 # endif
11634 # endif
11635 # endif
11636 #endif
11638 /* When -fvisbility=hidden is used, assume the code has been annotated
11639 correspondingly for the symbols needed. */
11640 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11641 void fnord () __attribute__((visibility("default")));
11642 #endif
11644 void fnord () { int i=42; }
11645 int main ()
11647 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11648 int status = $lt_dlunknown;
11650 if (self)
11652 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11653 else
11655 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11656 else puts (dlerror ());
11658 /* dlclose (self); */
11660 else
11661 puts (dlerror ());
11663 return status;
11665 _LT_EOF
11666 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11667 (eval $ac_link) 2>&5
11668 ac_status=$?
11669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11670 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11671 (./conftest; exit; ) >&5 2>/dev/null
11672 lt_status=$?
11673 case x$lt_status in
11674 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11675 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11676 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11677 esac
11678 else :
11679 # compilation failed
11680 lt_cv_dlopen_self_static=no
11683 rm -fr conftest*
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11688 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11691 CPPFLAGS="$save_CPPFLAGS"
11692 LDFLAGS="$save_LDFLAGS"
11693 LIBS="$save_LIBS"
11695 esac
11697 case $lt_cv_dlopen_self in
11698 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11699 *) enable_dlopen_self=unknown ;;
11700 esac
11702 case $lt_cv_dlopen_self_static in
11703 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11704 *) enable_dlopen_self_static=unknown ;;
11705 esac
11724 striplib=
11725 old_striplib=
11726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11727 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11728 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11729 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11730 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11732 $as_echo "yes" >&6; }
11733 else
11734 # FIXME - insert some real tests, host_os isn't really good enough
11735 case $host_os in
11736 darwin*)
11737 if test -n "$STRIP" ; then
11738 striplib="$STRIP -x"
11739 old_striplib="$STRIP -S"
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11741 $as_echo "yes" >&6; }
11742 else
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11744 $as_echo "no" >&6; }
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11749 $as_echo "no" >&6; }
11751 esac
11765 # Report which library types will actually be built
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11767 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11769 $as_echo "$can_build_shared" >&6; }
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11772 $as_echo_n "checking whether to build shared libraries... " >&6; }
11773 test "$can_build_shared" = "no" && enable_shared=no
11775 # On AIX, shared libraries and static libraries use the same namespace, and
11776 # are all built from PIC.
11777 case $host_os in
11778 aix3*)
11779 test "$enable_shared" = yes && enable_static=no
11780 if test -n "$RANLIB"; then
11781 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11782 postinstall_cmds='$RANLIB $lib'
11786 aix[4-9]*)
11787 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11788 test "$enable_shared" = yes && enable_static=no
11791 esac
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11793 $as_echo "$enable_shared" >&6; }
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11796 $as_echo_n "checking whether to build static libraries... " >&6; }
11797 # Make sure either enable_shared or enable_static is yes.
11798 test "$enable_shared" = yes || enable_static=yes
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11800 $as_echo "$enable_static" >&6; }
11806 ac_ext=c
11807 ac_cpp='$CPP $CPPFLAGS'
11808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11812 CC="$lt_save_CC"
11814 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11815 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11816 (test "X$CXX" != "Xg++"))) ; then
11817 ac_ext=cpp
11818 ac_cpp='$CXXCPP $CPPFLAGS'
11819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11823 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11824 if test -z "$CXXCPP"; then
11825 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11826 $as_echo_n "(cached) " >&6
11827 else
11828 # Double quotes because CXXCPP needs to be expanded
11829 for CXXCPP in "$CXX -E" "/lib/cpp"
11831 ac_preproc_ok=false
11832 for ac_cxx_preproc_warn_flag in '' yes
11834 # Use a header file that comes with gcc, so configuring glibc
11835 # with a fresh cross-compiler works.
11836 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11837 # <limits.h> exists even on freestanding compilers.
11838 # On the NeXT, cc -E runs the code through the compiler's parser,
11839 # not just through cpp. "Syntax error" is here to catch this case.
11840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11841 /* end confdefs.h. */
11842 #ifdef __STDC__
11843 # include <limits.h>
11844 #else
11845 # include <assert.h>
11846 #endif
11847 Syntax error
11848 _ACEOF
11849 if ac_fn_cxx_try_cpp "$LINENO"; then :
11851 else
11852 # Broken: fails on valid input.
11853 continue
11855 rm -f conftest.err conftest.$ac_ext
11857 # OK, works on sane cases. Now check whether nonexistent headers
11858 # can be detected and how.
11859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11860 /* end confdefs.h. */
11861 #include <ac_nonexistent.h>
11862 _ACEOF
11863 if ac_fn_cxx_try_cpp "$LINENO"; then :
11864 # Broken: success on invalid input.
11865 continue
11866 else
11867 # Passes both tests.
11868 ac_preproc_ok=:
11869 break
11871 rm -f conftest.err conftest.$ac_ext
11873 done
11874 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11875 rm -f conftest.err conftest.$ac_ext
11876 if $ac_preproc_ok; then :
11877 break
11880 done
11881 ac_cv_prog_CXXCPP=$CXXCPP
11884 CXXCPP=$ac_cv_prog_CXXCPP
11885 else
11886 ac_cv_prog_CXXCPP=$CXXCPP
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11889 $as_echo "$CXXCPP" >&6; }
11890 ac_preproc_ok=false
11891 for ac_cxx_preproc_warn_flag in '' yes
11893 # Use a header file that comes with gcc, so configuring glibc
11894 # with a fresh cross-compiler works.
11895 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11896 # <limits.h> exists even on freestanding compilers.
11897 # On the NeXT, cc -E runs the code through the compiler's parser,
11898 # not just through cpp. "Syntax error" is here to catch this case.
11899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11900 /* end confdefs.h. */
11901 #ifdef __STDC__
11902 # include <limits.h>
11903 #else
11904 # include <assert.h>
11905 #endif
11906 Syntax error
11907 _ACEOF
11908 if ac_fn_cxx_try_cpp "$LINENO"; then :
11910 else
11911 # Broken: fails on valid input.
11912 continue
11914 rm -f conftest.err conftest.$ac_ext
11916 # OK, works on sane cases. Now check whether nonexistent headers
11917 # can be detected and how.
11918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11919 /* end confdefs.h. */
11920 #include <ac_nonexistent.h>
11921 _ACEOF
11922 if ac_fn_cxx_try_cpp "$LINENO"; then :
11923 # Broken: success on invalid input.
11924 continue
11925 else
11926 # Passes both tests.
11927 ac_preproc_ok=:
11928 break
11930 rm -f conftest.err conftest.$ac_ext
11932 done
11933 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11934 rm -f conftest.err conftest.$ac_ext
11935 if $ac_preproc_ok; then :
11937 else
11938 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11939 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11940 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11941 See \`config.log' for more details." "$LINENO" 5; }
11944 ac_ext=c
11945 ac_cpp='$CPP $CPPFLAGS'
11946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11950 else
11951 _lt_caught_CXX_error=yes
11954 ac_ext=cpp
11955 ac_cpp='$CXXCPP $CPPFLAGS'
11956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11960 archive_cmds_need_lc_CXX=no
11961 allow_undefined_flag_CXX=
11962 always_export_symbols_CXX=no
11963 archive_expsym_cmds_CXX=
11964 compiler_needs_object_CXX=no
11965 export_dynamic_flag_spec_CXX=
11966 hardcode_direct_CXX=no
11967 hardcode_direct_absolute_CXX=no
11968 hardcode_libdir_flag_spec_CXX=
11969 hardcode_libdir_flag_spec_ld_CXX=
11970 hardcode_libdir_separator_CXX=
11971 hardcode_minus_L_CXX=no
11972 hardcode_shlibpath_var_CXX=unsupported
11973 hardcode_automatic_CXX=no
11974 inherit_rpath_CXX=no
11975 module_cmds_CXX=
11976 module_expsym_cmds_CXX=
11977 link_all_deplibs_CXX=unknown
11978 old_archive_cmds_CXX=$old_archive_cmds
11979 reload_flag_CXX=$reload_flag
11980 reload_cmds_CXX=$reload_cmds
11981 no_undefined_flag_CXX=
11982 whole_archive_flag_spec_CXX=
11983 enable_shared_with_static_runtimes_CXX=no
11985 # Source file extension for C++ test sources.
11986 ac_ext=cpp
11988 # Object file extension for compiled C++ test sources.
11989 objext=o
11990 objext_CXX=$objext
11992 # No sense in running all these tests if we already determined that
11993 # the CXX compiler isn't working. Some variables (like enable_shared)
11994 # are currently assumed to apply to all compilers on this platform,
11995 # and will be corrupted by setting them based on a non-working compiler.
11996 if test "$_lt_caught_CXX_error" != yes; then
11997 # Code to be used in simple compile tests
11998 lt_simple_compile_test_code="int some_variable = 0;"
12000 # Code to be used in simple link tests
12001 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12003 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12010 # If no C compiler was specified, use CC.
12011 LTCC=${LTCC-"$CC"}
12013 # If no C compiler flags were specified, use CFLAGS.
12014 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12016 # Allow CC to be a program name with arguments.
12017 compiler=$CC
12020 # save warnings/boilerplate of simple test code
12021 ac_outfile=conftest.$ac_objext
12022 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12023 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12024 _lt_compiler_boilerplate=`cat conftest.err`
12025 $RM conftest*
12027 ac_outfile=conftest.$ac_objext
12028 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12029 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12030 _lt_linker_boilerplate=`cat conftest.err`
12031 $RM -r conftest*
12034 # Allow CC to be a program name with arguments.
12035 lt_save_CC=$CC
12036 lt_save_LD=$LD
12037 lt_save_GCC=$GCC
12038 GCC=$GXX
12039 lt_save_with_gnu_ld=$with_gnu_ld
12040 lt_save_path_LD=$lt_cv_path_LD
12041 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12042 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12043 else
12044 $as_unset lt_cv_prog_gnu_ld
12046 if test -n "${lt_cv_path_LDCXX+set}"; then
12047 lt_cv_path_LD=$lt_cv_path_LDCXX
12048 else
12049 $as_unset lt_cv_path_LD
12051 test -z "${LDCXX+set}" || LD=$LDCXX
12052 CC=${CXX-"c++"}
12053 compiler=$CC
12054 compiler_CXX=$CC
12055 for cc_temp in $compiler""; do
12056 case $cc_temp in
12057 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12058 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12059 \-*) ;;
12060 *) break;;
12061 esac
12062 done
12063 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12066 if test -n "$compiler"; then
12067 # We don't want -fno-exception when compiling C++ code, so set the
12068 # no_builtin_flag separately
12069 if test "$GXX" = yes; then
12070 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12071 else
12072 lt_prog_compiler_no_builtin_flag_CXX=
12075 if test "$GXX" = yes; then
12076 # Set up default GNU C++ configuration
12080 # Check whether --with-gnu-ld was given.
12081 if test "${with_gnu_ld+set}" = set; then :
12082 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12083 else
12084 with_gnu_ld=no
12087 ac_prog=ld
12088 if test "$GCC" = yes; then
12089 # Check if gcc -print-prog-name=ld gives a path.
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12091 $as_echo_n "checking for ld used by $CC... " >&6; }
12092 case $host in
12093 *-*-mingw*)
12094 # gcc leaves a trailing carriage return which upsets mingw
12095 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12097 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12098 esac
12099 case $ac_prog in
12100 # Accept absolute paths.
12101 [\\/]* | ?:[\\/]*)
12102 re_direlt='/[^/][^/]*/\.\./'
12103 # Canonicalize the pathname of ld
12104 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12105 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12106 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12107 done
12108 test -z "$LD" && LD="$ac_prog"
12111 # If it fails, then pretend we aren't using GCC.
12112 ac_prog=ld
12115 # If it is relative, then search for the first ld in PATH.
12116 with_gnu_ld=unknown
12118 esac
12119 elif test "$with_gnu_ld" = yes; then
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12121 $as_echo_n "checking for GNU ld... " >&6; }
12122 else
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12124 $as_echo_n "checking for non-GNU ld... " >&6; }
12126 if test "${lt_cv_path_LD+set}" = set; then :
12127 $as_echo_n "(cached) " >&6
12128 else
12129 if test -z "$LD"; then
12130 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12131 for ac_dir in $PATH; do
12132 IFS="$lt_save_ifs"
12133 test -z "$ac_dir" && ac_dir=.
12134 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12135 lt_cv_path_LD="$ac_dir/$ac_prog"
12136 # Check to see if the program is GNU ld. I'd rather use --version,
12137 # but apparently some variants of GNU ld only accept -v.
12138 # Break only if it was the GNU/non-GNU ld that we prefer.
12139 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12140 *GNU* | *'with BFD'*)
12141 test "$with_gnu_ld" != no && break
12144 test "$with_gnu_ld" != yes && break
12146 esac
12148 done
12149 IFS="$lt_save_ifs"
12150 else
12151 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12155 LD="$lt_cv_path_LD"
12156 if test -n "$LD"; then
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12158 $as_echo "$LD" >&6; }
12159 else
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12161 $as_echo "no" >&6; }
12163 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12165 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12166 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12167 $as_echo_n "(cached) " >&6
12168 else
12169 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12170 case `$LD -v 2>&1 </dev/null` in
12171 *GNU* | *'with BFD'*)
12172 lt_cv_prog_gnu_ld=yes
12175 lt_cv_prog_gnu_ld=no
12177 esac
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12180 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12181 with_gnu_ld=$lt_cv_prog_gnu_ld
12189 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12190 # archiving commands below assume that GNU ld is being used.
12191 if test "$with_gnu_ld" = yes; then
12192 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12193 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12195 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12196 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12198 # If archive_cmds runs LD, not CC, wlarc should be empty
12199 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12200 # investigate it a little bit more. (MM)
12201 wlarc='${wl}'
12203 # ancient GNU ld didn't support --whole-archive et. al.
12204 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12205 $GREP 'no-whole-archive' > /dev/null; then
12206 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12207 else
12208 whole_archive_flag_spec_CXX=
12210 else
12211 with_gnu_ld=no
12212 wlarc=
12214 # A generic and very simple default shared library creation
12215 # command for GNU C++ for the case where it uses the native
12216 # linker, instead of GNU ld. If possible, this setting should
12217 # overridden to take advantage of the native linker features on
12218 # the platform it is being used on.
12219 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12222 # Commands to make compiler produce verbose output that lists
12223 # what "hidden" libraries, object files and flags are used when
12224 # linking a shared library.
12225 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12227 else
12228 GXX=no
12229 with_gnu_ld=no
12230 wlarc=
12233 # PORTME: fill in a description of your system's C++ link characteristics
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12235 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12236 ld_shlibs_CXX=yes
12237 case $host_os in
12238 aix3*)
12239 # FIXME: insert proper C++ library support
12240 ld_shlibs_CXX=no
12242 aix[4-9]*)
12243 if test "$host_cpu" = ia64; then
12244 # On IA64, the linker does run time linking by default, so we don't
12245 # have to do anything special.
12246 aix_use_runtimelinking=no
12247 exp_sym_flag='-Bexport'
12248 no_entry_flag=""
12249 else
12250 aix_use_runtimelinking=no
12252 # Test if we are trying to use run time linking or normal
12253 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12254 # need to do runtime linking.
12255 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12256 for ld_flag in $LDFLAGS; do
12257 case $ld_flag in
12258 *-brtl*)
12259 aix_use_runtimelinking=yes
12260 break
12262 esac
12263 done
12265 esac
12267 exp_sym_flag='-bexport'
12268 no_entry_flag='-bnoentry'
12271 # When large executables or shared objects are built, AIX ld can
12272 # have problems creating the table of contents. If linking a library
12273 # or program results in "error TOC overflow" add -mminimal-toc to
12274 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12275 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12277 archive_cmds_CXX=''
12278 hardcode_direct_CXX=yes
12279 hardcode_direct_absolute_CXX=yes
12280 hardcode_libdir_separator_CXX=':'
12281 link_all_deplibs_CXX=yes
12282 file_list_spec_CXX='${wl}-f,'
12284 if test "$GXX" = yes; then
12285 case $host_os in aix4.[012]|aix4.[012].*)
12286 # We only want to do this on AIX 4.2 and lower, the check
12287 # below for broken collect2 doesn't work under 4.3+
12288 collect2name=`${CC} -print-prog-name=collect2`
12289 if test -f "$collect2name" &&
12290 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12291 then
12292 # We have reworked collect2
12294 else
12295 # We have old collect2
12296 hardcode_direct_CXX=unsupported
12297 # It fails to find uninstalled libraries when the uninstalled
12298 # path is not listed in the libpath. Setting hardcode_minus_L
12299 # to unsupported forces relinking
12300 hardcode_minus_L_CXX=yes
12301 hardcode_libdir_flag_spec_CXX='-L$libdir'
12302 hardcode_libdir_separator_CXX=
12304 esac
12305 shared_flag='-shared'
12306 if test "$aix_use_runtimelinking" = yes; then
12307 shared_flag="$shared_flag "'${wl}-G'
12309 else
12310 # not using gcc
12311 if test "$host_cpu" = ia64; then
12312 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12313 # chokes on -Wl,-G. The following line is correct:
12314 shared_flag='-G'
12315 else
12316 if test "$aix_use_runtimelinking" = yes; then
12317 shared_flag='${wl}-G'
12318 else
12319 shared_flag='${wl}-bM:SRE'
12324 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12325 # It seems that -bexpall does not export symbols beginning with
12326 # underscore (_), so it is better to generate a list of symbols to
12327 # export.
12328 always_export_symbols_CXX=yes
12329 if test "$aix_use_runtimelinking" = yes; then
12330 # Warning - without using the other runtime loading flags (-brtl),
12331 # -berok will link without error, but may produce a broken library.
12332 allow_undefined_flag_CXX='-berok'
12333 # Determine the default libpath from the value encoded in an empty
12334 # executable.
12335 if test x$gcc_no_link = xyes; then
12336 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12339 /* end confdefs.h. */
12342 main ()
12346 return 0;
12348 _ACEOF
12349 if ac_fn_cxx_try_link "$LINENO"; then :
12351 lt_aix_libpath_sed='
12352 /Import File Strings/,/^$/ {
12353 /^0/ {
12354 s/^0 *\(.*\)$/\1/
12358 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12359 # Check for a 64-bit object if we didn't find anything.
12360 if test -z "$aix_libpath"; then
12361 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12364 rm -f core conftest.err conftest.$ac_objext \
12365 conftest$ac_exeext conftest.$ac_ext
12366 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12368 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12370 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12371 else
12372 if test "$host_cpu" = ia64; then
12373 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12374 allow_undefined_flag_CXX="-z nodefs"
12375 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
12376 else
12377 # Determine the default libpath from the value encoded in an
12378 # empty executable.
12379 if test x$gcc_no_link = xyes; then
12380 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12383 /* end confdefs.h. */
12386 main ()
12390 return 0;
12392 _ACEOF
12393 if ac_fn_cxx_try_link "$LINENO"; then :
12395 lt_aix_libpath_sed='
12396 /Import File Strings/,/^$/ {
12397 /^0/ {
12398 s/^0 *\(.*\)$/\1/
12402 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12403 # Check for a 64-bit object if we didn't find anything.
12404 if test -z "$aix_libpath"; then
12405 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12408 rm -f core conftest.err conftest.$ac_objext \
12409 conftest$ac_exeext conftest.$ac_ext
12410 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12412 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12413 # Warning - without using the other run time loading flags,
12414 # -berok will link without error, but may produce a broken library.
12415 no_undefined_flag_CXX=' ${wl}-bernotok'
12416 allow_undefined_flag_CXX=' ${wl}-berok'
12417 if test "$with_gnu_ld" = yes; then
12418 # We only use this code for GNU lds that support --whole-archive.
12419 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12420 else
12421 # Exported symbols can be pulled into shared objects from archives
12422 whole_archive_flag_spec_CXX='$convenience'
12424 archive_cmds_need_lc_CXX=yes
12425 # This is similar to how AIX traditionally builds its shared
12426 # libraries.
12427 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12432 beos*)
12433 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12434 allow_undefined_flag_CXX=unsupported
12435 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12436 # support --undefined. This deserves some investigation. FIXME
12437 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12438 else
12439 ld_shlibs_CXX=no
12443 chorus*)
12444 case $cc_basename in
12446 # FIXME: insert proper C++ library support
12447 ld_shlibs_CXX=no
12449 esac
12452 cygwin* | mingw* | pw32* | cegcc*)
12453 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12454 # as there is no search path for DLLs.
12455 hardcode_libdir_flag_spec_CXX='-L$libdir'
12456 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12457 allow_undefined_flag_CXX=unsupported
12458 always_export_symbols_CXX=no
12459 enable_shared_with_static_runtimes_CXX=yes
12461 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12462 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12463 # If the export-symbols file already is a .def file (1st line
12464 # is EXPORTS), use it as is; otherwise, prepend...
12465 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12466 cp $export_symbols $output_objdir/$soname.def;
12467 else
12468 echo EXPORTS > $output_objdir/$soname.def;
12469 cat $export_symbols >> $output_objdir/$soname.def;
12471 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12472 else
12473 ld_shlibs_CXX=no
12476 darwin* | rhapsody*)
12479 archive_cmds_need_lc_CXX=no
12480 hardcode_direct_CXX=no
12481 hardcode_automatic_CXX=yes
12482 hardcode_shlibpath_var_CXX=unsupported
12483 if test "$lt_cv_ld_force_load" = "yes"; then
12484 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
12485 else
12486 whole_archive_flag_spec_CXX=''
12488 link_all_deplibs_CXX=yes
12489 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12490 case $cc_basename in
12491 ifort*) _lt_dar_can_shared=yes ;;
12492 *) _lt_dar_can_shared=$GCC ;;
12493 esac
12494 if test "$_lt_dar_can_shared" = "yes"; then
12495 output_verbose_link_cmd=func_echo_all
12496 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12497 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12498 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12499 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12500 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12501 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12502 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12505 else
12506 ld_shlibs_CXX=no
12511 dgux*)
12512 case $cc_basename in
12513 ec++*)
12514 # FIXME: insert proper C++ library support
12515 ld_shlibs_CXX=no
12517 ghcx*)
12518 # Green Hills C++ Compiler
12519 # FIXME: insert proper C++ library support
12520 ld_shlibs_CXX=no
12523 # FIXME: insert proper C++ library support
12524 ld_shlibs_CXX=no
12526 esac
12529 freebsd2.*)
12530 # C++ shared libraries reported to be fairly broken before
12531 # switch to ELF
12532 ld_shlibs_CXX=no
12535 freebsd-elf*)
12536 archive_cmds_need_lc_CXX=no
12539 freebsd* | dragonfly*)
12540 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12541 # conventions
12542 ld_shlibs_CXX=yes
12545 gnu*)
12548 haiku*)
12549 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12550 link_all_deplibs_CXX=yes
12553 hpux9*)
12554 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12555 hardcode_libdir_separator_CXX=:
12556 export_dynamic_flag_spec_CXX='${wl}-E'
12557 hardcode_direct_CXX=yes
12558 hardcode_minus_L_CXX=yes # Not in the search PATH,
12559 # but as the default
12560 # location of the library.
12562 case $cc_basename in
12563 CC*)
12564 # FIXME: insert proper C++ library support
12565 ld_shlibs_CXX=no
12567 aCC*)
12568 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12569 # Commands to make compiler produce verbose output that lists
12570 # what "hidden" libraries, object files and flags are used when
12571 # linking a shared library.
12573 # There doesn't appear to be a way to prevent this compiler from
12574 # explicitly linking system object files so we need to strip them
12575 # from the output so that they don't get included in the library
12576 # dependencies.
12577 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12580 if test "$GXX" = yes; then
12581 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12582 else
12583 # FIXME: insert proper C++ library support
12584 ld_shlibs_CXX=no
12587 esac
12590 hpux10*|hpux11*)
12591 if test $with_gnu_ld = no; then
12592 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12593 hardcode_libdir_separator_CXX=:
12595 case $host_cpu in
12596 hppa*64*|ia64*)
12599 export_dynamic_flag_spec_CXX='${wl}-E'
12601 esac
12603 case $host_cpu in
12604 hppa*64*|ia64*)
12605 hardcode_direct_CXX=no
12606 hardcode_shlibpath_var_CXX=no
12609 hardcode_direct_CXX=yes
12610 hardcode_direct_absolute_CXX=yes
12611 hardcode_minus_L_CXX=yes # Not in the search PATH,
12612 # but as the default
12613 # location of the library.
12615 esac
12617 case $cc_basename in
12618 CC*)
12619 # FIXME: insert proper C++ library support
12620 ld_shlibs_CXX=no
12622 aCC*)
12623 case $host_cpu in
12624 hppa*64*)
12625 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12627 ia64*)
12628 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12631 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12633 esac
12634 # Commands to make compiler produce verbose output that lists
12635 # what "hidden" libraries, object files and flags are used when
12636 # linking a shared library.
12638 # There doesn't appear to be a way to prevent this compiler from
12639 # explicitly linking system object files so we need to strip them
12640 # from the output so that they don't get included in the library
12641 # dependencies.
12642 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12645 if test "$GXX" = yes; then
12646 if test $with_gnu_ld = no; then
12647 case $host_cpu in
12648 hppa*64*)
12649 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12651 ia64*)
12652 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12655 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12657 esac
12659 else
12660 # FIXME: insert proper C++ library support
12661 ld_shlibs_CXX=no
12664 esac
12667 interix[3-9]*)
12668 hardcode_direct_CXX=no
12669 hardcode_shlibpath_var_CXX=no
12670 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12671 export_dynamic_flag_spec_CXX='${wl}-E'
12672 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12673 # Instead, shared libraries are loaded at an image base (0x10000000 by
12674 # default) and relocated if they conflict, which is a slow very memory
12675 # consuming and fragmenting process. To avoid this, we pick a random,
12676 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12677 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12678 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12679 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12681 irix5* | irix6*)
12682 case $cc_basename in
12683 CC*)
12684 # SGI C++
12685 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12687 # Archives containing C++ object files must be created using
12688 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12689 # necessary to make sure instantiated templates are included
12690 # in the archive.
12691 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12694 if test "$GXX" = yes; then
12695 if test "$with_gnu_ld" = no; then
12696 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12697 else
12698 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
12701 link_all_deplibs_CXX=yes
12703 esac
12704 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12705 hardcode_libdir_separator_CXX=:
12706 inherit_rpath_CXX=yes
12709 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12710 case $cc_basename in
12711 KCC*)
12712 # Kuck and Associates, Inc. (KAI) C++ Compiler
12714 # KCC will only create a shared library if the output file
12715 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12716 # to its proper name (with version) after linking.
12717 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12718 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12719 # Commands to make compiler produce verbose output that lists
12720 # what "hidden" libraries, object files and flags are used when
12721 # linking a shared library.
12723 # There doesn't appear to be a way to prevent this compiler from
12724 # explicitly linking system object files so we need to strip them
12725 # from the output so that they don't get included in the library
12726 # dependencies.
12727 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12729 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12730 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12732 # Archives containing C++ object files must be created using
12733 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12734 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12736 icpc* | ecpc* )
12737 # Intel C++
12738 with_gnu_ld=yes
12739 # version 8.0 and above of icpc choke on multiply defined symbols
12740 # if we add $predep_objects and $postdep_objects, however 7.1 and
12741 # earlier do not add the objects themselves.
12742 case `$CC -V 2>&1` in
12743 *"Version 7."*)
12744 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12745 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12747 *) # Version 8.0 or newer
12748 tmp_idyn=
12749 case $host_cpu in
12750 ia64*) tmp_idyn=' -i_dynamic';;
12751 esac
12752 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12753 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12755 esac
12756 archive_cmds_need_lc_CXX=no
12757 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12758 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12759 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12761 pgCC* | pgcpp*)
12762 # Portland Group C++ compiler
12763 case `$CC -V` in
12764 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12765 prelink_cmds_CXX='tpldir=Template.dir~
12766 rm -rf $tpldir~
12767 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12768 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12769 old_archive_cmds_CXX='tpldir=Template.dir~
12770 rm -rf $tpldir~
12771 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12772 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12773 $RANLIB $oldlib'
12774 archive_cmds_CXX='tpldir=Template.dir~
12775 rm -rf $tpldir~
12776 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12777 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12778 archive_expsym_cmds_CXX='tpldir=Template.dir~
12779 rm -rf $tpldir~
12780 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12781 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12783 *) # Version 6 and above use weak symbols
12784 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12785 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12787 esac
12789 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12790 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12791 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12793 cxx*)
12794 # Compaq C++
12795 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12796 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12798 runpath_var=LD_RUN_PATH
12799 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12800 hardcode_libdir_separator_CXX=:
12802 # Commands to make compiler produce verbose output that lists
12803 # what "hidden" libraries, object files and flags are used when
12804 # linking a shared library.
12806 # There doesn't appear to be a way to prevent this compiler from
12807 # explicitly linking system object files so we need to strip them
12808 # from the output so that they don't get included in the library
12809 # dependencies.
12810 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
12812 xl* | mpixl* | bgxl*)
12813 # IBM XL 8.0 on PPC, with GNU ld
12814 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12815 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12816 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12817 if test "x$supports_anon_versioning" = xyes; then
12818 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12819 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12820 echo "local: *; };" >> $output_objdir/$libname.ver~
12821 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12825 case `$CC -V 2>&1 | sed 5q` in
12826 *Sun\ C*)
12827 # Sun C++ 5.9
12828 no_undefined_flag_CXX=' -zdefs'
12829 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12830 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12831 hardcode_libdir_flag_spec_CXX='-R$libdir'
12832 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12833 compiler_needs_object_CXX=yes
12835 # Not sure whether something based on
12836 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12837 # would be better.
12838 output_verbose_link_cmd='func_echo_all'
12840 # Archives containing C++ object files must be created using
12841 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12842 # necessary to make sure instantiated templates are included
12843 # in the archive.
12844 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12846 esac
12848 esac
12851 lynxos*)
12852 # FIXME: insert proper C++ library support
12853 ld_shlibs_CXX=no
12856 m88k*)
12857 # FIXME: insert proper C++ library support
12858 ld_shlibs_CXX=no
12861 mvs*)
12862 case $cc_basename in
12863 cxx*)
12864 # FIXME: insert proper C++ library support
12865 ld_shlibs_CXX=no
12868 # FIXME: insert proper C++ library support
12869 ld_shlibs_CXX=no
12871 esac
12874 netbsd*)
12875 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12876 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12877 wlarc=
12878 hardcode_libdir_flag_spec_CXX='-R$libdir'
12879 hardcode_direct_CXX=yes
12880 hardcode_shlibpath_var_CXX=no
12882 # Workaround some broken pre-1.5 toolchains
12883 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12886 *nto* | *qnx*)
12887 ld_shlibs_CXX=yes
12890 openbsd2*)
12891 # C++ shared libraries are fairly broken
12892 ld_shlibs_CXX=no
12895 openbsd*)
12896 if test -f /usr/libexec/ld.so; then
12897 hardcode_direct_CXX=yes
12898 hardcode_shlibpath_var_CXX=no
12899 hardcode_direct_absolute_CXX=yes
12900 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12901 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12902 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12903 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12904 export_dynamic_flag_spec_CXX='${wl}-E'
12905 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12907 output_verbose_link_cmd=func_echo_all
12908 else
12909 ld_shlibs_CXX=no
12913 osf3* | osf4* | osf5*)
12914 case $cc_basename in
12915 KCC*)
12916 # Kuck and Associates, Inc. (KAI) C++ Compiler
12918 # KCC will only create a shared library if the output file
12919 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12920 # to its proper name (with version) after linking.
12921 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12923 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12924 hardcode_libdir_separator_CXX=:
12926 # Archives containing C++ object files must be created using
12927 # the KAI C++ compiler.
12928 case $host in
12929 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12930 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12931 esac
12933 RCC*)
12934 # Rational C++ 2.4.1
12935 # FIXME: insert proper C++ library support
12936 ld_shlibs_CXX=no
12938 cxx*)
12939 case $host in
12940 osf3*)
12941 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12942 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12943 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12946 allow_undefined_flag_CXX=' -expect_unresolved \*'
12947 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12948 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12949 echo "-hidden">> $lib.exp~
12950 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
12951 $RM $lib.exp'
12952 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12954 esac
12956 hardcode_libdir_separator_CXX=:
12958 # Commands to make compiler produce verbose output that lists
12959 # what "hidden" libraries, object files and flags are used when
12960 # linking a shared library.
12962 # There doesn't appear to be a way to prevent this compiler from
12963 # explicitly linking system object files so we need to strip them
12964 # from the output so that they don't get included in the library
12965 # dependencies.
12966 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12969 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12970 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12971 case $host in
12972 osf3*)
12973 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12976 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12978 esac
12980 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12981 hardcode_libdir_separator_CXX=:
12983 # Commands to make compiler produce verbose output that lists
12984 # what "hidden" libraries, object files and flags are used when
12985 # linking a shared library.
12986 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12988 else
12989 # FIXME: insert proper C++ library support
12990 ld_shlibs_CXX=no
12993 esac
12996 psos*)
12997 # FIXME: insert proper C++ library support
12998 ld_shlibs_CXX=no
13001 sunos4*)
13002 case $cc_basename in
13003 CC*)
13004 # Sun C++ 4.x
13005 # FIXME: insert proper C++ library support
13006 ld_shlibs_CXX=no
13008 lcc*)
13009 # Lucid
13010 # FIXME: insert proper C++ library support
13011 ld_shlibs_CXX=no
13014 # FIXME: insert proper C++ library support
13015 ld_shlibs_CXX=no
13017 esac
13020 solaris*)
13021 case $cc_basename in
13022 CC*)
13023 # Sun C++ 4.2, 5.x and Centerline C++
13024 archive_cmds_need_lc_CXX=yes
13025 no_undefined_flag_CXX=' -zdefs'
13026 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13027 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13028 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13030 hardcode_libdir_flag_spec_CXX='-R$libdir'
13031 hardcode_shlibpath_var_CXX=no
13032 case $host_os in
13033 solaris2.[0-5] | solaris2.[0-5].*) ;;
13035 # The compiler driver will combine and reorder linker options,
13036 # but understands `-z linker_flag'.
13037 # Supported since Solaris 2.6 (maybe 2.5.1?)
13038 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13040 esac
13041 link_all_deplibs_CXX=yes
13043 output_verbose_link_cmd='func_echo_all'
13045 # Archives containing C++ object files must be created using
13046 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13047 # necessary to make sure instantiated templates are included
13048 # in the archive.
13049 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13051 gcx*)
13052 # Green Hills C++ Compiler
13053 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13055 # The C++ compiler must be used to create the archive.
13056 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13059 # GNU C++ compiler with Solaris linker
13060 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13061 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13062 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13063 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13064 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13065 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13067 # Commands to make compiler produce verbose output that lists
13068 # what "hidden" libraries, object files and flags are used when
13069 # linking a shared library.
13070 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13071 else
13072 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13073 # platform.
13074 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13075 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13076 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13078 # Commands to make compiler produce verbose output that lists
13079 # what "hidden" libraries, object files and flags are used when
13080 # linking a shared library.
13081 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13084 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13085 case $host_os in
13086 solaris2.[0-5] | solaris2.[0-5].*) ;;
13088 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13090 esac
13093 esac
13096 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13097 no_undefined_flag_CXX='${wl}-z,text'
13098 archive_cmds_need_lc_CXX=no
13099 hardcode_shlibpath_var_CXX=no
13100 runpath_var='LD_RUN_PATH'
13102 case $cc_basename in
13103 CC*)
13104 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13105 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13108 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13109 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13111 esac
13114 sysv5* | sco3.2v5* | sco5v6*)
13115 # Note: We can NOT use -z defs as we might desire, because we do not
13116 # link with -lc, and that would cause any symbols used from libc to
13117 # always be unresolved, which means just about no library would
13118 # ever link correctly. If we're not using GNU ld we use -z text
13119 # though, which does catch some bad symbols but isn't as heavy-handed
13120 # as -z defs.
13121 no_undefined_flag_CXX='${wl}-z,text'
13122 allow_undefined_flag_CXX='${wl}-z,nodefs'
13123 archive_cmds_need_lc_CXX=no
13124 hardcode_shlibpath_var_CXX=no
13125 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13126 hardcode_libdir_separator_CXX=':'
13127 link_all_deplibs_CXX=yes
13128 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13129 runpath_var='LD_RUN_PATH'
13131 case $cc_basename in
13132 CC*)
13133 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13134 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13135 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13136 '"$old_archive_cmds_CXX"
13137 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13138 '"$reload_cmds_CXX"
13141 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13142 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13144 esac
13147 tandem*)
13148 case $cc_basename in
13149 NCC*)
13150 # NonStop-UX NCC 3.20
13151 # FIXME: insert proper C++ library support
13152 ld_shlibs_CXX=no
13155 # FIXME: insert proper C++ library support
13156 ld_shlibs_CXX=no
13158 esac
13161 vxworks*)
13162 # FIXME: insert proper C++ library support
13163 ld_shlibs_CXX=no
13167 # FIXME: insert proper C++ library support
13168 ld_shlibs_CXX=no
13170 esac
13172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13173 $as_echo "$ld_shlibs_CXX" >&6; }
13174 test "$ld_shlibs_CXX" = no && can_build_shared=no
13176 GCC_CXX="$GXX"
13177 LD_CXX="$LD"
13179 ## CAVEAT EMPTOR:
13180 ## There is no encapsulation within the following macros, do not change
13181 ## the running order or otherwise move them around unless you know exactly
13182 ## what you are doing...
13183 # Dependencies to place before and after the object being linked:
13184 predep_objects_CXX=
13185 postdep_objects_CXX=
13186 predeps_CXX=
13187 postdeps_CXX=
13188 compiler_lib_search_path_CXX=
13190 cat > conftest.$ac_ext <<_LT_EOF
13191 class Foo
13193 public:
13194 Foo (void) { a = 0; }
13195 private:
13196 int a;
13198 _LT_EOF
13200 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13201 (eval $ac_compile) 2>&5
13202 ac_status=$?
13203 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13204 test $ac_status = 0; }; then
13205 # Parse the compiler output and extract the necessary
13206 # objects, libraries and library flags.
13208 # Sentinel used to keep track of whether or not we are before
13209 # the conftest object file.
13210 pre_test_object_deps_done=no
13212 for p in `eval "$output_verbose_link_cmd"`; do
13213 case $p in
13215 -L* | -R* | -l*)
13216 # Some compilers place space between "-{L,R}" and the path.
13217 # Remove the space.
13218 if test $p = "-L" ||
13219 test $p = "-R"; then
13220 prev=$p
13221 continue
13222 else
13223 prev=
13226 if test "$pre_test_object_deps_done" = no; then
13227 case $p in
13228 -L* | -R*)
13229 # Internal compiler library paths should come after those
13230 # provided the user. The postdeps already come after the
13231 # user supplied libs so there is no need to process them.
13232 if test -z "$compiler_lib_search_path_CXX"; then
13233 compiler_lib_search_path_CXX="${prev}${p}"
13234 else
13235 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13238 # The "-l" case would never come before the object being
13239 # linked, so don't bother handling this case.
13240 esac
13241 else
13242 if test -z "$postdeps_CXX"; then
13243 postdeps_CXX="${prev}${p}"
13244 else
13245 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13250 *.$objext)
13251 # This assumes that the test object file only shows up
13252 # once in the compiler output.
13253 if test "$p" = "conftest.$objext"; then
13254 pre_test_object_deps_done=yes
13255 continue
13258 if test "$pre_test_object_deps_done" = no; then
13259 if test -z "$predep_objects_CXX"; then
13260 predep_objects_CXX="$p"
13261 else
13262 predep_objects_CXX="$predep_objects_CXX $p"
13264 else
13265 if test -z "$postdep_objects_CXX"; then
13266 postdep_objects_CXX="$p"
13267 else
13268 postdep_objects_CXX="$postdep_objects_CXX $p"
13273 *) ;; # Ignore the rest.
13275 esac
13276 done
13278 # Clean up.
13279 rm -f a.out a.exe
13280 else
13281 echo "libtool.m4: error: problem compiling CXX test program"
13284 $RM -f confest.$objext
13286 # PORTME: override above test on systems where it is broken
13287 case $host_os in
13288 interix[3-9]*)
13289 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13290 # hack all around it, let's just trust "g++" to DTRT.
13291 predep_objects_CXX=
13292 postdep_objects_CXX=
13293 postdeps_CXX=
13296 linux*)
13297 case `$CC -V 2>&1 | sed 5q` in
13298 *Sun\ C*)
13299 # Sun C++ 5.9
13301 # The more standards-conforming stlport4 library is
13302 # incompatible with the Cstd library. Avoid specifying
13303 # it if it's in CXXFLAGS. Ignore libCrun as
13304 # -library=stlport4 depends on it.
13305 case " $CXX $CXXFLAGS " in
13306 *" -library=stlport4 "*)
13307 solaris_use_stlport4=yes
13309 esac
13311 if test "$solaris_use_stlport4" != yes; then
13312 postdeps_CXX='-library=Cstd -library=Crun'
13315 esac
13318 solaris*)
13319 case $cc_basename in
13320 CC*)
13321 # The more standards-conforming stlport4 library is
13322 # incompatible with the Cstd library. Avoid specifying
13323 # it if it's in CXXFLAGS. Ignore libCrun as
13324 # -library=stlport4 depends on it.
13325 case " $CXX $CXXFLAGS " in
13326 *" -library=stlport4 "*)
13327 solaris_use_stlport4=yes
13329 esac
13331 # Adding this requires a known-good setup of shared libraries for
13332 # Sun compiler versions before 5.6, else PIC objects from an old
13333 # archive will be linked into the output, leading to subtle bugs.
13334 if test "$solaris_use_stlport4" != yes; then
13335 postdeps_CXX='-library=Cstd -library=Crun'
13338 esac
13340 esac
13343 case " $postdeps_CXX " in
13344 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13345 esac
13346 compiler_lib_search_dirs_CXX=
13347 if test -n "${compiler_lib_search_path_CXX}"; then
13348 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13381 lt_prog_compiler_wl_CXX=
13382 lt_prog_compiler_pic_CXX=
13383 lt_prog_compiler_static_CXX=
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13386 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13388 # C++ specific cases for pic, static, wl, etc.
13389 if test "$GXX" = yes; then
13390 lt_prog_compiler_wl_CXX='-Wl,'
13391 lt_prog_compiler_static_CXX='-static'
13393 case $host_os in
13394 aix*)
13395 # All AIX code is PIC.
13396 if test "$host_cpu" = ia64; then
13397 # AIX 5 now supports IA64 processor
13398 lt_prog_compiler_static_CXX='-Bstatic'
13402 amigaos*)
13403 case $host_cpu in
13404 powerpc)
13405 # see comment about AmigaOS4 .so support
13406 lt_prog_compiler_pic_CXX='-fPIC'
13408 m68k)
13409 # FIXME: we need at least 68020 code to build shared libraries, but
13410 # adding the `-m68020' flag to GCC prevents building anything better,
13411 # like `-m68040'.
13412 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13414 esac
13417 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13418 # PIC is the default for these OSes.
13420 mingw* | cygwin* | os2* | pw32* | cegcc*)
13421 # This hack is so that the source file can tell whether it is being
13422 # built for inclusion in a dll (and should export symbols for example).
13423 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13424 # (--disable-auto-import) libraries
13425 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13427 darwin* | rhapsody*)
13428 # PIC is the default on this platform
13429 # Common symbols not allowed in MH_DYLIB files
13430 lt_prog_compiler_pic_CXX='-fno-common'
13432 *djgpp*)
13433 # DJGPP does not support shared libraries at all
13434 lt_prog_compiler_pic_CXX=
13436 haiku*)
13437 # PIC is the default for Haiku.
13438 # The "-static" flag exists, but is broken.
13439 lt_prog_compiler_static_CXX=
13441 interix[3-9]*)
13442 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13443 # Instead, we relocate shared libraries at runtime.
13445 sysv4*MP*)
13446 if test -d /usr/nec; then
13447 lt_prog_compiler_pic_CXX=-Kconform_pic
13450 hpux*)
13451 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13452 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13453 # sets the default TLS model and affects inlining.
13454 case $host_cpu in
13455 hppa*64*)
13458 lt_prog_compiler_pic_CXX='-fPIC'
13460 esac
13462 *qnx* | *nto*)
13463 # QNX uses GNU C++, but need to define -shared option too, otherwise
13464 # it will coredump.
13465 lt_prog_compiler_pic_CXX='-fPIC -shared'
13468 lt_prog_compiler_pic_CXX='-fPIC'
13470 esac
13471 else
13472 case $host_os in
13473 aix[4-9]*)
13474 # All AIX code is PIC.
13475 if test "$host_cpu" = ia64; then
13476 # AIX 5 now supports IA64 processor
13477 lt_prog_compiler_static_CXX='-Bstatic'
13478 else
13479 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13482 chorus*)
13483 case $cc_basename in
13484 cxch68*)
13485 # Green Hills C++ Compiler
13486 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13488 esac
13490 dgux*)
13491 case $cc_basename in
13492 ec++*)
13493 lt_prog_compiler_pic_CXX='-KPIC'
13495 ghcx*)
13496 # Green Hills C++ Compiler
13497 lt_prog_compiler_pic_CXX='-pic'
13501 esac
13503 freebsd* | dragonfly*)
13504 # FreeBSD uses GNU C++
13506 hpux9* | hpux10* | hpux11*)
13507 case $cc_basename in
13508 CC*)
13509 lt_prog_compiler_wl_CXX='-Wl,'
13510 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13511 if test "$host_cpu" != ia64; then
13512 lt_prog_compiler_pic_CXX='+Z'
13515 aCC*)
13516 lt_prog_compiler_wl_CXX='-Wl,'
13517 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13518 case $host_cpu in
13519 hppa*64*|ia64*)
13520 # +Z the default
13523 lt_prog_compiler_pic_CXX='+Z'
13525 esac
13529 esac
13531 interix*)
13532 # This is c89, which is MS Visual C++ (no shared libs)
13533 # Anyone wants to do a port?
13535 irix5* | irix6* | nonstopux*)
13536 case $cc_basename in
13537 CC*)
13538 lt_prog_compiler_wl_CXX='-Wl,'
13539 lt_prog_compiler_static_CXX='-non_shared'
13540 # CC pic flag -KPIC is the default.
13544 esac
13546 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13547 case $cc_basename in
13548 KCC*)
13549 # KAI C++ Compiler
13550 lt_prog_compiler_wl_CXX='--backend -Wl,'
13551 lt_prog_compiler_pic_CXX='-fPIC'
13553 ecpc* )
13554 # old Intel C++ for x86_64 which still supported -KPIC.
13555 lt_prog_compiler_wl_CXX='-Wl,'
13556 lt_prog_compiler_pic_CXX='-KPIC'
13557 lt_prog_compiler_static_CXX='-static'
13559 icpc* )
13560 # Intel C++, used to be incompatible with GCC.
13561 # ICC 10 doesn't accept -KPIC any more.
13562 lt_prog_compiler_wl_CXX='-Wl,'
13563 lt_prog_compiler_pic_CXX='-fPIC'
13564 lt_prog_compiler_static_CXX='-static'
13566 pgCC* | pgcpp*)
13567 # Portland Group C++ compiler
13568 lt_prog_compiler_wl_CXX='-Wl,'
13569 lt_prog_compiler_pic_CXX='-fpic'
13570 lt_prog_compiler_static_CXX='-Bstatic'
13572 cxx*)
13573 # Compaq C++
13574 # Make sure the PIC flag is empty. It appears that all Alpha
13575 # Linux and Compaq Tru64 Unix objects are PIC.
13576 lt_prog_compiler_pic_CXX=
13577 lt_prog_compiler_static_CXX='-non_shared'
13579 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13580 # IBM XL 8.0, 9.0 on PPC and BlueGene
13581 lt_prog_compiler_wl_CXX='-Wl,'
13582 lt_prog_compiler_pic_CXX='-qpic'
13583 lt_prog_compiler_static_CXX='-qstaticlink'
13586 case `$CC -V 2>&1 | sed 5q` in
13587 *Sun\ C*)
13588 # Sun C++ 5.9
13589 lt_prog_compiler_pic_CXX='-KPIC'
13590 lt_prog_compiler_static_CXX='-Bstatic'
13591 lt_prog_compiler_wl_CXX='-Qoption ld '
13593 esac
13595 esac
13597 lynxos*)
13599 m88k*)
13601 mvs*)
13602 case $cc_basename in
13603 cxx*)
13604 lt_prog_compiler_pic_CXX='-W c,exportall'
13608 esac
13610 netbsd*)
13612 *qnx* | *nto*)
13613 # QNX uses GNU C++, but need to define -shared option too, otherwise
13614 # it will coredump.
13615 lt_prog_compiler_pic_CXX='-fPIC -shared'
13617 osf3* | osf4* | osf5*)
13618 case $cc_basename in
13619 KCC*)
13620 lt_prog_compiler_wl_CXX='--backend -Wl,'
13622 RCC*)
13623 # Rational C++ 2.4.1
13624 lt_prog_compiler_pic_CXX='-pic'
13626 cxx*)
13627 # Digital/Compaq C++
13628 lt_prog_compiler_wl_CXX='-Wl,'
13629 # Make sure the PIC flag is empty. It appears that all Alpha
13630 # Linux and Compaq Tru64 Unix objects are PIC.
13631 lt_prog_compiler_pic_CXX=
13632 lt_prog_compiler_static_CXX='-non_shared'
13636 esac
13638 psos*)
13640 solaris*)
13641 case $cc_basename in
13642 CC*)
13643 # Sun C++ 4.2, 5.x and Centerline C++
13644 lt_prog_compiler_pic_CXX='-KPIC'
13645 lt_prog_compiler_static_CXX='-Bstatic'
13646 lt_prog_compiler_wl_CXX='-Qoption ld '
13648 gcx*)
13649 # Green Hills C++ Compiler
13650 lt_prog_compiler_pic_CXX='-PIC'
13654 esac
13656 sunos4*)
13657 case $cc_basename in
13658 CC*)
13659 # Sun C++ 4.x
13660 lt_prog_compiler_pic_CXX='-pic'
13661 lt_prog_compiler_static_CXX='-Bstatic'
13663 lcc*)
13664 # Lucid
13665 lt_prog_compiler_pic_CXX='-pic'
13669 esac
13671 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13672 case $cc_basename in
13673 CC*)
13674 lt_prog_compiler_wl_CXX='-Wl,'
13675 lt_prog_compiler_pic_CXX='-KPIC'
13676 lt_prog_compiler_static_CXX='-Bstatic'
13678 esac
13680 tandem*)
13681 case $cc_basename in
13682 NCC*)
13683 # NonStop-UX NCC 3.20
13684 lt_prog_compiler_pic_CXX='-KPIC'
13688 esac
13690 vxworks*)
13693 lt_prog_compiler_can_build_shared_CXX=no
13695 esac
13698 case $host_os in
13699 # For platforms which do not support PIC, -DPIC is meaningless:
13700 *djgpp*)
13701 lt_prog_compiler_pic_CXX=
13704 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13706 esac
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13708 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13713 # Check to make sure the PIC flag actually works.
13715 if test -n "$lt_prog_compiler_pic_CXX"; then
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13717 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13718 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13719 $as_echo_n "(cached) " >&6
13720 else
13721 lt_cv_prog_compiler_pic_works_CXX=no
13722 ac_outfile=conftest.$ac_objext
13723 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13724 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13725 # Insert the option either (1) after the last *FLAGS variable, or
13726 # (2) before a word containing "conftest.", or (3) at the end.
13727 # Note that $ac_compile itself does not contain backslashes and begins
13728 # with a dollar sign (not a hyphen), so the echo should work correctly.
13729 # The option is referenced via a variable to avoid confusing sed.
13730 lt_compile=`echo "$ac_compile" | $SED \
13731 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13732 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13733 -e 's:$: $lt_compiler_flag:'`
13734 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13735 (eval "$lt_compile" 2>conftest.err)
13736 ac_status=$?
13737 cat conftest.err >&5
13738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13739 if (exit $ac_status) && test -s "$ac_outfile"; then
13740 # The compiler can only warn and ignore the option if not recognized
13741 # So say no if there are warnings other than the usual output.
13742 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13743 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13744 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13745 lt_cv_prog_compiler_pic_works_CXX=yes
13748 $RM conftest*
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13752 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13754 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13755 case $lt_prog_compiler_pic_CXX in
13756 "" | " "*) ;;
13757 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13758 esac
13759 else
13760 lt_prog_compiler_pic_CXX=
13761 lt_prog_compiler_can_build_shared_CXX=no
13769 # Check to make sure the static flag actually works.
13771 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13773 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13774 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13775 $as_echo_n "(cached) " >&6
13776 else
13777 lt_cv_prog_compiler_static_works_CXX=no
13778 save_LDFLAGS="$LDFLAGS"
13779 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13780 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13781 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13782 # The linker can only warn and ignore the option if not recognized
13783 # So say no if there are warnings
13784 if test -s conftest.err; then
13785 # Append any errors to the config.log.
13786 cat conftest.err 1>&5
13787 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13788 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13789 if diff conftest.exp conftest.er2 >/dev/null; then
13790 lt_cv_prog_compiler_static_works_CXX=yes
13792 else
13793 lt_cv_prog_compiler_static_works_CXX=yes
13796 $RM -r conftest*
13797 LDFLAGS="$save_LDFLAGS"
13800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13801 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13803 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13805 else
13806 lt_prog_compiler_static_CXX=
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13813 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13814 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13815 $as_echo_n "(cached) " >&6
13816 else
13817 lt_cv_prog_compiler_c_o_CXX=no
13818 $RM -r conftest 2>/dev/null
13819 mkdir conftest
13820 cd conftest
13821 mkdir out
13822 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13824 lt_compiler_flag="-o out/conftest2.$ac_objext"
13825 # Insert the option either (1) after the last *FLAGS variable, or
13826 # (2) before a word containing "conftest.", or (3) at the end.
13827 # Note that $ac_compile itself does not contain backslashes and begins
13828 # with a dollar sign (not a hyphen), so the echo should work correctly.
13829 lt_compile=`echo "$ac_compile" | $SED \
13830 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13831 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13832 -e 's:$: $lt_compiler_flag:'`
13833 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13834 (eval "$lt_compile" 2>out/conftest.err)
13835 ac_status=$?
13836 cat out/conftest.err >&5
13837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13838 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13839 then
13840 # The compiler can only warn and ignore the option if not recognized
13841 # So say no if there are warnings
13842 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13843 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13844 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13845 lt_cv_prog_compiler_c_o_CXX=yes
13848 chmod u+w . 2>&5
13849 $RM conftest*
13850 # SGI C++ compiler will create directory out/ii_files/ for
13851 # template instantiation
13852 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13853 $RM out/* && rmdir out
13854 cd ..
13855 $RM -r conftest
13856 $RM conftest*
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13860 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13865 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13866 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13867 $as_echo_n "(cached) " >&6
13868 else
13869 lt_cv_prog_compiler_c_o_CXX=no
13870 $RM -r conftest 2>/dev/null
13871 mkdir conftest
13872 cd conftest
13873 mkdir out
13874 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13876 lt_compiler_flag="-o out/conftest2.$ac_objext"
13877 # Insert the option either (1) after the last *FLAGS variable, or
13878 # (2) before a word containing "conftest.", or (3) at the end.
13879 # Note that $ac_compile itself does not contain backslashes and begins
13880 # with a dollar sign (not a hyphen), so the echo should work correctly.
13881 lt_compile=`echo "$ac_compile" | $SED \
13882 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13883 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13884 -e 's:$: $lt_compiler_flag:'`
13885 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13886 (eval "$lt_compile" 2>out/conftest.err)
13887 ac_status=$?
13888 cat out/conftest.err >&5
13889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13890 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13891 then
13892 # The compiler can only warn and ignore the option if not recognized
13893 # So say no if there are warnings
13894 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13895 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13896 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13897 lt_cv_prog_compiler_c_o_CXX=yes
13900 chmod u+w . 2>&5
13901 $RM conftest*
13902 # SGI C++ compiler will create directory out/ii_files/ for
13903 # template instantiation
13904 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13905 $RM out/* && rmdir out
13906 cd ..
13907 $RM -r conftest
13908 $RM conftest*
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13912 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13917 hard_links="nottested"
13918 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13919 # do not overwrite the value of need_locks provided by the user
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13921 $as_echo_n "checking if we can lock with hard links... " >&6; }
13922 hard_links=yes
13923 $RM conftest*
13924 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13925 touch conftest.a
13926 ln conftest.a conftest.b 2>&5 || hard_links=no
13927 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13929 $as_echo "$hard_links" >&6; }
13930 if test "$hard_links" = no; then
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13932 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13933 need_locks=warn
13935 else
13936 need_locks=no
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13942 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13944 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13945 case $host_os in
13946 aix[4-9]*)
13947 # If we're using GNU nm, then we don't want the "-C" option.
13948 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13949 # Also, AIX nm treats weak defined symbols like other global defined
13950 # symbols, whereas GNU nm marks them as "W".
13951 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13952 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13953 else
13954 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13957 pw32*)
13958 export_symbols_cmds_CXX="$ltdll_cmds"
13960 cygwin* | mingw* | cegcc*)
13961 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
13964 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13966 esac
13967 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13970 $as_echo "$ld_shlibs_CXX" >&6; }
13971 test "$ld_shlibs_CXX" = no && can_build_shared=no
13973 with_gnu_ld_CXX=$with_gnu_ld
13981 # Do we need to explicitly link libc?
13983 case "x$archive_cmds_need_lc_CXX" in
13984 x|xyes)
13985 # Assume -lc should be added
13986 archive_cmds_need_lc_CXX=yes
13988 if test "$enable_shared" = yes && test "$GCC" = yes; then
13989 case $archive_cmds_CXX in
13990 *'~'*)
13991 # FIXME: we may have to deal with multi-command sequences.
13993 '$CC '*)
13994 # Test whether the compiler implicitly links with -lc since on some
13995 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13996 # to ld, don't add -lc before -lgcc.
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13998 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13999 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14000 $as_echo_n "(cached) " >&6
14001 else
14002 $RM conftest*
14003 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14005 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14006 (eval $ac_compile) 2>&5
14007 ac_status=$?
14008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14009 test $ac_status = 0; } 2>conftest.err; then
14010 soname=conftest
14011 lib=conftest
14012 libobjs=conftest.$ac_objext
14013 deplibs=
14014 wl=$lt_prog_compiler_wl_CXX
14015 pic_flag=$lt_prog_compiler_pic_CXX
14016 compiler_flags=-v
14017 linker_flags=-v
14018 verstring=
14019 output_objdir=.
14020 libname=conftest
14021 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14022 allow_undefined_flag_CXX=
14023 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14024 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14025 ac_status=$?
14026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14027 test $ac_status = 0; }
14028 then
14029 lt_cv_archive_cmds_need_lc_CXX=no
14030 else
14031 lt_cv_archive_cmds_need_lc_CXX=yes
14033 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14034 else
14035 cat conftest.err 1>&5
14037 $RM conftest*
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14041 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14042 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14044 esac
14047 esac
14112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14113 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14115 library_names_spec=
14116 libname_spec='lib$name'
14117 soname_spec=
14118 shrext_cmds=".so"
14119 postinstall_cmds=
14120 postuninstall_cmds=
14121 finish_cmds=
14122 finish_eval=
14123 shlibpath_var=
14124 shlibpath_overrides_runpath=unknown
14125 version_type=none
14126 dynamic_linker="$host_os ld.so"
14127 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14128 need_lib_prefix=unknown
14129 hardcode_into_libs=no
14131 # when you set need_version to no, make sure it does not cause -set_version
14132 # flags to be left without arguments
14133 need_version=unknown
14135 case $host_os in
14136 aix3*)
14137 version_type=linux
14138 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14139 shlibpath_var=LIBPATH
14141 # AIX 3 has no versioning support, so we append a major version to the name.
14142 soname_spec='${libname}${release}${shared_ext}$major'
14145 aix[4-9]*)
14146 version_type=linux
14147 need_lib_prefix=no
14148 need_version=no
14149 hardcode_into_libs=yes
14150 if test "$host_cpu" = ia64; then
14151 # AIX 5 supports IA64
14152 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14153 shlibpath_var=LD_LIBRARY_PATH
14154 else
14155 # With GCC up to 2.95.x, collect2 would create an import file
14156 # for dependence libraries. The import file would start with
14157 # the line `#! .'. This would cause the generated library to
14158 # depend on `.', always an invalid library. This was fixed in
14159 # development snapshots of GCC prior to 3.0.
14160 case $host_os in
14161 aix4 | aix4.[01] | aix4.[01].*)
14162 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14163 echo ' yes '
14164 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14166 else
14167 can_build_shared=no
14170 esac
14171 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14172 # soname into executable. Probably we can add versioning support to
14173 # collect2, so additional links can be useful in future.
14174 if test "$aix_use_runtimelinking" = yes; then
14175 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14176 # instead of lib<name>.a to let people know that these are not
14177 # typical AIX shared libraries.
14178 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14179 else
14180 # We preserve .a as extension for shared libraries through AIX4.2
14181 # and later when we are not doing run time linking.
14182 library_names_spec='${libname}${release}.a $libname.a'
14183 soname_spec='${libname}${release}${shared_ext}$major'
14185 shlibpath_var=LIBPATH
14189 amigaos*)
14190 case $host_cpu in
14191 powerpc)
14192 # Since July 2007 AmigaOS4 officially supports .so libraries.
14193 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14194 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14196 m68k)
14197 library_names_spec='$libname.ixlibrary $libname.a'
14198 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14199 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14201 esac
14204 beos*)
14205 library_names_spec='${libname}${shared_ext}'
14206 dynamic_linker="$host_os ld.so"
14207 shlibpath_var=LIBRARY_PATH
14210 bsdi[45]*)
14211 version_type=linux
14212 need_version=no
14213 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14214 soname_spec='${libname}${release}${shared_ext}$major'
14215 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14216 shlibpath_var=LD_LIBRARY_PATH
14217 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14218 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14219 # the default ld.so.conf also contains /usr/contrib/lib and
14220 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14221 # libtool to hard-code these into programs
14224 cygwin* | mingw* | pw32* | cegcc*)
14225 version_type=windows
14226 shrext_cmds=".dll"
14227 need_version=no
14228 need_lib_prefix=no
14230 case $GCC,$host_os in
14231 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14232 library_names_spec='$libname.dll.a'
14233 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14234 postinstall_cmds='base_file=`basename \${file}`~
14235 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14236 dldir=$destdir/`dirname \$dlpath`~
14237 test -d \$dldir || mkdir -p \$dldir~
14238 $install_prog $dir/$dlname \$dldir/$dlname~
14239 chmod a+x \$dldir/$dlname~
14240 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14241 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14243 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14244 dlpath=$dir/\$dldll~
14245 $RM \$dlpath'
14246 shlibpath_overrides_runpath=yes
14248 case $host_os in
14249 cygwin*)
14250 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14251 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14254 mingw* | cegcc*)
14255 # MinGW DLLs use traditional 'lib' prefix
14256 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14258 pw32*)
14259 # pw32 DLLs use 'pw' prefix rather than 'lib'
14260 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14262 esac
14266 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14268 esac
14269 dynamic_linker='Win32 ld.exe'
14270 # FIXME: first we should search . and the directory the executable is in
14271 shlibpath_var=PATH
14274 darwin* | rhapsody*)
14275 dynamic_linker="$host_os dyld"
14276 version_type=darwin
14277 need_lib_prefix=no
14278 need_version=no
14279 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14280 soname_spec='${libname}${release}${major}$shared_ext'
14281 shlibpath_overrides_runpath=yes
14282 shlibpath_var=DYLD_LIBRARY_PATH
14283 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14285 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14288 dgux*)
14289 version_type=linux
14290 need_lib_prefix=no
14291 need_version=no
14292 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14293 soname_spec='${libname}${release}${shared_ext}$major'
14294 shlibpath_var=LD_LIBRARY_PATH
14297 freebsd* | dragonfly*)
14298 # DragonFly does not have aout. When/if they implement a new
14299 # versioning mechanism, adjust this.
14300 if test -x /usr/bin/objformat; then
14301 objformat=`/usr/bin/objformat`
14302 else
14303 case $host_os in
14304 freebsd[23].*) objformat=aout ;;
14305 *) objformat=elf ;;
14306 esac
14308 version_type=freebsd-$objformat
14309 case $version_type in
14310 freebsd-elf*)
14311 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14312 need_version=no
14313 need_lib_prefix=no
14315 freebsd-*)
14316 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14317 need_version=yes
14319 esac
14320 shlibpath_var=LD_LIBRARY_PATH
14321 case $host_os in
14322 freebsd2.*)
14323 shlibpath_overrides_runpath=yes
14325 freebsd3.[01]* | freebsdelf3.[01]*)
14326 shlibpath_overrides_runpath=yes
14327 hardcode_into_libs=yes
14329 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14330 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14331 shlibpath_overrides_runpath=no
14332 hardcode_into_libs=yes
14334 *) # from 4.6 on, and DragonFly
14335 shlibpath_overrides_runpath=yes
14336 hardcode_into_libs=yes
14338 esac
14341 gnu*)
14342 version_type=linux
14343 need_lib_prefix=no
14344 need_version=no
14345 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14346 soname_spec='${libname}${release}${shared_ext}$major'
14347 shlibpath_var=LD_LIBRARY_PATH
14348 hardcode_into_libs=yes
14351 haiku*)
14352 version_type=linux
14353 need_lib_prefix=no
14354 need_version=no
14355 dynamic_linker="$host_os runtime_loader"
14356 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14357 soname_spec='${libname}${release}${shared_ext}$major'
14358 shlibpath_var=LIBRARY_PATH
14359 shlibpath_overrides_runpath=yes
14360 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14361 hardcode_into_libs=yes
14364 hpux9* | hpux10* | hpux11*)
14365 # Give a soname corresponding to the major version so that dld.sl refuses to
14366 # link against other versions.
14367 version_type=sunos
14368 need_lib_prefix=no
14369 need_version=no
14370 case $host_cpu in
14371 ia64*)
14372 shrext_cmds='.so'
14373 hardcode_into_libs=yes
14374 dynamic_linker="$host_os dld.so"
14375 shlibpath_var=LD_LIBRARY_PATH
14376 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14377 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14378 soname_spec='${libname}${release}${shared_ext}$major'
14379 if test "X$HPUX_IA64_MODE" = X32; then
14380 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14381 else
14382 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14384 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14386 hppa*64*)
14387 shrext_cmds='.sl'
14388 hardcode_into_libs=yes
14389 dynamic_linker="$host_os dld.sl"
14390 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14391 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14392 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14393 soname_spec='${libname}${release}${shared_ext}$major'
14394 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14395 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14398 shrext_cmds='.sl'
14399 dynamic_linker="$host_os dld.sl"
14400 shlibpath_var=SHLIB_PATH
14401 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14402 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14403 soname_spec='${libname}${release}${shared_ext}$major'
14405 esac
14406 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14407 postinstall_cmds='chmod 555 $lib'
14408 # or fails outright, so override atomically:
14409 install_override_mode=555
14412 interix[3-9]*)
14413 version_type=linux
14414 need_lib_prefix=no
14415 need_version=no
14416 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14417 soname_spec='${libname}${release}${shared_ext}$major'
14418 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14419 shlibpath_var=LD_LIBRARY_PATH
14420 shlibpath_overrides_runpath=no
14421 hardcode_into_libs=yes
14424 irix5* | irix6* | nonstopux*)
14425 case $host_os in
14426 nonstopux*) version_type=nonstopux ;;
14428 if test "$lt_cv_prog_gnu_ld" = yes; then
14429 version_type=linux
14430 else
14431 version_type=irix
14432 fi ;;
14433 esac
14434 need_lib_prefix=no
14435 need_version=no
14436 soname_spec='${libname}${release}${shared_ext}$major'
14437 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14438 case $host_os in
14439 irix5* | nonstopux*)
14440 libsuff= shlibsuff=
14443 case $LD in # libtool.m4 will add one of these switches to LD
14444 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14445 libsuff= shlibsuff= libmagic=32-bit;;
14446 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14447 libsuff=32 shlibsuff=N32 libmagic=N32;;
14448 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14449 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14450 *) libsuff= shlibsuff= libmagic=never-match;;
14451 esac
14453 esac
14454 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14455 shlibpath_overrides_runpath=no
14456 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14457 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14458 hardcode_into_libs=yes
14461 # No shared lib support for Linux oldld, aout, or coff.
14462 linux*oldld* | linux*aout* | linux*coff*)
14463 dynamic_linker=no
14466 # This must be Linux ELF.
14467 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14468 version_type=linux
14469 need_lib_prefix=no
14470 need_version=no
14471 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14472 soname_spec='${libname}${release}${shared_ext}$major'
14473 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14474 shlibpath_var=LD_LIBRARY_PATH
14475 shlibpath_overrides_runpath=no
14477 # Some binutils ld are patched to set DT_RUNPATH
14478 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14479 $as_echo_n "(cached) " >&6
14480 else
14481 lt_cv_shlibpath_overrides_runpath=no
14482 save_LDFLAGS=$LDFLAGS
14483 save_libdir=$libdir
14484 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14485 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14486 if test x$gcc_no_link = xyes; then
14487 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14490 /* end confdefs.h. */
14493 main ()
14497 return 0;
14499 _ACEOF
14500 if ac_fn_cxx_try_link "$LINENO"; then :
14501 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14502 lt_cv_shlibpath_overrides_runpath=yes
14505 rm -f core conftest.err conftest.$ac_objext \
14506 conftest$ac_exeext conftest.$ac_ext
14507 LDFLAGS=$save_LDFLAGS
14508 libdir=$save_libdir
14512 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14514 # This implies no fast_install, which is unacceptable.
14515 # Some rework will be needed to allow for fast_install
14516 # before this can be enabled.
14517 hardcode_into_libs=yes
14519 # Append ld.so.conf contents to the search path
14520 if test -f /etc/ld.so.conf; then
14521 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
14522 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14525 # We used to test for /lib/ld.so.1 and disable shared libraries on
14526 # powerpc, because MkLinux only supported shared libraries with the
14527 # GNU dynamic linker. Since this was broken with cross compilers,
14528 # most powerpc-linux boxes support dynamic linking these days and
14529 # people can always --disable-shared, the test was removed, and we
14530 # assume the GNU/Linux dynamic linker is in use.
14531 dynamic_linker='GNU/Linux ld.so'
14534 netbsd*)
14535 version_type=sunos
14536 need_lib_prefix=no
14537 need_version=no
14538 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14539 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14540 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14541 dynamic_linker='NetBSD (a.out) ld.so'
14542 else
14543 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14544 soname_spec='${libname}${release}${shared_ext}$major'
14545 dynamic_linker='NetBSD ld.elf_so'
14547 shlibpath_var=LD_LIBRARY_PATH
14548 shlibpath_overrides_runpath=yes
14549 hardcode_into_libs=yes
14552 newsos6)
14553 version_type=linux
14554 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14555 shlibpath_var=LD_LIBRARY_PATH
14556 shlibpath_overrides_runpath=yes
14559 *nto* | *qnx*)
14560 version_type=qnx
14561 need_lib_prefix=no
14562 need_version=no
14563 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14564 soname_spec='${libname}${release}${shared_ext}$major'
14565 shlibpath_var=LD_LIBRARY_PATH
14566 shlibpath_overrides_runpath=no
14567 hardcode_into_libs=yes
14568 dynamic_linker='ldqnx.so'
14571 openbsd*)
14572 version_type=sunos
14573 sys_lib_dlsearch_path_spec="/usr/lib"
14574 need_lib_prefix=no
14575 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14576 case $host_os in
14577 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14578 *) need_version=no ;;
14579 esac
14580 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14581 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14582 shlibpath_var=LD_LIBRARY_PATH
14583 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14584 case $host_os in
14585 openbsd2.[89] | openbsd2.[89].*)
14586 shlibpath_overrides_runpath=no
14589 shlibpath_overrides_runpath=yes
14591 esac
14592 else
14593 shlibpath_overrides_runpath=yes
14597 os2*)
14598 libname_spec='$name'
14599 shrext_cmds=".dll"
14600 need_lib_prefix=no
14601 library_names_spec='$libname${shared_ext} $libname.a'
14602 dynamic_linker='OS/2 ld.exe'
14603 shlibpath_var=LIBPATH
14606 osf3* | osf4* | osf5*)
14607 version_type=osf
14608 need_lib_prefix=no
14609 need_version=no
14610 soname_spec='${libname}${release}${shared_ext}$major'
14611 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14612 shlibpath_var=LD_LIBRARY_PATH
14613 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14614 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14617 rdos*)
14618 dynamic_linker=no
14621 solaris*)
14622 version_type=linux
14623 need_lib_prefix=no
14624 need_version=no
14625 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14626 soname_spec='${libname}${release}${shared_ext}$major'
14627 shlibpath_var=LD_LIBRARY_PATH
14628 shlibpath_overrides_runpath=yes
14629 hardcode_into_libs=yes
14630 # ldd complains unless libraries are executable
14631 postinstall_cmds='chmod +x $lib'
14634 sunos4*)
14635 version_type=sunos
14636 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14637 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14638 shlibpath_var=LD_LIBRARY_PATH
14639 shlibpath_overrides_runpath=yes
14640 if test "$with_gnu_ld" = yes; then
14641 need_lib_prefix=no
14643 need_version=yes
14646 sysv4 | sysv4.3*)
14647 version_type=linux
14648 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14649 soname_spec='${libname}${release}${shared_ext}$major'
14650 shlibpath_var=LD_LIBRARY_PATH
14651 case $host_vendor in
14652 sni)
14653 shlibpath_overrides_runpath=no
14654 need_lib_prefix=no
14655 runpath_var=LD_RUN_PATH
14657 siemens)
14658 need_lib_prefix=no
14660 motorola)
14661 need_lib_prefix=no
14662 need_version=no
14663 shlibpath_overrides_runpath=no
14664 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14666 esac
14669 sysv4*MP*)
14670 if test -d /usr/nec ;then
14671 version_type=linux
14672 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14673 soname_spec='$libname${shared_ext}.$major'
14674 shlibpath_var=LD_LIBRARY_PATH
14678 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14679 version_type=freebsd-elf
14680 need_lib_prefix=no
14681 need_version=no
14682 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14683 soname_spec='${libname}${release}${shared_ext}$major'
14684 shlibpath_var=LD_LIBRARY_PATH
14685 shlibpath_overrides_runpath=yes
14686 hardcode_into_libs=yes
14687 if test "$with_gnu_ld" = yes; then
14688 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14689 else
14690 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14691 case $host_os in
14692 sco3.2v5*)
14693 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14695 esac
14697 sys_lib_dlsearch_path_spec='/usr/lib'
14700 tpf*)
14701 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14702 version_type=linux
14703 need_lib_prefix=no
14704 need_version=no
14705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14706 shlibpath_var=LD_LIBRARY_PATH
14707 shlibpath_overrides_runpath=no
14708 hardcode_into_libs=yes
14711 uts4*)
14712 version_type=linux
14713 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14714 soname_spec='${libname}${release}${shared_ext}$major'
14715 shlibpath_var=LD_LIBRARY_PATH
14719 dynamic_linker=no
14721 esac
14722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14723 $as_echo "$dynamic_linker" >&6; }
14724 test "$dynamic_linker" = no && can_build_shared=no
14726 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14727 if test "$GCC" = yes; then
14728 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14731 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14732 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14734 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14735 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14776 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14777 hardcode_action_CXX=
14778 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14779 test -n "$runpath_var_CXX" ||
14780 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14782 # We can hardcode non-existent directories.
14783 if test "$hardcode_direct_CXX" != no &&
14784 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14785 # have to relink, otherwise we might link with an installed library
14786 # when we should be linking with a yet-to-be-installed one
14787 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14788 test "$hardcode_minus_L_CXX" != no; then
14789 # Linking always hardcodes the temporary library directory.
14790 hardcode_action_CXX=relink
14791 else
14792 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14793 hardcode_action_CXX=immediate
14795 else
14796 # We cannot hardcode anything, or else we can only hardcode existing
14797 # directories.
14798 hardcode_action_CXX=unsupported
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14801 $as_echo "$hardcode_action_CXX" >&6; }
14803 if test "$hardcode_action_CXX" = relink ||
14804 test "$inherit_rpath_CXX" = yes; then
14805 # Fast installation is not supported
14806 enable_fast_install=no
14807 elif test "$shlibpath_overrides_runpath" = yes ||
14808 test "$enable_shared" = no; then
14809 # Fast installation is not necessary
14810 enable_fast_install=needless
14819 fi # test -n "$compiler"
14821 CC=$lt_save_CC
14822 LDCXX=$LD
14823 LD=$lt_save_LD
14824 GCC=$lt_save_GCC
14825 with_gnu_ld=$lt_save_with_gnu_ld
14826 lt_cv_path_LDCXX=$lt_cv_path_LD
14827 lt_cv_path_LD=$lt_save_path_LD
14828 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14829 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14830 fi # test "$_lt_caught_CXX_error" != yes
14832 ac_ext=c
14833 ac_cpp='$CPP $CPPFLAGS'
14834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14850 ac_config_commands="$ac_config_commands libtool"
14855 # Only expand once:
14861 case $host in
14862 *-cygwin* | *-mingw*)
14863 # 'host' will be top-level target in the case of a target lib,
14864 # we must compare to with_cross_host to decide if this is a native
14865 # or cross-compiler and select where to install dlls appropriately.
14866 if test -n "$with_cross_host" &&
14867 test x"$with_cross_host" != x"no"; then
14868 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14869 else
14870 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14874 lt_host_flags=
14876 esac
14883 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14884 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14886 # Possibly disable most of the library.
14887 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14888 ## than just ignoring the results. Faster /and/ more correct, win win.
14890 # Check whether --enable-hosted-libstdcxx was given.
14891 if test "${enable_hosted_libstdcxx+set}" = set; then :
14892 enableval=$enable_hosted_libstdcxx;
14893 else
14894 case "$host" in
14895 arm*-*-symbianelf*)
14896 enable_hosted_libstdcxx=no
14899 enable_hosted_libstdcxx=yes
14901 esac
14904 if test "$enable_hosted_libstdcxx" = no; then
14905 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14906 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14907 is_hosted=no
14908 hosted_define=0
14909 enable_abi_check=no
14910 enable_libstdcxx_pch=no
14911 else
14912 is_hosted=yes
14913 hosted_define=1
14917 cat >>confdefs.h <<_ACEOF
14918 #define _GLIBCXX_HOSTED $hosted_define
14919 _ACEOF
14923 # Enable compiler support that doesn't require linking.
14925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14926 $as_echo_n "checking for exception model to use... " >&6; }
14928 ac_ext=cpp
14929 ac_cpp='$CXXCPP $CPPFLAGS'
14930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14934 # Check whether --enable-sjlj-exceptions was given.
14935 if test "${enable_sjlj_exceptions+set}" = set; then :
14936 enableval=$enable_sjlj_exceptions;
14937 case "$enableval" in
14938 yes|no|auto) ;;
14939 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
14940 esac
14942 else
14943 enable_sjlj_exceptions=auto
14948 if test $enable_sjlj_exceptions = auto; then
14949 # Botheration. Now we've got to detect the exception model. Link tests
14950 # against libgcc.a are problematic since we've not been given proper -L
14951 # bits for single-tree newlib and libgloss.
14953 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
14954 cat > conftest.$ac_ext << EOF
14955 #line 14955 "configure"
14956 struct S { ~S(); };
14957 void bar();
14958 void foo()
14960 S s;
14961 bar();
14964 old_CXXFLAGS="$CXXFLAGS"
14965 CXXFLAGS=-S
14966 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14967 (eval $ac_compile) 2>&5
14968 ac_status=$?
14969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14970 test $ac_status = 0; }; then
14971 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14972 enable_sjlj_exceptions=yes
14973 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14974 enable_sjlj_exceptions=no
14975 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14976 enable_sjlj_exceptions=no
14979 CXXFLAGS="$old_CXXFLAGS"
14980 rm -f conftest*
14983 # This is a tad weird, for hysterical raisins. We have to map
14984 # enable/disable to two different models.
14985 case $enable_sjlj_exceptions in
14986 yes)
14988 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
14990 ac_exception_model_name=sjlj
14993 ac_exception_model_name="call frame"
14996 as_fn_error "unable to detect exception model" "$LINENO" 5
14998 esac
14999 ac_ext=c
15000 ac_cpp='$CPP $CPPFLAGS'
15001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15006 $as_echo "$ac_exception_model_name" >&6; }
15009 # Check whether --enable-libstdcxx-pch was given.
15010 if test "${enable_libstdcxx_pch+set}" = set; then :
15011 enableval=$enable_libstdcxx_pch;
15012 case "$enableval" in
15013 yes|no) ;;
15014 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15015 esac
15017 else
15018 enable_libstdcxx_pch=$is_hosted
15022 if test $enable_libstdcxx_pch = yes; then
15023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15024 $as_echo_n "checking for compiler with PCH support... " >&6; }
15025 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15026 $as_echo_n "(cached) " >&6
15027 else
15028 ac_save_CXXFLAGS="$CXXFLAGS"
15029 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15031 ac_ext=cpp
15032 ac_cpp='$CXXCPP $CPPFLAGS'
15033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15037 echo '#include <math.h>' > conftest.h
15038 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15039 -o conftest.h.gch 1>&5 2>&1 &&
15040 echo '#error "pch failed"' > conftest.h &&
15041 echo '#include "conftest.h"' > conftest.cc &&
15042 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15043 then
15044 glibcxx_cv_prog_CXX_pch=yes
15045 else
15046 glibcxx_cv_prog_CXX_pch=no
15048 rm -f conftest*
15049 CXXFLAGS=$ac_save_CXXFLAGS
15050 ac_ext=c
15051 ac_cpp='$CPP $CPPFLAGS'
15052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15059 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15060 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15064 $as_echo_n "checking for enabled PCH... " >&6; }
15065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15066 $as_echo "$enable_libstdcxx_pch" >&6; }
15069 if test $enable_libstdcxx_pch = yes; then
15070 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15071 else
15072 glibcxx_PCHFLAGS=""
15077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15078 $as_echo_n "checking for thread model used by GCC... " >&6; }
15079 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15081 $as_echo "$target_thread_file" >&6; }
15085 ac_ext=cpp
15086 ac_cpp='$CXXCPP $CPPFLAGS'
15087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15091 old_CXXFLAGS="$CXXFLAGS"
15093 # Do link tests if possible, instead asm tests, limited to some platforms
15094 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15095 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15096 atomic_builtins_link_tests=no
15097 if test x$gcc_no_link != xyes; then
15098 # Can do link tests. Limit to some tested platforms
15099 case "$host" in
15100 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15101 atomic_builtins_link_tests=yes
15103 esac
15106 if test x$atomic_builtins_link_tests = xyes; then
15108 # Do link tests.
15110 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15113 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15114 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15115 $as_echo_n "(cached) " >&6
15116 else
15118 if test x$gcc_no_link = xyes; then
15119 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15122 /* end confdefs.h. */
15125 main ()
15127 typedef bool atomic_type;
15128 atomic_type c1;
15129 atomic_type c2;
15130 const atomic_type c3(0);
15131 __sync_fetch_and_add(&c1, c2);
15132 __sync_val_compare_and_swap(&c1, c3, c2);
15133 __sync_lock_test_and_set(&c1, c3);
15134 __sync_lock_release(&c1);
15135 __sync_synchronize();
15137 return 0;
15139 _ACEOF
15140 if ac_fn_cxx_try_link "$LINENO"; then :
15141 glibcxx_cv_atomic_bool=yes
15142 else
15143 glibcxx_cv_atomic_bool=no
15145 rm -f core conftest.err conftest.$ac_objext \
15146 conftest$ac_exeext conftest.$ac_ext
15150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15151 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15154 $as_echo_n "checking for atomic builtins for short... " >&6; }
15155 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15156 $as_echo_n "(cached) " >&6
15157 else
15159 if test x$gcc_no_link = xyes; then
15160 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15163 /* end confdefs.h. */
15166 main ()
15168 typedef short atomic_type;
15169 atomic_type c1;
15170 atomic_type c2;
15171 const atomic_type c3(0);
15172 __sync_fetch_and_add(&c1, c2);
15173 __sync_val_compare_and_swap(&c1, c3, c2);
15174 __sync_lock_test_and_set(&c1, c3);
15175 __sync_lock_release(&c1);
15176 __sync_synchronize();
15178 return 0;
15180 _ACEOF
15181 if ac_fn_cxx_try_link "$LINENO"; then :
15182 glibcxx_cv_atomic_short=yes
15183 else
15184 glibcxx_cv_atomic_short=no
15186 rm -f core conftest.err conftest.$ac_objext \
15187 conftest$ac_exeext conftest.$ac_ext
15191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15192 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15195 $as_echo_n "checking for atomic builtins for int... " >&6; }
15196 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15197 $as_echo_n "(cached) " >&6
15198 else
15200 if test x$gcc_no_link = xyes; then
15201 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15204 /* end confdefs.h. */
15207 main ()
15209 typedef int atomic_type;
15210 atomic_type c1;
15211 atomic_type c2;
15212 const atomic_type c3(0);
15213 __sync_fetch_and_add(&c1, c2);
15214 __sync_val_compare_and_swap(&c1, c3, c2);
15215 __sync_lock_test_and_set(&c1, c3);
15216 __sync_lock_release(&c1);
15217 __sync_synchronize();
15219 return 0;
15221 _ACEOF
15222 if ac_fn_cxx_try_link "$LINENO"; then :
15223 glibcxx_cv_atomic_int=yes
15224 else
15225 glibcxx_cv_atomic_int=no
15227 rm -f core conftest.err conftest.$ac_objext \
15228 conftest$ac_exeext conftest.$ac_ext
15232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15233 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15236 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15237 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15238 $as_echo_n "(cached) " >&6
15239 else
15241 if test x$gcc_no_link = xyes; then
15242 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15245 /* end confdefs.h. */
15248 main ()
15250 typedef long long atomic_type;
15251 atomic_type c1;
15252 atomic_type c2;
15253 const atomic_type c3(0);
15254 __sync_fetch_and_add(&c1, c2);
15255 __sync_val_compare_and_swap(&c1, c3, c2);
15256 __sync_lock_test_and_set(&c1, c3);
15257 __sync_lock_release(&c1);
15258 __sync_synchronize();
15260 return 0;
15262 _ACEOF
15263 if ac_fn_cxx_try_link "$LINENO"; then :
15264 glibcxx_cv_atomic_long_long=yes
15265 else
15266 glibcxx_cv_atomic_long_long=no
15268 rm -f core conftest.err conftest.$ac_objext \
15269 conftest$ac_exeext conftest.$ac_ext
15273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15274 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15276 else
15278 # Do asm tests.
15280 # Compile unoptimized.
15281 CXXFLAGS='-O0 -S'
15283 # Fake what AC_TRY_COMPILE does.
15285 cat > conftest.$ac_ext << EOF
15286 #line 15286 "configure"
15287 int main()
15289 typedef bool atomic_type;
15290 atomic_type c1;
15291 atomic_type c2;
15292 const atomic_type c3(0);
15293 __sync_fetch_and_add(&c1, c2);
15294 __sync_val_compare_and_swap(&c1, c3, c2);
15295 __sync_lock_test_and_set(&c1, c3);
15296 __sync_lock_release(&c1);
15297 __sync_synchronize();
15298 return 0;
15302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15303 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15304 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15305 (eval $ac_compile) 2>&5
15306 ac_status=$?
15307 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15308 test $ac_status = 0; }; then
15309 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15310 glibcxx_cv_atomic_bool=no
15311 else
15312 glibcxx_cv_atomic_bool=yes
15315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15316 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15317 rm -f conftest*
15319 cat > conftest.$ac_ext << EOF
15320 #line 15320 "configure"
15321 int main()
15323 typedef short atomic_type;
15324 atomic_type c1;
15325 atomic_type c2;
15326 const atomic_type c3(0);
15327 __sync_fetch_and_add(&c1, c2);
15328 __sync_val_compare_and_swap(&c1, c3, c2);
15329 __sync_lock_test_and_set(&c1, c3);
15330 __sync_lock_release(&c1);
15331 __sync_synchronize();
15332 return 0;
15336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15337 $as_echo_n "checking for atomic builtins for short... " >&6; }
15338 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15339 (eval $ac_compile) 2>&5
15340 ac_status=$?
15341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15342 test $ac_status = 0; }; then
15343 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15344 glibcxx_cv_atomic_short=no
15345 else
15346 glibcxx_cv_atomic_short=yes
15349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15350 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15351 rm -f conftest*
15353 cat > conftest.$ac_ext << EOF
15354 #line 15354 "configure"
15355 int main()
15357 // NB: _Atomic_word not necessarily int.
15358 typedef int atomic_type;
15359 atomic_type c1;
15360 atomic_type c2;
15361 const atomic_type c3(0);
15362 __sync_fetch_and_add(&c1, c2);
15363 __sync_val_compare_and_swap(&c1, c3, c2);
15364 __sync_lock_test_and_set(&c1, c3);
15365 __sync_lock_release(&c1);
15366 __sync_synchronize();
15367 return 0;
15371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15372 $as_echo_n "checking for atomic builtins for int... " >&6; }
15373 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15374 (eval $ac_compile) 2>&5
15375 ac_status=$?
15376 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15377 test $ac_status = 0; }; then
15378 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15379 glibcxx_cv_atomic_int=no
15380 else
15381 glibcxx_cv_atomic_int=yes
15384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15385 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15386 rm -f conftest*
15388 cat > conftest.$ac_ext << EOF
15389 #line 15389 "configure"
15390 int main()
15392 typedef long long atomic_type;
15393 atomic_type c1;
15394 atomic_type c2;
15395 const atomic_type c3(0);
15396 __sync_fetch_and_add(&c1, c2);
15397 __sync_val_compare_and_swap(&c1, c3, c2);
15398 __sync_lock_test_and_set(&c1, c3);
15399 __sync_lock_release(&c1);
15400 __sync_synchronize();
15401 return 0;
15405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15406 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15407 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15408 (eval $ac_compile) 2>&5
15409 ac_status=$?
15410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15411 test $ac_status = 0; }; then
15412 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15413 glibcxx_cv_atomic_long_long=no
15414 else
15415 glibcxx_cv_atomic_long_long=yes
15418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15419 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15420 rm -f conftest*
15424 CXXFLAGS="$old_CXXFLAGS"
15425 ac_ext=c
15426 ac_cpp='$CPP $CPPFLAGS'
15427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15432 # Set atomicity_dir to builtins if either of above tests pass.
15433 if test $glibcxx_cv_atomic_int = yes || test $glibcxx_cv_atomic_bool = yes ; then
15435 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15437 atomicity_dir=cpu/generic/atomicity_builtins
15440 # If still generic, set to mutex.
15441 if test $atomicity_dir = "cpu/generic" ; then
15442 atomicity_dir=cpu/generic/atomicity_mutex
15443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15444 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15445 if test "x$target_thread_file" = xsingle; then
15446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15447 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15449 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15450 else
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15452 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15454 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15461 # Fake what AC_TRY_COMPILE does, without linking as this is
15462 # unnecessary for this test.
15464 cat > conftest.$ac_ext << EOF
15465 #line 15465 "configure"
15466 int main()
15468 _Decimal32 d1;
15469 _Decimal64 d2;
15470 _Decimal128 d3;
15471 return 0;
15475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15476 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15477 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15478 (eval $ac_compile) 2>&5
15479 ac_status=$?
15480 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15481 test $ac_status = 0; }; then
15483 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15485 enable_dfp=yes
15486 else
15487 enable_dfp=no
15489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15490 $as_echo "$enable_dfp" >&6; }
15491 rm -f conftest*
15496 ac_ext=cpp
15497 ac_cpp='$CXXCPP $CPPFLAGS'
15498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15503 # Fake what AC_TRY_COMPILE does, without linking as this is
15504 # unnecessary for this test.
15506 cat > conftest.$ac_ext << EOF
15507 #line 15507 "configure"
15508 template<typename T1, typename T2>
15509 struct same
15510 { typedef T2 type; };
15512 template<typename T>
15513 struct same<T, T>;
15515 int main()
15517 typename same<long, __int128>::type i1;
15518 typename same<long long, __int128>::type i2;
15522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15523 $as_echo_n "checking for __int128... " >&6; }
15524 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15525 (eval $ac_compile) 2>&5
15526 ac_status=$?
15527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15528 test $ac_status = 0; }; then
15530 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15532 enable_int128=yes
15533 else
15534 enable_int128=no
15536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15537 $as_echo "$enable_int128" >&6; }
15538 rm -f conftest*
15540 cat > conftest.$ac_ext << EOF
15541 #line 15541 "configure"
15542 template<typename T1, typename T2>
15543 struct same
15544 { typedef T2 type; };
15546 template<typename T>
15547 struct same<T, T>;
15549 int main()
15551 typename same<double, __float128>::type f1;
15552 typename same<long double, __float128>::type f2;
15556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15557 $as_echo_n "checking for __float128... " >&6; }
15558 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15559 (eval $ac_compile) 2>&5
15560 ac_status=$?
15561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15562 test $ac_status = 0; }; then
15564 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15566 enable_float128=yes
15567 else
15568 enable_float128=no
15570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15571 $as_echo "$enable_float128" >&6; }
15572 rm -f conftest*
15574 ac_ext=c
15575 ac_cpp='$CPP $CPPFLAGS'
15576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15582 # Checks for compiler support that doesn't require linking.
15584 # All these tests are for C++; save the language and the compiler flags.
15585 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15586 # found in GLIBCXX_CONFIGURE.
15588 ac_ext=cpp
15589 ac_cpp='$CXXCPP $CPPFLAGS'
15590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15594 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15595 ac_save_CXXFLAGS="$CXXFLAGS"
15597 # Check for maintainer-mode bits.
15598 if test x"$USE_MAINTAINER_MODE" = xno; then
15599 WERROR=''
15600 else
15601 WERROR='-Werror'
15604 # Check for -ffunction-sections -fdata-sections
15605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15606 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15607 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15609 /* end confdefs.h. */
15610 int foo; void bar() { };
15612 main ()
15616 return 0;
15618 _ACEOF
15619 if ac_fn_cxx_try_compile "$LINENO"; then :
15620 ac_fdsections=yes
15621 else
15622 ac_fdsections=no
15624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15625 if test "$ac_test_CXXFLAGS" = set; then
15626 CXXFLAGS="$ac_save_CXXFLAGS"
15627 else
15628 # this is the suspicious part
15629 CXXFLAGS=''
15631 if test x"$ac_fdsections" = x"yes"; then
15632 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15635 $as_echo "$ac_fdsections" >&6; }
15637 ac_ext=c
15638 ac_cpp='$CPP $CPPFLAGS'
15639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15647 # Enable all the variable C++ runtime options that don't require linking.
15649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15650 $as_echo_n "checking for underlying I/O to use... " >&6; }
15651 # Check whether --enable-cstdio was given.
15652 if test "${enable_cstdio+set}" = set; then :
15653 enableval=$enable_cstdio;
15654 case "$enableval" in
15655 stdio) ;;
15656 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15657 esac
15659 else
15660 enable_cstdio=stdio
15665 # Now that libio has been removed, you can have any color you want as long
15666 # as it's black. This is one big no-op until other packages are added, but
15667 # showing the framework never hurts.
15668 case ${enable_cstdio} in
15669 stdio)
15670 CSTDIO_H=config/io/c_io_stdio.h
15671 BASIC_FILE_H=config/io/basic_file_stdio.h
15672 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15674 $as_echo "stdio" >&6; }
15676 esac
15683 # Check whether --enable-clocale was given.
15684 if test "${enable_clocale+set}" = set; then :
15685 enableval=$enable_clocale;
15686 case "$enableval" in
15687 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15688 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15689 esac
15691 else
15692 enable_clocale=auto
15697 # Deal with gettext issues. Default to not using it (=no) until we detect
15698 # support for it later. Let the user turn it off via --e/d, but let that
15699 # default to on for easier handling.
15700 USE_NLS=no
15701 # Check whether --enable-nls was given.
15702 if test "${enable_nls+set}" = set; then :
15703 enableval=$enable_nls;
15704 else
15705 enable_nls=yes
15709 # Either a known package, or "auto"
15710 if test $enable_clocale = no || test $enable_clocale = yes; then
15711 enable_clocale=auto
15713 enable_clocale_flag=$enable_clocale
15715 # Probe for locale model to use if none specified.
15716 # Default to "generic".
15717 if test $enable_clocale_flag = auto; then
15718 case ${target_os} in
15719 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15720 enable_clocale_flag=gnu
15722 darwin* | freebsd*)
15723 enable_clocale_flag=darwin
15726 if test x"$with_newlib" = x"yes"; then
15727 enable_clocale_flag=newlib
15728 else
15729 enable_clocale_flag=generic
15732 esac
15735 # Sanity check model, and test for special functionality.
15736 if test $enable_clocale_flag = gnu; then
15737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15738 /* end confdefs.h. */
15740 #include <features.h>
15741 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15742 _GLIBCXX_ok
15743 #endif
15745 _ACEOF
15746 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15747 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15748 enable_clocale_flag=gnu
15749 else
15750 enable_clocale_flag=generic
15752 rm -f conftest*
15755 # Set it to scream when it hurts.
15756 ac_save_CFLAGS="$CFLAGS"
15757 CFLAGS="-Wimplicit-function-declaration -Werror"
15759 # Use strxfrm_l if available.
15760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15761 /* end confdefs.h. */
15762 #define _GNU_SOURCE 1
15763 #include <string.h>
15764 #include <locale.h>
15766 main ()
15768 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15770 return 0;
15772 _ACEOF
15773 if ac_fn_c_try_compile "$LINENO"; then :
15775 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15780 # Use strerror_l if available.
15781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15782 /* end confdefs.h. */
15783 #define _GNU_SOURCE 1
15784 #include <string.h>
15785 #include <locale.h>
15787 main ()
15789 __locale_t loc; strerror_l(5, loc);
15791 return 0;
15793 _ACEOF
15794 if ac_fn_c_try_compile "$LINENO"; then :
15796 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15801 CFLAGS="$ac_save_CFLAGS"
15804 # Perhaps use strerror_r if available, and strerror_l isn't.
15805 ac_save_CFLAGS="$CFLAGS"
15806 CFLAGS="-Wimplicit-function-declaration -Werror"
15807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15808 /* end confdefs.h. */
15809 #define _GNU_SOURCE 1
15810 #include <string.h>
15811 #include <locale.h>
15813 main ()
15815 char s[128]; strerror_r(5, s, 128);
15817 return 0;
15819 _ACEOF
15820 if ac_fn_c_try_compile "$LINENO"; then :
15822 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15826 CFLAGS="$ac_save_CFLAGS"
15828 # Set configure bits for specified locale package
15829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15830 $as_echo_n "checking for C locale to use... " >&6; }
15831 case ${enable_clocale_flag} in
15832 generic)
15833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15834 $as_echo "generic" >&6; }
15836 CLOCALE_H=config/locale/generic/c_locale.h
15837 CLOCALE_CC=config/locale/generic/c_locale.cc
15838 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15839 CCOLLATE_CC=config/locale/generic/collate_members.cc
15840 CCTYPE_CC=config/locale/generic/ctype_members.cc
15841 CMESSAGES_H=config/locale/generic/messages_members.h
15842 CMESSAGES_CC=config/locale/generic/messages_members.cc
15843 CMONEY_CC=config/locale/generic/monetary_members.cc
15844 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15845 CTIME_H=config/locale/generic/time_members.h
15846 CTIME_CC=config/locale/generic/time_members.cc
15847 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15849 darwin)
15850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15851 $as_echo "darwin or freebsd" >&6; }
15853 CLOCALE_H=config/locale/generic/c_locale.h
15854 CLOCALE_CC=config/locale/generic/c_locale.cc
15855 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15856 CCOLLATE_CC=config/locale/generic/collate_members.cc
15857 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15858 CMESSAGES_H=config/locale/generic/messages_members.h
15859 CMESSAGES_CC=config/locale/generic/messages_members.cc
15860 CMONEY_CC=config/locale/generic/monetary_members.cc
15861 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15862 CTIME_H=config/locale/generic/time_members.h
15863 CTIME_CC=config/locale/generic/time_members.cc
15864 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15867 gnu)
15868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15869 $as_echo "gnu" >&6; }
15871 # Declare intention to use gettext, and add support for specific
15872 # languages.
15873 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15874 ALL_LINGUAS="de fr"
15876 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15877 # Extract the first word of "msgfmt", so it can be a program name with args.
15878 set dummy msgfmt; ac_word=$2
15879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15880 $as_echo_n "checking for $ac_word... " >&6; }
15881 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15882 $as_echo_n "(cached) " >&6
15883 else
15884 if test -n "$check_msgfmt"; then
15885 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15886 else
15887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15888 for as_dir in $PATH
15890 IFS=$as_save_IFS
15891 test -z "$as_dir" && as_dir=.
15892 for ac_exec_ext in '' $ac_executable_extensions; do
15893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15894 ac_cv_prog_check_msgfmt="yes"
15895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15896 break 2
15898 done
15899 done
15900 IFS=$as_save_IFS
15902 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15905 check_msgfmt=$ac_cv_prog_check_msgfmt
15906 if test -n "$check_msgfmt"; then
15907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15908 $as_echo "$check_msgfmt" >&6; }
15909 else
15910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15911 $as_echo "no" >&6; }
15915 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15916 USE_NLS=yes
15918 # Export the build objects.
15919 for ling in $ALL_LINGUAS; do \
15920 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15921 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15922 done
15926 CLOCALE_H=config/locale/gnu/c_locale.h
15927 CLOCALE_CC=config/locale/gnu/c_locale.cc
15928 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15929 CCOLLATE_CC=config/locale/gnu/collate_members.cc
15930 CCTYPE_CC=config/locale/gnu/ctype_members.cc
15931 CMESSAGES_H=config/locale/gnu/messages_members.h
15932 CMESSAGES_CC=config/locale/gnu/messages_members.cc
15933 CMONEY_CC=config/locale/gnu/monetary_members.cc
15934 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15935 CTIME_H=config/locale/gnu/time_members.h
15936 CTIME_CC=config/locale/gnu/time_members.cc
15937 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15939 ieee_1003.1-2001)
15940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15941 $as_echo "IEEE 1003.1" >&6; }
15943 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15944 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15945 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15946 CCOLLATE_CC=config/locale/generic/collate_members.cc
15947 CCTYPE_CC=config/locale/generic/ctype_members.cc
15948 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15949 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15950 CMONEY_CC=config/locale/generic/monetary_members.cc
15951 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15952 CTIME_H=config/locale/generic/time_members.h
15953 CTIME_CC=config/locale/generic/time_members.cc
15954 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15956 newlib)
15957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
15958 $as_echo "newlib" >&6; }
15960 CLOCALE_H=config/locale/generic/c_locale.h
15961 CLOCALE_CC=config/locale/generic/c_locale.cc
15962 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15963 CCOLLATE_CC=config/locale/generic/collate_members.cc
15964 CCTYPE_CC=config/locale/newlib/ctype_members.cc
15965 CMESSAGES_H=config/locale/generic/messages_members.h
15966 CMESSAGES_CC=config/locale/generic/messages_members.cc
15967 CMONEY_CC=config/locale/generic/monetary_members.cc
15968 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15969 CTIME_H=config/locale/generic/time_members.h
15970 CTIME_CC=config/locale/generic/time_members.cc
15971 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15973 esac
15975 # This is where the testsuite looks for locale catalogs, using the
15976 # -DLOCALEDIR define during testsuite compilation.
15977 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15980 # A standalone libintl (e.g., GNU libintl) may be in use.
15981 if test $USE_NLS = yes; then
15982 for ac_header in libintl.h
15983 do :
15984 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15985 if test "x$ac_cv_header_libintl_h" = x""yes; then :
15986 cat >>confdefs.h <<_ACEOF
15987 #define HAVE_LIBINTL_H 1
15988 _ACEOF
15990 else
15991 USE_NLS=no
15994 done
15996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
15997 $as_echo_n "checking for library containing gettext... " >&6; }
15998 if test "${ac_cv_search_gettext+set}" = set; then :
15999 $as_echo_n "(cached) " >&6
16000 else
16001 ac_func_search_save_LIBS=$LIBS
16002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16003 /* end confdefs.h. */
16005 /* Override any GCC internal prototype to avoid an error.
16006 Use char because int might match the return type of a GCC
16007 builtin and then its argument prototype would still apply. */
16008 #ifdef __cplusplus
16009 extern "C"
16010 #endif
16011 char gettext ();
16013 main ()
16015 return gettext ();
16017 return 0;
16019 _ACEOF
16020 for ac_lib in '' intl; do
16021 if test -z "$ac_lib"; then
16022 ac_res="none required"
16023 else
16024 ac_res=-l$ac_lib
16025 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16027 if test x$gcc_no_link = xyes; then
16028 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16030 if ac_fn_c_try_link "$LINENO"; then :
16031 ac_cv_search_gettext=$ac_res
16033 rm -f core conftest.err conftest.$ac_objext \
16034 conftest$ac_exeext
16035 if test "${ac_cv_search_gettext+set}" = set; then :
16036 break
16038 done
16039 if test "${ac_cv_search_gettext+set}" = set; then :
16041 else
16042 ac_cv_search_gettext=no
16044 rm conftest.$ac_ext
16045 LIBS=$ac_func_search_save_LIBS
16047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16048 $as_echo "$ac_cv_search_gettext" >&6; }
16049 ac_res=$ac_cv_search_gettext
16050 if test "$ac_res" != no; then :
16051 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16053 else
16054 USE_NLS=no
16058 if test $USE_NLS = yes; then
16060 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16080 $as_echo_n "checking for std::allocator base class... " >&6; }
16081 # Check whether --enable-libstdcxx-allocator was given.
16082 if test "${enable_libstdcxx_allocator+set}" = set; then :
16083 enableval=$enable_libstdcxx_allocator;
16084 case "$enableval" in
16085 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16086 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16087 esac
16089 else
16090 enable_libstdcxx_allocator=auto
16095 # If they didn't use this option switch, or if they specified --enable
16096 # with no specific model, we'll have to look for one. If they
16097 # specified --disable (???), do likewise.
16098 if test $enable_libstdcxx_allocator = no ||
16099 test $enable_libstdcxx_allocator = yes;
16100 then
16101 enable_libstdcxx_allocator=auto
16104 # Either a known package, or "auto". Auto implies the default choice
16105 # for a particular platform.
16106 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16108 # Probe for host-specific support if no specific model is specified.
16109 # Default to "new".
16110 if test $enable_libstdcxx_allocator_flag = auto; then
16111 case ${target_os} in
16112 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16113 enable_libstdcxx_allocator_flag=new
16116 enable_libstdcxx_allocator_flag=new
16118 esac
16120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16121 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16124 # Set configure bits for specified locale package
16125 case ${enable_libstdcxx_allocator_flag} in
16126 bitmap)
16127 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16128 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16130 malloc)
16131 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16132 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16135 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16136 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16138 new)
16139 ALLOCATOR_H=config/allocator/new_allocator_base.h
16140 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16142 pool)
16143 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16144 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16146 esac
16152 # Check whether --enable-cheaders was given.
16153 if test "${enable_cheaders+set}" = set; then :
16154 enableval=$enable_cheaders;
16155 case "$enableval" in
16156 c|c_std|c_global) ;;
16157 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16158 esac
16160 else
16161 enable_cheaders=$c_model
16165 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16166 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16168 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16170 # Allow overrides to configure.host here.
16171 if test $enable_cheaders = c_global; then
16172 c_compatibility=yes
16181 # Check whether --enable-long-long was given.
16182 if test "${enable_long_long+set}" = set; then :
16183 enableval=$enable_long_long;
16184 case "$enableval" in
16185 yes|no) ;;
16186 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16187 esac
16189 else
16190 enable_long_long=yes
16194 if test $enable_long_long = yes; then
16196 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16200 $as_echo_n "checking for enabled long long specializations... " >&6; }
16201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16202 $as_echo "$enable_long_long" >&6; }
16205 # Check whether --enable-wchar_t was given.
16206 if test "${enable_wchar_t+set}" = set; then :
16207 enableval=$enable_wchar_t;
16208 case "$enableval" in
16209 yes|no) ;;
16210 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16211 esac
16213 else
16214 enable_wchar_t=yes
16219 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16220 for ac_header in wchar.h
16221 do :
16222 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16223 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16224 cat >>confdefs.h <<_ACEOF
16225 #define HAVE_WCHAR_H 1
16226 _ACEOF
16227 ac_has_wchar_h=yes
16228 else
16229 ac_has_wchar_h=no
16232 done
16234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16235 $as_echo_n "checking for mbstate_t... " >&6; }
16236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16237 /* end confdefs.h. */
16238 #include <wchar.h>
16240 main ()
16242 mbstate_t teststate;
16244 return 0;
16246 _ACEOF
16247 if ac_fn_c_try_compile "$LINENO"; then :
16248 have_mbstate_t=yes
16249 else
16250 have_mbstate_t=no
16252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16254 $as_echo "$have_mbstate_t" >&6; }
16255 if test x"$have_mbstate_t" = xyes; then
16257 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16261 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16262 # ac_has_wchar_h.
16263 for ac_header in wctype.h
16264 do :
16265 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16266 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16267 cat >>confdefs.h <<_ACEOF
16268 #define HAVE_WCTYPE_H 1
16269 _ACEOF
16270 ac_has_wctype_h=yes
16271 else
16272 ac_has_wctype_h=no
16275 done
16278 if test x"$enable_wchar_t" = x"yes"; then
16281 ac_ext=cpp
16282 ac_cpp='$CXXCPP $CPPFLAGS'
16283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16288 if test x"$ac_has_wchar_h" = xyes &&
16289 test x"$ac_has_wctype_h" = xyes; then
16290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16291 /* end confdefs.h. */
16292 #include <wchar.h>
16293 #include <stddef.h>
16294 wint_t i;
16295 long l = WEOF;
16296 long j = WCHAR_MIN;
16297 long k = WCHAR_MAX;
16298 namespace test
16300 using ::btowc;
16301 using ::fgetwc;
16302 using ::fgetws;
16303 using ::fputwc;
16304 using ::fputws;
16305 using ::fwide;
16306 using ::fwprintf;
16307 using ::fwscanf;
16308 using ::getwc;
16309 using ::getwchar;
16310 using ::mbrlen;
16311 using ::mbrtowc;
16312 using ::mbsinit;
16313 using ::mbsrtowcs;
16314 using ::putwc;
16315 using ::putwchar;
16316 using ::swprintf;
16317 using ::swscanf;
16318 using ::ungetwc;
16319 using ::vfwprintf;
16320 using ::vswprintf;
16321 using ::vwprintf;
16322 using ::wcrtomb;
16323 using ::wcscat;
16324 using ::wcschr;
16325 using ::wcscmp;
16326 using ::wcscoll;
16327 using ::wcscpy;
16328 using ::wcscspn;
16329 using ::wcsftime;
16330 using ::wcslen;
16331 using ::wcsncat;
16332 using ::wcsncmp;
16333 using ::wcsncpy;
16334 using ::wcspbrk;
16335 using ::wcsrchr;
16336 using ::wcsrtombs;
16337 using ::wcsspn;
16338 using ::wcsstr;
16339 using ::wcstod;
16340 using ::wcstok;
16341 using ::wcstol;
16342 using ::wcstoul;
16343 using ::wcsxfrm;
16344 using ::wctob;
16345 using ::wmemchr;
16346 using ::wmemcmp;
16347 using ::wmemcpy;
16348 using ::wmemmove;
16349 using ::wmemset;
16350 using ::wprintf;
16351 using ::wscanf;
16355 main ()
16359 return 0;
16361 _ACEOF
16362 if ac_fn_cxx_try_compile "$LINENO"; then :
16364 else
16365 enable_wchar_t=no
16367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16368 else
16369 enable_wchar_t=no
16372 ac_ext=c
16373 ac_cpp='$CPP $CPPFLAGS'
16374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16380 if test x"$enable_wchar_t" = x"yes"; then
16382 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16387 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16389 $as_echo "$enable_wchar_t" >&6; }
16393 # Check whether --enable-c99 was given.
16394 if test "${enable_c99+set}" = set; then :
16395 enableval=$enable_c99;
16396 case "$enableval" in
16397 yes|no) ;;
16398 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16399 esac
16401 else
16402 enable_c99=yes
16407 if test x"$enable_c99" = x"yes"; then
16410 ac_ext=cpp
16411 ac_cpp='$CXXCPP $CPPFLAGS'
16412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16417 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16418 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16419 # spuriously enabled.
16420 # Long term, -std=c++0x could be even better, could manage to explicitely
16421 # request C99 facilities to the underlying C headers.
16422 ac_save_CXXFLAGS="$CXXFLAGS"
16423 CXXFLAGS="$CXXFLAGS -std=c++98"
16424 ac_save_LIBS="$LIBS"
16425 ac_save_gcc_no_link="$gcc_no_link"
16427 if test x$gcc_no_link != xyes; then
16428 # Use -fno-exceptions to that the C driver can link these tests without
16429 # hitting undefined references to personality routines.
16430 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16432 $as_echo_n "checking for sin in -lm... " >&6; }
16433 if test "${ac_cv_lib_m_sin+set}" = set; then :
16434 $as_echo_n "(cached) " >&6
16435 else
16436 ac_check_lib_save_LIBS=$LIBS
16437 LIBS="-lm $LIBS"
16438 if test x$gcc_no_link = xyes; then
16439 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16442 /* end confdefs.h. */
16444 /* Override any GCC internal prototype to avoid an error.
16445 Use char because int might match the return type of a GCC
16446 builtin and then its argument prototype would still apply. */
16447 #ifdef __cplusplus
16448 extern "C"
16449 #endif
16450 char sin ();
16452 main ()
16454 return sin ();
16456 return 0;
16458 _ACEOF
16459 if ac_fn_cxx_try_link "$LINENO"; then :
16460 ac_cv_lib_m_sin=yes
16461 else
16462 ac_cv_lib_m_sin=no
16464 rm -f core conftest.err conftest.$ac_objext \
16465 conftest$ac_exeext conftest.$ac_ext
16466 LIBS=$ac_check_lib_save_LIBS
16468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16469 $as_echo "$ac_cv_lib_m_sin" >&6; }
16470 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16472 LIBS="$LIBS -lm"
16474 else
16476 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16477 gcc_no_link=yes
16483 # Check for the existence of <math.h> functions used if C99 is enabled.
16484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16485 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16486 if test "${glibcxx_cv_c99_math+set}" = set; then :
16487 $as_echo_n "(cached) " >&6
16488 else
16490 if test x$gcc_no_link = xyes; then
16491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16492 /* end confdefs.h. */
16493 #include <math.h>
16494 volatile double d1, d2;
16495 volatile int i;
16497 main ()
16499 i = fpclassify(d1);
16500 i = isfinite(d1);
16501 i = isinf(d1);
16502 i = isnan(d1);
16503 i = isnormal(d1);
16504 i = signbit(d1);
16505 i = isgreater(d1, d2);
16506 i = isgreaterequal(d1, d2);
16507 i = isless(d1, d2);
16508 i = islessequal(d1, d2);
16509 i = islessgreater(d1, d2);
16510 i = islessgreater(d1, d2);
16511 i = isunordered(d1, d2);
16514 return 0;
16516 _ACEOF
16517 if ac_fn_cxx_try_compile "$LINENO"; then :
16518 glibcxx_cv_c99_math=yes
16519 else
16520 glibcxx_cv_c99_math=no
16522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16523 else
16524 if test x$gcc_no_link = xyes; then
16525 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16528 /* end confdefs.h. */
16529 #include <math.h>
16530 volatile double d1, d2;
16531 volatile int i;
16533 main ()
16535 i = fpclassify(d1);
16536 i = isfinite(d1);
16537 i = isinf(d1);
16538 i = isnan(d1);
16539 i = isnormal(d1);
16540 i = signbit(d1);
16541 i = isgreater(d1, d2);
16542 i = isgreaterequal(d1, d2);
16543 i = isless(d1, d2);
16544 i = islessequal(d1, d2);
16545 i = islessgreater(d1, d2);
16546 i = islessgreater(d1, d2);
16547 i = isunordered(d1, d2);
16550 return 0;
16552 _ACEOF
16553 if ac_fn_cxx_try_link "$LINENO"; then :
16554 glibcxx_cv_c99_math=yes
16555 else
16556 glibcxx_cv_c99_math=no
16558 rm -f core conftest.err conftest.$ac_objext \
16559 conftest$ac_exeext conftest.$ac_ext
16564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16565 $as_echo "$glibcxx_cv_c99_math" >&6; }
16566 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16568 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16572 # Check for the existence of <complex.h> complex math functions.
16573 # This is necessary even though libstdc++ uses the builtin versions
16574 # of these functions, because if the builtin cannot be used, a reference
16575 # to the library function is emitted.
16576 for ac_header in tgmath.h
16577 do :
16578 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16579 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16580 cat >>confdefs.h <<_ACEOF
16581 #define HAVE_TGMATH_H 1
16582 _ACEOF
16583 ac_has_tgmath_h=yes
16584 else
16585 ac_has_tgmath_h=no
16588 done
16590 for ac_header in complex.h
16591 do :
16592 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16593 if test "x$ac_cv_header_complex_h" = x""yes; then :
16594 cat >>confdefs.h <<_ACEOF
16595 #define HAVE_COMPLEX_H 1
16596 _ACEOF
16597 ac_has_complex_h=yes
16598 else
16599 ac_has_complex_h=no
16602 done
16604 glibcxx_cv_c99_complex=no;
16605 if test x"$ac_has_complex_h" = x"yes"; then
16606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16607 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16608 if test x$gcc_no_link = xyes; then
16609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16610 /* end confdefs.h. */
16611 #include <complex.h>
16612 typedef __complex__ float float_type;
16613 typedef __complex__ double double_type;
16614 typedef __complex__ long double ld_type;
16615 volatile float_type tmpf;
16616 volatile double_type tmpd;
16617 volatile ld_type tmpld;
16618 volatile float f;
16619 volatile double d;
16620 volatile long double ld;
16622 main ()
16624 f = cabsf(tmpf);
16625 f = cargf(tmpf);
16626 tmpf = ccosf(tmpf);
16627 tmpf = ccoshf(tmpf);
16628 tmpf = cexpf(tmpf);
16629 tmpf = clogf(tmpf);
16630 tmpf = csinf(tmpf);
16631 tmpf = csinhf(tmpf);
16632 tmpf = csqrtf(tmpf);
16633 tmpf = ctanf(tmpf);
16634 tmpf = ctanhf(tmpf);
16635 tmpf = cpowf(tmpf, tmpf);
16636 tmpf = cprojf(tmpf);
16637 d = cabs(tmpd);
16638 d = carg(tmpd);
16639 tmpd = ccos(tmpd);
16640 tmpd = ccosh(tmpd);
16641 tmpd = cexp(tmpd);
16642 tmpd = clog(tmpd);
16643 tmpd = csin(tmpd);
16644 tmpd = csinh(tmpd);
16645 tmpd = csqrt(tmpd);
16646 tmpd = ctan(tmpd);
16647 tmpd = ctanh(tmpd);
16648 tmpd = cpow(tmpd, tmpd);
16649 tmpd = cproj(tmpd);
16650 ld = cabsl(tmpld);
16651 ld = cargl(tmpld);
16652 tmpld = ccosl(tmpld);
16653 tmpld = ccoshl(tmpld);
16654 tmpld = cexpl(tmpld);
16655 tmpld = clogl(tmpld);
16656 tmpld = csinl(tmpld);
16657 tmpld = csinhl(tmpld);
16658 tmpld = csqrtl(tmpld);
16659 tmpld = ctanl(tmpld);
16660 tmpld = ctanhl(tmpld);
16661 tmpld = cpowl(tmpld, tmpld);
16662 tmpld = cprojl(tmpld);
16665 return 0;
16667 _ACEOF
16668 if ac_fn_cxx_try_compile "$LINENO"; then :
16669 glibcxx_cv_c99_complex=yes
16670 else
16671 glibcxx_cv_c99_complex=no
16673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16674 else
16675 if test x$gcc_no_link = xyes; then
16676 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16679 /* end confdefs.h. */
16680 #include <complex.h>
16681 typedef __complex__ float float_type;
16682 typedef __complex__ double double_type;
16683 typedef __complex__ long double ld_type;
16684 volatile float_type tmpf;
16685 volatile double_type tmpd;
16686 volatile ld_type tmpld;
16687 volatile float f;
16688 volatile double d;
16689 volatile long double ld;
16691 main ()
16693 f = cabsf(tmpf);
16694 f = cargf(tmpf);
16695 tmpf = ccosf(tmpf);
16696 tmpf = ccoshf(tmpf);
16697 tmpf = cexpf(tmpf);
16698 tmpf = clogf(tmpf);
16699 tmpf = csinf(tmpf);
16700 tmpf = csinhf(tmpf);
16701 tmpf = csqrtf(tmpf);
16702 tmpf = ctanf(tmpf);
16703 tmpf = ctanhf(tmpf);
16704 tmpf = cpowf(tmpf, tmpf);
16705 tmpf = cprojf(tmpf);
16706 d = cabs(tmpd);
16707 d = carg(tmpd);
16708 tmpd = ccos(tmpd);
16709 tmpd = ccosh(tmpd);
16710 tmpd = cexp(tmpd);
16711 tmpd = clog(tmpd);
16712 tmpd = csin(tmpd);
16713 tmpd = csinh(tmpd);
16714 tmpd = csqrt(tmpd);
16715 tmpd = ctan(tmpd);
16716 tmpd = ctanh(tmpd);
16717 tmpd = cpow(tmpd, tmpd);
16718 tmpd = cproj(tmpd);
16719 ld = cabsl(tmpld);
16720 ld = cargl(tmpld);
16721 tmpld = ccosl(tmpld);
16722 tmpld = ccoshl(tmpld);
16723 tmpld = cexpl(tmpld);
16724 tmpld = clogl(tmpld);
16725 tmpld = csinl(tmpld);
16726 tmpld = csinhl(tmpld);
16727 tmpld = csqrtl(tmpld);
16728 tmpld = ctanl(tmpld);
16729 tmpld = ctanhl(tmpld);
16730 tmpld = cpowl(tmpld, tmpld);
16731 tmpld = cprojl(tmpld);
16734 return 0;
16736 _ACEOF
16737 if ac_fn_cxx_try_link "$LINENO"; then :
16738 glibcxx_cv_c99_complex=yes
16739 else
16740 glibcxx_cv_c99_complex=no
16742 rm -f core conftest.err conftest.$ac_objext \
16743 conftest$ac_exeext conftest.$ac_ext
16746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16747 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16748 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16750 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16754 # Check for the existence in <stdio.h> of vscanf, et. al.
16755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16756 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16757 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16758 $as_echo_n "(cached) " >&6
16759 else
16761 if test x$gcc_no_link = xyes; then
16762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16763 /* end confdefs.h. */
16764 #include <stdio.h>
16765 #include <stdarg.h>
16766 void foo(char* fmt, ...)
16768 va_list args; va_start(args, fmt);
16769 vfscanf(stderr, "%i", args);
16770 vscanf("%i", args);
16771 vsnprintf(fmt, 0, "%i", args);
16772 vsscanf(fmt, "%i", args);
16775 main ()
16777 snprintf("12", 0, "%i");
16779 return 0;
16781 _ACEOF
16782 if ac_fn_cxx_try_compile "$LINENO"; then :
16783 glibcxx_cv_c99_stdio=yes
16784 else
16785 glibcxx_cv_c99_stdio=no
16787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16788 else
16789 if test x$gcc_no_link = xyes; then
16790 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16793 /* end confdefs.h. */
16794 #include <stdio.h>
16795 #include <stdarg.h>
16796 void foo(char* fmt, ...)
16798 va_list args; va_start(args, fmt);
16799 vfscanf(stderr, "%i", args);
16800 vscanf("%i", args);
16801 vsnprintf(fmt, 0, "%i", args);
16802 vsscanf(fmt, "%i", args);
16805 main ()
16807 snprintf("12", 0, "%i");
16809 return 0;
16811 _ACEOF
16812 if ac_fn_cxx_try_link "$LINENO"; then :
16813 glibcxx_cv_c99_stdio=yes
16814 else
16815 glibcxx_cv_c99_stdio=no
16817 rm -f core conftest.err conftest.$ac_objext \
16818 conftest$ac_exeext conftest.$ac_ext
16823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16824 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16826 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16828 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16829 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16830 $as_echo_n "(cached) " >&6
16831 else
16833 if test x$gcc_no_link = xyes; then
16834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16835 /* end confdefs.h. */
16836 #include <stdlib.h>
16837 volatile float f;
16838 volatile long double ld;
16839 volatile unsigned long long ll;
16840 lldiv_t mydivt;
16842 main ()
16844 char* tmp;
16845 f = strtof("gnu", &tmp);
16846 ld = strtold("gnu", &tmp);
16847 ll = strtoll("gnu", &tmp, 10);
16848 ll = strtoull("gnu", &tmp, 10);
16849 ll = llabs(10);
16850 mydivt = lldiv(10,1);
16851 ll = mydivt.quot;
16852 ll = mydivt.rem;
16853 ll = atoll("10");
16854 _Exit(0);
16857 return 0;
16859 _ACEOF
16860 if ac_fn_cxx_try_compile "$LINENO"; then :
16861 glibcxx_cv_c99_stdlib=yes
16862 else
16863 glibcxx_cv_c99_stdlib=no
16865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16866 else
16867 if test x$gcc_no_link = xyes; then
16868 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16871 /* end confdefs.h. */
16872 #include <stdlib.h>
16873 volatile float f;
16874 volatile long double ld;
16875 volatile unsigned long long ll;
16876 lldiv_t mydivt;
16878 main ()
16880 char* tmp;
16881 f = strtof("gnu", &tmp);
16882 ld = strtold("gnu", &tmp);
16883 ll = strtoll("gnu", &tmp, 10);
16884 ll = strtoull("gnu", &tmp, 10);
16885 ll = llabs(10);
16886 mydivt = lldiv(10,1);
16887 ll = mydivt.quot;
16888 ll = mydivt.rem;
16889 ll = atoll("10");
16890 _Exit(0);
16893 return 0;
16895 _ACEOF
16896 if ac_fn_cxx_try_link "$LINENO"; then :
16897 glibcxx_cv_c99_stdlib=yes
16898 else
16899 glibcxx_cv_c99_stdlib=no
16901 rm -f core conftest.err conftest.$ac_objext \
16902 conftest$ac_exeext conftest.$ac_ext
16907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16908 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16910 # Check for the existence in <wchar.h> of wcstold, etc.
16911 glibcxx_cv_c99_wchar=no;
16912 if test x"$ac_has_wchar_h" = xyes &&
16913 test x"$ac_has_wctype_h" = xyes; then
16914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16915 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16917 /* end confdefs.h. */
16918 #include <wchar.h>
16919 namespace test
16921 using ::wcstold;
16922 using ::wcstoll;
16923 using ::wcstoull;
16927 main ()
16931 return 0;
16933 _ACEOF
16934 if ac_fn_cxx_try_compile "$LINENO"; then :
16935 glibcxx_cv_c99_wchar=yes
16936 else
16937 glibcxx_cv_c99_wchar=no
16939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16941 # Checks for wide character functions that may not be present.
16942 # Injection of these is wrapped with guard macros.
16943 # NB: only put functions here, instead of immediately above, if
16944 # absolutely necessary.
16945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16946 /* end confdefs.h. */
16947 #include <wchar.h>
16948 namespace test { using ::vfwscanf; }
16950 main ()
16954 return 0;
16956 _ACEOF
16957 if ac_fn_cxx_try_compile "$LINENO"; then :
16959 $as_echo "#define HAVE_VFWSCANF 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 <wchar.h>
16967 namespace test { using ::vswscanf; }
16969 main ()
16973 return 0;
16975 _ACEOF
16976 if ac_fn_cxx_try_compile "$LINENO"; then :
16978 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
16981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16984 /* end confdefs.h. */
16985 #include <wchar.h>
16986 namespace test { using ::vwscanf; }
16988 main ()
16992 return 0;
16994 _ACEOF
16995 if ac_fn_cxx_try_compile "$LINENO"; then :
16997 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17003 /* end confdefs.h. */
17004 #include <wchar.h>
17005 namespace test { using ::wcstof; }
17007 main ()
17011 return 0;
17013 _ACEOF
17014 if ac_fn_cxx_try_compile "$LINENO"; then :
17016 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17022 /* end confdefs.h. */
17023 #include <wctype.h>
17025 main ()
17027 wint_t t; int i = iswblank(t);
17029 return 0;
17031 _ACEOF
17032 if ac_fn_cxx_try_compile "$LINENO"; then :
17034 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17040 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17043 # Option parsed, now set things appropriately.
17044 if test x"$glibcxx_cv_c99_math" = x"no" ||
17045 test x"$glibcxx_cv_c99_complex" = x"no" ||
17046 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17047 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17048 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17049 enable_c99=no;
17050 else
17052 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17056 gcc_no_link="$ac_save_gcc_no_link"
17057 LIBS="$ac_save_LIBS"
17058 CXXFLAGS="$ac_save_CXXFLAGS"
17059 ac_ext=c
17060 ac_cpp='$CPP $CPPFLAGS'
17061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17068 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17070 $as_echo "$enable_c99" >&6; }
17073 # Check whether --enable-concept-checks was given.
17074 if test "${enable_concept_checks+set}" = set; then :
17075 enableval=$enable_concept_checks;
17076 case "$enableval" in
17077 yes|no) ;;
17078 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17079 esac
17081 else
17082 enable_concept_checks=no
17086 if test $enable_concept_checks = yes; then
17088 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17093 # Check whether --enable-libstdcxx-debug-flags was given.
17094 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17095 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17096 xno | x) enable_libstdcxx_debug_flags= ;;
17097 x-*) ;;
17098 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17099 esac
17100 else
17101 enable_libstdcxx_debug_flags="-g3 -O0"
17106 # Option parsed, now set things appropriately
17107 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17110 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17111 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17115 $as_echo_n "checking for additional debug build... " >&6; }
17116 # Check whether --enable-libstdcxx-debug was given.
17117 if test "${enable_libstdcxx_debug+set}" = set; then :
17118 enableval=$enable_libstdcxx_debug;
17119 case "$enableval" in
17120 yes|no) ;;
17121 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17122 esac
17124 else
17125 enable_libstdcxx_debug=no
17129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17130 $as_echo "$enable_libstdcxx_debug" >&6; }
17135 enable_parallel=no;
17137 # See if configured libgomp/omp.h exists. (libgomp may be in
17138 # noconfigdirs but not explicitly disabled.)
17139 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17140 enable_parallel=yes;
17141 else
17142 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17143 $as_echo "$as_me: target-libgomp not built" >&6;}
17146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17147 $as_echo_n "checking for parallel mode support... " >&6; }
17148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17149 $as_echo "$enable_parallel" >&6; }
17152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17153 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17154 # Check whether --enable-cxx-flags was given.
17155 if test "${enable_cxx_flags+set}" = set; then :
17156 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17157 xno | x) enable_cxx_flags= ;;
17158 x-*) ;;
17159 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17160 esac
17161 else
17162 enable_cxx_flags=
17167 # Run through flags (either default or command-line) and set anything
17168 # extra (e.g., #defines) that must accompany particular g++ options.
17169 if test -n "$enable_cxx_flags"; then
17170 for f in $enable_cxx_flags; do
17171 case "$f" in
17172 -fhonor-std) ;;
17173 -*) ;;
17174 *) # and we're trying to pass /what/ exactly?
17175 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17176 esac
17177 done
17180 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17182 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17186 # Check whether --enable-fully-dynamic-string was given.
17187 if test "${enable_fully_dynamic_string+set}" = set; then :
17188 enableval=$enable_fully_dynamic_string;
17189 case "$enableval" in
17190 yes|no) ;;
17191 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17192 esac
17194 else
17195 enable_fully_dynamic_string=no
17199 if test $enable_fully_dynamic_string = yes; then
17200 enable_fully_dynamic_string_def=1
17201 else
17202 enable_fully_dynamic_string_def=0
17205 cat >>confdefs.h <<_ACEOF
17206 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17207 _ACEOF
17212 # Check whether --enable-extern-template was given.
17213 if test "${enable_extern_template+set}" = set; then :
17214 enableval=$enable_extern_template;
17215 case "$enableval" in
17216 yes|no) ;;
17217 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17218 esac
17220 else
17221 enable_extern_template=yes
17226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17227 $as_echo_n "checking for extern template support... " >&6; }
17228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17229 $as_echo "$enable_extern_template" >&6; }
17234 # Checks for operating systems support that doesn't require linking.
17238 ac_ext=cpp
17239 ac_cpp='$CXXCPP $CPPFLAGS'
17240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17245 case "$host" in
17246 *-*-solaris2.*)
17247 # Solaris 8 FCS only had an overload for double std::abs(double) in
17248 # <iso/math_iso.h>. Patches 111721-04 (SPARC) and 112757-01 (x86)
17249 # introduced the full set also found from Solaris 9 onwards.
17250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float std::abs(float) overload" >&5
17251 $as_echo_n "checking for float std::abs(float) overload... " >&6; }
17252 if test "${glibcxx_cv_abs_float+set}" = set; then :
17253 $as_echo_n "(cached) " >&6
17254 else
17256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17257 /* end confdefs.h. */
17258 #include <math.h>
17259 namespace std {
17260 inline float abs(float __x)
17261 { return __builtin_fabsf(__x); }
17264 _ACEOF
17265 if ac_fn_cxx_try_compile "$LINENO"; then :
17266 glibcxx_cv_abs_float=no
17267 else
17268 glibcxx_cv_abs_float=yes
17271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17275 # autoheader cannot handle indented templates.
17279 if test $glibcxx_cv_abs_float = yes; then
17280 $as_echo "#define __CORRECT_ISO_CPP_MATH_H_PROTO1 1" >>confdefs.h
17282 else
17283 $as_echo "#define __CORRECT_ISO_CPP_MATH_H_PROTO2 1" >>confdefs.h
17286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_abs_float" >&5
17287 $as_echo "$glibcxx_cv_abs_float" >&6; }
17289 esac
17291 ac_ext=c
17292 ac_cpp='$CPP $CPPFLAGS'
17293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17301 ac_ext=cpp
17302 ac_cpp='$CXXCPP $CPPFLAGS'
17303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17308 case "$host" in
17309 *-*-solaris2.*)
17310 # Solaris 8 FCS lacked the overloads for long std::abs(long) and
17311 # ldiv_t std::div(long, long) in <iso/stdlib_iso.h>. Patches 109607-02
17312 # (SPARC) and 109608-02 (x86) introduced them.
17313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long std::abs(long) overload" >&5
17314 $as_echo_n "checking for long std::abs(long) overload... " >&6; }
17315 if test "${glibcxx_cv_abs_long+set}" = set; then :
17316 $as_echo_n "(cached) " >&6
17317 else
17319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17320 /* end confdefs.h. */
17321 #include <stdlib.h>
17322 namespace std {
17323 inline long
17324 abs(long __i) { return labs(__i); }
17327 _ACEOF
17328 if ac_fn_cxx_try_compile "$LINENO"; then :
17329 glibcxx_cv_abs_long=no
17330 else
17331 glibcxx_cv_abs_long=yes
17334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17338 # autoheader cannot handle indented templates.
17340 if test $glibcxx_cv_abs_long = yes; then
17341 $as_echo "#define __CORRECT_ISO_CPP_STDLIB_H_PROTO 1" >>confdefs.h
17344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_abs_long" >&5
17345 $as_echo "$glibcxx_cv_abs_long" >&6; }
17347 esac
17349 ac_ext=c
17350 ac_cpp='$CPP $CPPFLAGS'
17351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17359 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17360 if test "${glibcxx_cv_system_error1+set}" = set; then :
17361 $as_echo_n "(cached) " >&6
17362 else
17364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17365 /* end confdefs.h. */
17366 #include <errno.h>
17368 main ()
17370 int i = EOWNERDEAD;
17372 return 0;
17374 _ACEOF
17375 if ac_fn_c_try_compile "$LINENO"; then :
17376 glibcxx_cv_system_error1=yes
17377 else
17378 glibcxx_cv_system_error1=no
17380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17385 $as_echo "$glibcxx_cv_system_error1" >&6; }
17386 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17388 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17392 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17393 if test "${glibcxx_cv_system_error2+set}" = set; then :
17394 $as_echo_n "(cached) " >&6
17395 else
17397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17398 /* end confdefs.h. */
17399 #include <errno.h>
17401 main ()
17403 int i = ENOTRECOVERABLE;
17405 return 0;
17407 _ACEOF
17408 if ac_fn_c_try_compile "$LINENO"; then :
17409 glibcxx_cv_system_error2=yes
17410 else
17411 glibcxx_cv_system_error2=no
17413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17418 $as_echo "$glibcxx_cv_system_error2" >&6; }
17419 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17421 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17425 $as_echo_n "checking for ENOLINK... " >&6; }
17426 if test "${glibcxx_cv_system_error3+set}" = set; then :
17427 $as_echo_n "(cached) " >&6
17428 else
17430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17431 /* end confdefs.h. */
17432 #include <errno.h>
17434 main ()
17436 int i = ENOLINK;
17438 return 0;
17440 _ACEOF
17441 if ac_fn_c_try_compile "$LINENO"; then :
17442 glibcxx_cv_system_error3=yes
17443 else
17444 glibcxx_cv_system_error3=no
17446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17451 $as_echo "$glibcxx_cv_system_error3" >&6; }
17452 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17454 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17458 $as_echo_n "checking for EPROTO... " >&6; }
17459 if test "${glibcxx_cv_system_error4+set}" = set; then :
17460 $as_echo_n "(cached) " >&6
17461 else
17463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17464 /* end confdefs.h. */
17465 #include <errno.h>
17467 main ()
17469 int i = EPROTO;
17471 return 0;
17473 _ACEOF
17474 if ac_fn_c_try_compile "$LINENO"; then :
17475 glibcxx_cv_system_error4=yes
17476 else
17477 glibcxx_cv_system_error4=no
17479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17484 $as_echo "$glibcxx_cv_system_error4" >&6; }
17485 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17487 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17491 $as_echo_n "checking for ENODATA... " >&6; }
17492 if test "${glibcxx_cv_system_error5+set}" = set; then :
17493 $as_echo_n "(cached) " >&6
17494 else
17496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17497 /* end confdefs.h. */
17498 #include <errno.h>
17500 main ()
17502 int i = ENODATA;
17504 return 0;
17506 _ACEOF
17507 if ac_fn_c_try_compile "$LINENO"; then :
17508 glibcxx_cv_system_error5=yes
17509 else
17510 glibcxx_cv_system_error5=no
17512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17517 $as_echo "$glibcxx_cv_system_error5" >&6; }
17518 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17520 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17524 $as_echo_n "checking for ENOSR... " >&6; }
17525 if test "${glibcxx_cv_system_error6+set}" = set; then :
17526 $as_echo_n "(cached) " >&6
17527 else
17529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17530 /* end confdefs.h. */
17531 #include <errno.h>
17533 main ()
17535 int i = ENOSR;
17537 return 0;
17539 _ACEOF
17540 if ac_fn_c_try_compile "$LINENO"; then :
17541 glibcxx_cv_system_error6=yes
17542 else
17543 glibcxx_cv_system_error6=no
17545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17550 $as_echo "$glibcxx_cv_system_error6" >&6; }
17551 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17553 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17557 $as_echo_n "checking for ENOSTR... " >&6; }
17558 if test "${glibcxx_cv_system_error7+set}" = set; then :
17559 $as_echo_n "(cached) " >&6
17560 else
17562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17563 /* end confdefs.h. */
17564 #include <errno.h>
17566 main ()
17568 int i = ENOSTR;
17570 return 0;
17572 _ACEOF
17573 if ac_fn_c_try_compile "$LINENO"; then :
17574 glibcxx_cv_system_error7=yes
17575 else
17576 glibcxx_cv_system_error7=no
17578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17583 $as_echo "$glibcxx_cv_system_error7" >&6; }
17584 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17586 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17590 $as_echo_n "checking for ETIME... " >&6; }
17591 if test "${glibcxx_cv_system_error8+set}" = set; then :
17592 $as_echo_n "(cached) " >&6
17593 else
17595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17596 /* end confdefs.h. */
17597 #include <errno.h>
17599 main ()
17601 int i = ETIME;
17603 return 0;
17605 _ACEOF
17606 if ac_fn_c_try_compile "$LINENO"; then :
17607 glibcxx_cv_system_error8=yes
17608 else
17609 glibcxx_cv_system_error8=no
17611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17616 $as_echo "$glibcxx_cv_system_error8" >&6; }
17617 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17619 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17623 $as_echo_n "checking for EBADMSG... " >&6; }
17624 if test "${glibcxx_cv_system_error9+set}" = set; then :
17625 $as_echo_n "(cached) " >&6
17626 else
17628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17629 /* end confdefs.h. */
17630 #include <errno.h>
17632 main ()
17634 int i = EBADMSG;
17636 return 0;
17638 _ACEOF
17639 if ac_fn_c_try_compile "$LINENO"; then :
17640 glibcxx_cv_system_error9=yes
17641 else
17642 glibcxx_cv_system_error9=no
17644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17649 $as_echo "$glibcxx_cv_system_error9" >&6; }
17650 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17652 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17656 $as_echo_n "checking for ECANCELED... " >&6; }
17657 if test "${glibcxx_cv_system_error10+set}" = set; then :
17658 $as_echo_n "(cached) " >&6
17659 else
17661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17662 /* end confdefs.h. */
17663 #include <errno.h>
17665 main ()
17667 int i = ECANCELED;
17669 return 0;
17671 _ACEOF
17672 if ac_fn_c_try_compile "$LINENO"; then :
17673 glibcxx_cv_system_error10=yes
17674 else
17675 glibcxx_cv_system_error10=no
17677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17682 $as_echo "$glibcxx_cv_system_error10" >&6; }
17683 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17685 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17689 $as_echo_n "checking for EOVERFLOW... " >&6; }
17690 if test "${glibcxx_cv_system_error11+set}" = set; then :
17691 $as_echo_n "(cached) " >&6
17692 else
17694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17695 /* end confdefs.h. */
17696 #include <errno.h>
17698 main ()
17700 int i = EOVERFLOW;
17702 return 0;
17704 _ACEOF
17705 if ac_fn_c_try_compile "$LINENO"; then :
17706 glibcxx_cv_system_error11=yes
17707 else
17708 glibcxx_cv_system_error11=no
17710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17715 $as_echo "$glibcxx_cv_system_error11" >&6; }
17716 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17718 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17722 $as_echo_n "checking for ENOTSUP... " >&6; }
17723 if test "${glibcxx_cv_system_error12+set}" = set; then :
17724 $as_echo_n "(cached) " >&6
17725 else
17727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17728 /* end confdefs.h. */
17729 #include <errno.h>
17731 main ()
17733 int i = ENOTSUP;
17735 return 0;
17737 _ACEOF
17738 if ac_fn_c_try_compile "$LINENO"; then :
17739 glibcxx_cv_system_error12=yes
17740 else
17741 glibcxx_cv_system_error12=no
17743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17748 $as_echo "$glibcxx_cv_system_error12" >&6; }
17749 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17751 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17755 $as_echo_n "checking for EIDRM... " >&6; }
17756 if test "${glibcxx_cv_system_error13+set}" = set; then :
17757 $as_echo_n "(cached) " >&6
17758 else
17760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17761 /* end confdefs.h. */
17762 #include <errno.h>
17764 main ()
17766 int i = EIDRM;
17768 return 0;
17770 _ACEOF
17771 if ac_fn_c_try_compile "$LINENO"; then :
17772 glibcxx_cv_system_error13=yes
17773 else
17774 glibcxx_cv_system_error13=no
17776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17781 $as_echo "$glibcxx_cv_system_error13" >&6; }
17782 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17784 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17788 $as_echo_n "checking for ETXTBSY... " >&6; }
17789 if test "${glibcxx_cv_system_error14+set}" = set; then :
17790 $as_echo_n "(cached) " >&6
17791 else
17793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17794 /* end confdefs.h. */
17795 #include <errno.h>
17797 main ()
17799 int i = ETXTBSY;
17801 return 0;
17803 _ACEOF
17804 if ac_fn_c_try_compile "$LINENO"; then :
17805 glibcxx_cv_system_error14=yes
17806 else
17807 glibcxx_cv_system_error14=no
17809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17814 $as_echo "$glibcxx_cv_system_error14" >&6; }
17815 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17817 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17821 $as_echo_n "checking for ECHILD... " >&6; }
17822 if test "${glibcxx_cv_system_error15+set}" = set; then :
17823 $as_echo_n "(cached) " >&6
17824 else
17826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17827 /* end confdefs.h. */
17828 #include <errno.h>
17830 main ()
17832 int i = ECHILD;
17834 return 0;
17836 _ACEOF
17837 if ac_fn_c_try_compile "$LINENO"; then :
17838 glibcxx_cv_system_error15=yes
17839 else
17840 glibcxx_cv_system_error15=no
17842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17847 $as_echo "$glibcxx_cv_system_error15" >&6; }
17848 if test x"$glibcxx_cv_system_error15" = x"yes"; then
17850 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
17853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
17854 $as_echo_n "checking for ENOSPC... " >&6; }
17855 if test "${glibcxx_cv_system_error16+set}" = set; then :
17856 $as_echo_n "(cached) " >&6
17857 else
17859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17860 /* end confdefs.h. */
17861 #include <errno.h>
17863 main ()
17865 int i = ENOSPC;
17867 return 0;
17869 _ACEOF
17870 if ac_fn_c_try_compile "$LINENO"; then :
17871 glibcxx_cv_system_error16=yes
17872 else
17873 glibcxx_cv_system_error16=no
17875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
17880 $as_echo "$glibcxx_cv_system_error16" >&6; }
17881 if test x"$glibcxx_cv_system_error16" = x"yes"; then
17883 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
17886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
17887 $as_echo_n "checking for EPERM... " >&6; }
17888 if test "${glibcxx_cv_system_error17+set}" = set; then :
17889 $as_echo_n "(cached) " >&6
17890 else
17892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17893 /* end confdefs.h. */
17894 #include <errno.h>
17896 main ()
17898 int i = EPERM;
17900 return 0;
17902 _ACEOF
17903 if ac_fn_c_try_compile "$LINENO"; then :
17904 glibcxx_cv_system_error17=yes
17905 else
17906 glibcxx_cv_system_error17=no
17908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
17913 $as_echo "$glibcxx_cv_system_error17" >&6; }
17914 if test x"$glibcxx_cv_system_error17" = x"yes"; then
17916 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
17919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
17920 $as_echo_n "checking for ETIMEDOUT... " >&6; }
17921 if test "${glibcxx_cv_system_error18+set}" = set; then :
17922 $as_echo_n "(cached) " >&6
17923 else
17925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17926 /* end confdefs.h. */
17927 #include <errno.h>
17929 main ()
17931 int i = ETIMEDOUT;
17933 return 0;
17935 _ACEOF
17936 if ac_fn_c_try_compile "$LINENO"; then :
17937 glibcxx_cv_system_error18=yes
17938 else
17939 glibcxx_cv_system_error18=no
17941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
17946 $as_echo "$glibcxx_cv_system_error18" >&6; }
17947 if test x"$glibcxx_cv_system_error18" = x"yes"; then
17949 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
17952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
17953 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
17954 if test "${glibcxx_cv_system_error19+set}" = set; then :
17955 $as_echo_n "(cached) " >&6
17956 else
17958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17959 /* end confdefs.h. */
17960 #include <errno.h>
17962 main ()
17964 int i = EWOULDBLOCK;
17966 return 0;
17968 _ACEOF
17969 if ac_fn_c_try_compile "$LINENO"; then :
17970 glibcxx_cv_system_error19=yes
17971 else
17972 glibcxx_cv_system_error19=no
17974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
17979 $as_echo "$glibcxx_cv_system_error19" >&6; }
17980 if test x"$glibcxx_cv_system_error19" = x"yes"; then
17982 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
17988 # For the streamoff typedef.
17992 ac_ext=cpp
17993 ac_cpp='$CXXCPP $CPPFLAGS'
17994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18000 $as_echo_n "checking for int64_t... " >&6; }
18001 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18002 $as_echo_n "(cached) " >&6
18003 else
18005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18006 /* end confdefs.h. */
18007 #include <stdint.h>
18009 main ()
18011 int64_t var;
18013 return 0;
18015 _ACEOF
18016 if ac_fn_cxx_try_compile "$LINENO"; then :
18017 glibcxx_cv_INT64_T=yes
18018 else
18019 glibcxx_cv_INT64_T=no
18021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18026 if test $glibcxx_cv_INT64_T = yes; then
18028 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18031 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18034 $as_echo_n "checking for int64_t as long... " >&6; }
18035 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18036 $as_echo_n "(cached) " >&6
18037 else
18039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18040 /* end confdefs.h. */
18041 #include <stdint.h>
18042 template<typename, typename> struct same { enum { value = -1 }; };
18043 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18044 int array[same<int64_t, long>::value];
18046 main ()
18050 return 0;
18052 _ACEOF
18053 if ac_fn_cxx_try_compile "$LINENO"; then :
18054 glibcxx_cv_int64_t_long=yes
18055 else
18056 glibcxx_cv_int64_t_long=no
18058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18063 if test $glibcxx_cv_int64_t_long = yes; then
18065 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18068 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18072 $as_echo_n "checking for int64_t as long long... " >&6; }
18073 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18074 $as_echo_n "(cached) " >&6
18075 else
18077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18078 /* end confdefs.h. */
18079 #include <stdint.h>
18080 template<typename, typename> struct same { enum { value = -1 }; };
18081 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18082 int array[same<int64_t, long long>::value];
18084 main ()
18088 return 0;
18090 _ACEOF
18091 if ac_fn_cxx_try_compile "$LINENO"; then :
18092 glibcxx_cv_int64_t_long_long=yes
18093 else
18094 glibcxx_cv_int64_t_long_long=no
18096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18101 if test $glibcxx_cv_int64_t_long_long = yes; then
18103 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18106 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18110 ac_ext=c
18111 ac_cpp='$CPP $CPPFLAGS'
18112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18118 # For LFS support.
18121 ac_ext=cpp
18122 ac_cpp='$CXXCPP $CPPFLAGS'
18123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18127 ac_save_CXXFLAGS="$CXXFLAGS"
18128 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18130 $as_echo_n "checking for LFS support... " >&6; }
18131 if test "${glibcxx_cv_LFS+set}" = set; then :
18132 $as_echo_n "(cached) " >&6
18133 else
18135 if test x$gcc_no_link = xyes; then
18136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18137 /* end confdefs.h. */
18138 #include <unistd.h>
18139 #include <stdio.h>
18140 #include <sys/stat.h>
18143 main ()
18145 FILE* fp;
18146 fopen64("t", "w");
18147 fseeko64(fp, 0, SEEK_CUR);
18148 ftello64(fp);
18149 lseek64(1, 0, SEEK_CUR);
18150 struct stat64 buf;
18151 fstat64(1, &buf);
18153 return 0;
18155 _ACEOF
18156 if ac_fn_cxx_try_compile "$LINENO"; then :
18157 glibcxx_cv_LFS=yes
18158 else
18159 glibcxx_cv_LFS=no
18161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18162 else
18163 if test x$gcc_no_link = xyes; then
18164 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18167 /* end confdefs.h. */
18168 #include <unistd.h>
18169 #include <stdio.h>
18170 #include <sys/stat.h>
18173 main ()
18175 FILE* fp;
18176 fopen64("t", "w");
18177 fseeko64(fp, 0, SEEK_CUR);
18178 ftello64(fp);
18179 lseek64(1, 0, SEEK_CUR);
18180 struct stat64 buf;
18181 fstat64(1, &buf);
18183 return 0;
18185 _ACEOF
18186 if ac_fn_cxx_try_link "$LINENO"; then :
18187 glibcxx_cv_LFS=yes
18188 else
18189 glibcxx_cv_LFS=no
18191 rm -f core conftest.err conftest.$ac_objext \
18192 conftest$ac_exeext conftest.$ac_ext
18197 if test $glibcxx_cv_LFS = yes; then
18199 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18203 $as_echo "$glibcxx_cv_LFS" >&6; }
18204 CXXFLAGS="$ac_save_CXXFLAGS"
18205 ac_ext=c
18206 ac_cpp='$CPP $CPPFLAGS'
18207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18213 # For showmanyc_helper().
18214 for ac_header in sys/ioctl.h sys/filio.h
18215 do :
18216 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18217 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18218 eval as_val=\$$as_ac_Header
18219 if test "x$as_val" = x""yes; then :
18220 cat >>confdefs.h <<_ACEOF
18221 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18222 _ACEOF
18226 done
18231 ac_ext=cpp
18232 ac_cpp='$CXXCPP $CPPFLAGS'
18233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18237 ac_save_CXXFLAGS="$CXXFLAGS"
18238 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18241 $as_echo_n "checking for poll... " >&6; }
18242 if test "${glibcxx_cv_POLL+set}" = set; then :
18243 $as_echo_n "(cached) " >&6
18244 else
18246 if test x$gcc_no_link = xyes; then
18247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18248 /* end confdefs.h. */
18249 #include <poll.h>
18251 main ()
18253 struct pollfd pfd[1];
18254 pfd[0].events = POLLIN;
18255 poll(pfd, 1, 0);
18257 return 0;
18259 _ACEOF
18260 if ac_fn_cxx_try_compile "$LINENO"; then :
18261 glibcxx_cv_POLL=yes
18262 else
18263 glibcxx_cv_POLL=no
18265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18266 else
18267 if test x$gcc_no_link = xyes; then
18268 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18271 /* end confdefs.h. */
18272 #include <poll.h>
18274 main ()
18276 struct pollfd pfd[1];
18277 pfd[0].events = POLLIN;
18278 poll(pfd, 1, 0);
18280 return 0;
18282 _ACEOF
18283 if ac_fn_cxx_try_link "$LINENO"; then :
18284 glibcxx_cv_POLL=yes
18285 else
18286 glibcxx_cv_POLL=no
18288 rm -f core conftest.err conftest.$ac_objext \
18289 conftest$ac_exeext conftest.$ac_ext
18294 if test $glibcxx_cv_POLL = yes; then
18296 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18300 $as_echo "$glibcxx_cv_POLL" >&6; }
18302 CXXFLAGS="$ac_save_CXXFLAGS"
18303 ac_ext=c
18304 ac_cpp='$CPP $CPPFLAGS'
18305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18313 ac_ext=cpp
18314 ac_cpp='$CXXCPP $CPPFLAGS'
18315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18319 ac_save_CXXFLAGS="$CXXFLAGS"
18320 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18323 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18324 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18325 $as_echo_n "(cached) " >&6
18326 else
18328 if test x$gcc_no_link = xyes; then
18329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18330 /* end confdefs.h. */
18331 #include <sys/stat.h>
18333 main ()
18335 struct stat buffer;
18336 fstat(0, &buffer);
18337 S_ISREG(buffer.st_mode);
18339 return 0;
18341 _ACEOF
18342 if ac_fn_cxx_try_compile "$LINENO"; then :
18343 glibcxx_cv_S_ISREG=yes
18344 else
18345 glibcxx_cv_S_ISREG=no
18347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18348 else
18349 if test x$gcc_no_link = xyes; then
18350 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18353 /* end confdefs.h. */
18354 #include <sys/stat.h>
18356 main ()
18358 struct stat buffer;
18359 fstat(0, &buffer);
18360 S_ISREG(buffer.st_mode);
18362 return 0;
18364 _ACEOF
18365 if ac_fn_cxx_try_link "$LINENO"; then :
18366 glibcxx_cv_S_ISREG=yes
18367 else
18368 glibcxx_cv_S_ISREG=no
18370 rm -f core conftest.err conftest.$ac_objext \
18371 conftest$ac_exeext conftest.$ac_ext
18376 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18377 $as_echo_n "(cached) " >&6
18378 else
18380 if test x$gcc_no_link = xyes; then
18381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18382 /* end confdefs.h. */
18383 #include <sys/stat.h>
18385 main ()
18387 struct stat buffer;
18388 fstat(0, &buffer);
18389 S_IFREG & buffer.st_mode;
18391 return 0;
18393 _ACEOF
18394 if ac_fn_cxx_try_compile "$LINENO"; then :
18395 glibcxx_cv_S_IFREG=yes
18396 else
18397 glibcxx_cv_S_IFREG=no
18399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18400 else
18401 if test x$gcc_no_link = xyes; then
18402 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18405 /* end confdefs.h. */
18406 #include <sys/stat.h>
18408 main ()
18410 struct stat buffer;
18411 fstat(0, &buffer);
18412 S_IFREG & buffer.st_mode;
18414 return 0;
18416 _ACEOF
18417 if ac_fn_cxx_try_link "$LINENO"; then :
18418 glibcxx_cv_S_IFREG=yes
18419 else
18420 glibcxx_cv_S_IFREG=no
18422 rm -f core conftest.err conftest.$ac_objext \
18423 conftest$ac_exeext conftest.$ac_ext
18428 res=no
18429 if test $glibcxx_cv_S_ISREG = yes; then
18431 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18433 res=S_ISREG
18434 elif test $glibcxx_cv_S_IFREG = yes; then
18436 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18438 res=S_IFREG
18440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18441 $as_echo "$res" >&6; }
18443 CXXFLAGS="$ac_save_CXXFLAGS"
18444 ac_ext=c
18445 ac_cpp='$CPP $CPPFLAGS'
18446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18452 # For xsputn_2().
18453 for ac_header in sys/uio.h
18454 do :
18455 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18456 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18457 cat >>confdefs.h <<_ACEOF
18458 #define HAVE_SYS_UIO_H 1
18459 _ACEOF
18463 done
18468 ac_ext=cpp
18469 ac_cpp='$CXXCPP $CPPFLAGS'
18470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18474 ac_save_CXXFLAGS="$CXXFLAGS"
18475 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18478 $as_echo_n "checking for writev... " >&6; }
18479 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18480 $as_echo_n "(cached) " >&6
18481 else
18483 if test x$gcc_no_link = xyes; then
18484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18485 /* end confdefs.h. */
18486 #include <sys/uio.h>
18488 main ()
18490 struct iovec iov[2];
18491 writev(0, iov, 0);
18493 return 0;
18495 _ACEOF
18496 if ac_fn_cxx_try_compile "$LINENO"; then :
18497 glibcxx_cv_WRITEV=yes
18498 else
18499 glibcxx_cv_WRITEV=no
18501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18502 else
18503 if test x$gcc_no_link = xyes; then
18504 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18507 /* end confdefs.h. */
18508 #include <sys/uio.h>
18510 main ()
18512 struct iovec iov[2];
18513 writev(0, iov, 0);
18515 return 0;
18517 _ACEOF
18518 if ac_fn_cxx_try_link "$LINENO"; then :
18519 glibcxx_cv_WRITEV=yes
18520 else
18521 glibcxx_cv_WRITEV=no
18523 rm -f core conftest.err conftest.$ac_objext \
18524 conftest$ac_exeext conftest.$ac_ext
18529 if test $glibcxx_cv_WRITEV = yes; then
18531 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18535 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18537 CXXFLAGS="$ac_save_CXXFLAGS"
18538 ac_ext=c
18539 ac_cpp='$CPP $CPPFLAGS'
18540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18546 # For C99 support to TR1.
18550 ac_ext=cpp
18551 ac_cpp='$CXXCPP $CPPFLAGS'
18552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18557 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18558 # undefined and fake C99 facilities may be spuriously enabled.
18559 ac_save_CXXFLAGS="$CXXFLAGS"
18560 CXXFLAGS="$CXXFLAGS -std=c++98"
18562 # Check for the existence of <complex.h> complex math functions used
18563 # by tr1/complex.
18564 for ac_header in complex.h
18565 do :
18566 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18567 if test "x$ac_cv_header_complex_h" = x""yes; then :
18568 cat >>confdefs.h <<_ACEOF
18569 #define HAVE_COMPLEX_H 1
18570 _ACEOF
18571 ac_has_complex_h=yes
18572 else
18573 ac_has_complex_h=no
18576 done
18578 ac_c99_complex_tr1=no;
18579 if test x"$ac_has_complex_h" = x"yes"; then
18580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18581 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18583 /* end confdefs.h. */
18584 #include <complex.h>
18586 main ()
18588 typedef __complex__ float float_type; float_type tmpf;
18589 cacosf(tmpf);
18590 casinf(tmpf);
18591 catanf(tmpf);
18592 cacoshf(tmpf);
18593 casinhf(tmpf);
18594 catanhf(tmpf);
18595 typedef __complex__ double double_type; double_type tmpd;
18596 cacos(tmpd);
18597 casin(tmpd);
18598 catan(tmpd);
18599 cacosh(tmpd);
18600 casinh(tmpd);
18601 catanh(tmpd);
18602 typedef __complex__ long double ld_type; ld_type tmpld;
18603 cacosl(tmpld);
18604 casinl(tmpld);
18605 catanl(tmpld);
18606 cacoshl(tmpld);
18607 casinhl(tmpld);
18608 catanhl(tmpld);
18611 return 0;
18613 _ACEOF
18614 if ac_fn_cxx_try_compile "$LINENO"; then :
18615 ac_c99_complex_tr1=yes
18616 else
18617 ac_c99_complex_tr1=no
18619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18622 $as_echo "$ac_c99_complex_tr1" >&6; }
18623 if test x"$ac_c99_complex_tr1" = x"yes"; then
18625 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18629 # Check for the existence of <ctype.h> functions.
18630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18631 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18632 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18633 $as_echo_n "(cached) " >&6
18634 else
18636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18637 /* end confdefs.h. */
18638 #include <ctype.h>
18640 main ()
18642 int ch;
18643 int ret;
18644 ret = isblank(ch);
18647 return 0;
18649 _ACEOF
18650 if ac_fn_cxx_try_compile "$LINENO"; then :
18651 glibcxx_cv_c99_ctype_tr1=yes
18652 else
18653 glibcxx_cv_c99_ctype_tr1=no
18655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18660 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18661 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18663 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18667 # Check for the existence of <fenv.h> functions.
18668 for ac_header in fenv.h
18669 do :
18670 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18671 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18672 cat >>confdefs.h <<_ACEOF
18673 #define HAVE_FENV_H 1
18674 _ACEOF
18675 ac_has_fenv_h=yes
18676 else
18677 ac_has_fenv_h=no
18680 done
18682 ac_c99_fenv_tr1=no;
18683 if test x"$ac_has_fenv_h" = x"yes"; then
18684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18685 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18687 /* end confdefs.h. */
18688 #include <fenv.h>
18690 main ()
18692 int except, mode;
18693 fexcept_t* pflag;
18694 fenv_t* penv;
18695 int ret;
18696 ret = feclearexcept(except);
18697 ret = fegetexceptflag(pflag, except);
18698 ret = feraiseexcept(except);
18699 ret = fesetexceptflag(pflag, except);
18700 ret = fetestexcept(except);
18701 ret = fegetround();
18702 ret = fesetround(mode);
18703 ret = fegetenv(penv);
18704 ret = feholdexcept(penv);
18705 ret = fesetenv(penv);
18706 ret = feupdateenv(penv);
18709 return 0;
18711 _ACEOF
18712 if ac_fn_cxx_try_compile "$LINENO"; then :
18713 ac_c99_fenv_tr1=yes
18714 else
18715 ac_c99_fenv_tr1=no
18717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18720 $as_echo "$ac_c99_fenv_tr1" >&6; }
18721 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18723 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18727 # Check for the existence of <stdint.h> types.
18728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18729 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18730 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18731 $as_echo_n "(cached) " >&6
18732 else
18734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18735 /* end confdefs.h. */
18736 #define __STDC_LIMIT_MACROS
18737 #define __STDC_CONSTANT_MACROS
18738 #include <stdint.h>
18740 main ()
18742 typedef int8_t my_int8_t;
18743 my_int8_t i8 = INT8_MIN;
18744 i8 = INT8_MAX;
18745 typedef int16_t my_int16_t;
18746 my_int16_t i16 = INT16_MIN;
18747 i16 = INT16_MAX;
18748 typedef int32_t my_int32_t;
18749 my_int32_t i32 = INT32_MIN;
18750 i32 = INT32_MAX;
18751 typedef int64_t my_int64_t;
18752 my_int64_t i64 = INT64_MIN;
18753 i64 = INT64_MAX;
18754 typedef int_fast8_t my_int_fast8_t;
18755 my_int_fast8_t if8 = INT_FAST8_MIN;
18756 if8 = INT_FAST8_MAX;
18757 typedef int_fast16_t my_int_fast16_t;
18758 my_int_fast16_t if16 = INT_FAST16_MIN;
18759 if16 = INT_FAST16_MAX;
18760 typedef int_fast32_t my_int_fast32_t;
18761 my_int_fast32_t if32 = INT_FAST32_MIN;
18762 if32 = INT_FAST32_MAX;
18763 typedef int_fast64_t my_int_fast64_t;
18764 my_int_fast64_t if64 = INT_FAST64_MIN;
18765 if64 = INT_FAST64_MAX;
18766 typedef int_least8_t my_int_least8_t;
18767 my_int_least8_t il8 = INT_LEAST8_MIN;
18768 il8 = INT_LEAST8_MAX;
18769 typedef int_least16_t my_int_least16_t;
18770 my_int_least16_t il16 = INT_LEAST16_MIN;
18771 il16 = INT_LEAST16_MAX;
18772 typedef int_least32_t my_int_least32_t;
18773 my_int_least32_t il32 = INT_LEAST32_MIN;
18774 il32 = INT_LEAST32_MAX;
18775 typedef int_least64_t my_int_least64_t;
18776 my_int_least64_t il64 = INT_LEAST64_MIN;
18777 il64 = INT_LEAST64_MAX;
18778 typedef intmax_t my_intmax_t;
18779 my_intmax_t im = INTMAX_MAX;
18780 im = INTMAX_MIN;
18781 typedef intptr_t my_intptr_t;
18782 my_intptr_t ip = INTPTR_MAX;
18783 ip = INTPTR_MIN;
18784 typedef uint8_t my_uint8_t;
18785 my_uint8_t ui8 = UINT8_MAX;
18786 ui8 = UINT8_MAX;
18787 typedef uint16_t my_uint16_t;
18788 my_uint16_t ui16 = UINT16_MAX;
18789 ui16 = UINT16_MAX;
18790 typedef uint32_t my_uint32_t;
18791 my_uint32_t ui32 = UINT32_MAX;
18792 ui32 = UINT32_MAX;
18793 typedef uint64_t my_uint64_t;
18794 my_uint64_t ui64 = UINT64_MAX;
18795 ui64 = UINT64_MAX;
18796 typedef uint_fast8_t my_uint_fast8_t;
18797 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18798 uif8 = UINT_FAST8_MAX;
18799 typedef uint_fast16_t my_uint_fast16_t;
18800 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18801 uif16 = UINT_FAST16_MAX;
18802 typedef uint_fast32_t my_uint_fast32_t;
18803 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18804 uif32 = UINT_FAST32_MAX;
18805 typedef uint_fast64_t my_uint_fast64_t;
18806 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18807 uif64 = UINT_FAST64_MAX;
18808 typedef uint_least8_t my_uint_least8_t;
18809 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18810 uil8 = UINT_LEAST8_MAX;
18811 typedef uint_least16_t my_uint_least16_t;
18812 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18813 uil16 = UINT_LEAST16_MAX;
18814 typedef uint_least32_t my_uint_least32_t;
18815 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18816 uil32 = UINT_LEAST32_MAX;
18817 typedef uint_least64_t my_uint_least64_t;
18818 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18819 uil64 = UINT_LEAST64_MAX;
18820 typedef uintmax_t my_uintmax_t;
18821 my_uintmax_t uim = UINTMAX_MAX;
18822 uim = UINTMAX_MAX;
18823 typedef uintptr_t my_uintptr_t;
18824 my_uintptr_t uip = UINTPTR_MAX;
18825 uip = UINTPTR_MAX;
18828 return 0;
18830 _ACEOF
18831 if ac_fn_cxx_try_compile "$LINENO"; then :
18832 glibcxx_cv_c99_stdint_tr1=yes
18833 else
18834 glibcxx_cv_c99_stdint_tr1=no
18836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18841 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18842 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18844 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18848 # Check for the existence of <math.h> functions.
18849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18850 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18851 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18852 $as_echo_n "(cached) " >&6
18853 else
18855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18856 /* end confdefs.h. */
18857 #include <math.h>
18859 main ()
18861 typedef double_t my_double_t;
18862 typedef float_t my_float_t;
18863 acosh(0.0);
18864 acoshf(0.0f);
18865 acoshl(0.0l);
18866 asinh(0.0);
18867 asinhf(0.0f);
18868 asinhl(0.0l);
18869 atanh(0.0);
18870 atanhf(0.0f);
18871 atanhl(0.0l);
18872 cbrt(0.0);
18873 cbrtf(0.0f);
18874 cbrtl(0.0l);
18875 copysign(0.0, 0.0);
18876 copysignf(0.0f, 0.0f);
18877 copysignl(0.0l, 0.0l);
18878 erf(0.0);
18879 erff(0.0f);
18880 erfl(0.0l);
18881 erfc(0.0);
18882 erfcf(0.0f);
18883 erfcl(0.0l);
18884 exp2(0.0);
18885 exp2f(0.0f);
18886 exp2l(0.0l);
18887 expm1(0.0);
18888 expm1f(0.0f);
18889 expm1l(0.0l);
18890 fdim(0.0, 0.0);
18891 fdimf(0.0f, 0.0f);
18892 fdiml(0.0l, 0.0l);
18893 fma(0.0, 0.0, 0.0);
18894 fmaf(0.0f, 0.0f, 0.0f);
18895 fmal(0.0l, 0.0l, 0.0l);
18896 fmax(0.0, 0.0);
18897 fmaxf(0.0f, 0.0f);
18898 fmaxl(0.0l, 0.0l);
18899 fmin(0.0, 0.0);
18900 fminf(0.0f, 0.0f);
18901 fminl(0.0l, 0.0l);
18902 hypot(0.0, 0.0);
18903 hypotf(0.0f, 0.0f);
18904 hypotl(0.0l, 0.0l);
18905 ilogb(0.0);
18906 ilogbf(0.0f);
18907 ilogbl(0.0l);
18908 lgamma(0.0);
18909 lgammaf(0.0f);
18910 lgammal(0.0l);
18911 llrint(0.0);
18912 llrintf(0.0f);
18913 llrintl(0.0l);
18914 llround(0.0);
18915 llroundf(0.0f);
18916 llroundl(0.0l);
18917 log1p(0.0);
18918 log1pf(0.0f);
18919 log1pl(0.0l);
18920 log2(0.0);
18921 log2f(0.0f);
18922 log2l(0.0l);
18923 logb(0.0);
18924 logbf(0.0f);
18925 logbl(0.0l);
18926 lrint(0.0);
18927 lrintf(0.0f);
18928 lrintl(0.0l);
18929 lround(0.0);
18930 lroundf(0.0f);
18931 lroundl(0.0l);
18932 nan(0);
18933 nanf(0);
18934 nanl(0);
18935 nearbyint(0.0);
18936 nearbyintf(0.0f);
18937 nearbyintl(0.0l);
18938 nextafter(0.0, 0.0);
18939 nextafterf(0.0f, 0.0f);
18940 nextafterl(0.0l, 0.0l);
18941 nexttoward(0.0, 0.0);
18942 nexttowardf(0.0f, 0.0f);
18943 nexttowardl(0.0l, 0.0l);
18944 remainder(0.0, 0.0);
18945 remainderf(0.0f, 0.0f);
18946 remainderl(0.0l, 0.0l);
18947 remquo(0.0, 0.0, 0);
18948 remquof(0.0f, 0.0f, 0);
18949 remquol(0.0l, 0.0l, 0);
18950 rint(0.0);
18951 rintf(0.0f);
18952 rintl(0.0l);
18953 round(0.0);
18954 roundf(0.0f);
18955 roundl(0.0l);
18956 scalbln(0.0, 0l);
18957 scalblnf(0.0f, 0l);
18958 scalblnl(0.0l, 0l);
18959 scalbn(0.0, 0);
18960 scalbnf(0.0f, 0);
18961 scalbnl(0.0l, 0);
18962 tgamma(0.0);
18963 tgammaf(0.0f);
18964 tgammal(0.0l);
18965 trunc(0.0);
18966 truncf(0.0f);
18967 truncl(0.0l);
18970 return 0;
18972 _ACEOF
18973 if ac_fn_cxx_try_compile "$LINENO"; then :
18974 glibcxx_cv_c99_math_tr1=yes
18975 else
18976 glibcxx_cv_c99_math_tr1=no
18978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
18983 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
18984 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
18986 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
18990 # Check for the existence of <inttypes.h> functions (NB: doesn't make
18991 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18992 ac_c99_inttypes_tr1=no;
18993 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
18995 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18997 /* end confdefs.h. */
18998 #include <inttypes.h>
19000 main ()
19002 intmax_t i, numer, denom, base;
19003 const char* s;
19004 char** endptr;
19005 intmax_t ret = imaxabs(i);
19006 imaxdiv_t dret = imaxdiv(numer, denom);
19007 ret = strtoimax(s, endptr, base);
19008 uintmax_t uret = strtoumax(s, endptr, base);
19011 return 0;
19013 _ACEOF
19014 if ac_fn_cxx_try_compile "$LINENO"; then :
19015 ac_c99_inttypes_tr1=yes
19016 else
19017 ac_c99_inttypes_tr1=no
19019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19022 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19023 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19025 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19029 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19030 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19031 ac_c99_inttypes_wchar_t_tr1=no;
19032 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19034 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19036 /* end confdefs.h. */
19037 #include <inttypes.h>
19039 main ()
19041 intmax_t base;
19042 const wchar_t* s;
19043 wchar_t** endptr;
19044 intmax_t ret = wcstoimax(s, endptr, base);
19045 uintmax_t uret = wcstoumax(s, endptr, base);
19048 return 0;
19050 _ACEOF
19051 if ac_fn_cxx_try_compile "$LINENO"; then :
19052 ac_c99_inttypes_wchar_t_tr1=yes
19053 else
19054 ac_c99_inttypes_wchar_t_tr1=no
19056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19059 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19060 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19062 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19066 # Check for the existence of the <stdbool.h> header.
19067 for ac_header in stdbool.h
19068 do :
19069 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19070 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19071 cat >>confdefs.h <<_ACEOF
19072 #define HAVE_STDBOOL_H 1
19073 _ACEOF
19077 done
19080 # Check for the existence of the <stdalign.h> header.
19081 for ac_header in stdalign.h
19082 do :
19083 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19084 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19085 cat >>confdefs.h <<_ACEOF
19086 #define HAVE_STDALIGN_H 1
19087 _ACEOF
19091 done
19094 CXXFLAGS="$ac_save_CXXFLAGS"
19095 ac_ext=c
19096 ac_cpp='$CPP $CPPFLAGS'
19097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19103 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19107 $as_echo_n "checking for the value of EOF... " >&6; }
19108 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19109 $as_echo_n "(cached) " >&6
19110 else
19112 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19114 else
19115 as_fn_error "computing EOF failed" "$LINENO" 5
19120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19121 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19123 cat >>confdefs.h <<_ACEOF
19124 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19125 _ACEOF
19128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19129 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19130 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19131 $as_echo_n "(cached) " >&6
19132 else
19134 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19136 else
19137 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19143 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19145 cat >>confdefs.h <<_ACEOF
19146 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19147 _ACEOF
19150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19151 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19152 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19153 $as_echo_n "(cached) " >&6
19154 else
19156 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19158 else
19159 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19165 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19167 cat >>confdefs.h <<_ACEOF
19168 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19169 _ACEOF
19173 # For gettimeofday support.
19176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19177 $as_echo_n "checking for gettimeofday... " >&6; }
19180 ac_ext=cpp
19181 ac_cpp='$CXXCPP $CPPFLAGS'
19182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19186 ac_save_CXXFLAGS="$CXXFLAGS"
19187 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19189 ac_has_gettimeofday=no;
19190 for ac_header in sys/time.h
19191 do :
19192 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19193 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19194 cat >>confdefs.h <<_ACEOF
19195 #define HAVE_SYS_TIME_H 1
19196 _ACEOF
19197 ac_has_sys_time_h=yes
19198 else
19199 ac_has_sys_time_h=no
19202 done
19204 if test x"$ac_has_sys_time_h" = x"yes"; then
19205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19206 $as_echo_n "checking for gettimeofday... " >&6; }
19207 if test x$gcc_no_link = xyes; then
19208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19209 /* end confdefs.h. */
19210 #include <sys/time.h>
19212 main ()
19214 timeval tv; gettimeofday(&tv, 0);
19216 return 0;
19218 _ACEOF
19219 if ac_fn_cxx_try_compile "$LINENO"; then :
19220 ac_has_gettimeofday=yes
19221 else
19222 ac_has_gettimeofday=no
19224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19225 else
19226 if test x$gcc_no_link = xyes; then
19227 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19230 /* end confdefs.h. */
19231 #include <sys/time.h>
19233 main ()
19235 timeval tv; gettimeofday(&tv, 0);
19237 return 0;
19239 _ACEOF
19240 if ac_fn_cxx_try_link "$LINENO"; then :
19241 ac_has_gettimeofday=yes
19242 else
19243 ac_has_gettimeofday=no
19245 rm -f core conftest.err conftest.$ac_objext \
19246 conftest$ac_exeext conftest.$ac_ext
19249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19250 $as_echo "$ac_has_gettimeofday" >&6; }
19253 if test x"$ac_has_gettimeofday" = x"yes"; then
19255 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19259 CXXFLAGS="$ac_save_CXXFLAGS"
19260 ac_ext=c
19261 ac_cpp='$CPP $CPPFLAGS'
19262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19268 # For clock_gettime, nanosleep and sched_yield support.
19269 # NB: The default is [no], because otherwise it requires linking.
19272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
19273 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
19274 # Check whether --enable-libstdcxx-time was given.
19275 if test "${enable_libstdcxx_time+set}" = set; then :
19276 enableval=$enable_libstdcxx_time;
19277 case "$enableval" in
19278 yes|no|rt) ;;
19279 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19280 esac
19282 else
19283 enable_libstdcxx_time=no
19289 ac_ext=cpp
19290 ac_cpp='$CXXCPP $CPPFLAGS'
19291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19295 ac_save_CXXFLAGS="$CXXFLAGS"
19296 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19297 ac_save_LIBS="$LIBS"
19299 ac_has_clock_monotonic=no
19300 ac_has_clock_realtime=no
19301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
19302 $as_echo "$enable_libstdcxx_time" >&6; }
19304 if test x"$enable_libstdcxx_time" != x"no"; then
19306 if test x"$enable_libstdcxx_time" = x"rt"; then
19307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19308 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19309 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19310 $as_echo_n "(cached) " >&6
19311 else
19312 ac_func_search_save_LIBS=$LIBS
19313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19314 /* end confdefs.h. */
19316 /* Override any GCC internal prototype to avoid an error.
19317 Use char because int might match the return type of a GCC
19318 builtin and then its argument prototype would still apply. */
19319 #ifdef __cplusplus
19320 extern "C"
19321 #endif
19322 char clock_gettime ();
19324 main ()
19326 return clock_gettime ();
19328 return 0;
19330 _ACEOF
19331 for ac_lib in '' rt posix4; do
19332 if test -z "$ac_lib"; then
19333 ac_res="none required"
19334 else
19335 ac_res=-l$ac_lib
19336 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19338 if test x$gcc_no_link = xyes; then
19339 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19341 if ac_fn_cxx_try_link "$LINENO"; then :
19342 ac_cv_search_clock_gettime=$ac_res
19344 rm -f core conftest.err conftest.$ac_objext \
19345 conftest$ac_exeext
19346 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19347 break
19349 done
19350 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19352 else
19353 ac_cv_search_clock_gettime=no
19355 rm conftest.$ac_ext
19356 LIBS=$ac_func_search_save_LIBS
19358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19359 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19360 ac_res=$ac_cv_search_clock_gettime
19361 if test "$ac_res" != no; then :
19362 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19367 $as_echo_n "checking for library containing nanosleep... " >&6; }
19368 if test "${ac_cv_search_nanosleep+set}" = set; then :
19369 $as_echo_n "(cached) " >&6
19370 else
19371 ac_func_search_save_LIBS=$LIBS
19372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19373 /* end confdefs.h. */
19375 /* Override any GCC internal prototype to avoid an error.
19376 Use char because int might match the return type of a GCC
19377 builtin and then its argument prototype would still apply. */
19378 #ifdef __cplusplus
19379 extern "C"
19380 #endif
19381 char nanosleep ();
19383 main ()
19385 return nanosleep ();
19387 return 0;
19389 _ACEOF
19390 for ac_lib in '' rt posix4; do
19391 if test -z "$ac_lib"; then
19392 ac_res="none required"
19393 else
19394 ac_res=-l$ac_lib
19395 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19397 if test x$gcc_no_link = xyes; then
19398 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19400 if ac_fn_cxx_try_link "$LINENO"; then :
19401 ac_cv_search_nanosleep=$ac_res
19403 rm -f core conftest.err conftest.$ac_objext \
19404 conftest$ac_exeext
19405 if test "${ac_cv_search_nanosleep+set}" = set; then :
19406 break
19408 done
19409 if test "${ac_cv_search_nanosleep+set}" = set; then :
19411 else
19412 ac_cv_search_nanosleep=no
19414 rm conftest.$ac_ext
19415 LIBS=$ac_func_search_save_LIBS
19417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19418 $as_echo "$ac_cv_search_nanosleep" >&6; }
19419 ac_res=$ac_cv_search_nanosleep
19420 if test "$ac_res" != no; then :
19421 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19425 else
19426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19427 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19428 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19429 $as_echo_n "(cached) " >&6
19430 else
19431 ac_func_search_save_LIBS=$LIBS
19432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19433 /* end confdefs.h. */
19435 /* Override any GCC internal prototype to avoid an error.
19436 Use char because int might match the return type of a GCC
19437 builtin and then its argument prototype would still apply. */
19438 #ifdef __cplusplus
19439 extern "C"
19440 #endif
19441 char clock_gettime ();
19443 main ()
19445 return clock_gettime ();
19447 return 0;
19449 _ACEOF
19450 for ac_lib in '' posix4; do
19451 if test -z "$ac_lib"; then
19452 ac_res="none required"
19453 else
19454 ac_res=-l$ac_lib
19455 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19457 if test x$gcc_no_link = xyes; then
19458 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19460 if ac_fn_cxx_try_link "$LINENO"; then :
19461 ac_cv_search_clock_gettime=$ac_res
19463 rm -f core conftest.err conftest.$ac_objext \
19464 conftest$ac_exeext
19465 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19466 break
19468 done
19469 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19471 else
19472 ac_cv_search_clock_gettime=no
19474 rm conftest.$ac_ext
19475 LIBS=$ac_func_search_save_LIBS
19477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19478 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19479 ac_res=$ac_cv_search_clock_gettime
19480 if test "$ac_res" != no; then :
19481 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19486 $as_echo_n "checking for library containing nanosleep... " >&6; }
19487 if test "${ac_cv_search_nanosleep+set}" = set; then :
19488 $as_echo_n "(cached) " >&6
19489 else
19490 ac_func_search_save_LIBS=$LIBS
19491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19492 /* end confdefs.h. */
19494 /* Override any GCC internal prototype to avoid an error.
19495 Use char because int might match the return type of a GCC
19496 builtin and then its argument prototype would still apply. */
19497 #ifdef __cplusplus
19498 extern "C"
19499 #endif
19500 char nanosleep ();
19502 main ()
19504 return nanosleep ();
19506 return 0;
19508 _ACEOF
19509 for ac_lib in '' posix4; do
19510 if test -z "$ac_lib"; then
19511 ac_res="none required"
19512 else
19513 ac_res=-l$ac_lib
19514 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19516 if test x$gcc_no_link = xyes; then
19517 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19519 if ac_fn_cxx_try_link "$LINENO"; then :
19520 ac_cv_search_nanosleep=$ac_res
19522 rm -f core conftest.err conftest.$ac_objext \
19523 conftest$ac_exeext
19524 if test "${ac_cv_search_nanosleep+set}" = set; then :
19525 break
19527 done
19528 if test "${ac_cv_search_nanosleep+set}" = set; then :
19530 else
19531 ac_cv_search_nanosleep=no
19533 rm conftest.$ac_ext
19534 LIBS=$ac_func_search_save_LIBS
19536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19537 $as_echo "$ac_cv_search_nanosleep" >&6; }
19538 ac_res=$ac_cv_search_nanosleep
19539 if test "$ac_res" != no; then :
19540 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19546 case "$ac_cv_search_clock_gettime" in
19547 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19549 esac
19550 case "$ac_cv_search_nanosleep" in
19551 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19553 esac
19555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19556 $as_echo_n "checking for library containing sched_yield... " >&6; }
19557 if test "${ac_cv_search_sched_yield+set}" = set; then :
19558 $as_echo_n "(cached) " >&6
19559 else
19560 ac_func_search_save_LIBS=$LIBS
19561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19562 /* end confdefs.h. */
19564 /* Override any GCC internal prototype to avoid an error.
19565 Use char because int might match the return type of a GCC
19566 builtin and then its argument prototype would still apply. */
19567 #ifdef __cplusplus
19568 extern "C"
19569 #endif
19570 char sched_yield ();
19572 main ()
19574 return sched_yield ();
19576 return 0;
19578 _ACEOF
19579 for ac_lib in '' rt posix4; do
19580 if test -z "$ac_lib"; then
19581 ac_res="none required"
19582 else
19583 ac_res=-l$ac_lib
19584 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19586 if test x$gcc_no_link = xyes; then
19587 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19589 if ac_fn_cxx_try_link "$LINENO"; then :
19590 ac_cv_search_sched_yield=$ac_res
19592 rm -f core conftest.err conftest.$ac_objext \
19593 conftest$ac_exeext
19594 if test "${ac_cv_search_sched_yield+set}" = set; then :
19595 break
19597 done
19598 if test "${ac_cv_search_sched_yield+set}" = set; then :
19600 else
19601 ac_cv_search_sched_yield=no
19603 rm conftest.$ac_ext
19604 LIBS=$ac_func_search_save_LIBS
19606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19607 $as_echo "$ac_cv_search_sched_yield" >&6; }
19608 ac_res=$ac_cv_search_sched_yield
19609 if test "$ac_res" != no; then :
19610 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19615 case "$ac_cv_search_sched_yield" in
19616 -lposix4*)
19617 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19619 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19622 -lrt*)
19623 if test x"$enable_libstdcxx_time" = x"rt"; then
19624 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19626 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19632 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19635 esac
19637 for ac_header in unistd.h
19638 do :
19639 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19640 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19641 cat >>confdefs.h <<_ACEOF
19642 #define HAVE_UNISTD_H 1
19643 _ACEOF
19644 ac_has_unistd_h=yes
19645 else
19646 ac_has_unistd_h=no
19649 done
19652 if test x"$ac_has_unistd_h" = x"yes"; then
19653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19654 $as_echo_n "checking for monotonic clock... " >&6; }
19655 if test x$gcc_no_link = xyes; then
19656 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19659 /* end confdefs.h. */
19660 #include <unistd.h>
19661 #include <time.h>
19664 main ()
19666 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19667 timespec tp;
19668 #endif
19669 clock_gettime(CLOCK_MONOTONIC, &tp);
19672 return 0;
19674 _ACEOF
19675 if ac_fn_cxx_try_link "$LINENO"; then :
19676 ac_has_clock_monotonic=yes
19677 else
19678 ac_has_clock_monotonic=no
19680 rm -f core conftest.err conftest.$ac_objext \
19681 conftest$ac_exeext conftest.$ac_ext
19683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19684 $as_echo "$ac_has_clock_monotonic" >&6; }
19686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19687 $as_echo_n "checking for realtime clock... " >&6; }
19688 if test x$gcc_no_link = xyes; then
19689 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19692 /* end confdefs.h. */
19693 #include <unistd.h>
19694 #include <time.h>
19697 main ()
19699 #if _POSIX_TIMERS > 0
19700 timespec tp;
19701 #endif
19702 clock_gettime(CLOCK_REALTIME, &tp);
19705 return 0;
19707 _ACEOF
19708 if ac_fn_cxx_try_link "$LINENO"; then :
19709 ac_has_clock_realtime=yes
19710 else
19711 ac_has_clock_realtime=no
19713 rm -f core conftest.err conftest.$ac_objext \
19714 conftest$ac_exeext conftest.$ac_ext
19716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19717 $as_echo "$ac_has_clock_realtime" >&6; }
19719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19720 $as_echo_n "checking for nanosleep... " >&6; }
19721 if test x$gcc_no_link = xyes; then
19722 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19725 /* end confdefs.h. */
19726 #include <unistd.h>
19727 #include <time.h>
19730 main ()
19732 #if _POSIX_TIMERS > 0
19733 timespec tp;
19734 #endif
19735 nanosleep(&tp, 0);
19738 return 0;
19740 _ACEOF
19741 if ac_fn_cxx_try_link "$LINENO"; then :
19742 ac_has_nanosleep=yes
19743 else
19744 ac_has_nanosleep=no
19746 rm -f core conftest.err conftest.$ac_objext \
19747 conftest$ac_exeext conftest.$ac_ext
19749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19750 $as_echo "$ac_has_nanosleep" >&6; }
19754 if test x"$ac_has_clock_monotonic" = x"yes"; then
19756 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19760 if test x"$ac_has_clock_realtime" = x"yes"; then
19762 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19766 if test x"$ac_has_nanosleep" = x"yes"; then
19768 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19774 CXXFLAGS="$ac_save_CXXFLAGS"
19775 LIBS="$ac_save_LIBS"
19776 ac_ext=c
19777 ac_cpp='$CPP $CPPFLAGS'
19778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19784 # For gthread support
19787 ac_ext=cpp
19788 ac_cpp='$CXXCPP $CPPFLAGS'
19789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19794 ac_save_CXXFLAGS="$CXXFLAGS"
19795 CXXFLAGS="$CXXFLAGS -fno-exceptions \
19796 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
19798 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
19799 case $target_thread_file in
19800 posix)
19801 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
19802 esac
19804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
19805 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
19807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19808 /* end confdefs.h. */
19809 #include <unistd.h>
19811 main ()
19814 // In case of POSIX threads check _POSIX_TIMEOUTS.
19815 #if (defined(_PTHREADS) \
19816 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
19817 #error
19818 #endif
19821 return 0;
19823 _ACEOF
19824 if ac_fn_cxx_try_compile "$LINENO"; then :
19825 ac_gthread_use_mutex_timedlock=1
19826 else
19827 ac_gthread_use_mutex_timedlock=0
19829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19832 cat >>confdefs.h <<_ACEOF
19833 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
19834 _ACEOF
19837 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
19838 else res_mutex_timedlock=no ; fi
19839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
19840 $as_echo "$res_mutex_timedlock" >&6; }
19842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
19843 $as_echo_n "checking for gthreads library... " >&6; }
19845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19846 /* end confdefs.h. */
19847 #include "gthr.h"
19849 main ()
19852 #ifndef __GTHREADS_CXX0X
19853 #error
19854 #endif
19857 return 0;
19859 _ACEOF
19860 if ac_fn_cxx_try_compile "$LINENO"; then :
19861 ac_has_gthreads=yes
19862 else
19863 ac_has_gthreads=no
19865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
19868 $as_echo "$ac_has_gthreads" >&6; }
19870 if test x"$ac_has_gthreads" = x"yes"; then
19872 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
19876 CXXFLAGS="$ac_save_CXXFLAGS"
19877 ac_ext=c
19878 ac_cpp='$CPP $CPPFLAGS'
19879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19886 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19887 if test "x$ac_cv_header_locale_h" = x""yes; then :
19889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19890 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19891 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19892 $as_echo_n "(cached) " >&6
19893 else
19894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19895 /* end confdefs.h. */
19896 #include <locale.h>
19898 main ()
19900 return LC_MESSAGES
19902 return 0;
19904 _ACEOF
19905 if ac_fn_c_try_compile "$LINENO"; then :
19906 ac_cv_val_LC_MESSAGES=yes
19907 else
19908 ac_cv_val_LC_MESSAGES=no
19910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19913 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19914 if test $ac_cv_val_LC_MESSAGES = yes; then
19916 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19925 # For hardware_concurrency
19926 for ac_header in sys/sysinfo.h
19927 do :
19928 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
19929 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
19930 cat >>confdefs.h <<_ACEOF
19931 #define HAVE_SYS_SYSINFO_H 1
19932 _ACEOF
19936 done
19941 ac_ext=cpp
19942 ac_cpp='$CXXCPP $CPPFLAGS'
19943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19947 ac_save_CXXFLAGS="$CXXFLAGS"
19948 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
19951 $as_echo_n "checking for get_nprocs... " >&6; }
19952 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
19953 $as_echo_n "(cached) " >&6
19954 else
19956 if test x$gcc_no_link = xyes; then
19957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19958 /* end confdefs.h. */
19959 #include <sys/sysinfo.h>
19961 main ()
19963 int n = get_nprocs();
19965 return 0;
19967 _ACEOF
19968 if ac_fn_cxx_try_compile "$LINENO"; then :
19969 glibcxx_cv_GET_NPROCS=yes
19970 else
19971 glibcxx_cv_GET_NPROCS=no
19973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19974 else
19975 if test x$gcc_no_link = xyes; then
19976 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19979 /* end confdefs.h. */
19980 #include <sys/sysinfo.h>
19982 main ()
19984 int n = get_nprocs();
19986 return 0;
19988 _ACEOF
19989 if ac_fn_cxx_try_link "$LINENO"; then :
19990 glibcxx_cv_GET_NPROCS=yes
19991 else
19992 glibcxx_cv_GET_NPROCS=no
19994 rm -f core conftest.err conftest.$ac_objext \
19995 conftest$ac_exeext conftest.$ac_ext
20000 if test $glibcxx_cv_GET_NPROCS = yes; then
20002 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20006 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20008 CXXFLAGS="$ac_save_CXXFLAGS"
20009 ac_ext=c
20010 ac_cpp='$CPP $CPPFLAGS'
20011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20016 for ac_header in unistd.h
20017 do :
20018 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20019 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20020 cat >>confdefs.h <<_ACEOF
20021 #define HAVE_UNISTD_H 1
20022 _ACEOF
20026 done
20031 ac_ext=cpp
20032 ac_cpp='$CXXCPP $CPPFLAGS'
20033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20037 ac_save_CXXFLAGS="$CXXFLAGS"
20038 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20041 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20042 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20043 $as_echo_n "(cached) " >&6
20044 else
20046 if test x$gcc_no_link = xyes; then
20047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20048 /* end confdefs.h. */
20049 #include <unistd.h>
20051 main ()
20053 int n = sysconf(_SC_NPROCESSORS_ONLN);
20055 return 0;
20057 _ACEOF
20058 if ac_fn_cxx_try_compile "$LINENO"; then :
20059 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20060 else
20061 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20064 else
20065 if test x$gcc_no_link = xyes; then
20066 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20069 /* end confdefs.h. */
20070 #include <unistd.h>
20072 main ()
20074 int n = sysconf(_SC_NPROCESSORS_ONLN);
20076 return 0;
20078 _ACEOF
20079 if ac_fn_cxx_try_link "$LINENO"; then :
20080 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20081 else
20082 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20084 rm -f core conftest.err conftest.$ac_objext \
20085 conftest$ac_exeext conftest.$ac_ext
20090 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20092 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20096 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20098 CXXFLAGS="$ac_save_CXXFLAGS"
20099 ac_ext=c
20100 ac_cpp='$CPP $CPPFLAGS'
20101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20109 ac_ext=cpp
20110 ac_cpp='$CXXCPP $CPPFLAGS'
20111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20115 ac_save_CXXFLAGS="$CXXFLAGS"
20116 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20119 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20120 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20121 $as_echo_n "(cached) " >&6
20122 else
20124 if test x$gcc_no_link = xyes; then
20125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20126 /* end confdefs.h. */
20127 #include <unistd.h>
20129 main ()
20131 int n = sysconf(_SC_NPROC_ONLN);
20133 return 0;
20135 _ACEOF
20136 if ac_fn_cxx_try_compile "$LINENO"; then :
20137 glibcxx_cv_SC_NPROC_ONLN=yes
20138 else
20139 glibcxx_cv_SC_NPROC_ONLN=no
20141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20142 else
20143 if test x$gcc_no_link = xyes; then
20144 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20147 /* end confdefs.h. */
20148 #include <unistd.h>
20150 main ()
20152 int n = sysconf(_SC_NPROC_ONLN);
20154 return 0;
20156 _ACEOF
20157 if ac_fn_cxx_try_link "$LINENO"; then :
20158 glibcxx_cv_SC_NPROC_ONLN=yes
20159 else
20160 glibcxx_cv_SC_NPROC_ONLN=no
20162 rm -f core conftest.err conftest.$ac_objext \
20163 conftest$ac_exeext conftest.$ac_ext
20168 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20170 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20174 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20176 CXXFLAGS="$ac_save_CXXFLAGS"
20177 ac_ext=c
20178 ac_cpp='$CPP $CPPFLAGS'
20179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20187 ac_ext=cpp
20188 ac_cpp='$CXXCPP $CPPFLAGS'
20189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20193 ac_save_CXXFLAGS="$CXXFLAGS"
20194 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20197 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20198 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20199 $as_echo_n "(cached) " >&6
20200 else
20202 if test x$gcc_no_link = xyes; then
20203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20204 /* end confdefs.h. */
20205 #include <pthread.h>
20207 main ()
20209 int n = pthread_num_processors_np();
20211 return 0;
20213 _ACEOF
20214 if ac_fn_cxx_try_compile "$LINENO"; then :
20215 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20216 else
20217 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20220 else
20221 if test x$gcc_no_link = xyes; then
20222 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20225 /* end confdefs.h. */
20226 #include <pthread.h>
20228 main ()
20230 int n = pthread_num_processors_np();
20232 return 0;
20234 _ACEOF
20235 if ac_fn_cxx_try_link "$LINENO"; then :
20236 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20237 else
20238 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20240 rm -f core conftest.err conftest.$ac_objext \
20241 conftest$ac_exeext conftest.$ac_ext
20246 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20248 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20252 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20254 CXXFLAGS="$ac_save_CXXFLAGS"
20255 ac_ext=c
20256 ac_cpp='$CPP $CPPFLAGS'
20257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20265 ac_ext=cpp
20266 ac_cpp='$CXXCPP $CPPFLAGS'
20267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20271 ac_save_CXXFLAGS="$CXXFLAGS"
20272 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20275 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20276 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20277 $as_echo_n "(cached) " >&6
20278 else
20280 if test x$gcc_no_link = xyes; then
20281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20282 /* end confdefs.h. */
20284 #include <stddef.h>
20285 #include <sys/sysctl.h>
20288 main ()
20291 int count;
20292 size_t size = sizeof(count);
20293 int mib[] = { CTL_HW, HW_NCPU };
20294 sysctl(mib, 2, &count, &size, NULL, 0);
20297 return 0;
20299 _ACEOF
20300 if ac_fn_cxx_try_compile "$LINENO"; then :
20301 glibcxx_cv_SYSCTL_HW_NCPU=yes
20302 else
20303 glibcxx_cv_SYSCTL_HW_NCPU=no
20305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20306 else
20307 if test x$gcc_no_link = xyes; then
20308 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20311 /* end confdefs.h. */
20313 #include <stddef.h>
20314 #include <sys/sysctl.h>
20317 main ()
20320 int count;
20321 size_t size = sizeof(count);
20322 int mib[] = { CTL_HW, HW_NCPU };
20323 sysctl(mib, 2, &count, &size, NULL, 0);
20326 return 0;
20328 _ACEOF
20329 if ac_fn_cxx_try_link "$LINENO"; then :
20330 glibcxx_cv_SYSCTL_HW_NCPU=yes
20331 else
20332 glibcxx_cv_SYSCTL_HW_NCPU=no
20334 rm -f core conftest.err conftest.$ac_objext \
20335 conftest$ac_exeext conftest.$ac_ext
20340 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20342 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20346 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20348 CXXFLAGS="$ac_save_CXXFLAGS"
20349 ac_ext=c
20350 ac_cpp='$CPP $CPPFLAGS'
20351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20357 # Check for available headers.
20358 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20359 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20360 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20361 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20362 wchar.h wctype.h
20363 do :
20364 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20365 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20366 eval as_val=\$$as_ac_Header
20367 if test "x$as_val" = x""yes; then :
20368 cat >>confdefs.h <<_ACEOF
20369 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20370 _ACEOF
20374 done
20377 # Only do link tests if native. Else, hardcode.
20378 if $GLIBCXX_IS_NATIVE; then
20380 # We can do more elaborate tests that assume a working linker.
20381 CANADIAN=no
20385 # Check whether --with-gnu-ld was given.
20386 if test "${with_gnu_ld+set}" = set; then :
20387 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20388 else
20389 with_gnu_ld=no
20392 ac_prog=ld
20393 if test "$GCC" = yes; then
20394 # Check if gcc -print-prog-name=ld gives a path.
20395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20396 $as_echo_n "checking for ld used by $CC... " >&6; }
20397 case $host in
20398 *-*-mingw*)
20399 # gcc leaves a trailing carriage return which upsets mingw
20400 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20402 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20403 esac
20404 case $ac_prog in
20405 # Accept absolute paths.
20406 [\\/]* | ?:[\\/]*)
20407 re_direlt='/[^/][^/]*/\.\./'
20408 # Canonicalize the pathname of ld
20409 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20410 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20411 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20412 done
20413 test -z "$LD" && LD="$ac_prog"
20416 # If it fails, then pretend we aren't using GCC.
20417 ac_prog=ld
20420 # If it is relative, then search for the first ld in PATH.
20421 with_gnu_ld=unknown
20423 esac
20424 elif test "$with_gnu_ld" = yes; then
20425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20426 $as_echo_n "checking for GNU ld... " >&6; }
20427 else
20428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20429 $as_echo_n "checking for non-GNU ld... " >&6; }
20431 if test "${lt_cv_path_LD+set}" = set; then :
20432 $as_echo_n "(cached) " >&6
20433 else
20434 if test -z "$LD"; then
20435 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20436 for ac_dir in $PATH; do
20437 IFS="$lt_save_ifs"
20438 test -z "$ac_dir" && ac_dir=.
20439 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20440 lt_cv_path_LD="$ac_dir/$ac_prog"
20441 # Check to see if the program is GNU ld. I'd rather use --version,
20442 # but apparently some variants of GNU ld only accept -v.
20443 # Break only if it was the GNU/non-GNU ld that we prefer.
20444 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20445 *GNU* | *'with BFD'*)
20446 test "$with_gnu_ld" != no && break
20449 test "$with_gnu_ld" != yes && break
20451 esac
20453 done
20454 IFS="$lt_save_ifs"
20455 else
20456 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20460 LD="$lt_cv_path_LD"
20461 if test -n "$LD"; then
20462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20463 $as_echo "$LD" >&6; }
20464 else
20465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20466 $as_echo "no" >&6; }
20468 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20470 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20471 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20472 $as_echo_n "(cached) " >&6
20473 else
20474 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20475 case `$LD -v 2>&1 </dev/null` in
20476 *GNU* | *'with BFD'*)
20477 lt_cv_prog_gnu_ld=yes
20480 lt_cv_prog_gnu_ld=no
20482 esac
20484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20485 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20486 with_gnu_ld=$lt_cv_prog_gnu_ld
20494 # If we're not using GNU ld, then there's no point in even trying these
20495 # tests. Check for that first. We should have already tested for gld
20496 # by now (in libtool), but require it now just to be safe...
20497 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20498 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20502 # The name set by libtool depends on the version of libtool. Shame on us
20503 # for depending on an impl detail, but c'est la vie. Older versions used
20504 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20505 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20506 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20507 # set (hence we're using an older libtool), then set it.
20508 if test x${with_gnu_ld+set} != xset; then
20509 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20510 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20511 with_gnu_ld=no
20512 else
20513 with_gnu_ld=$ac_cv_prog_gnu_ld
20517 # Start by getting the version number. I think the libtool test already
20518 # does some of this, but throws away the result.
20519 glibcxx_ld_is_gold=no
20520 if test x"$with_gnu_ld" = x"yes"; then
20521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20522 $as_echo_n "checking for ld version... " >&6; }
20524 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20525 glibcxx_ld_is_gold=yes
20527 ldver=`$LD --version 2>/dev/null |
20528 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'`
20530 glibcxx_gnu_ld_version=`echo $ldver | \
20531 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20533 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20536 # Set --gc-sections.
20537 glibcxx_have_gc_sections=no
20538 if test "$glibcxx_ld_is_gold" = "yes"; then
20539 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20540 glibcxx_have_gc_sections=yes
20542 else
20543 glibcxx_gcsections_min_ld=21602
20544 if test x"$with_gnu_ld" = x"yes" &&
20545 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20546 glibcxx_have_gc_sections=yes
20549 if test "$glibcxx_have_gc_sections" = "yes"; then
20550 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20551 # NB: This flag only works reliably after 2.16.1. Configure tests
20552 # for this are difficult, so hard wire a value that should work.
20554 ac_test_CFLAGS="${CFLAGS+set}"
20555 ac_save_CFLAGS="$CFLAGS"
20556 CFLAGS='-Wl,--gc-sections'
20558 # Check for -Wl,--gc-sections
20559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20560 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20561 if test x$gcc_no_link = xyes; then
20562 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20565 /* end confdefs.h. */
20566 int one(void) { return 1; }
20567 int two(void) { return 2; }
20570 main ()
20572 two();
20574 return 0;
20576 _ACEOF
20577 if ac_fn_c_try_link "$LINENO"; then :
20578 ac_gcsections=yes
20579 else
20580 ac_gcsections=no
20582 rm -f core conftest.err conftest.$ac_objext \
20583 conftest$ac_exeext conftest.$ac_ext
20584 if test "$ac_gcsections" = "yes"; then
20585 rm -f conftest.c
20586 touch conftest.c
20587 if $CC -c conftest.c; then
20588 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20589 grep "Warning: gc-sections option ignored" > /dev/null; then
20590 ac_gcsections=no
20593 rm -f conftest.c conftest.o conftest
20595 if test "$ac_gcsections" = "yes"; then
20596 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20599 $as_echo "$ac_gcsections" >&6; }
20601 if test "$ac_test_CFLAGS" = set; then
20602 CFLAGS="$ac_save_CFLAGS"
20603 else
20604 # this is the suspicious part
20605 CFLAGS=''
20609 # Set -z,relro.
20610 # Note this is only for shared objects.
20611 ac_ld_relro=no
20612 if test x"$with_gnu_ld" = x"yes"; then
20613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20614 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20615 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20616 if test -n "$cxx_z_relo"; then
20617 OPT_LDFLAGS="-Wl,-z,relro"
20618 ac_ld_relro=yes
20620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20621 $as_echo "$ac_ld_relro" >&6; }
20624 # Set linker optimization flags.
20625 if test x"$with_gnu_ld" = x"yes"; then
20626 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20633 ac_test_CXXFLAGS="${CXXFLAGS+set}"
20634 ac_save_CXXFLAGS="$CXXFLAGS"
20635 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20638 $as_echo_n "checking for sin in -lm... " >&6; }
20639 if test "${ac_cv_lib_m_sin+set}" = set; then :
20640 $as_echo_n "(cached) " >&6
20641 else
20642 ac_check_lib_save_LIBS=$LIBS
20643 LIBS="-lm $LIBS"
20644 if test x$gcc_no_link = xyes; then
20645 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20648 /* end confdefs.h. */
20650 /* Override any GCC internal prototype to avoid an error.
20651 Use char because int might match the return type of a GCC
20652 builtin and then its argument prototype would still apply. */
20653 #ifdef __cplusplus
20654 extern "C"
20655 #endif
20656 char sin ();
20658 main ()
20660 return sin ();
20662 return 0;
20664 _ACEOF
20665 if ac_fn_c_try_link "$LINENO"; then :
20666 ac_cv_lib_m_sin=yes
20667 else
20668 ac_cv_lib_m_sin=no
20670 rm -f core conftest.err conftest.$ac_objext \
20671 conftest$ac_exeext conftest.$ac_ext
20672 LIBS=$ac_check_lib_save_LIBS
20674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20675 $as_echo "$ac_cv_lib_m_sin" >&6; }
20676 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20677 libm="-lm"
20680 ac_save_LIBS="$LIBS"
20681 LIBS="$LIBS $libm"
20685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20686 $as_echo_n "checking for isinf declaration... " >&6; }
20687 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20688 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20689 $as_echo_n "(cached) " >&6
20690 else
20693 ac_ext=cpp
20694 ac_cpp='$CXXCPP $CPPFLAGS'
20695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20700 /* end confdefs.h. */
20701 #include <math.h>
20702 #ifdef HAVE_IEEEFP_H
20703 #include <ieeefp.h>
20704 #endif
20707 main ()
20709 isinf(0);
20711 return 0;
20713 _ACEOF
20714 if ac_fn_cxx_try_compile "$LINENO"; then :
20715 glibcxx_cv_func_isinf_use=yes
20716 else
20717 glibcxx_cv_func_isinf_use=no
20719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20720 ac_ext=c
20721 ac_cpp='$CPP $CPPFLAGS'
20722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
20731 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
20733 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20734 for ac_func in isinf
20735 do :
20736 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
20737 if test "x$ac_cv_func_isinf" = x""yes; then :
20738 cat >>confdefs.h <<_ACEOF
20739 #define HAVE_ISINF 1
20740 _ACEOF
20743 done
20745 else
20747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
20748 $as_echo_n "checking for _isinf declaration... " >&6; }
20749 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
20750 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
20751 $as_echo_n "(cached) " >&6
20752 else
20755 ac_ext=cpp
20756 ac_cpp='$CXXCPP $CPPFLAGS'
20757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20762 /* end confdefs.h. */
20763 #include <math.h>
20764 #ifdef HAVE_IEEEFP_H
20765 #include <ieeefp.h>
20766 #endif
20769 main ()
20771 _isinf(0);
20773 return 0;
20775 _ACEOF
20776 if ac_fn_cxx_try_compile "$LINENO"; then :
20777 glibcxx_cv_func__isinf_use=yes
20778 else
20779 glibcxx_cv_func__isinf_use=no
20781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20782 ac_ext=c
20783 ac_cpp='$CPP $CPPFLAGS'
20784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
20793 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
20795 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
20796 for ac_func in _isinf
20797 do :
20798 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
20799 if test "x$ac_cv_func__isinf" = x""yes; then :
20800 cat >>confdefs.h <<_ACEOF
20801 #define HAVE__ISINF 1
20802 _ACEOF
20805 done
20814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
20815 $as_echo_n "checking for isnan declaration... " >&6; }
20816 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
20817 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
20818 $as_echo_n "(cached) " >&6
20819 else
20822 ac_ext=cpp
20823 ac_cpp='$CXXCPP $CPPFLAGS'
20824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20829 /* end confdefs.h. */
20830 #include <math.h>
20831 #ifdef HAVE_IEEEFP_H
20832 #include <ieeefp.h>
20833 #endif
20836 main ()
20838 isnan(0);
20840 return 0;
20842 _ACEOF
20843 if ac_fn_cxx_try_compile "$LINENO"; then :
20844 glibcxx_cv_func_isnan_use=yes
20845 else
20846 glibcxx_cv_func_isnan_use=no
20848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20849 ac_ext=c
20850 ac_cpp='$CPP $CPPFLAGS'
20851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
20860 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
20862 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
20863 for ac_func in isnan
20864 do :
20865 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
20866 if test "x$ac_cv_func_isnan" = x""yes; then :
20867 cat >>confdefs.h <<_ACEOF
20868 #define HAVE_ISNAN 1
20869 _ACEOF
20872 done
20874 else
20876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
20877 $as_echo_n "checking for _isnan declaration... " >&6; }
20878 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20879 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
20880 $as_echo_n "(cached) " >&6
20881 else
20884 ac_ext=cpp
20885 ac_cpp='$CXXCPP $CPPFLAGS'
20886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20891 /* end confdefs.h. */
20892 #include <math.h>
20893 #ifdef HAVE_IEEEFP_H
20894 #include <ieeefp.h>
20895 #endif
20898 main ()
20900 _isnan(0);
20902 return 0;
20904 _ACEOF
20905 if ac_fn_cxx_try_compile "$LINENO"; then :
20906 glibcxx_cv_func__isnan_use=yes
20907 else
20908 glibcxx_cv_func__isnan_use=no
20910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20911 ac_ext=c
20912 ac_cpp='$CPP $CPPFLAGS'
20913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20922 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20924 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20925 for ac_func in _isnan
20926 do :
20927 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20928 if test "x$ac_cv_func__isnan" = x""yes; then :
20929 cat >>confdefs.h <<_ACEOF
20930 #define HAVE__ISNAN 1
20931 _ACEOF
20934 done
20943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20944 $as_echo_n "checking for finite declaration... " >&6; }
20945 if test x${glibcxx_cv_func_finite_use+set} != xset; then
20946 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20947 $as_echo_n "(cached) " >&6
20948 else
20951 ac_ext=cpp
20952 ac_cpp='$CXXCPP $CPPFLAGS'
20953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20958 /* end confdefs.h. */
20959 #include <math.h>
20960 #ifdef HAVE_IEEEFP_H
20961 #include <ieeefp.h>
20962 #endif
20965 main ()
20967 finite(0);
20969 return 0;
20971 _ACEOF
20972 if ac_fn_cxx_try_compile "$LINENO"; then :
20973 glibcxx_cv_func_finite_use=yes
20974 else
20975 glibcxx_cv_func_finite_use=no
20977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20978 ac_ext=c
20979 ac_cpp='$CPP $CPPFLAGS'
20980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20989 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20991 if test x$glibcxx_cv_func_finite_use = x"yes"; then
20992 for ac_func in finite
20993 do :
20994 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20995 if test "x$ac_cv_func_finite" = x""yes; then :
20996 cat >>confdefs.h <<_ACEOF
20997 #define HAVE_FINITE 1
20998 _ACEOF
21001 done
21003 else
21005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21006 $as_echo_n "checking for _finite declaration... " >&6; }
21007 if test x${glibcxx_cv_func__finite_use+set} != xset; then
21008 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21009 $as_echo_n "(cached) " >&6
21010 else
21013 ac_ext=cpp
21014 ac_cpp='$CXXCPP $CPPFLAGS'
21015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21020 /* end confdefs.h. */
21021 #include <math.h>
21022 #ifdef HAVE_IEEEFP_H
21023 #include <ieeefp.h>
21024 #endif
21027 main ()
21029 _finite(0);
21031 return 0;
21033 _ACEOF
21034 if ac_fn_cxx_try_compile "$LINENO"; then :
21035 glibcxx_cv_func__finite_use=yes
21036 else
21037 glibcxx_cv_func__finite_use=no
21039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21040 ac_ext=c
21041 ac_cpp='$CPP $CPPFLAGS'
21042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21051 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21053 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21054 for ac_func in _finite
21055 do :
21056 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21057 if test "x$ac_cv_func__finite" = x""yes; then :
21058 cat >>confdefs.h <<_ACEOF
21059 #define HAVE__FINITE 1
21060 _ACEOF
21063 done
21072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21073 $as_echo_n "checking for sincos declaration... " >&6; }
21074 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21075 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21076 $as_echo_n "(cached) " >&6
21077 else
21080 ac_ext=cpp
21081 ac_cpp='$CXXCPP $CPPFLAGS'
21082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21087 /* end confdefs.h. */
21088 #include <math.h>
21090 main ()
21092 sincos(0, 0, 0);
21094 return 0;
21096 _ACEOF
21097 if ac_fn_cxx_try_compile "$LINENO"; then :
21098 glibcxx_cv_func_sincos_use=yes
21099 else
21100 glibcxx_cv_func_sincos_use=no
21102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21103 ac_ext=c
21104 ac_cpp='$CPP $CPPFLAGS'
21105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21114 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21116 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21117 for ac_func in sincos
21118 do :
21119 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21120 if test "x$ac_cv_func_sincos" = x""yes; then :
21121 cat >>confdefs.h <<_ACEOF
21122 #define HAVE_SINCOS 1
21123 _ACEOF
21126 done
21128 else
21130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21131 $as_echo_n "checking for _sincos declaration... " >&6; }
21132 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21133 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21134 $as_echo_n "(cached) " >&6
21135 else
21138 ac_ext=cpp
21139 ac_cpp='$CXXCPP $CPPFLAGS'
21140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21145 /* end confdefs.h. */
21146 #include <math.h>
21148 main ()
21150 _sincos(0, 0, 0);
21152 return 0;
21154 _ACEOF
21155 if ac_fn_cxx_try_compile "$LINENO"; then :
21156 glibcxx_cv_func__sincos_use=yes
21157 else
21158 glibcxx_cv_func__sincos_use=no
21160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21161 ac_ext=c
21162 ac_cpp='$CPP $CPPFLAGS'
21163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21172 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21174 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21175 for ac_func in _sincos
21176 do :
21177 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21178 if test "x$ac_cv_func__sincos" = x""yes; then :
21179 cat >>confdefs.h <<_ACEOF
21180 #define HAVE__SINCOS 1
21181 _ACEOF
21184 done
21193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21194 $as_echo_n "checking for fpclass declaration... " >&6; }
21195 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21196 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21197 $as_echo_n "(cached) " >&6
21198 else
21201 ac_ext=cpp
21202 ac_cpp='$CXXCPP $CPPFLAGS'
21203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21208 /* end confdefs.h. */
21209 #include <math.h>
21210 #ifdef HAVE_IEEEFP_H
21211 #include <ieeefp.h>
21212 #endif
21215 main ()
21217 fpclass(0);
21219 return 0;
21221 _ACEOF
21222 if ac_fn_cxx_try_compile "$LINENO"; then :
21223 glibcxx_cv_func_fpclass_use=yes
21224 else
21225 glibcxx_cv_func_fpclass_use=no
21227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21228 ac_ext=c
21229 ac_cpp='$CPP $CPPFLAGS'
21230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21239 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21241 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21242 for ac_func in fpclass
21243 do :
21244 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21245 if test "x$ac_cv_func_fpclass" = x""yes; then :
21246 cat >>confdefs.h <<_ACEOF
21247 #define HAVE_FPCLASS 1
21248 _ACEOF
21251 done
21253 else
21255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21256 $as_echo_n "checking for _fpclass declaration... " >&6; }
21257 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21258 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21259 $as_echo_n "(cached) " >&6
21260 else
21263 ac_ext=cpp
21264 ac_cpp='$CXXCPP $CPPFLAGS'
21265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21270 /* end confdefs.h. */
21271 #include <math.h>
21272 #ifdef HAVE_IEEEFP_H
21273 #include <ieeefp.h>
21274 #endif
21277 main ()
21279 _fpclass(0);
21281 return 0;
21283 _ACEOF
21284 if ac_fn_cxx_try_compile "$LINENO"; then :
21285 glibcxx_cv_func__fpclass_use=yes
21286 else
21287 glibcxx_cv_func__fpclass_use=no
21289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21290 ac_ext=c
21291 ac_cpp='$CPP $CPPFLAGS'
21292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21301 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21303 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21304 for ac_func in _fpclass
21305 do :
21306 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21307 if test "x$ac_cv_func__fpclass" = x""yes; then :
21308 cat >>confdefs.h <<_ACEOF
21309 #define HAVE__FPCLASS 1
21310 _ACEOF
21313 done
21322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21323 $as_echo_n "checking for qfpclass declaration... " >&6; }
21324 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21325 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21326 $as_echo_n "(cached) " >&6
21327 else
21330 ac_ext=cpp
21331 ac_cpp='$CXXCPP $CPPFLAGS'
21332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21337 /* end confdefs.h. */
21338 #include <math.h>
21339 #ifdef HAVE_IEEEFP_H
21340 #include <ieeefp.h>
21341 #endif
21344 main ()
21346 qfpclass(0);
21348 return 0;
21350 _ACEOF
21351 if ac_fn_cxx_try_compile "$LINENO"; then :
21352 glibcxx_cv_func_qfpclass_use=yes
21353 else
21354 glibcxx_cv_func_qfpclass_use=no
21356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21357 ac_ext=c
21358 ac_cpp='$CPP $CPPFLAGS'
21359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21368 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21370 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21371 for ac_func in qfpclass
21372 do :
21373 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21374 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21375 cat >>confdefs.h <<_ACEOF
21376 #define HAVE_QFPCLASS 1
21377 _ACEOF
21380 done
21382 else
21384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21385 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21386 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21387 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21388 $as_echo_n "(cached) " >&6
21389 else
21392 ac_ext=cpp
21393 ac_cpp='$CXXCPP $CPPFLAGS'
21394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21399 /* end confdefs.h. */
21400 #include <math.h>
21401 #ifdef HAVE_IEEEFP_H
21402 #include <ieeefp.h>
21403 #endif
21406 main ()
21408 _qfpclass(0);
21410 return 0;
21412 _ACEOF
21413 if ac_fn_cxx_try_compile "$LINENO"; then :
21414 glibcxx_cv_func__qfpclass_use=yes
21415 else
21416 glibcxx_cv_func__qfpclass_use=no
21418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21419 ac_ext=c
21420 ac_cpp='$CPP $CPPFLAGS'
21421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21430 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21432 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21433 for ac_func in _qfpclass
21434 do :
21435 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21436 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21437 cat >>confdefs.h <<_ACEOF
21438 #define HAVE__QFPCLASS 1
21439 _ACEOF
21442 done
21451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21452 $as_echo_n "checking for hypot declaration... " >&6; }
21453 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21454 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21455 $as_echo_n "(cached) " >&6
21456 else
21459 ac_ext=cpp
21460 ac_cpp='$CXXCPP $CPPFLAGS'
21461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21466 /* end confdefs.h. */
21467 #include <math.h>
21469 main ()
21471 hypot(0, 0);
21473 return 0;
21475 _ACEOF
21476 if ac_fn_cxx_try_compile "$LINENO"; then :
21477 glibcxx_cv_func_hypot_use=yes
21478 else
21479 glibcxx_cv_func_hypot_use=no
21481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21482 ac_ext=c
21483 ac_cpp='$CPP $CPPFLAGS'
21484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21493 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21495 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21496 for ac_func in hypot
21497 do :
21498 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21499 if test "x$ac_cv_func_hypot" = x""yes; then :
21500 cat >>confdefs.h <<_ACEOF
21501 #define HAVE_HYPOT 1
21502 _ACEOF
21505 done
21507 else
21509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21510 $as_echo_n "checking for _hypot declaration... " >&6; }
21511 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21512 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21513 $as_echo_n "(cached) " >&6
21514 else
21517 ac_ext=cpp
21518 ac_cpp='$CXXCPP $CPPFLAGS'
21519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21524 /* end confdefs.h. */
21525 #include <math.h>
21527 main ()
21529 _hypot(0, 0);
21531 return 0;
21533 _ACEOF
21534 if ac_fn_cxx_try_compile "$LINENO"; then :
21535 glibcxx_cv_func__hypot_use=yes
21536 else
21537 glibcxx_cv_func__hypot_use=no
21539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21540 ac_ext=c
21541 ac_cpp='$CPP $CPPFLAGS'
21542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21551 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21553 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21554 for ac_func in _hypot
21555 do :
21556 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21557 if test "x$ac_cv_func__hypot" = x""yes; then :
21558 cat >>confdefs.h <<_ACEOF
21559 #define HAVE__HYPOT 1
21560 _ACEOF
21563 done
21572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21573 $as_echo_n "checking for float trig functions... " >&6; }
21574 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21575 $as_echo_n "(cached) " >&6
21576 else
21579 ac_ext=cpp
21580 ac_cpp='$CXXCPP $CPPFLAGS'
21581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21586 /* end confdefs.h. */
21587 #include <math.h>
21589 main ()
21591 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21593 return 0;
21595 _ACEOF
21596 if ac_fn_cxx_try_compile "$LINENO"; then :
21597 glibcxx_cv_func_float_trig_use=yes
21598 else
21599 glibcxx_cv_func_float_trig_use=no
21601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21602 ac_ext=c
21603 ac_cpp='$CPP $CPPFLAGS'
21604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21611 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21612 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21613 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21614 do :
21615 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21616 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21617 eval as_val=\$$as_ac_var
21618 if test "x$as_val" = x""yes; then :
21619 cat >>confdefs.h <<_ACEOF
21620 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21621 _ACEOF
21624 done
21626 else
21627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21628 $as_echo_n "checking for _float trig functions... " >&6; }
21629 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21630 $as_echo_n "(cached) " >&6
21631 else
21634 ac_ext=cpp
21635 ac_cpp='$CXXCPP $CPPFLAGS'
21636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21641 /* end confdefs.h. */
21642 #include <math.h>
21644 main ()
21646 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21648 return 0;
21650 _ACEOF
21651 if ac_fn_cxx_try_compile "$LINENO"; then :
21652 glibcxx_cv_func__float_trig_use=yes
21653 else
21654 glibcxx_cv_func__float_trig_use=no
21656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21657 ac_ext=c
21658 ac_cpp='$CPP $CPPFLAGS'
21659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21666 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21667 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21668 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21669 do :
21670 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21671 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21672 eval as_val=\$$as_ac_var
21673 if test "x$as_val" = x""yes; then :
21674 cat >>confdefs.h <<_ACEOF
21675 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21676 _ACEOF
21679 done
21688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21689 $as_echo_n "checking for float round functions... " >&6; }
21690 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21691 $as_echo_n "(cached) " >&6
21692 else
21695 ac_ext=cpp
21696 ac_cpp='$CXXCPP $CPPFLAGS'
21697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21702 /* end confdefs.h. */
21703 #include <math.h>
21705 main ()
21707 ceilf (0); floorf (0);
21709 return 0;
21711 _ACEOF
21712 if ac_fn_cxx_try_compile "$LINENO"; then :
21713 glibcxx_cv_func_float_round_use=yes
21714 else
21715 glibcxx_cv_func_float_round_use=no
21717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21718 ac_ext=c
21719 ac_cpp='$CPP $CPPFLAGS'
21720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21727 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21728 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21729 for ac_func in ceilf floorf
21730 do :
21731 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21732 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21733 eval as_val=\$$as_ac_var
21734 if test "x$as_val" = x""yes; then :
21735 cat >>confdefs.h <<_ACEOF
21736 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21737 _ACEOF
21740 done
21742 else
21743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
21744 $as_echo_n "checking for _float round functions... " >&6; }
21745 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
21746 $as_echo_n "(cached) " >&6
21747 else
21750 ac_ext=cpp
21751 ac_cpp='$CXXCPP $CPPFLAGS'
21752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21757 /* end confdefs.h. */
21758 #include <math.h>
21760 main ()
21762 _ceilf (0); _floorf (0);
21764 return 0;
21766 _ACEOF
21767 if ac_fn_cxx_try_compile "$LINENO"; then :
21768 glibcxx_cv_func__float_round_use=yes
21769 else
21770 glibcxx_cv_func__float_round_use=no
21772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21773 ac_ext=c
21774 ac_cpp='$CPP $CPPFLAGS'
21775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
21782 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
21783 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21784 for ac_func in _ceilf _floorf
21785 do :
21786 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21787 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21788 eval as_val=\$$as_ac_var
21789 if test "x$as_val" = x""yes; then :
21790 cat >>confdefs.h <<_ACEOF
21791 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21792 _ACEOF
21795 done
21805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
21806 $as_echo_n "checking for expf declaration... " >&6; }
21807 if test x${glibcxx_cv_func_expf_use+set} != xset; then
21808 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
21809 $as_echo_n "(cached) " >&6
21810 else
21813 ac_ext=cpp
21814 ac_cpp='$CXXCPP $CPPFLAGS'
21815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21820 /* end confdefs.h. */
21821 #include <math.h>
21822 #ifdef HAVE_IEEEFP_H
21823 #include <ieeefp.h>
21824 #endif
21827 main ()
21829 expf(0);
21831 return 0;
21833 _ACEOF
21834 if ac_fn_cxx_try_compile "$LINENO"; then :
21835 glibcxx_cv_func_expf_use=yes
21836 else
21837 glibcxx_cv_func_expf_use=no
21839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21840 ac_ext=c
21841 ac_cpp='$CPP $CPPFLAGS'
21842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
21851 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
21853 if test x$glibcxx_cv_func_expf_use = x"yes"; then
21854 for ac_func in expf
21855 do :
21856 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
21857 if test "x$ac_cv_func_expf" = x""yes; then :
21858 cat >>confdefs.h <<_ACEOF
21859 #define HAVE_EXPF 1
21860 _ACEOF
21863 done
21865 else
21867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
21868 $as_echo_n "checking for _expf declaration... " >&6; }
21869 if test x${glibcxx_cv_func__expf_use+set} != xset; then
21870 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
21871 $as_echo_n "(cached) " >&6
21872 else
21875 ac_ext=cpp
21876 ac_cpp='$CXXCPP $CPPFLAGS'
21877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21882 /* end confdefs.h. */
21883 #include <math.h>
21884 #ifdef HAVE_IEEEFP_H
21885 #include <ieeefp.h>
21886 #endif
21889 main ()
21891 _expf(0);
21893 return 0;
21895 _ACEOF
21896 if ac_fn_cxx_try_compile "$LINENO"; then :
21897 glibcxx_cv_func__expf_use=yes
21898 else
21899 glibcxx_cv_func__expf_use=no
21901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21902 ac_ext=c
21903 ac_cpp='$CPP $CPPFLAGS'
21904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21913 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21915 if test x$glibcxx_cv_func__expf_use = x"yes"; then
21916 for ac_func in _expf
21917 do :
21918 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21919 if test "x$ac_cv_func__expf" = x""yes; then :
21920 cat >>confdefs.h <<_ACEOF
21921 #define HAVE__EXPF 1
21922 _ACEOF
21925 done
21934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21935 $as_echo_n "checking for isnanf declaration... " >&6; }
21936 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21937 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21938 $as_echo_n "(cached) " >&6
21939 else
21942 ac_ext=cpp
21943 ac_cpp='$CXXCPP $CPPFLAGS'
21944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21949 /* end confdefs.h. */
21950 #include <math.h>
21951 #ifdef HAVE_IEEEFP_H
21952 #include <ieeefp.h>
21953 #endif
21956 main ()
21958 isnanf(0);
21960 return 0;
21962 _ACEOF
21963 if ac_fn_cxx_try_compile "$LINENO"; then :
21964 glibcxx_cv_func_isnanf_use=yes
21965 else
21966 glibcxx_cv_func_isnanf_use=no
21968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21969 ac_ext=c
21970 ac_cpp='$CPP $CPPFLAGS'
21971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21980 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21982 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21983 for ac_func in isnanf
21984 do :
21985 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21986 if test "x$ac_cv_func_isnanf" = x""yes; then :
21987 cat >>confdefs.h <<_ACEOF
21988 #define HAVE_ISNANF 1
21989 _ACEOF
21992 done
21994 else
21996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21997 $as_echo_n "checking for _isnanf declaration... " >&6; }
21998 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21999 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22000 $as_echo_n "(cached) " >&6
22001 else
22004 ac_ext=cpp
22005 ac_cpp='$CXXCPP $CPPFLAGS'
22006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22011 /* end confdefs.h. */
22012 #include <math.h>
22013 #ifdef HAVE_IEEEFP_H
22014 #include <ieeefp.h>
22015 #endif
22018 main ()
22020 _isnanf(0);
22022 return 0;
22024 _ACEOF
22025 if ac_fn_cxx_try_compile "$LINENO"; then :
22026 glibcxx_cv_func__isnanf_use=yes
22027 else
22028 glibcxx_cv_func__isnanf_use=no
22030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22031 ac_ext=c
22032 ac_cpp='$CPP $CPPFLAGS'
22033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22042 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22044 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22045 for ac_func in _isnanf
22046 do :
22047 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22048 if test "x$ac_cv_func__isnanf" = x""yes; then :
22049 cat >>confdefs.h <<_ACEOF
22050 #define HAVE__ISNANF 1
22051 _ACEOF
22054 done
22063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22064 $as_echo_n "checking for isinff declaration... " >&6; }
22065 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22066 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22067 $as_echo_n "(cached) " >&6
22068 else
22071 ac_ext=cpp
22072 ac_cpp='$CXXCPP $CPPFLAGS'
22073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22078 /* end confdefs.h. */
22079 #include <math.h>
22080 #ifdef HAVE_IEEEFP_H
22081 #include <ieeefp.h>
22082 #endif
22085 main ()
22087 isinff(0);
22089 return 0;
22091 _ACEOF
22092 if ac_fn_cxx_try_compile "$LINENO"; then :
22093 glibcxx_cv_func_isinff_use=yes
22094 else
22095 glibcxx_cv_func_isinff_use=no
22097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22098 ac_ext=c
22099 ac_cpp='$CPP $CPPFLAGS'
22100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22109 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22111 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22112 for ac_func in isinff
22113 do :
22114 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22115 if test "x$ac_cv_func_isinff" = x""yes; then :
22116 cat >>confdefs.h <<_ACEOF
22117 #define HAVE_ISINFF 1
22118 _ACEOF
22121 done
22123 else
22125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22126 $as_echo_n "checking for _isinff declaration... " >&6; }
22127 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22128 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22129 $as_echo_n "(cached) " >&6
22130 else
22133 ac_ext=cpp
22134 ac_cpp='$CXXCPP $CPPFLAGS'
22135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22140 /* end confdefs.h. */
22141 #include <math.h>
22142 #ifdef HAVE_IEEEFP_H
22143 #include <ieeefp.h>
22144 #endif
22147 main ()
22149 _isinff(0);
22151 return 0;
22153 _ACEOF
22154 if ac_fn_cxx_try_compile "$LINENO"; then :
22155 glibcxx_cv_func__isinff_use=yes
22156 else
22157 glibcxx_cv_func__isinff_use=no
22159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22160 ac_ext=c
22161 ac_cpp='$CPP $CPPFLAGS'
22162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22171 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22173 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22174 for ac_func in _isinff
22175 do :
22176 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22177 if test "x$ac_cv_func__isinff" = x""yes; then :
22178 cat >>confdefs.h <<_ACEOF
22179 #define HAVE__ISINFF 1
22180 _ACEOF
22183 done
22192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22193 $as_echo_n "checking for atan2f declaration... " >&6; }
22194 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22195 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22196 $as_echo_n "(cached) " >&6
22197 else
22200 ac_ext=cpp
22201 ac_cpp='$CXXCPP $CPPFLAGS'
22202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22207 /* end confdefs.h. */
22208 #include <math.h>
22210 main ()
22212 atan2f(0, 0);
22214 return 0;
22216 _ACEOF
22217 if ac_fn_cxx_try_compile "$LINENO"; then :
22218 glibcxx_cv_func_atan2f_use=yes
22219 else
22220 glibcxx_cv_func_atan2f_use=no
22222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22223 ac_ext=c
22224 ac_cpp='$CPP $CPPFLAGS'
22225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22234 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22236 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22237 for ac_func in atan2f
22238 do :
22239 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22240 if test "x$ac_cv_func_atan2f" = x""yes; then :
22241 cat >>confdefs.h <<_ACEOF
22242 #define HAVE_ATAN2F 1
22243 _ACEOF
22246 done
22248 else
22250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22251 $as_echo_n "checking for _atan2f declaration... " >&6; }
22252 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22253 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22254 $as_echo_n "(cached) " >&6
22255 else
22258 ac_ext=cpp
22259 ac_cpp='$CXXCPP $CPPFLAGS'
22260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22265 /* end confdefs.h. */
22266 #include <math.h>
22268 main ()
22270 _atan2f(0, 0);
22272 return 0;
22274 _ACEOF
22275 if ac_fn_cxx_try_compile "$LINENO"; then :
22276 glibcxx_cv_func__atan2f_use=yes
22277 else
22278 glibcxx_cv_func__atan2f_use=no
22280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22281 ac_ext=c
22282 ac_cpp='$CPP $CPPFLAGS'
22283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22292 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22294 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22295 for ac_func in _atan2f
22296 do :
22297 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22298 if test "x$ac_cv_func__atan2f" = x""yes; then :
22299 cat >>confdefs.h <<_ACEOF
22300 #define HAVE__ATAN2F 1
22301 _ACEOF
22304 done
22313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22314 $as_echo_n "checking for fabsf declaration... " >&6; }
22315 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22316 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22317 $as_echo_n "(cached) " >&6
22318 else
22321 ac_ext=cpp
22322 ac_cpp='$CXXCPP $CPPFLAGS'
22323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22328 /* end confdefs.h. */
22329 #include <math.h>
22330 #ifdef HAVE_IEEEFP_H
22331 #include <ieeefp.h>
22332 #endif
22335 main ()
22337 fabsf(0);
22339 return 0;
22341 _ACEOF
22342 if ac_fn_cxx_try_compile "$LINENO"; then :
22343 glibcxx_cv_func_fabsf_use=yes
22344 else
22345 glibcxx_cv_func_fabsf_use=no
22347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22348 ac_ext=c
22349 ac_cpp='$CPP $CPPFLAGS'
22350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22359 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22361 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22362 for ac_func in fabsf
22363 do :
22364 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22365 if test "x$ac_cv_func_fabsf" = x""yes; then :
22366 cat >>confdefs.h <<_ACEOF
22367 #define HAVE_FABSF 1
22368 _ACEOF
22371 done
22373 else
22375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22376 $as_echo_n "checking for _fabsf declaration... " >&6; }
22377 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22378 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22379 $as_echo_n "(cached) " >&6
22380 else
22383 ac_ext=cpp
22384 ac_cpp='$CXXCPP $CPPFLAGS'
22385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22390 /* end confdefs.h. */
22391 #include <math.h>
22392 #ifdef HAVE_IEEEFP_H
22393 #include <ieeefp.h>
22394 #endif
22397 main ()
22399 _fabsf(0);
22401 return 0;
22403 _ACEOF
22404 if ac_fn_cxx_try_compile "$LINENO"; then :
22405 glibcxx_cv_func__fabsf_use=yes
22406 else
22407 glibcxx_cv_func__fabsf_use=no
22409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22410 ac_ext=c
22411 ac_cpp='$CPP $CPPFLAGS'
22412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22421 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22423 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22424 for ac_func in _fabsf
22425 do :
22426 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22427 if test "x$ac_cv_func__fabsf" = x""yes; then :
22428 cat >>confdefs.h <<_ACEOF
22429 #define HAVE__FABSF 1
22430 _ACEOF
22433 done
22442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22443 $as_echo_n "checking for fmodf declaration... " >&6; }
22444 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22445 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22446 $as_echo_n "(cached) " >&6
22447 else
22450 ac_ext=cpp
22451 ac_cpp='$CXXCPP $CPPFLAGS'
22452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22457 /* end confdefs.h. */
22458 #include <math.h>
22460 main ()
22462 fmodf(0, 0);
22464 return 0;
22466 _ACEOF
22467 if ac_fn_cxx_try_compile "$LINENO"; then :
22468 glibcxx_cv_func_fmodf_use=yes
22469 else
22470 glibcxx_cv_func_fmodf_use=no
22472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22473 ac_ext=c
22474 ac_cpp='$CPP $CPPFLAGS'
22475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22484 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22486 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22487 for ac_func in fmodf
22488 do :
22489 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22490 if test "x$ac_cv_func_fmodf" = x""yes; then :
22491 cat >>confdefs.h <<_ACEOF
22492 #define HAVE_FMODF 1
22493 _ACEOF
22496 done
22498 else
22500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22501 $as_echo_n "checking for _fmodf declaration... " >&6; }
22502 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22503 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22504 $as_echo_n "(cached) " >&6
22505 else
22508 ac_ext=cpp
22509 ac_cpp='$CXXCPP $CPPFLAGS'
22510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22515 /* end confdefs.h. */
22516 #include <math.h>
22518 main ()
22520 _fmodf(0, 0);
22522 return 0;
22524 _ACEOF
22525 if ac_fn_cxx_try_compile "$LINENO"; then :
22526 glibcxx_cv_func__fmodf_use=yes
22527 else
22528 glibcxx_cv_func__fmodf_use=no
22530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22531 ac_ext=c
22532 ac_cpp='$CPP $CPPFLAGS'
22533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22542 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22544 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22545 for ac_func in _fmodf
22546 do :
22547 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22548 if test "x$ac_cv_func__fmodf" = x""yes; then :
22549 cat >>confdefs.h <<_ACEOF
22550 #define HAVE__FMODF 1
22551 _ACEOF
22554 done
22563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22564 $as_echo_n "checking for frexpf declaration... " >&6; }
22565 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22566 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22567 $as_echo_n "(cached) " >&6
22568 else
22571 ac_ext=cpp
22572 ac_cpp='$CXXCPP $CPPFLAGS'
22573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22578 /* end confdefs.h. */
22579 #include <math.h>
22581 main ()
22583 frexpf(0, 0);
22585 return 0;
22587 _ACEOF
22588 if ac_fn_cxx_try_compile "$LINENO"; then :
22589 glibcxx_cv_func_frexpf_use=yes
22590 else
22591 glibcxx_cv_func_frexpf_use=no
22593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22594 ac_ext=c
22595 ac_cpp='$CPP $CPPFLAGS'
22596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22605 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22607 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22608 for ac_func in frexpf
22609 do :
22610 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22611 if test "x$ac_cv_func_frexpf" = x""yes; then :
22612 cat >>confdefs.h <<_ACEOF
22613 #define HAVE_FREXPF 1
22614 _ACEOF
22617 done
22619 else
22621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22622 $as_echo_n "checking for _frexpf declaration... " >&6; }
22623 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22624 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22625 $as_echo_n "(cached) " >&6
22626 else
22629 ac_ext=cpp
22630 ac_cpp='$CXXCPP $CPPFLAGS'
22631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22636 /* end confdefs.h. */
22637 #include <math.h>
22639 main ()
22641 _frexpf(0, 0);
22643 return 0;
22645 _ACEOF
22646 if ac_fn_cxx_try_compile "$LINENO"; then :
22647 glibcxx_cv_func__frexpf_use=yes
22648 else
22649 glibcxx_cv_func__frexpf_use=no
22651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22652 ac_ext=c
22653 ac_cpp='$CPP $CPPFLAGS'
22654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22663 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22665 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22666 for ac_func in _frexpf
22667 do :
22668 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22669 if test "x$ac_cv_func__frexpf" = x""yes; then :
22670 cat >>confdefs.h <<_ACEOF
22671 #define HAVE__FREXPF 1
22672 _ACEOF
22675 done
22684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22685 $as_echo_n "checking for hypotf declaration... " >&6; }
22686 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22687 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22688 $as_echo_n "(cached) " >&6
22689 else
22692 ac_ext=cpp
22693 ac_cpp='$CXXCPP $CPPFLAGS'
22694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22699 /* end confdefs.h. */
22700 #include <math.h>
22702 main ()
22704 hypotf(0, 0);
22706 return 0;
22708 _ACEOF
22709 if ac_fn_cxx_try_compile "$LINENO"; then :
22710 glibcxx_cv_func_hypotf_use=yes
22711 else
22712 glibcxx_cv_func_hypotf_use=no
22714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22715 ac_ext=c
22716 ac_cpp='$CPP $CPPFLAGS'
22717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22726 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22728 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
22729 for ac_func in hypotf
22730 do :
22731 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
22732 if test "x$ac_cv_func_hypotf" = x""yes; then :
22733 cat >>confdefs.h <<_ACEOF
22734 #define HAVE_HYPOTF 1
22735 _ACEOF
22738 done
22740 else
22742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
22743 $as_echo_n "checking for _hypotf declaration... " >&6; }
22744 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
22745 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
22746 $as_echo_n "(cached) " >&6
22747 else
22750 ac_ext=cpp
22751 ac_cpp='$CXXCPP $CPPFLAGS'
22752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22757 /* end confdefs.h. */
22758 #include <math.h>
22760 main ()
22762 _hypotf(0, 0);
22764 return 0;
22766 _ACEOF
22767 if ac_fn_cxx_try_compile "$LINENO"; then :
22768 glibcxx_cv_func__hypotf_use=yes
22769 else
22770 glibcxx_cv_func__hypotf_use=no
22772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22773 ac_ext=c
22774 ac_cpp='$CPP $CPPFLAGS'
22775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
22784 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
22786 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
22787 for ac_func in _hypotf
22788 do :
22789 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
22790 if test "x$ac_cv_func__hypotf" = x""yes; then :
22791 cat >>confdefs.h <<_ACEOF
22792 #define HAVE__HYPOTF 1
22793 _ACEOF
22796 done
22805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
22806 $as_echo_n "checking for ldexpf declaration... " >&6; }
22807 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
22808 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
22809 $as_echo_n "(cached) " >&6
22810 else
22813 ac_ext=cpp
22814 ac_cpp='$CXXCPP $CPPFLAGS'
22815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22820 /* end confdefs.h. */
22821 #include <math.h>
22823 main ()
22825 ldexpf(0, 0);
22827 return 0;
22829 _ACEOF
22830 if ac_fn_cxx_try_compile "$LINENO"; then :
22831 glibcxx_cv_func_ldexpf_use=yes
22832 else
22833 glibcxx_cv_func_ldexpf_use=no
22835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22836 ac_ext=c
22837 ac_cpp='$CPP $CPPFLAGS'
22838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
22847 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
22849 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
22850 for ac_func in ldexpf
22851 do :
22852 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
22853 if test "x$ac_cv_func_ldexpf" = x""yes; then :
22854 cat >>confdefs.h <<_ACEOF
22855 #define HAVE_LDEXPF 1
22856 _ACEOF
22859 done
22861 else
22863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
22864 $as_echo_n "checking for _ldexpf declaration... " >&6; }
22865 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
22866 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
22867 $as_echo_n "(cached) " >&6
22868 else
22871 ac_ext=cpp
22872 ac_cpp='$CXXCPP $CPPFLAGS'
22873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22878 /* end confdefs.h. */
22879 #include <math.h>
22881 main ()
22883 _ldexpf(0, 0);
22885 return 0;
22887 _ACEOF
22888 if ac_fn_cxx_try_compile "$LINENO"; then :
22889 glibcxx_cv_func__ldexpf_use=yes
22890 else
22891 glibcxx_cv_func__ldexpf_use=no
22893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22894 ac_ext=c
22895 ac_cpp='$CPP $CPPFLAGS'
22896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22905 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22907 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22908 for ac_func in _ldexpf
22909 do :
22910 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22911 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22912 cat >>confdefs.h <<_ACEOF
22913 #define HAVE__LDEXPF 1
22914 _ACEOF
22917 done
22926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22927 $as_echo_n "checking for logf declaration... " >&6; }
22928 if test x${glibcxx_cv_func_logf_use+set} != xset; then
22929 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22930 $as_echo_n "(cached) " >&6
22931 else
22934 ac_ext=cpp
22935 ac_cpp='$CXXCPP $CPPFLAGS'
22936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22941 /* end confdefs.h. */
22942 #include <math.h>
22943 #ifdef HAVE_IEEEFP_H
22944 #include <ieeefp.h>
22945 #endif
22948 main ()
22950 logf(0);
22952 return 0;
22954 _ACEOF
22955 if ac_fn_cxx_try_compile "$LINENO"; then :
22956 glibcxx_cv_func_logf_use=yes
22957 else
22958 glibcxx_cv_func_logf_use=no
22960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22961 ac_ext=c
22962 ac_cpp='$CPP $CPPFLAGS'
22963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22972 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22974 if test x$glibcxx_cv_func_logf_use = x"yes"; then
22975 for ac_func in logf
22976 do :
22977 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22978 if test "x$ac_cv_func_logf" = x""yes; then :
22979 cat >>confdefs.h <<_ACEOF
22980 #define HAVE_LOGF 1
22981 _ACEOF
22984 done
22986 else
22988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22989 $as_echo_n "checking for _logf declaration... " >&6; }
22990 if test x${glibcxx_cv_func__logf_use+set} != xset; then
22991 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22992 $as_echo_n "(cached) " >&6
22993 else
22996 ac_ext=cpp
22997 ac_cpp='$CXXCPP $CPPFLAGS'
22998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23003 /* end confdefs.h. */
23004 #include <math.h>
23005 #ifdef HAVE_IEEEFP_H
23006 #include <ieeefp.h>
23007 #endif
23010 main ()
23012 _logf(0);
23014 return 0;
23016 _ACEOF
23017 if ac_fn_cxx_try_compile "$LINENO"; then :
23018 glibcxx_cv_func__logf_use=yes
23019 else
23020 glibcxx_cv_func__logf_use=no
23022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23023 ac_ext=c
23024 ac_cpp='$CPP $CPPFLAGS'
23025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23034 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23036 if test x$glibcxx_cv_func__logf_use = x"yes"; then
23037 for ac_func in _logf
23038 do :
23039 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23040 if test "x$ac_cv_func__logf" = x""yes; then :
23041 cat >>confdefs.h <<_ACEOF
23042 #define HAVE__LOGF 1
23043 _ACEOF
23046 done
23055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23056 $as_echo_n "checking for log10f declaration... " >&6; }
23057 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23058 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23059 $as_echo_n "(cached) " >&6
23060 else
23063 ac_ext=cpp
23064 ac_cpp='$CXXCPP $CPPFLAGS'
23065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23070 /* end confdefs.h. */
23071 #include <math.h>
23072 #ifdef HAVE_IEEEFP_H
23073 #include <ieeefp.h>
23074 #endif
23077 main ()
23079 log10f(0);
23081 return 0;
23083 _ACEOF
23084 if ac_fn_cxx_try_compile "$LINENO"; then :
23085 glibcxx_cv_func_log10f_use=yes
23086 else
23087 glibcxx_cv_func_log10f_use=no
23089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23090 ac_ext=c
23091 ac_cpp='$CPP $CPPFLAGS'
23092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23101 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23103 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23104 for ac_func in log10f
23105 do :
23106 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23107 if test "x$ac_cv_func_log10f" = x""yes; then :
23108 cat >>confdefs.h <<_ACEOF
23109 #define HAVE_LOG10F 1
23110 _ACEOF
23113 done
23115 else
23117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23118 $as_echo_n "checking for _log10f declaration... " >&6; }
23119 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23120 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23121 $as_echo_n "(cached) " >&6
23122 else
23125 ac_ext=cpp
23126 ac_cpp='$CXXCPP $CPPFLAGS'
23127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23132 /* end confdefs.h. */
23133 #include <math.h>
23134 #ifdef HAVE_IEEEFP_H
23135 #include <ieeefp.h>
23136 #endif
23139 main ()
23141 _log10f(0);
23143 return 0;
23145 _ACEOF
23146 if ac_fn_cxx_try_compile "$LINENO"; then :
23147 glibcxx_cv_func__log10f_use=yes
23148 else
23149 glibcxx_cv_func__log10f_use=no
23151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23152 ac_ext=c
23153 ac_cpp='$CPP $CPPFLAGS'
23154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23163 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23165 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23166 for ac_func in _log10f
23167 do :
23168 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23169 if test "x$ac_cv_func__log10f" = x""yes; then :
23170 cat >>confdefs.h <<_ACEOF
23171 #define HAVE__LOG10F 1
23172 _ACEOF
23175 done
23184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23185 $as_echo_n "checking for modff declaration... " >&6; }
23186 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23187 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23188 $as_echo_n "(cached) " >&6
23189 else
23192 ac_ext=cpp
23193 ac_cpp='$CXXCPP $CPPFLAGS'
23194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23199 /* end confdefs.h. */
23200 #include <math.h>
23202 main ()
23204 modff(0, 0);
23206 return 0;
23208 _ACEOF
23209 if ac_fn_cxx_try_compile "$LINENO"; then :
23210 glibcxx_cv_func_modff_use=yes
23211 else
23212 glibcxx_cv_func_modff_use=no
23214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23215 ac_ext=c
23216 ac_cpp='$CPP $CPPFLAGS'
23217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23226 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23228 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23229 for ac_func in modff
23230 do :
23231 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23232 if test "x$ac_cv_func_modff" = x""yes; then :
23233 cat >>confdefs.h <<_ACEOF
23234 #define HAVE_MODFF 1
23235 _ACEOF
23238 done
23240 else
23242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23243 $as_echo_n "checking for _modff declaration... " >&6; }
23244 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23245 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23246 $as_echo_n "(cached) " >&6
23247 else
23250 ac_ext=cpp
23251 ac_cpp='$CXXCPP $CPPFLAGS'
23252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23257 /* end confdefs.h. */
23258 #include <math.h>
23260 main ()
23262 _modff(0, 0);
23264 return 0;
23266 _ACEOF
23267 if ac_fn_cxx_try_compile "$LINENO"; then :
23268 glibcxx_cv_func__modff_use=yes
23269 else
23270 glibcxx_cv_func__modff_use=no
23272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23273 ac_ext=c
23274 ac_cpp='$CPP $CPPFLAGS'
23275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23284 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23286 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23287 for ac_func in _modff
23288 do :
23289 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23290 if test "x$ac_cv_func__modff" = x""yes; then :
23291 cat >>confdefs.h <<_ACEOF
23292 #define HAVE__MODFF 1
23293 _ACEOF
23296 done
23305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23306 $as_echo_n "checking for modf declaration... " >&6; }
23307 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23308 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23309 $as_echo_n "(cached) " >&6
23310 else
23313 ac_ext=cpp
23314 ac_cpp='$CXXCPP $CPPFLAGS'
23315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23320 /* end confdefs.h. */
23321 #include <math.h>
23323 main ()
23325 modf(0, 0);
23327 return 0;
23329 _ACEOF
23330 if ac_fn_cxx_try_compile "$LINENO"; then :
23331 glibcxx_cv_func_modf_use=yes
23332 else
23333 glibcxx_cv_func_modf_use=no
23335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23336 ac_ext=c
23337 ac_cpp='$CPP $CPPFLAGS'
23338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23347 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23349 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23350 for ac_func in modf
23351 do :
23352 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23353 if test "x$ac_cv_func_modf" = x""yes; then :
23354 cat >>confdefs.h <<_ACEOF
23355 #define HAVE_MODF 1
23356 _ACEOF
23359 done
23361 else
23363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23364 $as_echo_n "checking for _modf declaration... " >&6; }
23365 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23366 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23367 $as_echo_n "(cached) " >&6
23368 else
23371 ac_ext=cpp
23372 ac_cpp='$CXXCPP $CPPFLAGS'
23373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23378 /* end confdefs.h. */
23379 #include <math.h>
23381 main ()
23383 _modf(0, 0);
23385 return 0;
23387 _ACEOF
23388 if ac_fn_cxx_try_compile "$LINENO"; then :
23389 glibcxx_cv_func__modf_use=yes
23390 else
23391 glibcxx_cv_func__modf_use=no
23393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23394 ac_ext=c
23395 ac_cpp='$CPP $CPPFLAGS'
23396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23405 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23407 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23408 for ac_func in _modf
23409 do :
23410 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23411 if test "x$ac_cv_func__modf" = x""yes; then :
23412 cat >>confdefs.h <<_ACEOF
23413 #define HAVE__MODF 1
23414 _ACEOF
23417 done
23426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23427 $as_echo_n "checking for powf declaration... " >&6; }
23428 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23429 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23430 $as_echo_n "(cached) " >&6
23431 else
23434 ac_ext=cpp
23435 ac_cpp='$CXXCPP $CPPFLAGS'
23436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23441 /* end confdefs.h. */
23442 #include <math.h>
23444 main ()
23446 powf(0, 0);
23448 return 0;
23450 _ACEOF
23451 if ac_fn_cxx_try_compile "$LINENO"; then :
23452 glibcxx_cv_func_powf_use=yes
23453 else
23454 glibcxx_cv_func_powf_use=no
23456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23457 ac_ext=c
23458 ac_cpp='$CPP $CPPFLAGS'
23459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23468 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23470 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23471 for ac_func in powf
23472 do :
23473 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23474 if test "x$ac_cv_func_powf" = x""yes; then :
23475 cat >>confdefs.h <<_ACEOF
23476 #define HAVE_POWF 1
23477 _ACEOF
23480 done
23482 else
23484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23485 $as_echo_n "checking for _powf declaration... " >&6; }
23486 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23487 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23488 $as_echo_n "(cached) " >&6
23489 else
23492 ac_ext=cpp
23493 ac_cpp='$CXXCPP $CPPFLAGS'
23494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23499 /* end confdefs.h. */
23500 #include <math.h>
23502 main ()
23504 _powf(0, 0);
23506 return 0;
23508 _ACEOF
23509 if ac_fn_cxx_try_compile "$LINENO"; then :
23510 glibcxx_cv_func__powf_use=yes
23511 else
23512 glibcxx_cv_func__powf_use=no
23514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23515 ac_ext=c
23516 ac_cpp='$CPP $CPPFLAGS'
23517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23526 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23528 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23529 for ac_func in _powf
23530 do :
23531 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23532 if test "x$ac_cv_func__powf" = x""yes; then :
23533 cat >>confdefs.h <<_ACEOF
23534 #define HAVE__POWF 1
23535 _ACEOF
23538 done
23547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23548 $as_echo_n "checking for sqrtf declaration... " >&6; }
23549 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23550 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23551 $as_echo_n "(cached) " >&6
23552 else
23555 ac_ext=cpp
23556 ac_cpp='$CXXCPP $CPPFLAGS'
23557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23562 /* end confdefs.h. */
23563 #include <math.h>
23564 #ifdef HAVE_IEEEFP_H
23565 #include <ieeefp.h>
23566 #endif
23569 main ()
23571 sqrtf(0);
23573 return 0;
23575 _ACEOF
23576 if ac_fn_cxx_try_compile "$LINENO"; then :
23577 glibcxx_cv_func_sqrtf_use=yes
23578 else
23579 glibcxx_cv_func_sqrtf_use=no
23581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23582 ac_ext=c
23583 ac_cpp='$CPP $CPPFLAGS'
23584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23593 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23595 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23596 for ac_func in sqrtf
23597 do :
23598 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23599 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23600 cat >>confdefs.h <<_ACEOF
23601 #define HAVE_SQRTF 1
23602 _ACEOF
23605 done
23607 else
23609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23610 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23611 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23612 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23613 $as_echo_n "(cached) " >&6
23614 else
23617 ac_ext=cpp
23618 ac_cpp='$CXXCPP $CPPFLAGS'
23619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23624 /* end confdefs.h. */
23625 #include <math.h>
23626 #ifdef HAVE_IEEEFP_H
23627 #include <ieeefp.h>
23628 #endif
23631 main ()
23633 _sqrtf(0);
23635 return 0;
23637 _ACEOF
23638 if ac_fn_cxx_try_compile "$LINENO"; then :
23639 glibcxx_cv_func__sqrtf_use=yes
23640 else
23641 glibcxx_cv_func__sqrtf_use=no
23643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23644 ac_ext=c
23645 ac_cpp='$CPP $CPPFLAGS'
23646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23655 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23657 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23658 for ac_func in _sqrtf
23659 do :
23660 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23661 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23662 cat >>confdefs.h <<_ACEOF
23663 #define HAVE__SQRTF 1
23664 _ACEOF
23667 done
23676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23677 $as_echo_n "checking for sincosf declaration... " >&6; }
23678 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23679 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23680 $as_echo_n "(cached) " >&6
23681 else
23684 ac_ext=cpp
23685 ac_cpp='$CXXCPP $CPPFLAGS'
23686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23691 /* end confdefs.h. */
23692 #include <math.h>
23694 main ()
23696 sincosf(0, 0, 0);
23698 return 0;
23700 _ACEOF
23701 if ac_fn_cxx_try_compile "$LINENO"; then :
23702 glibcxx_cv_func_sincosf_use=yes
23703 else
23704 glibcxx_cv_func_sincosf_use=no
23706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23707 ac_ext=c
23708 ac_cpp='$CPP $CPPFLAGS'
23709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23718 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23720 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23721 for ac_func in sincosf
23722 do :
23723 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23724 if test "x$ac_cv_func_sincosf" = x""yes; then :
23725 cat >>confdefs.h <<_ACEOF
23726 #define HAVE_SINCOSF 1
23727 _ACEOF
23730 done
23732 else
23734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
23735 $as_echo_n "checking for _sincosf declaration... " >&6; }
23736 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
23737 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
23738 $as_echo_n "(cached) " >&6
23739 else
23742 ac_ext=cpp
23743 ac_cpp='$CXXCPP $CPPFLAGS'
23744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23749 /* end confdefs.h. */
23750 #include <math.h>
23752 main ()
23754 _sincosf(0, 0, 0);
23756 return 0;
23758 _ACEOF
23759 if ac_fn_cxx_try_compile "$LINENO"; then :
23760 glibcxx_cv_func__sincosf_use=yes
23761 else
23762 glibcxx_cv_func__sincosf_use=no
23764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23765 ac_ext=c
23766 ac_cpp='$CPP $CPPFLAGS'
23767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
23776 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
23778 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
23779 for ac_func in _sincosf
23780 do :
23781 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
23782 if test "x$ac_cv_func__sincosf" = x""yes; then :
23783 cat >>confdefs.h <<_ACEOF
23784 #define HAVE__SINCOSF 1
23785 _ACEOF
23788 done
23797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
23798 $as_echo_n "checking for finitef declaration... " >&6; }
23799 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
23800 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
23801 $as_echo_n "(cached) " >&6
23802 else
23805 ac_ext=cpp
23806 ac_cpp='$CXXCPP $CPPFLAGS'
23807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23812 /* end confdefs.h. */
23813 #include <math.h>
23814 #ifdef HAVE_IEEEFP_H
23815 #include <ieeefp.h>
23816 #endif
23819 main ()
23821 finitef(0);
23823 return 0;
23825 _ACEOF
23826 if ac_fn_cxx_try_compile "$LINENO"; then :
23827 glibcxx_cv_func_finitef_use=yes
23828 else
23829 glibcxx_cv_func_finitef_use=no
23831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23832 ac_ext=c
23833 ac_cpp='$CPP $CPPFLAGS'
23834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
23843 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
23845 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
23846 for ac_func in finitef
23847 do :
23848 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
23849 if test "x$ac_cv_func_finitef" = x""yes; then :
23850 cat >>confdefs.h <<_ACEOF
23851 #define HAVE_FINITEF 1
23852 _ACEOF
23855 done
23857 else
23859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
23860 $as_echo_n "checking for _finitef declaration... " >&6; }
23861 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
23862 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
23863 $as_echo_n "(cached) " >&6
23864 else
23867 ac_ext=cpp
23868 ac_cpp='$CXXCPP $CPPFLAGS'
23869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23874 /* end confdefs.h. */
23875 #include <math.h>
23876 #ifdef HAVE_IEEEFP_H
23877 #include <ieeefp.h>
23878 #endif
23881 main ()
23883 _finitef(0);
23885 return 0;
23887 _ACEOF
23888 if ac_fn_cxx_try_compile "$LINENO"; then :
23889 glibcxx_cv_func__finitef_use=yes
23890 else
23891 glibcxx_cv_func__finitef_use=no
23893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23894 ac_ext=c
23895 ac_cpp='$CPP $CPPFLAGS'
23896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23905 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23907 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23908 for ac_func in _finitef
23909 do :
23910 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23911 if test "x$ac_cv_func__finitef" = x""yes; then :
23912 cat >>confdefs.h <<_ACEOF
23913 #define HAVE__FINITEF 1
23914 _ACEOF
23917 done
23926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23927 $as_echo_n "checking for long double trig functions... " >&6; }
23928 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23929 $as_echo_n "(cached) " >&6
23930 else
23933 ac_ext=cpp
23934 ac_cpp='$CXXCPP $CPPFLAGS'
23935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23940 /* end confdefs.h. */
23941 #include <math.h>
23943 main ()
23945 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23947 return 0;
23949 _ACEOF
23950 if ac_fn_cxx_try_compile "$LINENO"; then :
23951 glibcxx_cv_func_long_double_trig_use=yes
23952 else
23953 glibcxx_cv_func_long_double_trig_use=no
23955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23956 ac_ext=c
23957 ac_cpp='$CPP $CPPFLAGS'
23958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23965 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23966 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23967 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23968 do :
23969 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23970 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23971 eval as_val=\$$as_ac_var
23972 if test "x$as_val" = x""yes; then :
23973 cat >>confdefs.h <<_ACEOF
23974 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23975 _ACEOF
23978 done
23980 else
23981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23982 $as_echo_n "checking for _long double trig functions... " >&6; }
23983 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23984 $as_echo_n "(cached) " >&6
23985 else
23988 ac_ext=cpp
23989 ac_cpp='$CXXCPP $CPPFLAGS'
23990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23995 /* end confdefs.h. */
23996 #include <math.h>
23998 main ()
24000 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24002 return 0;
24004 _ACEOF
24005 if ac_fn_cxx_try_compile "$LINENO"; then :
24006 glibcxx_cv_func__long_double_trig_use=yes
24007 else
24008 glibcxx_cv_func__long_double_trig_use=no
24010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24011 ac_ext=c
24012 ac_cpp='$CPP $CPPFLAGS'
24013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24020 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24021 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24022 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24023 do :
24024 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24025 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24026 eval as_val=\$$as_ac_var
24027 if test "x$as_val" = x""yes; then :
24028 cat >>confdefs.h <<_ACEOF
24029 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24030 _ACEOF
24033 done
24042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24043 $as_echo_n "checking for long double round functions... " >&6; }
24044 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24045 $as_echo_n "(cached) " >&6
24046 else
24049 ac_ext=cpp
24050 ac_cpp='$CXXCPP $CPPFLAGS'
24051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24056 /* end confdefs.h. */
24057 #include <math.h>
24059 main ()
24061 ceill (0); floorl (0);
24063 return 0;
24065 _ACEOF
24066 if ac_fn_cxx_try_compile "$LINENO"; then :
24067 glibcxx_cv_func_long_double_round_use=yes
24068 else
24069 glibcxx_cv_func_long_double_round_use=no
24071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24072 ac_ext=c
24073 ac_cpp='$CPP $CPPFLAGS'
24074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24081 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24082 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24083 for ac_func in ceill floorl
24084 do :
24085 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24086 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24087 eval as_val=\$$as_ac_var
24088 if test "x$as_val" = x""yes; then :
24089 cat >>confdefs.h <<_ACEOF
24090 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24091 _ACEOF
24094 done
24096 else
24097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24098 $as_echo_n "checking for _long double round functions... " >&6; }
24099 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24100 $as_echo_n "(cached) " >&6
24101 else
24104 ac_ext=cpp
24105 ac_cpp='$CXXCPP $CPPFLAGS'
24106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24111 /* end confdefs.h. */
24112 #include <math.h>
24114 main ()
24116 _ceill (0); _floorl (0);
24118 return 0;
24120 _ACEOF
24121 if ac_fn_cxx_try_compile "$LINENO"; then :
24122 glibcxx_cv_func__long_double_round_use=yes
24123 else
24124 glibcxx_cv_func__long_double_round_use=no
24126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24127 ac_ext=c
24128 ac_cpp='$CPP $CPPFLAGS'
24129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24136 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24137 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24138 for ac_func in _ceill _floorl
24139 do :
24140 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24141 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24142 eval as_val=\$$as_ac_var
24143 if test "x$as_val" = x""yes; then :
24144 cat >>confdefs.h <<_ACEOF
24145 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24146 _ACEOF
24149 done
24159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24160 $as_echo_n "checking for isnanl declaration... " >&6; }
24161 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24162 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24163 $as_echo_n "(cached) " >&6
24164 else
24167 ac_ext=cpp
24168 ac_cpp='$CXXCPP $CPPFLAGS'
24169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24174 /* end confdefs.h. */
24175 #include <math.h>
24176 #ifdef HAVE_IEEEFP_H
24177 #include <ieeefp.h>
24178 #endif
24181 main ()
24183 isnanl(0);
24185 return 0;
24187 _ACEOF
24188 if ac_fn_cxx_try_compile "$LINENO"; then :
24189 glibcxx_cv_func_isnanl_use=yes
24190 else
24191 glibcxx_cv_func_isnanl_use=no
24193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24194 ac_ext=c
24195 ac_cpp='$CPP $CPPFLAGS'
24196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24205 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24207 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24208 for ac_func in isnanl
24209 do :
24210 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24211 if test "x$ac_cv_func_isnanl" = x""yes; then :
24212 cat >>confdefs.h <<_ACEOF
24213 #define HAVE_ISNANL 1
24214 _ACEOF
24217 done
24219 else
24221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24222 $as_echo_n "checking for _isnanl declaration... " >&6; }
24223 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24224 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24225 $as_echo_n "(cached) " >&6
24226 else
24229 ac_ext=cpp
24230 ac_cpp='$CXXCPP $CPPFLAGS'
24231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24236 /* end confdefs.h. */
24237 #include <math.h>
24238 #ifdef HAVE_IEEEFP_H
24239 #include <ieeefp.h>
24240 #endif
24243 main ()
24245 _isnanl(0);
24247 return 0;
24249 _ACEOF
24250 if ac_fn_cxx_try_compile "$LINENO"; then :
24251 glibcxx_cv_func__isnanl_use=yes
24252 else
24253 glibcxx_cv_func__isnanl_use=no
24255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24256 ac_ext=c
24257 ac_cpp='$CPP $CPPFLAGS'
24258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24267 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24269 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24270 for ac_func in _isnanl
24271 do :
24272 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24273 if test "x$ac_cv_func__isnanl" = x""yes; then :
24274 cat >>confdefs.h <<_ACEOF
24275 #define HAVE__ISNANL 1
24276 _ACEOF
24279 done
24288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24289 $as_echo_n "checking for isinfl declaration... " >&6; }
24290 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24291 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24292 $as_echo_n "(cached) " >&6
24293 else
24296 ac_ext=cpp
24297 ac_cpp='$CXXCPP $CPPFLAGS'
24298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24303 /* end confdefs.h. */
24304 #include <math.h>
24305 #ifdef HAVE_IEEEFP_H
24306 #include <ieeefp.h>
24307 #endif
24310 main ()
24312 isinfl(0);
24314 return 0;
24316 _ACEOF
24317 if ac_fn_cxx_try_compile "$LINENO"; then :
24318 glibcxx_cv_func_isinfl_use=yes
24319 else
24320 glibcxx_cv_func_isinfl_use=no
24322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24323 ac_ext=c
24324 ac_cpp='$CPP $CPPFLAGS'
24325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24334 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24336 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24337 for ac_func in isinfl
24338 do :
24339 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24340 if test "x$ac_cv_func_isinfl" = x""yes; then :
24341 cat >>confdefs.h <<_ACEOF
24342 #define HAVE_ISINFL 1
24343 _ACEOF
24346 done
24348 else
24350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24351 $as_echo_n "checking for _isinfl declaration... " >&6; }
24352 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24353 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24354 $as_echo_n "(cached) " >&6
24355 else
24358 ac_ext=cpp
24359 ac_cpp='$CXXCPP $CPPFLAGS'
24360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24365 /* end confdefs.h. */
24366 #include <math.h>
24367 #ifdef HAVE_IEEEFP_H
24368 #include <ieeefp.h>
24369 #endif
24372 main ()
24374 _isinfl(0);
24376 return 0;
24378 _ACEOF
24379 if ac_fn_cxx_try_compile "$LINENO"; then :
24380 glibcxx_cv_func__isinfl_use=yes
24381 else
24382 glibcxx_cv_func__isinfl_use=no
24384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24385 ac_ext=c
24386 ac_cpp='$CPP $CPPFLAGS'
24387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24396 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24398 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24399 for ac_func in _isinfl
24400 do :
24401 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24402 if test "x$ac_cv_func__isinfl" = x""yes; then :
24403 cat >>confdefs.h <<_ACEOF
24404 #define HAVE__ISINFL 1
24405 _ACEOF
24408 done
24417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24418 $as_echo_n "checking for atan2l declaration... " >&6; }
24419 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24420 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24421 $as_echo_n "(cached) " >&6
24422 else
24425 ac_ext=cpp
24426 ac_cpp='$CXXCPP $CPPFLAGS'
24427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24432 /* end confdefs.h. */
24433 #include <math.h>
24435 main ()
24437 atan2l(0, 0);
24439 return 0;
24441 _ACEOF
24442 if ac_fn_cxx_try_compile "$LINENO"; then :
24443 glibcxx_cv_func_atan2l_use=yes
24444 else
24445 glibcxx_cv_func_atan2l_use=no
24447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24448 ac_ext=c
24449 ac_cpp='$CPP $CPPFLAGS'
24450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24459 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24461 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24462 for ac_func in atan2l
24463 do :
24464 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24465 if test "x$ac_cv_func_atan2l" = x""yes; then :
24466 cat >>confdefs.h <<_ACEOF
24467 #define HAVE_ATAN2L 1
24468 _ACEOF
24471 done
24473 else
24475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24476 $as_echo_n "checking for _atan2l declaration... " >&6; }
24477 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24478 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24479 $as_echo_n "(cached) " >&6
24480 else
24483 ac_ext=cpp
24484 ac_cpp='$CXXCPP $CPPFLAGS'
24485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24490 /* end confdefs.h. */
24491 #include <math.h>
24493 main ()
24495 _atan2l(0, 0);
24497 return 0;
24499 _ACEOF
24500 if ac_fn_cxx_try_compile "$LINENO"; then :
24501 glibcxx_cv_func__atan2l_use=yes
24502 else
24503 glibcxx_cv_func__atan2l_use=no
24505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24506 ac_ext=c
24507 ac_cpp='$CPP $CPPFLAGS'
24508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24517 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24519 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24520 for ac_func in _atan2l
24521 do :
24522 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24523 if test "x$ac_cv_func__atan2l" = x""yes; then :
24524 cat >>confdefs.h <<_ACEOF
24525 #define HAVE__ATAN2L 1
24526 _ACEOF
24529 done
24538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24539 $as_echo_n "checking for expl declaration... " >&6; }
24540 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24541 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24542 $as_echo_n "(cached) " >&6
24543 else
24546 ac_ext=cpp
24547 ac_cpp='$CXXCPP $CPPFLAGS'
24548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24553 /* end confdefs.h. */
24554 #include <math.h>
24555 #ifdef HAVE_IEEEFP_H
24556 #include <ieeefp.h>
24557 #endif
24560 main ()
24562 expl(0);
24564 return 0;
24566 _ACEOF
24567 if ac_fn_cxx_try_compile "$LINENO"; then :
24568 glibcxx_cv_func_expl_use=yes
24569 else
24570 glibcxx_cv_func_expl_use=no
24572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24573 ac_ext=c
24574 ac_cpp='$CPP $CPPFLAGS'
24575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24584 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24586 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24587 for ac_func in expl
24588 do :
24589 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24590 if test "x$ac_cv_func_expl" = x""yes; then :
24591 cat >>confdefs.h <<_ACEOF
24592 #define HAVE_EXPL 1
24593 _ACEOF
24596 done
24598 else
24600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24601 $as_echo_n "checking for _expl declaration... " >&6; }
24602 if test x${glibcxx_cv_func__expl_use+set} != xset; then
24603 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24604 $as_echo_n "(cached) " >&6
24605 else
24608 ac_ext=cpp
24609 ac_cpp='$CXXCPP $CPPFLAGS'
24610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24615 /* end confdefs.h. */
24616 #include <math.h>
24617 #ifdef HAVE_IEEEFP_H
24618 #include <ieeefp.h>
24619 #endif
24622 main ()
24624 _expl(0);
24626 return 0;
24628 _ACEOF
24629 if ac_fn_cxx_try_compile "$LINENO"; then :
24630 glibcxx_cv_func__expl_use=yes
24631 else
24632 glibcxx_cv_func__expl_use=no
24634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24635 ac_ext=c
24636 ac_cpp='$CPP $CPPFLAGS'
24637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
24646 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
24648 if test x$glibcxx_cv_func__expl_use = x"yes"; then
24649 for ac_func in _expl
24650 do :
24651 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24652 if test "x$ac_cv_func__expl" = x""yes; then :
24653 cat >>confdefs.h <<_ACEOF
24654 #define HAVE__EXPL 1
24655 _ACEOF
24658 done
24667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24668 $as_echo_n "checking for fabsl declaration... " >&6; }
24669 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24670 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24671 $as_echo_n "(cached) " >&6
24672 else
24675 ac_ext=cpp
24676 ac_cpp='$CXXCPP $CPPFLAGS'
24677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24682 /* end confdefs.h. */
24683 #include <math.h>
24684 #ifdef HAVE_IEEEFP_H
24685 #include <ieeefp.h>
24686 #endif
24689 main ()
24691 fabsl(0);
24693 return 0;
24695 _ACEOF
24696 if ac_fn_cxx_try_compile "$LINENO"; then :
24697 glibcxx_cv_func_fabsl_use=yes
24698 else
24699 glibcxx_cv_func_fabsl_use=no
24701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24702 ac_ext=c
24703 ac_cpp='$CPP $CPPFLAGS'
24704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
24713 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24715 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24716 for ac_func in fabsl
24717 do :
24718 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24719 if test "x$ac_cv_func_fabsl" = x""yes; then :
24720 cat >>confdefs.h <<_ACEOF
24721 #define HAVE_FABSL 1
24722 _ACEOF
24725 done
24727 else
24729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
24730 $as_echo_n "checking for _fabsl declaration... " >&6; }
24731 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
24732 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
24733 $as_echo_n "(cached) " >&6
24734 else
24737 ac_ext=cpp
24738 ac_cpp='$CXXCPP $CPPFLAGS'
24739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24744 /* end confdefs.h. */
24745 #include <math.h>
24746 #ifdef HAVE_IEEEFP_H
24747 #include <ieeefp.h>
24748 #endif
24751 main ()
24753 _fabsl(0);
24755 return 0;
24757 _ACEOF
24758 if ac_fn_cxx_try_compile "$LINENO"; then :
24759 glibcxx_cv_func__fabsl_use=yes
24760 else
24761 glibcxx_cv_func__fabsl_use=no
24763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24764 ac_ext=c
24765 ac_cpp='$CPP $CPPFLAGS'
24766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
24775 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
24777 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
24778 for ac_func in _fabsl
24779 do :
24780 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
24781 if test "x$ac_cv_func__fabsl" = x""yes; then :
24782 cat >>confdefs.h <<_ACEOF
24783 #define HAVE__FABSL 1
24784 _ACEOF
24787 done
24796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
24797 $as_echo_n "checking for fmodl declaration... " >&6; }
24798 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
24799 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
24800 $as_echo_n "(cached) " >&6
24801 else
24804 ac_ext=cpp
24805 ac_cpp='$CXXCPP $CPPFLAGS'
24806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24811 /* end confdefs.h. */
24812 #include <math.h>
24814 main ()
24816 fmodl(0, 0);
24818 return 0;
24820 _ACEOF
24821 if ac_fn_cxx_try_compile "$LINENO"; then :
24822 glibcxx_cv_func_fmodl_use=yes
24823 else
24824 glibcxx_cv_func_fmodl_use=no
24826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24827 ac_ext=c
24828 ac_cpp='$CPP $CPPFLAGS'
24829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
24838 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
24840 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
24841 for ac_func in fmodl
24842 do :
24843 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
24844 if test "x$ac_cv_func_fmodl" = x""yes; then :
24845 cat >>confdefs.h <<_ACEOF
24846 #define HAVE_FMODL 1
24847 _ACEOF
24850 done
24852 else
24854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
24855 $as_echo_n "checking for _fmodl declaration... " >&6; }
24856 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
24857 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
24858 $as_echo_n "(cached) " >&6
24859 else
24862 ac_ext=cpp
24863 ac_cpp='$CXXCPP $CPPFLAGS'
24864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24869 /* end confdefs.h. */
24870 #include <math.h>
24872 main ()
24874 _fmodl(0, 0);
24876 return 0;
24878 _ACEOF
24879 if ac_fn_cxx_try_compile "$LINENO"; then :
24880 glibcxx_cv_func__fmodl_use=yes
24881 else
24882 glibcxx_cv_func__fmodl_use=no
24884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24885 ac_ext=c
24886 ac_cpp='$CPP $CPPFLAGS'
24887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24896 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24898 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24899 for ac_func in _fmodl
24900 do :
24901 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24902 if test "x$ac_cv_func__fmodl" = x""yes; then :
24903 cat >>confdefs.h <<_ACEOF
24904 #define HAVE__FMODL 1
24905 _ACEOF
24908 done
24917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24918 $as_echo_n "checking for frexpl declaration... " >&6; }
24919 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24920 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24921 $as_echo_n "(cached) " >&6
24922 else
24925 ac_ext=cpp
24926 ac_cpp='$CXXCPP $CPPFLAGS'
24927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24932 /* end confdefs.h. */
24933 #include <math.h>
24935 main ()
24937 frexpl(0, 0);
24939 return 0;
24941 _ACEOF
24942 if ac_fn_cxx_try_compile "$LINENO"; then :
24943 glibcxx_cv_func_frexpl_use=yes
24944 else
24945 glibcxx_cv_func_frexpl_use=no
24947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24948 ac_ext=c
24949 ac_cpp='$CPP $CPPFLAGS'
24950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24959 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24961 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24962 for ac_func in frexpl
24963 do :
24964 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24965 if test "x$ac_cv_func_frexpl" = x""yes; then :
24966 cat >>confdefs.h <<_ACEOF
24967 #define HAVE_FREXPL 1
24968 _ACEOF
24971 done
24973 else
24975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24976 $as_echo_n "checking for _frexpl declaration... " >&6; }
24977 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24978 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24979 $as_echo_n "(cached) " >&6
24980 else
24983 ac_ext=cpp
24984 ac_cpp='$CXXCPP $CPPFLAGS'
24985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24990 /* end confdefs.h. */
24991 #include <math.h>
24993 main ()
24995 _frexpl(0, 0);
24997 return 0;
24999 _ACEOF
25000 if ac_fn_cxx_try_compile "$LINENO"; then :
25001 glibcxx_cv_func__frexpl_use=yes
25002 else
25003 glibcxx_cv_func__frexpl_use=no
25005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25006 ac_ext=c
25007 ac_cpp='$CPP $CPPFLAGS'
25008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25017 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25019 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25020 for ac_func in _frexpl
25021 do :
25022 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25023 if test "x$ac_cv_func__frexpl" = x""yes; then :
25024 cat >>confdefs.h <<_ACEOF
25025 #define HAVE__FREXPL 1
25026 _ACEOF
25029 done
25038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25039 $as_echo_n "checking for hypotl declaration... " >&6; }
25040 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25041 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25042 $as_echo_n "(cached) " >&6
25043 else
25046 ac_ext=cpp
25047 ac_cpp='$CXXCPP $CPPFLAGS'
25048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25053 /* end confdefs.h. */
25054 #include <math.h>
25056 main ()
25058 hypotl(0, 0);
25060 return 0;
25062 _ACEOF
25063 if ac_fn_cxx_try_compile "$LINENO"; then :
25064 glibcxx_cv_func_hypotl_use=yes
25065 else
25066 glibcxx_cv_func_hypotl_use=no
25068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25069 ac_ext=c
25070 ac_cpp='$CPP $CPPFLAGS'
25071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25080 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25082 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25083 for ac_func in hypotl
25084 do :
25085 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25086 if test "x$ac_cv_func_hypotl" = x""yes; then :
25087 cat >>confdefs.h <<_ACEOF
25088 #define HAVE_HYPOTL 1
25089 _ACEOF
25092 done
25094 else
25096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25097 $as_echo_n "checking for _hypotl declaration... " >&6; }
25098 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25099 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25100 $as_echo_n "(cached) " >&6
25101 else
25104 ac_ext=cpp
25105 ac_cpp='$CXXCPP $CPPFLAGS'
25106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25111 /* end confdefs.h. */
25112 #include <math.h>
25114 main ()
25116 _hypotl(0, 0);
25118 return 0;
25120 _ACEOF
25121 if ac_fn_cxx_try_compile "$LINENO"; then :
25122 glibcxx_cv_func__hypotl_use=yes
25123 else
25124 glibcxx_cv_func__hypotl_use=no
25126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25127 ac_ext=c
25128 ac_cpp='$CPP $CPPFLAGS'
25129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25138 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25140 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25141 for ac_func in _hypotl
25142 do :
25143 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25144 if test "x$ac_cv_func__hypotl" = x""yes; then :
25145 cat >>confdefs.h <<_ACEOF
25146 #define HAVE__HYPOTL 1
25147 _ACEOF
25150 done
25159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25160 $as_echo_n "checking for ldexpl declaration... " >&6; }
25161 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25162 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25163 $as_echo_n "(cached) " >&6
25164 else
25167 ac_ext=cpp
25168 ac_cpp='$CXXCPP $CPPFLAGS'
25169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25174 /* end confdefs.h. */
25175 #include <math.h>
25177 main ()
25179 ldexpl(0, 0);
25181 return 0;
25183 _ACEOF
25184 if ac_fn_cxx_try_compile "$LINENO"; then :
25185 glibcxx_cv_func_ldexpl_use=yes
25186 else
25187 glibcxx_cv_func_ldexpl_use=no
25189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25190 ac_ext=c
25191 ac_cpp='$CPP $CPPFLAGS'
25192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25201 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25203 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25204 for ac_func in ldexpl
25205 do :
25206 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25207 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25208 cat >>confdefs.h <<_ACEOF
25209 #define HAVE_LDEXPL 1
25210 _ACEOF
25213 done
25215 else
25217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25218 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25219 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25220 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25221 $as_echo_n "(cached) " >&6
25222 else
25225 ac_ext=cpp
25226 ac_cpp='$CXXCPP $CPPFLAGS'
25227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25232 /* end confdefs.h. */
25233 #include <math.h>
25235 main ()
25237 _ldexpl(0, 0);
25239 return 0;
25241 _ACEOF
25242 if ac_fn_cxx_try_compile "$LINENO"; then :
25243 glibcxx_cv_func__ldexpl_use=yes
25244 else
25245 glibcxx_cv_func__ldexpl_use=no
25247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25248 ac_ext=c
25249 ac_cpp='$CPP $CPPFLAGS'
25250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25259 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25261 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25262 for ac_func in _ldexpl
25263 do :
25264 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25265 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25266 cat >>confdefs.h <<_ACEOF
25267 #define HAVE__LDEXPL 1
25268 _ACEOF
25271 done
25280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25281 $as_echo_n "checking for logl declaration... " >&6; }
25282 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25283 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25284 $as_echo_n "(cached) " >&6
25285 else
25288 ac_ext=cpp
25289 ac_cpp='$CXXCPP $CPPFLAGS'
25290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25295 /* end confdefs.h. */
25296 #include <math.h>
25297 #ifdef HAVE_IEEEFP_H
25298 #include <ieeefp.h>
25299 #endif
25302 main ()
25304 logl(0);
25306 return 0;
25308 _ACEOF
25309 if ac_fn_cxx_try_compile "$LINENO"; then :
25310 glibcxx_cv_func_logl_use=yes
25311 else
25312 glibcxx_cv_func_logl_use=no
25314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25315 ac_ext=c
25316 ac_cpp='$CPP $CPPFLAGS'
25317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25326 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25328 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25329 for ac_func in logl
25330 do :
25331 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25332 if test "x$ac_cv_func_logl" = x""yes; then :
25333 cat >>confdefs.h <<_ACEOF
25334 #define HAVE_LOGL 1
25335 _ACEOF
25338 done
25340 else
25342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25343 $as_echo_n "checking for _logl declaration... " >&6; }
25344 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25345 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25346 $as_echo_n "(cached) " >&6
25347 else
25350 ac_ext=cpp
25351 ac_cpp='$CXXCPP $CPPFLAGS'
25352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25357 /* end confdefs.h. */
25358 #include <math.h>
25359 #ifdef HAVE_IEEEFP_H
25360 #include <ieeefp.h>
25361 #endif
25364 main ()
25366 _logl(0);
25368 return 0;
25370 _ACEOF
25371 if ac_fn_cxx_try_compile "$LINENO"; then :
25372 glibcxx_cv_func__logl_use=yes
25373 else
25374 glibcxx_cv_func__logl_use=no
25376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25377 ac_ext=c
25378 ac_cpp='$CPP $CPPFLAGS'
25379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25388 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25390 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25391 for ac_func in _logl
25392 do :
25393 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25394 if test "x$ac_cv_func__logl" = x""yes; then :
25395 cat >>confdefs.h <<_ACEOF
25396 #define HAVE__LOGL 1
25397 _ACEOF
25400 done
25409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25410 $as_echo_n "checking for log10l declaration... " >&6; }
25411 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25412 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25413 $as_echo_n "(cached) " >&6
25414 else
25417 ac_ext=cpp
25418 ac_cpp='$CXXCPP $CPPFLAGS'
25419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25424 /* end confdefs.h. */
25425 #include <math.h>
25426 #ifdef HAVE_IEEEFP_H
25427 #include <ieeefp.h>
25428 #endif
25431 main ()
25433 log10l(0);
25435 return 0;
25437 _ACEOF
25438 if ac_fn_cxx_try_compile "$LINENO"; then :
25439 glibcxx_cv_func_log10l_use=yes
25440 else
25441 glibcxx_cv_func_log10l_use=no
25443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25444 ac_ext=c
25445 ac_cpp='$CPP $CPPFLAGS'
25446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25455 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25457 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25458 for ac_func in log10l
25459 do :
25460 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25461 if test "x$ac_cv_func_log10l" = x""yes; then :
25462 cat >>confdefs.h <<_ACEOF
25463 #define HAVE_LOG10L 1
25464 _ACEOF
25467 done
25469 else
25471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25472 $as_echo_n "checking for _log10l declaration... " >&6; }
25473 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25474 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25475 $as_echo_n "(cached) " >&6
25476 else
25479 ac_ext=cpp
25480 ac_cpp='$CXXCPP $CPPFLAGS'
25481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25486 /* end confdefs.h. */
25487 #include <math.h>
25488 #ifdef HAVE_IEEEFP_H
25489 #include <ieeefp.h>
25490 #endif
25493 main ()
25495 _log10l(0);
25497 return 0;
25499 _ACEOF
25500 if ac_fn_cxx_try_compile "$LINENO"; then :
25501 glibcxx_cv_func__log10l_use=yes
25502 else
25503 glibcxx_cv_func__log10l_use=no
25505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25506 ac_ext=c
25507 ac_cpp='$CPP $CPPFLAGS'
25508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25517 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25519 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25520 for ac_func in _log10l
25521 do :
25522 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25523 if test "x$ac_cv_func__log10l" = x""yes; then :
25524 cat >>confdefs.h <<_ACEOF
25525 #define HAVE__LOG10L 1
25526 _ACEOF
25529 done
25538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25539 $as_echo_n "checking for modfl declaration... " >&6; }
25540 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25541 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25542 $as_echo_n "(cached) " >&6
25543 else
25546 ac_ext=cpp
25547 ac_cpp='$CXXCPP $CPPFLAGS'
25548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25553 /* end confdefs.h. */
25554 #include <math.h>
25556 main ()
25558 modfl(0, 0);
25560 return 0;
25562 _ACEOF
25563 if ac_fn_cxx_try_compile "$LINENO"; then :
25564 glibcxx_cv_func_modfl_use=yes
25565 else
25566 glibcxx_cv_func_modfl_use=no
25568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25569 ac_ext=c
25570 ac_cpp='$CPP $CPPFLAGS'
25571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25580 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25582 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25583 for ac_func in modfl
25584 do :
25585 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25586 if test "x$ac_cv_func_modfl" = x""yes; then :
25587 cat >>confdefs.h <<_ACEOF
25588 #define HAVE_MODFL 1
25589 _ACEOF
25592 done
25594 else
25596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25597 $as_echo_n "checking for _modfl declaration... " >&6; }
25598 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25599 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25600 $as_echo_n "(cached) " >&6
25601 else
25604 ac_ext=cpp
25605 ac_cpp='$CXXCPP $CPPFLAGS'
25606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25611 /* end confdefs.h. */
25612 #include <math.h>
25614 main ()
25616 _modfl(0, 0);
25618 return 0;
25620 _ACEOF
25621 if ac_fn_cxx_try_compile "$LINENO"; then :
25622 glibcxx_cv_func__modfl_use=yes
25623 else
25624 glibcxx_cv_func__modfl_use=no
25626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25627 ac_ext=c
25628 ac_cpp='$CPP $CPPFLAGS'
25629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25638 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25640 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25641 for ac_func in _modfl
25642 do :
25643 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25644 if test "x$ac_cv_func__modfl" = x""yes; then :
25645 cat >>confdefs.h <<_ACEOF
25646 #define HAVE__MODFL 1
25647 _ACEOF
25650 done
25659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25660 $as_echo_n "checking for powl declaration... " >&6; }
25661 if test x${glibcxx_cv_func_powl_use+set} != xset; then
25662 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25663 $as_echo_n "(cached) " >&6
25664 else
25667 ac_ext=cpp
25668 ac_cpp='$CXXCPP $CPPFLAGS'
25669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25674 /* end confdefs.h. */
25675 #include <math.h>
25677 main ()
25679 powl(0, 0);
25681 return 0;
25683 _ACEOF
25684 if ac_fn_cxx_try_compile "$LINENO"; then :
25685 glibcxx_cv_func_powl_use=yes
25686 else
25687 glibcxx_cv_func_powl_use=no
25689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25690 ac_ext=c
25691 ac_cpp='$CPP $CPPFLAGS'
25692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25701 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25703 if test x$glibcxx_cv_func_powl_use = x"yes"; then
25704 for ac_func in powl
25705 do :
25706 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25707 if test "x$ac_cv_func_powl" = x""yes; then :
25708 cat >>confdefs.h <<_ACEOF
25709 #define HAVE_POWL 1
25710 _ACEOF
25713 done
25715 else
25717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25718 $as_echo_n "checking for _powl declaration... " >&6; }
25719 if test x${glibcxx_cv_func__powl_use+set} != xset; then
25720 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
25721 $as_echo_n "(cached) " >&6
25722 else
25725 ac_ext=cpp
25726 ac_cpp='$CXXCPP $CPPFLAGS'
25727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25732 /* end confdefs.h. */
25733 #include <math.h>
25735 main ()
25737 _powl(0, 0);
25739 return 0;
25741 _ACEOF
25742 if ac_fn_cxx_try_compile "$LINENO"; then :
25743 glibcxx_cv_func__powl_use=yes
25744 else
25745 glibcxx_cv_func__powl_use=no
25747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25748 ac_ext=c
25749 ac_cpp='$CPP $CPPFLAGS'
25750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
25759 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
25761 if test x$glibcxx_cv_func__powl_use = x"yes"; then
25762 for ac_func in _powl
25763 do :
25764 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
25765 if test "x$ac_cv_func__powl" = x""yes; then :
25766 cat >>confdefs.h <<_ACEOF
25767 #define HAVE__POWL 1
25768 _ACEOF
25771 done
25780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
25781 $as_echo_n "checking for sqrtl declaration... " >&6; }
25782 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
25783 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
25784 $as_echo_n "(cached) " >&6
25785 else
25788 ac_ext=cpp
25789 ac_cpp='$CXXCPP $CPPFLAGS'
25790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25795 /* end confdefs.h. */
25796 #include <math.h>
25797 #ifdef HAVE_IEEEFP_H
25798 #include <ieeefp.h>
25799 #endif
25802 main ()
25804 sqrtl(0);
25806 return 0;
25808 _ACEOF
25809 if ac_fn_cxx_try_compile "$LINENO"; then :
25810 glibcxx_cv_func_sqrtl_use=yes
25811 else
25812 glibcxx_cv_func_sqrtl_use=no
25814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25815 ac_ext=c
25816 ac_cpp='$CPP $CPPFLAGS'
25817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
25826 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
25828 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
25829 for ac_func in sqrtl
25830 do :
25831 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
25832 if test "x$ac_cv_func_sqrtl" = x""yes; then :
25833 cat >>confdefs.h <<_ACEOF
25834 #define HAVE_SQRTL 1
25835 _ACEOF
25838 done
25840 else
25842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
25843 $as_echo_n "checking for _sqrtl declaration... " >&6; }
25844 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25845 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
25846 $as_echo_n "(cached) " >&6
25847 else
25850 ac_ext=cpp
25851 ac_cpp='$CXXCPP $CPPFLAGS'
25852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25857 /* end confdefs.h. */
25858 #include <math.h>
25859 #ifdef HAVE_IEEEFP_H
25860 #include <ieeefp.h>
25861 #endif
25864 main ()
25866 _sqrtl(0);
25868 return 0;
25870 _ACEOF
25871 if ac_fn_cxx_try_compile "$LINENO"; then :
25872 glibcxx_cv_func__sqrtl_use=yes
25873 else
25874 glibcxx_cv_func__sqrtl_use=no
25876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25877 ac_ext=c
25878 ac_cpp='$CPP $CPPFLAGS'
25879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
25888 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25890 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25891 for ac_func in _sqrtl
25892 do :
25893 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25894 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25895 cat >>confdefs.h <<_ACEOF
25896 #define HAVE__SQRTL 1
25897 _ACEOF
25900 done
25909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25910 $as_echo_n "checking for sincosl declaration... " >&6; }
25911 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25912 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25913 $as_echo_n "(cached) " >&6
25914 else
25917 ac_ext=cpp
25918 ac_cpp='$CXXCPP $CPPFLAGS'
25919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25924 /* end confdefs.h. */
25925 #include <math.h>
25927 main ()
25929 sincosl(0, 0, 0);
25931 return 0;
25933 _ACEOF
25934 if ac_fn_cxx_try_compile "$LINENO"; then :
25935 glibcxx_cv_func_sincosl_use=yes
25936 else
25937 glibcxx_cv_func_sincosl_use=no
25939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25940 ac_ext=c
25941 ac_cpp='$CPP $CPPFLAGS'
25942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25951 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25953 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25954 for ac_func in sincosl
25955 do :
25956 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25957 if test "x$ac_cv_func_sincosl" = x""yes; then :
25958 cat >>confdefs.h <<_ACEOF
25959 #define HAVE_SINCOSL 1
25960 _ACEOF
25963 done
25965 else
25967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25968 $as_echo_n "checking for _sincosl declaration... " >&6; }
25969 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25970 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25971 $as_echo_n "(cached) " >&6
25972 else
25975 ac_ext=cpp
25976 ac_cpp='$CXXCPP $CPPFLAGS'
25977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25982 /* end confdefs.h. */
25983 #include <math.h>
25985 main ()
25987 _sincosl(0, 0, 0);
25989 return 0;
25991 _ACEOF
25992 if ac_fn_cxx_try_compile "$LINENO"; then :
25993 glibcxx_cv_func__sincosl_use=yes
25994 else
25995 glibcxx_cv_func__sincosl_use=no
25997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25998 ac_ext=c
25999 ac_cpp='$CPP $CPPFLAGS'
26000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26009 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26011 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26012 for ac_func in _sincosl
26013 do :
26014 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26015 if test "x$ac_cv_func__sincosl" = x""yes; then :
26016 cat >>confdefs.h <<_ACEOF
26017 #define HAVE__SINCOSL 1
26018 _ACEOF
26021 done
26030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26031 $as_echo_n "checking for finitel declaration... " >&6; }
26032 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26033 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26034 $as_echo_n "(cached) " >&6
26035 else
26038 ac_ext=cpp
26039 ac_cpp='$CXXCPP $CPPFLAGS'
26040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26045 /* end confdefs.h. */
26046 #include <math.h>
26047 #ifdef HAVE_IEEEFP_H
26048 #include <ieeefp.h>
26049 #endif
26052 main ()
26054 finitel(0);
26056 return 0;
26058 _ACEOF
26059 if ac_fn_cxx_try_compile "$LINENO"; then :
26060 glibcxx_cv_func_finitel_use=yes
26061 else
26062 glibcxx_cv_func_finitel_use=no
26064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26065 ac_ext=c
26066 ac_cpp='$CPP $CPPFLAGS'
26067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26076 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26078 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26079 for ac_func in finitel
26080 do :
26081 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26082 if test "x$ac_cv_func_finitel" = x""yes; then :
26083 cat >>confdefs.h <<_ACEOF
26084 #define HAVE_FINITEL 1
26085 _ACEOF
26088 done
26090 else
26092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26093 $as_echo_n "checking for _finitel declaration... " >&6; }
26094 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26095 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26096 $as_echo_n "(cached) " >&6
26097 else
26100 ac_ext=cpp
26101 ac_cpp='$CXXCPP $CPPFLAGS'
26102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26107 /* end confdefs.h. */
26108 #include <math.h>
26109 #ifdef HAVE_IEEEFP_H
26110 #include <ieeefp.h>
26111 #endif
26114 main ()
26116 _finitel(0);
26118 return 0;
26120 _ACEOF
26121 if ac_fn_cxx_try_compile "$LINENO"; then :
26122 glibcxx_cv_func__finitel_use=yes
26123 else
26124 glibcxx_cv_func__finitel_use=no
26126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26127 ac_ext=c
26128 ac_cpp='$CPP $CPPFLAGS'
26129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26138 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26140 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26141 for ac_func in _finitel
26142 do :
26143 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26144 if test "x$ac_cv_func__finitel" = x""yes; then :
26145 cat >>confdefs.h <<_ACEOF
26146 #define HAVE__FINITEL 1
26147 _ACEOF
26150 done
26158 LIBS="$ac_save_LIBS"
26159 CXXFLAGS="$ac_save_CXXFLAGS"
26162 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26163 ac_save_CXXFLAGS="$CXXFLAGS"
26164 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26168 $as_echo_n "checking for strtold declaration... " >&6; }
26169 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26170 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26171 $as_echo_n "(cached) " >&6
26172 else
26175 ac_ext=cpp
26176 ac_cpp='$CXXCPP $CPPFLAGS'
26177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26182 /* end confdefs.h. */
26183 #include <stdlib.h>
26185 main ()
26187 strtold(0, 0);
26189 return 0;
26191 _ACEOF
26192 if ac_fn_cxx_try_compile "$LINENO"; then :
26193 glibcxx_cv_func_strtold_use=yes
26194 else
26195 glibcxx_cv_func_strtold_use=no
26197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26198 ac_ext=c
26199 ac_cpp='$CPP $CPPFLAGS'
26200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26209 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26210 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26211 for ac_func in strtold
26212 do :
26213 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26214 if test "x$ac_cv_func_strtold" = x""yes; then :
26215 cat >>confdefs.h <<_ACEOF
26216 #define HAVE_STRTOLD 1
26217 _ACEOF
26220 done
26227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26228 $as_echo_n "checking for strtof declaration... " >&6; }
26229 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26230 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26231 $as_echo_n "(cached) " >&6
26232 else
26235 ac_ext=cpp
26236 ac_cpp='$CXXCPP $CPPFLAGS'
26237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26242 /* end confdefs.h. */
26243 #include <stdlib.h>
26245 main ()
26247 strtof(0, 0);
26249 return 0;
26251 _ACEOF
26252 if ac_fn_cxx_try_compile "$LINENO"; then :
26253 glibcxx_cv_func_strtof_use=yes
26254 else
26255 glibcxx_cv_func_strtof_use=no
26257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26258 ac_ext=c
26259 ac_cpp='$CPP $CPPFLAGS'
26260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26269 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26270 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26271 for ac_func in strtof
26272 do :
26273 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26274 if test "x$ac_cv_func_strtof" = x""yes; then :
26275 cat >>confdefs.h <<_ACEOF
26276 #define HAVE_STRTOF 1
26277 _ACEOF
26280 done
26287 CXXFLAGS="$ac_save_CXXFLAGS"
26290 # For /dev/random and /dev/urandom for TR1.
26293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26294 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26295 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26296 $as_echo_n "(cached) " >&6
26297 else
26299 if test -r /dev/random && test -r /dev/urandom; then
26300 glibcxx_cv_random_tr1=yes;
26301 else
26302 glibcxx_cv_random_tr1=no;
26307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26308 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26310 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26312 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26318 # For TLS support.
26321 # Check whether --enable-tls was given.
26322 if test "${enable_tls+set}" = set; then :
26323 enableval=$enable_tls;
26324 case "$enableval" in
26325 yes|no) ;;
26326 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26327 esac
26329 else
26330 enable_tls=yes
26334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26335 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26336 if test "${gcc_cv_have_tls+set}" = set; then :
26337 $as_echo_n "(cached) " >&6
26338 else
26340 if test "$cross_compiling" = yes; then :
26341 if test x$gcc_no_link = xyes; then
26342 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26345 /* end confdefs.h. */
26346 __thread int a; int b; int main() { return a = b; }
26347 _ACEOF
26348 if ac_fn_c_try_link "$LINENO"; then :
26349 chktls_save_LDFLAGS="$LDFLAGS"
26350 case $host in
26351 *-*-linux*)
26352 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26354 esac
26355 chktls_save_CFLAGS="$CFLAGS"
26356 CFLAGS="-fPIC $CFLAGS"
26357 if test x$gcc_no_link = xyes; then
26358 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26361 /* end confdefs.h. */
26362 int f() { return 0; }
26363 _ACEOF
26364 if ac_fn_c_try_link "$LINENO"; then :
26365 if test x$gcc_no_link = xyes; then
26366 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26369 /* end confdefs.h. */
26370 __thread int a; int b; int f() { return a = b; }
26371 _ACEOF
26372 if ac_fn_c_try_link "$LINENO"; then :
26373 gcc_cv_have_tls=yes
26374 else
26375 gcc_cv_have_tls=no
26377 rm -f core conftest.err conftest.$ac_objext \
26378 conftest$ac_exeext conftest.$ac_ext
26379 else
26380 gcc_cv_have_tls=yes
26382 rm -f core conftest.err conftest.$ac_objext \
26383 conftest$ac_exeext conftest.$ac_ext
26384 CFLAGS="$chktls_save_CFLAGS"
26385 LDFLAGS="$chktls_save_LDFLAGS"
26386 else
26387 gcc_cv_have_tls=no
26389 rm -f core conftest.err conftest.$ac_objext \
26390 conftest$ac_exeext conftest.$ac_ext
26393 else
26394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26395 /* end confdefs.h. */
26396 __thread int a; int b; int main() { return a = b; }
26397 _ACEOF
26398 if ac_fn_c_try_run "$LINENO"; then :
26399 chktls_save_LDFLAGS="$LDFLAGS"
26400 LDFLAGS="-static $LDFLAGS"
26401 if test x$gcc_no_link = xyes; then
26402 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26405 /* end confdefs.h. */
26406 int main() { return 0; }
26407 _ACEOF
26408 if ac_fn_c_try_link "$LINENO"; then :
26409 if test "$cross_compiling" = yes; then :
26410 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26411 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26412 as_fn_error "cannot run test program while cross compiling
26413 See \`config.log' for more details." "$LINENO" 5; }
26414 else
26415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26416 /* end confdefs.h. */
26417 __thread int a; int b; int main() { return a = b; }
26418 _ACEOF
26419 if ac_fn_c_try_run "$LINENO"; then :
26420 gcc_cv_have_tls=yes
26421 else
26422 gcc_cv_have_tls=no
26424 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26425 conftest.$ac_objext conftest.beam conftest.$ac_ext
26428 else
26429 gcc_cv_have_tls=yes
26431 rm -f core conftest.err conftest.$ac_objext \
26432 conftest$ac_exeext conftest.$ac_ext
26433 LDFLAGS="$chktls_save_LDFLAGS"
26434 if test $gcc_cv_have_tls = yes; then
26435 chktls_save_CFLAGS="$CFLAGS"
26436 thread_CFLAGS=failed
26437 for flag in '' '-pthread' '-lpthread'; do
26438 CFLAGS="$flag $chktls_save_CFLAGS"
26439 if test x$gcc_no_link = xyes; then
26440 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26443 /* end confdefs.h. */
26444 #include <pthread.h>
26445 void *g(void *d) { return NULL; }
26447 main ()
26449 pthread_t t; pthread_create(&t,NULL,g,NULL);
26451 return 0;
26453 _ACEOF
26454 if ac_fn_c_try_link "$LINENO"; then :
26455 thread_CFLAGS="$flag"
26457 rm -f core conftest.err conftest.$ac_objext \
26458 conftest$ac_exeext conftest.$ac_ext
26459 if test "X$thread_CFLAGS" != Xfailed; then
26460 break
26462 done
26463 CFLAGS="$chktls_save_CFLAGS"
26464 if test "X$thread_CFLAGS" != Xfailed; then
26465 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26466 if test "$cross_compiling" = yes; then :
26467 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26468 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26469 as_fn_error "cannot run test program while cross compiling
26470 See \`config.log' for more details." "$LINENO" 5; }
26471 else
26472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26473 /* end confdefs.h. */
26474 #include <pthread.h>
26475 __thread int a;
26476 static int *volatile a_in_other_thread;
26477 static void *
26478 thread_func (void *arg)
26480 a_in_other_thread = &a;
26481 return (void *)0;
26484 main ()
26486 pthread_t thread;
26487 void *thread_retval;
26488 int *volatile a_in_main_thread;
26489 a_in_main_thread = &a;
26490 if (pthread_create (&thread, (pthread_attr_t *)0,
26491 thread_func, (void *)0))
26492 return 0;
26493 if (pthread_join (thread, &thread_retval))
26494 return 0;
26495 return (a_in_other_thread == a_in_main_thread);
26497 return 0;
26499 _ACEOF
26500 if ac_fn_c_try_run "$LINENO"; then :
26501 gcc_cv_have_tls=yes
26502 else
26503 gcc_cv_have_tls=no
26505 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26506 conftest.$ac_objext conftest.beam conftest.$ac_ext
26509 CFLAGS="$chktls_save_CFLAGS"
26512 else
26513 gcc_cv_have_tls=no
26515 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26516 conftest.$ac_objext conftest.beam conftest.$ac_ext
26520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
26521 $as_echo "$gcc_cv_have_tls" >&6; }
26522 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
26524 $as_echo "#define HAVE_TLS 1" >>confdefs.h
26528 # For iconv support.
26530 if test "X$prefix" = "XNONE"; then
26531 acl_final_prefix="$ac_default_prefix"
26532 else
26533 acl_final_prefix="$prefix"
26535 if test "X$exec_prefix" = "XNONE"; then
26536 acl_final_exec_prefix='${prefix}'
26537 else
26538 acl_final_exec_prefix="$exec_prefix"
26540 acl_save_prefix="$prefix"
26541 prefix="$acl_final_prefix"
26542 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
26543 prefix="$acl_save_prefix"
26546 # Check whether --with-gnu-ld was given.
26547 if test "${with_gnu_ld+set}" = set; then :
26548 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
26549 else
26550 with_gnu_ld=no
26553 # Prepare PATH_SEPARATOR.
26554 # The user is always right.
26555 if test "${PATH_SEPARATOR+set}" != set; then
26556 echo "#! /bin/sh" >conf$$.sh
26557 echo "exit 0" >>conf$$.sh
26558 chmod +x conf$$.sh
26559 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26560 PATH_SEPARATOR=';'
26561 else
26562 PATH_SEPARATOR=:
26564 rm -f conf$$.sh
26566 ac_prog=ld
26567 if test "$GCC" = yes; then
26568 # Check if gcc -print-prog-name=ld gives a path.
26569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
26570 $as_echo_n "checking for ld used by GCC... " >&6; }
26571 case $host in
26572 *-*-mingw*)
26573 # gcc leaves a trailing carriage return which upsets mingw
26574 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
26576 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
26577 esac
26578 case $ac_prog in
26579 # Accept absolute paths.
26580 [\\/]* | [A-Za-z]:[\\/]*)
26581 re_direlt='/[^/][^/]*/\.\./'
26582 # Canonicalize the path of ld
26583 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
26584 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
26585 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
26586 done
26587 test -z "$LD" && LD="$ac_prog"
26590 # If it fails, then pretend we aren't using GCC.
26591 ac_prog=ld
26594 # If it is relative, then search for the first ld in PATH.
26595 with_gnu_ld=unknown
26597 esac
26598 elif test "$with_gnu_ld" = yes; then
26599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
26600 $as_echo_n "checking for GNU ld... " >&6; }
26601 else
26602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
26603 $as_echo_n "checking for non-GNU ld... " >&6; }
26605 if test "${acl_cv_path_LD+set}" = set; then :
26606 $as_echo_n "(cached) " >&6
26607 else
26608 if test -z "$LD"; then
26609 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
26610 for ac_dir in $PATH; do
26611 test -z "$ac_dir" && ac_dir=.
26612 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
26613 acl_cv_path_LD="$ac_dir/$ac_prog"
26614 # Check to see if the program is GNU ld. I'd rather use --version,
26615 # but apparently some GNU ld's only accept -v.
26616 # Break only if it was the GNU/non-GNU ld that we prefer.
26617 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
26618 test "$with_gnu_ld" != no && break
26619 else
26620 test "$with_gnu_ld" != yes && break
26623 done
26624 IFS="$ac_save_ifs"
26625 else
26626 acl_cv_path_LD="$LD" # Let the user override the test with a path.
26630 LD="$acl_cv_path_LD"
26631 if test -n "$LD"; then
26632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
26633 $as_echo "$LD" >&6; }
26634 else
26635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26636 $as_echo "no" >&6; }
26638 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
26639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
26640 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
26641 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
26642 $as_echo_n "(cached) " >&6
26643 else
26644 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
26645 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
26646 acl_cv_prog_gnu_ld=yes
26647 else
26648 acl_cv_prog_gnu_ld=no
26651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
26652 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
26653 with_gnu_ld=$acl_cv_prog_gnu_ld
26657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
26658 $as_echo_n "checking for shared library run path origin... " >&6; }
26659 if test "${acl_cv_rpath+set}" = set; then :
26660 $as_echo_n "(cached) " >&6
26661 else
26663 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
26664 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
26665 . ./conftest.sh
26666 rm -f ./conftest.sh
26667 acl_cv_rpath=done
26670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
26671 $as_echo "$acl_cv_rpath" >&6; }
26672 wl="$acl_cv_wl"
26673 libext="$acl_cv_libext"
26674 shlibext="$acl_cv_shlibext"
26675 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
26676 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
26677 hardcode_direct="$acl_cv_hardcode_direct"
26678 hardcode_minus_L="$acl_cv_hardcode_minus_L"
26679 # Check whether --enable-rpath was given.
26680 if test "${enable_rpath+set}" = set; then :
26681 enableval=$enable_rpath; :
26682 else
26683 enable_rpath=yes
26693 use_additional=yes
26695 acl_save_prefix="$prefix"
26696 prefix="$acl_final_prefix"
26697 acl_save_exec_prefix="$exec_prefix"
26698 exec_prefix="$acl_final_exec_prefix"
26700 eval additional_includedir=\"$includedir\"
26701 eval additional_libdir=\"$libdir\"
26703 exec_prefix="$acl_save_exec_prefix"
26704 prefix="$acl_save_prefix"
26707 # Check whether --with-libiconv-prefix was given.
26708 if test "${with_libiconv_prefix+set}" = set; then :
26709 withval=$with_libiconv_prefix;
26710 if test "X$withval" = "Xno"; then
26711 use_additional=no
26712 else
26713 if test "X$withval" = "X"; then
26715 acl_save_prefix="$prefix"
26716 prefix="$acl_final_prefix"
26717 acl_save_exec_prefix="$exec_prefix"
26718 exec_prefix="$acl_final_exec_prefix"
26720 eval additional_includedir=\"$includedir\"
26721 eval additional_libdir=\"$libdir\"
26723 exec_prefix="$acl_save_exec_prefix"
26724 prefix="$acl_save_prefix"
26726 else
26727 additional_includedir="$withval/include"
26728 additional_libdir="$withval/lib"
26734 LIBICONV=
26735 LTLIBICONV=
26736 INCICONV=
26737 rpathdirs=
26738 ltrpathdirs=
26739 names_already_handled=
26740 names_next_round='iconv '
26741 while test -n "$names_next_round"; do
26742 names_this_round="$names_next_round"
26743 names_next_round=
26744 for name in $names_this_round; do
26745 already_handled=
26746 for n in $names_already_handled; do
26747 if test "$n" = "$name"; then
26748 already_handled=yes
26749 break
26751 done
26752 if test -z "$already_handled"; then
26753 names_already_handled="$names_already_handled $name"
26754 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
26755 eval value=\"\$HAVE_LIB$uppername\"
26756 if test -n "$value"; then
26757 if test "$value" = yes; then
26758 eval value=\"\$LIB$uppername\"
26759 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
26760 eval value=\"\$LTLIB$uppername\"
26761 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
26762 else
26765 else
26766 found_dir=
26767 found_la=
26768 found_so=
26769 found_a=
26770 if test $use_additional = yes; then
26771 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
26772 found_dir="$additional_libdir"
26773 found_so="$additional_libdir/lib$name.$shlibext"
26774 if test -f "$additional_libdir/lib$name.la"; then
26775 found_la="$additional_libdir/lib$name.la"
26777 else
26778 if test -f "$additional_libdir/lib$name.$libext"; then
26779 found_dir="$additional_libdir"
26780 found_a="$additional_libdir/lib$name.$libext"
26781 if test -f "$additional_libdir/lib$name.la"; then
26782 found_la="$additional_libdir/lib$name.la"
26787 if test "X$found_dir" = "X"; then
26788 for x in $LDFLAGS $LTLIBICONV; do
26790 acl_save_prefix="$prefix"
26791 prefix="$acl_final_prefix"
26792 acl_save_exec_prefix="$exec_prefix"
26793 exec_prefix="$acl_final_exec_prefix"
26794 eval x=\"$x\"
26795 exec_prefix="$acl_save_exec_prefix"
26796 prefix="$acl_save_prefix"
26798 case "$x" in
26799 -L*)
26800 dir=`echo "X$x" | sed -e 's/^X-L//'`
26801 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
26802 found_dir="$dir"
26803 found_so="$dir/lib$name.$shlibext"
26804 if test -f "$dir/lib$name.la"; then
26805 found_la="$dir/lib$name.la"
26807 else
26808 if test -f "$dir/lib$name.$libext"; then
26809 found_dir="$dir"
26810 found_a="$dir/lib$name.$libext"
26811 if test -f "$dir/lib$name.la"; then
26812 found_la="$dir/lib$name.la"
26817 esac
26818 if test "X$found_dir" != "X"; then
26819 break
26821 done
26823 if test "X$found_dir" != "X"; then
26824 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
26825 if test "X$found_so" != "X"; then
26826 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
26827 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26828 else
26829 haveit=
26830 for x in $ltrpathdirs; do
26831 if test "X$x" = "X$found_dir"; then
26832 haveit=yes
26833 break
26835 done
26836 if test -z "$haveit"; then
26837 ltrpathdirs="$ltrpathdirs $found_dir"
26839 if test "$hardcode_direct" = yes; then
26840 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26841 else
26842 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
26843 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26844 haveit=
26845 for x in $rpathdirs; do
26846 if test "X$x" = "X$found_dir"; then
26847 haveit=yes
26848 break
26850 done
26851 if test -z "$haveit"; then
26852 rpathdirs="$rpathdirs $found_dir"
26854 else
26855 haveit=
26856 for x in $LDFLAGS $LIBICONV; do
26858 acl_save_prefix="$prefix"
26859 prefix="$acl_final_prefix"
26860 acl_save_exec_prefix="$exec_prefix"
26861 exec_prefix="$acl_final_exec_prefix"
26862 eval x=\"$x\"
26863 exec_prefix="$acl_save_exec_prefix"
26864 prefix="$acl_save_prefix"
26866 if test "X$x" = "X-L$found_dir"; then
26867 haveit=yes
26868 break
26870 done
26871 if test -z "$haveit"; then
26872 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
26874 if test "$hardcode_minus_L" != no; then
26875 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26876 else
26877 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26882 else
26883 if test "X$found_a" != "X"; then
26884 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
26885 else
26886 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
26889 additional_includedir=
26890 case "$found_dir" in
26891 */lib | */lib/)
26892 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26893 additional_includedir="$basedir/include"
26895 esac
26896 if test "X$additional_includedir" != "X"; then
26897 if test "X$additional_includedir" != "X/usr/include"; then
26898 haveit=
26899 if test "X$additional_includedir" = "X/usr/local/include"; then
26900 if test -n "$GCC"; then
26901 case $host_os in
26902 linux*) haveit=yes;;
26903 esac
26906 if test -z "$haveit"; then
26907 for x in $CPPFLAGS $INCICONV; do
26909 acl_save_prefix="$prefix"
26910 prefix="$acl_final_prefix"
26911 acl_save_exec_prefix="$exec_prefix"
26912 exec_prefix="$acl_final_exec_prefix"
26913 eval x=\"$x\"
26914 exec_prefix="$acl_save_exec_prefix"
26915 prefix="$acl_save_prefix"
26917 if test "X$x" = "X-I$additional_includedir"; then
26918 haveit=yes
26919 break
26921 done
26922 if test -z "$haveit"; then
26923 if test -d "$additional_includedir"; then
26924 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26930 if test -n "$found_la"; then
26931 save_libdir="$libdir"
26932 case "$found_la" in
26933 */* | *\\*) . "$found_la" ;;
26934 *) . "./$found_la" ;;
26935 esac
26936 libdir="$save_libdir"
26937 for dep in $dependency_libs; do
26938 case "$dep" in
26939 -L*)
26940 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26941 if test "X$additional_libdir" != "X/usr/lib"; then
26942 haveit=
26943 if test "X$additional_libdir" = "X/usr/local/lib"; then
26944 if test -n "$GCC"; then
26945 case $host_os in
26946 linux*) haveit=yes;;
26947 esac
26950 if test -z "$haveit"; then
26951 haveit=
26952 for x in $LDFLAGS $LIBICONV; do
26954 acl_save_prefix="$prefix"
26955 prefix="$acl_final_prefix"
26956 acl_save_exec_prefix="$exec_prefix"
26957 exec_prefix="$acl_final_exec_prefix"
26958 eval x=\"$x\"
26959 exec_prefix="$acl_save_exec_prefix"
26960 prefix="$acl_save_prefix"
26962 if test "X$x" = "X-L$additional_libdir"; then
26963 haveit=yes
26964 break
26966 done
26967 if test -z "$haveit"; then
26968 if test -d "$additional_libdir"; then
26969 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26972 haveit=
26973 for x in $LDFLAGS $LTLIBICONV; do
26975 acl_save_prefix="$prefix"
26976 prefix="$acl_final_prefix"
26977 acl_save_exec_prefix="$exec_prefix"
26978 exec_prefix="$acl_final_exec_prefix"
26979 eval x=\"$x\"
26980 exec_prefix="$acl_save_exec_prefix"
26981 prefix="$acl_save_prefix"
26983 if test "X$x" = "X-L$additional_libdir"; then
26984 haveit=yes
26985 break
26987 done
26988 if test -z "$haveit"; then
26989 if test -d "$additional_libdir"; then
26990 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26996 -R*)
26997 dir=`echo "X$dep" | sed -e 's/^X-R//'`
26998 if test "$enable_rpath" != no; then
26999 haveit=
27000 for x in $rpathdirs; do
27001 if test "X$x" = "X$dir"; then
27002 haveit=yes
27003 break
27005 done
27006 if test -z "$haveit"; then
27007 rpathdirs="$rpathdirs $dir"
27009 haveit=
27010 for x in $ltrpathdirs; do
27011 if test "X$x" = "X$dir"; then
27012 haveit=yes
27013 break
27015 done
27016 if test -z "$haveit"; then
27017 ltrpathdirs="$ltrpathdirs $dir"
27021 -l*)
27022 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27024 *.la)
27025 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27028 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27029 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27031 esac
27032 done
27034 else
27035 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27036 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27040 done
27041 done
27042 if test "X$rpathdirs" != "X"; then
27043 if test -n "$hardcode_libdir_separator"; then
27044 alldirs=
27045 for found_dir in $rpathdirs; do
27046 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27047 done
27048 acl_save_libdir="$libdir"
27049 libdir="$alldirs"
27050 eval flag=\"$hardcode_libdir_flag_spec\"
27051 libdir="$acl_save_libdir"
27052 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27053 else
27054 for found_dir in $rpathdirs; do
27055 acl_save_libdir="$libdir"
27056 libdir="$found_dir"
27057 eval flag=\"$hardcode_libdir_flag_spec\"
27058 libdir="$acl_save_libdir"
27059 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27060 done
27063 if test "X$ltrpathdirs" != "X"; then
27064 for found_dir in $ltrpathdirs; do
27065 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27066 done
27075 am_save_CPPFLAGS="$CPPFLAGS"
27077 for element in $INCICONV; do
27078 haveit=
27079 for x in $CPPFLAGS; do
27081 acl_save_prefix="$prefix"
27082 prefix="$acl_final_prefix"
27083 acl_save_exec_prefix="$exec_prefix"
27084 exec_prefix="$acl_final_exec_prefix"
27085 eval x=\"$x\"
27086 exec_prefix="$acl_save_exec_prefix"
27087 prefix="$acl_save_prefix"
27089 if test "X$x" = "X$element"; then
27090 haveit=yes
27091 break
27093 done
27094 if test -z "$haveit"; then
27095 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27097 done
27100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27101 $as_echo_n "checking for iconv... " >&6; }
27102 if test "${am_cv_func_iconv+set}" = set; then :
27103 $as_echo_n "(cached) " >&6
27104 else
27106 am_cv_func_iconv="no, consider installing GNU libiconv"
27107 am_cv_lib_iconv=no
27108 if test x$gcc_no_link = xyes; then
27109 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27112 /* end confdefs.h. */
27113 #include <stdlib.h>
27114 #include <iconv.h>
27116 main ()
27118 iconv_t cd = iconv_open("","");
27119 iconv(cd,NULL,NULL,NULL,NULL);
27120 iconv_close(cd);
27122 return 0;
27124 _ACEOF
27125 if ac_fn_c_try_link "$LINENO"; then :
27126 am_cv_func_iconv=yes
27128 rm -f core conftest.err conftest.$ac_objext \
27129 conftest$ac_exeext conftest.$ac_ext
27130 if test "$am_cv_func_iconv" != yes; then
27131 am_save_LIBS="$LIBS"
27132 LIBS="$LIBS $LIBICONV"
27133 if test x$gcc_no_link = xyes; then
27134 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27137 /* end confdefs.h. */
27138 #include <stdlib.h>
27139 #include <iconv.h>
27141 main ()
27143 iconv_t cd = iconv_open("","");
27144 iconv(cd,NULL,NULL,NULL,NULL);
27145 iconv_close(cd);
27147 return 0;
27149 _ACEOF
27150 if ac_fn_c_try_link "$LINENO"; then :
27151 am_cv_lib_iconv=yes
27152 am_cv_func_iconv=yes
27154 rm -f core conftest.err conftest.$ac_objext \
27155 conftest$ac_exeext conftest.$ac_ext
27156 LIBS="$am_save_LIBS"
27160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27161 $as_echo "$am_cv_func_iconv" >&6; }
27162 if test "$am_cv_func_iconv" = yes; then
27164 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27167 if test "$am_cv_lib_iconv" = yes; then
27168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27169 $as_echo_n "checking how to link with libiconv... " >&6; }
27170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27171 $as_echo "$LIBICONV" >&6; }
27172 else
27173 CPPFLAGS="$am_save_CPPFLAGS"
27174 LIBICONV=
27175 LTLIBICONV=
27180 if test "$am_cv_func_iconv" = yes; then
27181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27182 $as_echo_n "checking for iconv declaration... " >&6; }
27183 if test "${am_cv_proto_iconv+set}" = set; then :
27184 $as_echo_n "(cached) " >&6
27185 else
27187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27188 /* end confdefs.h. */
27190 #include <stdlib.h>
27191 #include <iconv.h>
27192 extern
27193 #ifdef __cplusplus
27195 #endif
27196 #if defined(__STDC__) || defined(__cplusplus)
27197 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27198 #else
27199 size_t iconv();
27200 #endif
27203 main ()
27207 return 0;
27209 _ACEOF
27210 if ac_fn_c_try_compile "$LINENO"; then :
27211 am_cv_proto_iconv_arg1=""
27212 else
27213 am_cv_proto_iconv_arg1="const"
27215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27216 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);"
27219 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27221 }$am_cv_proto_iconv" >&5
27222 $as_echo "${ac_t:-
27223 }$am_cv_proto_iconv" >&6; }
27225 cat >>confdefs.h <<_ACEOF
27226 #define ICONV_CONST $am_cv_proto_iconv_arg1
27227 _ACEOF
27232 else
27234 # This lets us hard-code the functionality we know we'll have in the cross
27235 # target environment. "Let" is a sugar-coated word placed on an especially
27236 # dull and tedious hack, actually.
27238 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27239 # that involve linking, can't be used:
27240 # "cannot open sim-crt0.o"
27241 # "cannot open crt0.o"
27242 # etc. All this is because there currently exists no unified, consistent
27243 # way for top level CC information to be passed down to target directories:
27244 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27245 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27246 # crosses can be removed.
27248 # If Canadian cross, then don't pick up tools from the build directory.
27249 # Used only in GLIBCXX_EXPORT_INCLUDES.
27250 if test -n "$with_cross_host" &&
27251 test x"$build_alias" != x"$with_cross_host" &&
27252 test x"$build" != x"$target";
27253 then
27254 CANADIAN=yes
27255 else
27256 CANADIAN=no
27259 # Construct crosses by hand, eliminating bits that need ld...
27260 # GLIBCXX_CHECK_MATH_SUPPORT
27262 # First, test for "known" system libraries. We may be using newlib even
27263 # on a hosted environment.
27264 if test "x${with_newlib}" = "xyes"; then
27265 os_include_dir="os/newlib"
27266 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27269 # GLIBCXX_CHECK_STDLIB_SUPPORT
27270 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27273 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27275 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27277 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27279 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27281 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27283 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27285 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27287 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27289 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27291 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27293 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27295 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27297 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27299 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27301 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27303 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27305 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27307 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27309 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27311 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27313 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27315 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27318 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27320 else
27322 # Base decisions on target environment.
27323 case "${host}" in
27324 arm*-*-symbianelf*)
27325 # This is a freestanding configuration; there is nothing to do here.
27328 mips*-sde-elf*)
27329 # These definitions are for the SDE C library rather than newlib.
27330 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27333 # All these tests are for C++; save the language and the compiler flags.
27334 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27335 # found in GLIBCXX_CONFIGURE.
27337 ac_ext=cpp
27338 ac_cpp='$CXXCPP $CPPFLAGS'
27339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27343 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27344 ac_save_CXXFLAGS="$CXXFLAGS"
27346 # Check for maintainer-mode bits.
27347 if test x"$USE_MAINTAINER_MODE" = xno; then
27348 WERROR=''
27349 else
27350 WERROR='-Werror'
27353 # Check for -ffunction-sections -fdata-sections
27354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27355 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27356 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27358 /* end confdefs.h. */
27359 int foo; void bar() { };
27361 main ()
27365 return 0;
27367 _ACEOF
27368 if ac_fn_cxx_try_compile "$LINENO"; then :
27369 ac_fdsections=yes
27370 else
27371 ac_fdsections=no
27373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27374 if test "$ac_test_CXXFLAGS" = set; then
27375 CXXFLAGS="$ac_save_CXXFLAGS"
27376 else
27377 # this is the suspicious part
27378 CXXFLAGS=''
27380 if test x"$ac_fdsections" = x"yes"; then
27381 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27384 $as_echo "$ac_fdsections" >&6; }
27386 ac_ext=c
27387 ac_cpp='$CPP $CPPFLAGS'
27388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27396 # If we're not using GNU ld, then there's no point in even trying these
27397 # tests. Check for that first. We should have already tested for gld
27398 # by now (in libtool), but require it now just to be safe...
27399 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27400 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27404 # The name set by libtool depends on the version of libtool. Shame on us
27405 # for depending on an impl detail, but c'est la vie. Older versions used
27406 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27407 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27408 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27409 # set (hence we're using an older libtool), then set it.
27410 if test x${with_gnu_ld+set} != xset; then
27411 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27412 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27413 with_gnu_ld=no
27414 else
27415 with_gnu_ld=$ac_cv_prog_gnu_ld
27419 # Start by getting the version number. I think the libtool test already
27420 # does some of this, but throws away the result.
27421 glibcxx_ld_is_gold=no
27422 if test x"$with_gnu_ld" = x"yes"; then
27423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27424 $as_echo_n "checking for ld version... " >&6; }
27426 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27427 glibcxx_ld_is_gold=yes
27429 ldver=`$LD --version 2>/dev/null |
27430 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'`
27432 glibcxx_gnu_ld_version=`echo $ldver | \
27433 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27435 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27438 # Set --gc-sections.
27439 glibcxx_have_gc_sections=no
27440 if test "$glibcxx_ld_is_gold" = "yes"; then
27441 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27442 glibcxx_have_gc_sections=yes
27444 else
27445 glibcxx_gcsections_min_ld=21602
27446 if test x"$with_gnu_ld" = x"yes" &&
27447 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27448 glibcxx_have_gc_sections=yes
27451 if test "$glibcxx_have_gc_sections" = "yes"; then
27452 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27453 # NB: This flag only works reliably after 2.16.1. Configure tests
27454 # for this are difficult, so hard wire a value that should work.
27456 ac_test_CFLAGS="${CFLAGS+set}"
27457 ac_save_CFLAGS="$CFLAGS"
27458 CFLAGS='-Wl,--gc-sections'
27460 # Check for -Wl,--gc-sections
27461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27462 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27463 if test x$gcc_no_link = xyes; then
27464 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27467 /* end confdefs.h. */
27468 int one(void) { return 1; }
27469 int two(void) { return 2; }
27472 main ()
27474 two();
27476 return 0;
27478 _ACEOF
27479 if ac_fn_c_try_link "$LINENO"; then :
27480 ac_gcsections=yes
27481 else
27482 ac_gcsections=no
27484 rm -f core conftest.err conftest.$ac_objext \
27485 conftest$ac_exeext conftest.$ac_ext
27486 if test "$ac_gcsections" = "yes"; then
27487 rm -f conftest.c
27488 touch conftest.c
27489 if $CC -c conftest.c; then
27490 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27491 grep "Warning: gc-sections option ignored" > /dev/null; then
27492 ac_gcsections=no
27495 rm -f conftest.c conftest.o conftest
27497 if test "$ac_gcsections" = "yes"; then
27498 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
27500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
27501 $as_echo "$ac_gcsections" >&6; }
27503 if test "$ac_test_CFLAGS" = set; then
27504 CFLAGS="$ac_save_CFLAGS"
27505 else
27506 # this is the suspicious part
27507 CFLAGS=''
27511 # Set -z,relro.
27512 # Note this is only for shared objects.
27513 ac_ld_relro=no
27514 if test x"$with_gnu_ld" = x"yes"; then
27515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
27516 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
27517 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
27518 if test -n "$cxx_z_relo"; then
27519 OPT_LDFLAGS="-Wl,-z,relro"
27520 ac_ld_relro=yes
27522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
27523 $as_echo "$ac_ld_relro" >&6; }
27526 # Set linker optimization flags.
27527 if test x"$with_gnu_ld" = x"yes"; then
27528 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
27535 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27536 ac_save_CXXFLAGS="$CXXFLAGS"
27537 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
27540 $as_echo_n "checking for sin in -lm... " >&6; }
27541 if test "${ac_cv_lib_m_sin+set}" = set; then :
27542 $as_echo_n "(cached) " >&6
27543 else
27544 ac_check_lib_save_LIBS=$LIBS
27545 LIBS="-lm $LIBS"
27546 if test x$gcc_no_link = xyes; then
27547 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27550 /* end confdefs.h. */
27552 /* Override any GCC internal prototype to avoid an error.
27553 Use char because int might match the return type of a GCC
27554 builtin and then its argument prototype would still apply. */
27555 #ifdef __cplusplus
27556 extern "C"
27557 #endif
27558 char sin ();
27560 main ()
27562 return sin ();
27564 return 0;
27566 _ACEOF
27567 if ac_fn_c_try_link "$LINENO"; then :
27568 ac_cv_lib_m_sin=yes
27569 else
27570 ac_cv_lib_m_sin=no
27572 rm -f core conftest.err conftest.$ac_objext \
27573 conftest$ac_exeext conftest.$ac_ext
27574 LIBS=$ac_check_lib_save_LIBS
27576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
27577 $as_echo "$ac_cv_lib_m_sin" >&6; }
27578 if test "x$ac_cv_lib_m_sin" = x""yes; then :
27579 libm="-lm"
27582 ac_save_LIBS="$LIBS"
27583 LIBS="$LIBS $libm"
27587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
27588 $as_echo_n "checking for isinf declaration... " >&6; }
27589 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27590 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
27591 $as_echo_n "(cached) " >&6
27592 else
27595 ac_ext=cpp
27596 ac_cpp='$CXXCPP $CPPFLAGS'
27597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27602 /* end confdefs.h. */
27603 #include <math.h>
27604 #ifdef HAVE_IEEEFP_H
27605 #include <ieeefp.h>
27606 #endif
27609 main ()
27611 isinf(0);
27613 return 0;
27615 _ACEOF
27616 if ac_fn_cxx_try_compile "$LINENO"; then :
27617 glibcxx_cv_func_isinf_use=yes
27618 else
27619 glibcxx_cv_func_isinf_use=no
27621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27622 ac_ext=c
27623 ac_cpp='$CPP $CPPFLAGS'
27624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
27633 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
27635 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27636 for ac_func in isinf
27637 do :
27638 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
27639 if test "x$ac_cv_func_isinf" = x""yes; then :
27640 cat >>confdefs.h <<_ACEOF
27641 #define HAVE_ISINF 1
27642 _ACEOF
27645 done
27647 else
27649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
27650 $as_echo_n "checking for _isinf declaration... " >&6; }
27651 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
27652 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
27653 $as_echo_n "(cached) " >&6
27654 else
27657 ac_ext=cpp
27658 ac_cpp='$CXXCPP $CPPFLAGS'
27659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27664 /* end confdefs.h. */
27665 #include <math.h>
27666 #ifdef HAVE_IEEEFP_H
27667 #include <ieeefp.h>
27668 #endif
27671 main ()
27673 _isinf(0);
27675 return 0;
27677 _ACEOF
27678 if ac_fn_cxx_try_compile "$LINENO"; then :
27679 glibcxx_cv_func__isinf_use=yes
27680 else
27681 glibcxx_cv_func__isinf_use=no
27683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27684 ac_ext=c
27685 ac_cpp='$CPP $CPPFLAGS'
27686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
27695 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
27697 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
27698 for ac_func in _isinf
27699 do :
27700 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
27701 if test "x$ac_cv_func__isinf" = x""yes; then :
27702 cat >>confdefs.h <<_ACEOF
27703 #define HAVE__ISINF 1
27704 _ACEOF
27707 done
27716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
27717 $as_echo_n "checking for isnan declaration... " >&6; }
27718 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
27719 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
27720 $as_echo_n "(cached) " >&6
27721 else
27724 ac_ext=cpp
27725 ac_cpp='$CXXCPP $CPPFLAGS'
27726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27731 /* end confdefs.h. */
27732 #include <math.h>
27733 #ifdef HAVE_IEEEFP_H
27734 #include <ieeefp.h>
27735 #endif
27738 main ()
27740 isnan(0);
27742 return 0;
27744 _ACEOF
27745 if ac_fn_cxx_try_compile "$LINENO"; then :
27746 glibcxx_cv_func_isnan_use=yes
27747 else
27748 glibcxx_cv_func_isnan_use=no
27750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27751 ac_ext=c
27752 ac_cpp='$CPP $CPPFLAGS'
27753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
27762 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
27764 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
27765 for ac_func in isnan
27766 do :
27767 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
27768 if test "x$ac_cv_func_isnan" = x""yes; then :
27769 cat >>confdefs.h <<_ACEOF
27770 #define HAVE_ISNAN 1
27771 _ACEOF
27774 done
27776 else
27778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
27779 $as_echo_n "checking for _isnan declaration... " >&6; }
27780 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
27781 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
27782 $as_echo_n "(cached) " >&6
27783 else
27786 ac_ext=cpp
27787 ac_cpp='$CXXCPP $CPPFLAGS'
27788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27793 /* end confdefs.h. */
27794 #include <math.h>
27795 #ifdef HAVE_IEEEFP_H
27796 #include <ieeefp.h>
27797 #endif
27800 main ()
27802 _isnan(0);
27804 return 0;
27806 _ACEOF
27807 if ac_fn_cxx_try_compile "$LINENO"; then :
27808 glibcxx_cv_func__isnan_use=yes
27809 else
27810 glibcxx_cv_func__isnan_use=no
27812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27813 ac_ext=c
27814 ac_cpp='$CPP $CPPFLAGS'
27815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
27824 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
27826 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
27827 for ac_func in _isnan
27828 do :
27829 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
27830 if test "x$ac_cv_func__isnan" = x""yes; then :
27831 cat >>confdefs.h <<_ACEOF
27832 #define HAVE__ISNAN 1
27833 _ACEOF
27836 done
27845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
27846 $as_echo_n "checking for finite declaration... " >&6; }
27847 if test x${glibcxx_cv_func_finite_use+set} != xset; then
27848 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
27849 $as_echo_n "(cached) " >&6
27850 else
27853 ac_ext=cpp
27854 ac_cpp='$CXXCPP $CPPFLAGS'
27855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27860 /* end confdefs.h. */
27861 #include <math.h>
27862 #ifdef HAVE_IEEEFP_H
27863 #include <ieeefp.h>
27864 #endif
27867 main ()
27869 finite(0);
27871 return 0;
27873 _ACEOF
27874 if ac_fn_cxx_try_compile "$LINENO"; then :
27875 glibcxx_cv_func_finite_use=yes
27876 else
27877 glibcxx_cv_func_finite_use=no
27879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27880 ac_ext=c
27881 ac_cpp='$CPP $CPPFLAGS'
27882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
27891 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27893 if test x$glibcxx_cv_func_finite_use = x"yes"; then
27894 for ac_func in finite
27895 do :
27896 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27897 if test "x$ac_cv_func_finite" = x""yes; then :
27898 cat >>confdefs.h <<_ACEOF
27899 #define HAVE_FINITE 1
27900 _ACEOF
27903 done
27905 else
27907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27908 $as_echo_n "checking for _finite declaration... " >&6; }
27909 if test x${glibcxx_cv_func__finite_use+set} != xset; then
27910 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27911 $as_echo_n "(cached) " >&6
27912 else
27915 ac_ext=cpp
27916 ac_cpp='$CXXCPP $CPPFLAGS'
27917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27922 /* end confdefs.h. */
27923 #include <math.h>
27924 #ifdef HAVE_IEEEFP_H
27925 #include <ieeefp.h>
27926 #endif
27929 main ()
27931 _finite(0);
27933 return 0;
27935 _ACEOF
27936 if ac_fn_cxx_try_compile "$LINENO"; then :
27937 glibcxx_cv_func__finite_use=yes
27938 else
27939 glibcxx_cv_func__finite_use=no
27941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27942 ac_ext=c
27943 ac_cpp='$CPP $CPPFLAGS'
27944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27953 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27955 if test x$glibcxx_cv_func__finite_use = x"yes"; then
27956 for ac_func in _finite
27957 do :
27958 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27959 if test "x$ac_cv_func__finite" = x""yes; then :
27960 cat >>confdefs.h <<_ACEOF
27961 #define HAVE__FINITE 1
27962 _ACEOF
27965 done
27974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27975 $as_echo_n "checking for sincos declaration... " >&6; }
27976 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27977 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27978 $as_echo_n "(cached) " >&6
27979 else
27982 ac_ext=cpp
27983 ac_cpp='$CXXCPP $CPPFLAGS'
27984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27989 /* end confdefs.h. */
27990 #include <math.h>
27992 main ()
27994 sincos(0, 0, 0);
27996 return 0;
27998 _ACEOF
27999 if ac_fn_cxx_try_compile "$LINENO"; then :
28000 glibcxx_cv_func_sincos_use=yes
28001 else
28002 glibcxx_cv_func_sincos_use=no
28004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28005 ac_ext=c
28006 ac_cpp='$CPP $CPPFLAGS'
28007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28016 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28018 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28019 for ac_func in sincos
28020 do :
28021 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28022 if test "x$ac_cv_func_sincos" = x""yes; then :
28023 cat >>confdefs.h <<_ACEOF
28024 #define HAVE_SINCOS 1
28025 _ACEOF
28028 done
28030 else
28032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28033 $as_echo_n "checking for _sincos declaration... " >&6; }
28034 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28035 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28036 $as_echo_n "(cached) " >&6
28037 else
28040 ac_ext=cpp
28041 ac_cpp='$CXXCPP $CPPFLAGS'
28042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28047 /* end confdefs.h. */
28048 #include <math.h>
28050 main ()
28052 _sincos(0, 0, 0);
28054 return 0;
28056 _ACEOF
28057 if ac_fn_cxx_try_compile "$LINENO"; then :
28058 glibcxx_cv_func__sincos_use=yes
28059 else
28060 glibcxx_cv_func__sincos_use=no
28062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28063 ac_ext=c
28064 ac_cpp='$CPP $CPPFLAGS'
28065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28074 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28076 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28077 for ac_func in _sincos
28078 do :
28079 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28080 if test "x$ac_cv_func__sincos" = x""yes; then :
28081 cat >>confdefs.h <<_ACEOF
28082 #define HAVE__SINCOS 1
28083 _ACEOF
28086 done
28095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28096 $as_echo_n "checking for fpclass declaration... " >&6; }
28097 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28098 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28099 $as_echo_n "(cached) " >&6
28100 else
28103 ac_ext=cpp
28104 ac_cpp='$CXXCPP $CPPFLAGS'
28105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28110 /* end confdefs.h. */
28111 #include <math.h>
28112 #ifdef HAVE_IEEEFP_H
28113 #include <ieeefp.h>
28114 #endif
28117 main ()
28119 fpclass(0);
28121 return 0;
28123 _ACEOF
28124 if ac_fn_cxx_try_compile "$LINENO"; then :
28125 glibcxx_cv_func_fpclass_use=yes
28126 else
28127 glibcxx_cv_func_fpclass_use=no
28129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28130 ac_ext=c
28131 ac_cpp='$CPP $CPPFLAGS'
28132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28141 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28143 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28144 for ac_func in fpclass
28145 do :
28146 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28147 if test "x$ac_cv_func_fpclass" = x""yes; then :
28148 cat >>confdefs.h <<_ACEOF
28149 #define HAVE_FPCLASS 1
28150 _ACEOF
28153 done
28155 else
28157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28158 $as_echo_n "checking for _fpclass declaration... " >&6; }
28159 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28160 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28161 $as_echo_n "(cached) " >&6
28162 else
28165 ac_ext=cpp
28166 ac_cpp='$CXXCPP $CPPFLAGS'
28167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28172 /* end confdefs.h. */
28173 #include <math.h>
28174 #ifdef HAVE_IEEEFP_H
28175 #include <ieeefp.h>
28176 #endif
28179 main ()
28181 _fpclass(0);
28183 return 0;
28185 _ACEOF
28186 if ac_fn_cxx_try_compile "$LINENO"; then :
28187 glibcxx_cv_func__fpclass_use=yes
28188 else
28189 glibcxx_cv_func__fpclass_use=no
28191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28192 ac_ext=c
28193 ac_cpp='$CPP $CPPFLAGS'
28194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28203 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28205 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28206 for ac_func in _fpclass
28207 do :
28208 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28209 if test "x$ac_cv_func__fpclass" = x""yes; then :
28210 cat >>confdefs.h <<_ACEOF
28211 #define HAVE__FPCLASS 1
28212 _ACEOF
28215 done
28224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28225 $as_echo_n "checking for qfpclass declaration... " >&6; }
28226 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28227 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28228 $as_echo_n "(cached) " >&6
28229 else
28232 ac_ext=cpp
28233 ac_cpp='$CXXCPP $CPPFLAGS'
28234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28239 /* end confdefs.h. */
28240 #include <math.h>
28241 #ifdef HAVE_IEEEFP_H
28242 #include <ieeefp.h>
28243 #endif
28246 main ()
28248 qfpclass(0);
28250 return 0;
28252 _ACEOF
28253 if ac_fn_cxx_try_compile "$LINENO"; then :
28254 glibcxx_cv_func_qfpclass_use=yes
28255 else
28256 glibcxx_cv_func_qfpclass_use=no
28258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28259 ac_ext=c
28260 ac_cpp='$CPP $CPPFLAGS'
28261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28270 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28272 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28273 for ac_func in qfpclass
28274 do :
28275 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28276 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28277 cat >>confdefs.h <<_ACEOF
28278 #define HAVE_QFPCLASS 1
28279 _ACEOF
28282 done
28284 else
28286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28287 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28288 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28289 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28290 $as_echo_n "(cached) " >&6
28291 else
28294 ac_ext=cpp
28295 ac_cpp='$CXXCPP $CPPFLAGS'
28296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28301 /* end confdefs.h. */
28302 #include <math.h>
28303 #ifdef HAVE_IEEEFP_H
28304 #include <ieeefp.h>
28305 #endif
28308 main ()
28310 _qfpclass(0);
28312 return 0;
28314 _ACEOF
28315 if ac_fn_cxx_try_compile "$LINENO"; then :
28316 glibcxx_cv_func__qfpclass_use=yes
28317 else
28318 glibcxx_cv_func__qfpclass_use=no
28320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28321 ac_ext=c
28322 ac_cpp='$CPP $CPPFLAGS'
28323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28332 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28334 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28335 for ac_func in _qfpclass
28336 do :
28337 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28338 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28339 cat >>confdefs.h <<_ACEOF
28340 #define HAVE__QFPCLASS 1
28341 _ACEOF
28344 done
28353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28354 $as_echo_n "checking for hypot declaration... " >&6; }
28355 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28356 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28357 $as_echo_n "(cached) " >&6
28358 else
28361 ac_ext=cpp
28362 ac_cpp='$CXXCPP $CPPFLAGS'
28363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28368 /* end confdefs.h. */
28369 #include <math.h>
28371 main ()
28373 hypot(0, 0);
28375 return 0;
28377 _ACEOF
28378 if ac_fn_cxx_try_compile "$LINENO"; then :
28379 glibcxx_cv_func_hypot_use=yes
28380 else
28381 glibcxx_cv_func_hypot_use=no
28383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28384 ac_ext=c
28385 ac_cpp='$CPP $CPPFLAGS'
28386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28395 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28397 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28398 for ac_func in hypot
28399 do :
28400 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28401 if test "x$ac_cv_func_hypot" = x""yes; then :
28402 cat >>confdefs.h <<_ACEOF
28403 #define HAVE_HYPOT 1
28404 _ACEOF
28407 done
28409 else
28411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28412 $as_echo_n "checking for _hypot declaration... " >&6; }
28413 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28414 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28415 $as_echo_n "(cached) " >&6
28416 else
28419 ac_ext=cpp
28420 ac_cpp='$CXXCPP $CPPFLAGS'
28421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28426 /* end confdefs.h. */
28427 #include <math.h>
28429 main ()
28431 _hypot(0, 0);
28433 return 0;
28435 _ACEOF
28436 if ac_fn_cxx_try_compile "$LINENO"; then :
28437 glibcxx_cv_func__hypot_use=yes
28438 else
28439 glibcxx_cv_func__hypot_use=no
28441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28442 ac_ext=c
28443 ac_cpp='$CPP $CPPFLAGS'
28444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28453 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28455 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28456 for ac_func in _hypot
28457 do :
28458 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28459 if test "x$ac_cv_func__hypot" = x""yes; then :
28460 cat >>confdefs.h <<_ACEOF
28461 #define HAVE__HYPOT 1
28462 _ACEOF
28465 done
28474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28475 $as_echo_n "checking for float trig functions... " >&6; }
28476 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28477 $as_echo_n "(cached) " >&6
28478 else
28481 ac_ext=cpp
28482 ac_cpp='$CXXCPP $CPPFLAGS'
28483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28488 /* end confdefs.h. */
28489 #include <math.h>
28491 main ()
28493 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28495 return 0;
28497 _ACEOF
28498 if ac_fn_cxx_try_compile "$LINENO"; then :
28499 glibcxx_cv_func_float_trig_use=yes
28500 else
28501 glibcxx_cv_func_float_trig_use=no
28503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28504 ac_ext=c
28505 ac_cpp='$CPP $CPPFLAGS'
28506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
28513 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
28514 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
28515 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
28516 do :
28517 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28518 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28519 eval as_val=\$$as_ac_var
28520 if test "x$as_val" = x""yes; then :
28521 cat >>confdefs.h <<_ACEOF
28522 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28523 _ACEOF
28526 done
28528 else
28529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
28530 $as_echo_n "checking for _float trig functions... " >&6; }
28531 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
28532 $as_echo_n "(cached) " >&6
28533 else
28536 ac_ext=cpp
28537 ac_cpp='$CXXCPP $CPPFLAGS'
28538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28543 /* end confdefs.h. */
28544 #include <math.h>
28546 main ()
28548 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
28550 return 0;
28552 _ACEOF
28553 if ac_fn_cxx_try_compile "$LINENO"; then :
28554 glibcxx_cv_func__float_trig_use=yes
28555 else
28556 glibcxx_cv_func__float_trig_use=no
28558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28559 ac_ext=c
28560 ac_cpp='$CPP $CPPFLAGS'
28561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
28568 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
28569 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
28570 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
28571 do :
28572 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28573 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28574 eval as_val=\$$as_ac_var
28575 if test "x$as_val" = x""yes; then :
28576 cat >>confdefs.h <<_ACEOF
28577 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28578 _ACEOF
28581 done
28590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
28591 $as_echo_n "checking for float round functions... " >&6; }
28592 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
28593 $as_echo_n "(cached) " >&6
28594 else
28597 ac_ext=cpp
28598 ac_cpp='$CXXCPP $CPPFLAGS'
28599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28604 /* end confdefs.h. */
28605 #include <math.h>
28607 main ()
28609 ceilf (0); floorf (0);
28611 return 0;
28613 _ACEOF
28614 if ac_fn_cxx_try_compile "$LINENO"; then :
28615 glibcxx_cv_func_float_round_use=yes
28616 else
28617 glibcxx_cv_func_float_round_use=no
28619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28620 ac_ext=c
28621 ac_cpp='$CPP $CPPFLAGS'
28622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
28629 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
28630 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
28631 for ac_func in ceilf floorf
28632 do :
28633 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28634 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28635 eval as_val=\$$as_ac_var
28636 if test "x$as_val" = x""yes; then :
28637 cat >>confdefs.h <<_ACEOF
28638 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28639 _ACEOF
28642 done
28644 else
28645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
28646 $as_echo_n "checking for _float round functions... " >&6; }
28647 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
28648 $as_echo_n "(cached) " >&6
28649 else
28652 ac_ext=cpp
28653 ac_cpp='$CXXCPP $CPPFLAGS'
28654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28659 /* end confdefs.h. */
28660 #include <math.h>
28662 main ()
28664 _ceilf (0); _floorf (0);
28666 return 0;
28668 _ACEOF
28669 if ac_fn_cxx_try_compile "$LINENO"; then :
28670 glibcxx_cv_func__float_round_use=yes
28671 else
28672 glibcxx_cv_func__float_round_use=no
28674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28675 ac_ext=c
28676 ac_cpp='$CPP $CPPFLAGS'
28677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
28684 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
28685 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
28686 for ac_func in _ceilf _floorf
28687 do :
28688 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28689 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28690 eval as_val=\$$as_ac_var
28691 if test "x$as_val" = x""yes; then :
28692 cat >>confdefs.h <<_ACEOF
28693 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28694 _ACEOF
28697 done
28707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
28708 $as_echo_n "checking for expf declaration... " >&6; }
28709 if test x${glibcxx_cv_func_expf_use+set} != xset; then
28710 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
28711 $as_echo_n "(cached) " >&6
28712 else
28715 ac_ext=cpp
28716 ac_cpp='$CXXCPP $CPPFLAGS'
28717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28722 /* end confdefs.h. */
28723 #include <math.h>
28724 #ifdef HAVE_IEEEFP_H
28725 #include <ieeefp.h>
28726 #endif
28729 main ()
28731 expf(0);
28733 return 0;
28735 _ACEOF
28736 if ac_fn_cxx_try_compile "$LINENO"; then :
28737 glibcxx_cv_func_expf_use=yes
28738 else
28739 glibcxx_cv_func_expf_use=no
28741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28742 ac_ext=c
28743 ac_cpp='$CPP $CPPFLAGS'
28744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
28753 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
28755 if test x$glibcxx_cv_func_expf_use = x"yes"; then
28756 for ac_func in expf
28757 do :
28758 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
28759 if test "x$ac_cv_func_expf" = x""yes; then :
28760 cat >>confdefs.h <<_ACEOF
28761 #define HAVE_EXPF 1
28762 _ACEOF
28765 done
28767 else
28769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
28770 $as_echo_n "checking for _expf declaration... " >&6; }
28771 if test x${glibcxx_cv_func__expf_use+set} != xset; then
28772 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
28773 $as_echo_n "(cached) " >&6
28774 else
28777 ac_ext=cpp
28778 ac_cpp='$CXXCPP $CPPFLAGS'
28779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28784 /* end confdefs.h. */
28785 #include <math.h>
28786 #ifdef HAVE_IEEEFP_H
28787 #include <ieeefp.h>
28788 #endif
28791 main ()
28793 _expf(0);
28795 return 0;
28797 _ACEOF
28798 if ac_fn_cxx_try_compile "$LINENO"; then :
28799 glibcxx_cv_func__expf_use=yes
28800 else
28801 glibcxx_cv_func__expf_use=no
28803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28804 ac_ext=c
28805 ac_cpp='$CPP $CPPFLAGS'
28806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
28815 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
28817 if test x$glibcxx_cv_func__expf_use = x"yes"; then
28818 for ac_func in _expf
28819 do :
28820 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
28821 if test "x$ac_cv_func__expf" = x""yes; then :
28822 cat >>confdefs.h <<_ACEOF
28823 #define HAVE__EXPF 1
28824 _ACEOF
28827 done
28836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
28837 $as_echo_n "checking for isnanf declaration... " >&6; }
28838 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
28839 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
28840 $as_echo_n "(cached) " >&6
28841 else
28844 ac_ext=cpp
28845 ac_cpp='$CXXCPP $CPPFLAGS'
28846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28851 /* end confdefs.h. */
28852 #include <math.h>
28853 #ifdef HAVE_IEEEFP_H
28854 #include <ieeefp.h>
28855 #endif
28858 main ()
28860 isnanf(0);
28862 return 0;
28864 _ACEOF
28865 if ac_fn_cxx_try_compile "$LINENO"; then :
28866 glibcxx_cv_func_isnanf_use=yes
28867 else
28868 glibcxx_cv_func_isnanf_use=no
28870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28871 ac_ext=c
28872 ac_cpp='$CPP $CPPFLAGS'
28873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
28882 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
28884 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
28885 for ac_func in isnanf
28886 do :
28887 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
28888 if test "x$ac_cv_func_isnanf" = x""yes; then :
28889 cat >>confdefs.h <<_ACEOF
28890 #define HAVE_ISNANF 1
28891 _ACEOF
28894 done
28896 else
28898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28899 $as_echo_n "checking for _isnanf declaration... " >&6; }
28900 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28901 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28902 $as_echo_n "(cached) " >&6
28903 else
28906 ac_ext=cpp
28907 ac_cpp='$CXXCPP $CPPFLAGS'
28908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28913 /* end confdefs.h. */
28914 #include <math.h>
28915 #ifdef HAVE_IEEEFP_H
28916 #include <ieeefp.h>
28917 #endif
28920 main ()
28922 _isnanf(0);
28924 return 0;
28926 _ACEOF
28927 if ac_fn_cxx_try_compile "$LINENO"; then :
28928 glibcxx_cv_func__isnanf_use=yes
28929 else
28930 glibcxx_cv_func__isnanf_use=no
28932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28933 ac_ext=c
28934 ac_cpp='$CPP $CPPFLAGS'
28935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28944 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28946 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28947 for ac_func in _isnanf
28948 do :
28949 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28950 if test "x$ac_cv_func__isnanf" = x""yes; then :
28951 cat >>confdefs.h <<_ACEOF
28952 #define HAVE__ISNANF 1
28953 _ACEOF
28956 done
28965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28966 $as_echo_n "checking for isinff declaration... " >&6; }
28967 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28968 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28969 $as_echo_n "(cached) " >&6
28970 else
28973 ac_ext=cpp
28974 ac_cpp='$CXXCPP $CPPFLAGS'
28975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28980 /* end confdefs.h. */
28981 #include <math.h>
28982 #ifdef HAVE_IEEEFP_H
28983 #include <ieeefp.h>
28984 #endif
28987 main ()
28989 isinff(0);
28991 return 0;
28993 _ACEOF
28994 if ac_fn_cxx_try_compile "$LINENO"; then :
28995 glibcxx_cv_func_isinff_use=yes
28996 else
28997 glibcxx_cv_func_isinff_use=no
28999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29000 ac_ext=c
29001 ac_cpp='$CPP $CPPFLAGS'
29002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29011 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29013 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29014 for ac_func in isinff
29015 do :
29016 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29017 if test "x$ac_cv_func_isinff" = x""yes; then :
29018 cat >>confdefs.h <<_ACEOF
29019 #define HAVE_ISINFF 1
29020 _ACEOF
29023 done
29025 else
29027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29028 $as_echo_n "checking for _isinff declaration... " >&6; }
29029 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29030 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29031 $as_echo_n "(cached) " >&6
29032 else
29035 ac_ext=cpp
29036 ac_cpp='$CXXCPP $CPPFLAGS'
29037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29042 /* end confdefs.h. */
29043 #include <math.h>
29044 #ifdef HAVE_IEEEFP_H
29045 #include <ieeefp.h>
29046 #endif
29049 main ()
29051 _isinff(0);
29053 return 0;
29055 _ACEOF
29056 if ac_fn_cxx_try_compile "$LINENO"; then :
29057 glibcxx_cv_func__isinff_use=yes
29058 else
29059 glibcxx_cv_func__isinff_use=no
29061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29062 ac_ext=c
29063 ac_cpp='$CPP $CPPFLAGS'
29064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29073 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29075 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29076 for ac_func in _isinff
29077 do :
29078 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29079 if test "x$ac_cv_func__isinff" = x""yes; then :
29080 cat >>confdefs.h <<_ACEOF
29081 #define HAVE__ISINFF 1
29082 _ACEOF
29085 done
29094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29095 $as_echo_n "checking for atan2f declaration... " >&6; }
29096 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29097 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29098 $as_echo_n "(cached) " >&6
29099 else
29102 ac_ext=cpp
29103 ac_cpp='$CXXCPP $CPPFLAGS'
29104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29109 /* end confdefs.h. */
29110 #include <math.h>
29112 main ()
29114 atan2f(0, 0);
29116 return 0;
29118 _ACEOF
29119 if ac_fn_cxx_try_compile "$LINENO"; then :
29120 glibcxx_cv_func_atan2f_use=yes
29121 else
29122 glibcxx_cv_func_atan2f_use=no
29124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29125 ac_ext=c
29126 ac_cpp='$CPP $CPPFLAGS'
29127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29136 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29138 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29139 for ac_func in atan2f
29140 do :
29141 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29142 if test "x$ac_cv_func_atan2f" = x""yes; then :
29143 cat >>confdefs.h <<_ACEOF
29144 #define HAVE_ATAN2F 1
29145 _ACEOF
29148 done
29150 else
29152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29153 $as_echo_n "checking for _atan2f declaration... " >&6; }
29154 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29155 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29156 $as_echo_n "(cached) " >&6
29157 else
29160 ac_ext=cpp
29161 ac_cpp='$CXXCPP $CPPFLAGS'
29162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29167 /* end confdefs.h. */
29168 #include <math.h>
29170 main ()
29172 _atan2f(0, 0);
29174 return 0;
29176 _ACEOF
29177 if ac_fn_cxx_try_compile "$LINENO"; then :
29178 glibcxx_cv_func__atan2f_use=yes
29179 else
29180 glibcxx_cv_func__atan2f_use=no
29182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29183 ac_ext=c
29184 ac_cpp='$CPP $CPPFLAGS'
29185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29194 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29196 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29197 for ac_func in _atan2f
29198 do :
29199 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29200 if test "x$ac_cv_func__atan2f" = x""yes; then :
29201 cat >>confdefs.h <<_ACEOF
29202 #define HAVE__ATAN2F 1
29203 _ACEOF
29206 done
29215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29216 $as_echo_n "checking for fabsf declaration... " >&6; }
29217 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29218 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29219 $as_echo_n "(cached) " >&6
29220 else
29223 ac_ext=cpp
29224 ac_cpp='$CXXCPP $CPPFLAGS'
29225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29230 /* end confdefs.h. */
29231 #include <math.h>
29232 #ifdef HAVE_IEEEFP_H
29233 #include <ieeefp.h>
29234 #endif
29237 main ()
29239 fabsf(0);
29241 return 0;
29243 _ACEOF
29244 if ac_fn_cxx_try_compile "$LINENO"; then :
29245 glibcxx_cv_func_fabsf_use=yes
29246 else
29247 glibcxx_cv_func_fabsf_use=no
29249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29250 ac_ext=c
29251 ac_cpp='$CPP $CPPFLAGS'
29252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29261 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29263 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29264 for ac_func in fabsf
29265 do :
29266 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29267 if test "x$ac_cv_func_fabsf" = x""yes; then :
29268 cat >>confdefs.h <<_ACEOF
29269 #define HAVE_FABSF 1
29270 _ACEOF
29273 done
29275 else
29277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29278 $as_echo_n "checking for _fabsf declaration... " >&6; }
29279 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29280 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29281 $as_echo_n "(cached) " >&6
29282 else
29285 ac_ext=cpp
29286 ac_cpp='$CXXCPP $CPPFLAGS'
29287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29292 /* end confdefs.h. */
29293 #include <math.h>
29294 #ifdef HAVE_IEEEFP_H
29295 #include <ieeefp.h>
29296 #endif
29299 main ()
29301 _fabsf(0);
29303 return 0;
29305 _ACEOF
29306 if ac_fn_cxx_try_compile "$LINENO"; then :
29307 glibcxx_cv_func__fabsf_use=yes
29308 else
29309 glibcxx_cv_func__fabsf_use=no
29311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29312 ac_ext=c
29313 ac_cpp='$CPP $CPPFLAGS'
29314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29323 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29325 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29326 for ac_func in _fabsf
29327 do :
29328 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29329 if test "x$ac_cv_func__fabsf" = x""yes; then :
29330 cat >>confdefs.h <<_ACEOF
29331 #define HAVE__FABSF 1
29332 _ACEOF
29335 done
29344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29345 $as_echo_n "checking for fmodf declaration... " >&6; }
29346 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29347 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29348 $as_echo_n "(cached) " >&6
29349 else
29352 ac_ext=cpp
29353 ac_cpp='$CXXCPP $CPPFLAGS'
29354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29359 /* end confdefs.h. */
29360 #include <math.h>
29362 main ()
29364 fmodf(0, 0);
29366 return 0;
29368 _ACEOF
29369 if ac_fn_cxx_try_compile "$LINENO"; then :
29370 glibcxx_cv_func_fmodf_use=yes
29371 else
29372 glibcxx_cv_func_fmodf_use=no
29374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29375 ac_ext=c
29376 ac_cpp='$CPP $CPPFLAGS'
29377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29386 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29388 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29389 for ac_func in fmodf
29390 do :
29391 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29392 if test "x$ac_cv_func_fmodf" = x""yes; then :
29393 cat >>confdefs.h <<_ACEOF
29394 #define HAVE_FMODF 1
29395 _ACEOF
29398 done
29400 else
29402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29403 $as_echo_n "checking for _fmodf declaration... " >&6; }
29404 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29405 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29406 $as_echo_n "(cached) " >&6
29407 else
29410 ac_ext=cpp
29411 ac_cpp='$CXXCPP $CPPFLAGS'
29412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29417 /* end confdefs.h. */
29418 #include <math.h>
29420 main ()
29422 _fmodf(0, 0);
29424 return 0;
29426 _ACEOF
29427 if ac_fn_cxx_try_compile "$LINENO"; then :
29428 glibcxx_cv_func__fmodf_use=yes
29429 else
29430 glibcxx_cv_func__fmodf_use=no
29432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29433 ac_ext=c
29434 ac_cpp='$CPP $CPPFLAGS'
29435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29444 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29446 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29447 for ac_func in _fmodf
29448 do :
29449 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29450 if test "x$ac_cv_func__fmodf" = x""yes; then :
29451 cat >>confdefs.h <<_ACEOF
29452 #define HAVE__FMODF 1
29453 _ACEOF
29456 done
29465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29466 $as_echo_n "checking for frexpf declaration... " >&6; }
29467 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29468 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29469 $as_echo_n "(cached) " >&6
29470 else
29473 ac_ext=cpp
29474 ac_cpp='$CXXCPP $CPPFLAGS'
29475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29480 /* end confdefs.h. */
29481 #include <math.h>
29483 main ()
29485 frexpf(0, 0);
29487 return 0;
29489 _ACEOF
29490 if ac_fn_cxx_try_compile "$LINENO"; then :
29491 glibcxx_cv_func_frexpf_use=yes
29492 else
29493 glibcxx_cv_func_frexpf_use=no
29495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29496 ac_ext=c
29497 ac_cpp='$CPP $CPPFLAGS'
29498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
29507 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
29509 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29510 for ac_func in frexpf
29511 do :
29512 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
29513 if test "x$ac_cv_func_frexpf" = x""yes; then :
29514 cat >>confdefs.h <<_ACEOF
29515 #define HAVE_FREXPF 1
29516 _ACEOF
29519 done
29521 else
29523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
29524 $as_echo_n "checking for _frexpf declaration... " >&6; }
29525 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29526 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
29527 $as_echo_n "(cached) " >&6
29528 else
29531 ac_ext=cpp
29532 ac_cpp='$CXXCPP $CPPFLAGS'
29533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29538 /* end confdefs.h. */
29539 #include <math.h>
29541 main ()
29543 _frexpf(0, 0);
29545 return 0;
29547 _ACEOF
29548 if ac_fn_cxx_try_compile "$LINENO"; then :
29549 glibcxx_cv_func__frexpf_use=yes
29550 else
29551 glibcxx_cv_func__frexpf_use=no
29553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29554 ac_ext=c
29555 ac_cpp='$CPP $CPPFLAGS'
29556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
29565 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
29567 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29568 for ac_func in _frexpf
29569 do :
29570 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
29571 if test "x$ac_cv_func__frexpf" = x""yes; then :
29572 cat >>confdefs.h <<_ACEOF
29573 #define HAVE__FREXPF 1
29574 _ACEOF
29577 done
29586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
29587 $as_echo_n "checking for hypotf declaration... " >&6; }
29588 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29589 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
29590 $as_echo_n "(cached) " >&6
29591 else
29594 ac_ext=cpp
29595 ac_cpp='$CXXCPP $CPPFLAGS'
29596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29601 /* end confdefs.h. */
29602 #include <math.h>
29604 main ()
29606 hypotf(0, 0);
29608 return 0;
29610 _ACEOF
29611 if ac_fn_cxx_try_compile "$LINENO"; then :
29612 glibcxx_cv_func_hypotf_use=yes
29613 else
29614 glibcxx_cv_func_hypotf_use=no
29616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29617 ac_ext=c
29618 ac_cpp='$CPP $CPPFLAGS'
29619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
29628 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
29630 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29631 for ac_func in hypotf
29632 do :
29633 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
29634 if test "x$ac_cv_func_hypotf" = x""yes; then :
29635 cat >>confdefs.h <<_ACEOF
29636 #define HAVE_HYPOTF 1
29637 _ACEOF
29640 done
29642 else
29644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
29645 $as_echo_n "checking for _hypotf declaration... " >&6; }
29646 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
29647 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
29648 $as_echo_n "(cached) " >&6
29649 else
29652 ac_ext=cpp
29653 ac_cpp='$CXXCPP $CPPFLAGS'
29654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29659 /* end confdefs.h. */
29660 #include <math.h>
29662 main ()
29664 _hypotf(0, 0);
29666 return 0;
29668 _ACEOF
29669 if ac_fn_cxx_try_compile "$LINENO"; then :
29670 glibcxx_cv_func__hypotf_use=yes
29671 else
29672 glibcxx_cv_func__hypotf_use=no
29674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29675 ac_ext=c
29676 ac_cpp='$CPP $CPPFLAGS'
29677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
29686 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
29688 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
29689 for ac_func in _hypotf
29690 do :
29691 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
29692 if test "x$ac_cv_func__hypotf" = x""yes; then :
29693 cat >>confdefs.h <<_ACEOF
29694 #define HAVE__HYPOTF 1
29695 _ACEOF
29698 done
29707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
29708 $as_echo_n "checking for ldexpf declaration... " >&6; }
29709 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
29710 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
29711 $as_echo_n "(cached) " >&6
29712 else
29715 ac_ext=cpp
29716 ac_cpp='$CXXCPP $CPPFLAGS'
29717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29722 /* end confdefs.h. */
29723 #include <math.h>
29725 main ()
29727 ldexpf(0, 0);
29729 return 0;
29731 _ACEOF
29732 if ac_fn_cxx_try_compile "$LINENO"; then :
29733 glibcxx_cv_func_ldexpf_use=yes
29734 else
29735 glibcxx_cv_func_ldexpf_use=no
29737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29738 ac_ext=c
29739 ac_cpp='$CPP $CPPFLAGS'
29740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
29749 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
29751 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
29752 for ac_func in ldexpf
29753 do :
29754 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
29755 if test "x$ac_cv_func_ldexpf" = x""yes; then :
29756 cat >>confdefs.h <<_ACEOF
29757 #define HAVE_LDEXPF 1
29758 _ACEOF
29761 done
29763 else
29765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
29766 $as_echo_n "checking for _ldexpf declaration... " >&6; }
29767 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
29768 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
29769 $as_echo_n "(cached) " >&6
29770 else
29773 ac_ext=cpp
29774 ac_cpp='$CXXCPP $CPPFLAGS'
29775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29780 /* end confdefs.h. */
29781 #include <math.h>
29783 main ()
29785 _ldexpf(0, 0);
29787 return 0;
29789 _ACEOF
29790 if ac_fn_cxx_try_compile "$LINENO"; then :
29791 glibcxx_cv_func__ldexpf_use=yes
29792 else
29793 glibcxx_cv_func__ldexpf_use=no
29795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29796 ac_ext=c
29797 ac_cpp='$CPP $CPPFLAGS'
29798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
29807 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
29809 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
29810 for ac_func in _ldexpf
29811 do :
29812 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
29813 if test "x$ac_cv_func__ldexpf" = x""yes; then :
29814 cat >>confdefs.h <<_ACEOF
29815 #define HAVE__LDEXPF 1
29816 _ACEOF
29819 done
29828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
29829 $as_echo_n "checking for logf declaration... " >&6; }
29830 if test x${glibcxx_cv_func_logf_use+set} != xset; then
29831 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
29832 $as_echo_n "(cached) " >&6
29833 else
29836 ac_ext=cpp
29837 ac_cpp='$CXXCPP $CPPFLAGS'
29838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29843 /* end confdefs.h. */
29844 #include <math.h>
29845 #ifdef HAVE_IEEEFP_H
29846 #include <ieeefp.h>
29847 #endif
29850 main ()
29852 logf(0);
29854 return 0;
29856 _ACEOF
29857 if ac_fn_cxx_try_compile "$LINENO"; then :
29858 glibcxx_cv_func_logf_use=yes
29859 else
29860 glibcxx_cv_func_logf_use=no
29862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29863 ac_ext=c
29864 ac_cpp='$CPP $CPPFLAGS'
29865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
29874 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
29876 if test x$glibcxx_cv_func_logf_use = x"yes"; then
29877 for ac_func in logf
29878 do :
29879 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
29880 if test "x$ac_cv_func_logf" = x""yes; then :
29881 cat >>confdefs.h <<_ACEOF
29882 #define HAVE_LOGF 1
29883 _ACEOF
29886 done
29888 else
29890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
29891 $as_echo_n "checking for _logf declaration... " >&6; }
29892 if test x${glibcxx_cv_func__logf_use+set} != xset; then
29893 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29894 $as_echo_n "(cached) " >&6
29895 else
29898 ac_ext=cpp
29899 ac_cpp='$CXXCPP $CPPFLAGS'
29900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29905 /* end confdefs.h. */
29906 #include <math.h>
29907 #ifdef HAVE_IEEEFP_H
29908 #include <ieeefp.h>
29909 #endif
29912 main ()
29914 _logf(0);
29916 return 0;
29918 _ACEOF
29919 if ac_fn_cxx_try_compile "$LINENO"; then :
29920 glibcxx_cv_func__logf_use=yes
29921 else
29922 glibcxx_cv_func__logf_use=no
29924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29925 ac_ext=c
29926 ac_cpp='$CPP $CPPFLAGS'
29927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29936 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29938 if test x$glibcxx_cv_func__logf_use = x"yes"; then
29939 for ac_func in _logf
29940 do :
29941 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29942 if test "x$ac_cv_func__logf" = x""yes; then :
29943 cat >>confdefs.h <<_ACEOF
29944 #define HAVE__LOGF 1
29945 _ACEOF
29948 done
29957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29958 $as_echo_n "checking for log10f declaration... " >&6; }
29959 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29960 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29961 $as_echo_n "(cached) " >&6
29962 else
29965 ac_ext=cpp
29966 ac_cpp='$CXXCPP $CPPFLAGS'
29967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29972 /* end confdefs.h. */
29973 #include <math.h>
29974 #ifdef HAVE_IEEEFP_H
29975 #include <ieeefp.h>
29976 #endif
29979 main ()
29981 log10f(0);
29983 return 0;
29985 _ACEOF
29986 if ac_fn_cxx_try_compile "$LINENO"; then :
29987 glibcxx_cv_func_log10f_use=yes
29988 else
29989 glibcxx_cv_func_log10f_use=no
29991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29992 ac_ext=c
29993 ac_cpp='$CPP $CPPFLAGS'
29994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30003 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30005 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30006 for ac_func in log10f
30007 do :
30008 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30009 if test "x$ac_cv_func_log10f" = x""yes; then :
30010 cat >>confdefs.h <<_ACEOF
30011 #define HAVE_LOG10F 1
30012 _ACEOF
30015 done
30017 else
30019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30020 $as_echo_n "checking for _log10f declaration... " >&6; }
30021 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30022 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30023 $as_echo_n "(cached) " >&6
30024 else
30027 ac_ext=cpp
30028 ac_cpp='$CXXCPP $CPPFLAGS'
30029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30034 /* end confdefs.h. */
30035 #include <math.h>
30036 #ifdef HAVE_IEEEFP_H
30037 #include <ieeefp.h>
30038 #endif
30041 main ()
30043 _log10f(0);
30045 return 0;
30047 _ACEOF
30048 if ac_fn_cxx_try_compile "$LINENO"; then :
30049 glibcxx_cv_func__log10f_use=yes
30050 else
30051 glibcxx_cv_func__log10f_use=no
30053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30054 ac_ext=c
30055 ac_cpp='$CPP $CPPFLAGS'
30056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30065 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30067 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30068 for ac_func in _log10f
30069 do :
30070 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30071 if test "x$ac_cv_func__log10f" = x""yes; then :
30072 cat >>confdefs.h <<_ACEOF
30073 #define HAVE__LOG10F 1
30074 _ACEOF
30077 done
30086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30087 $as_echo_n "checking for modff declaration... " >&6; }
30088 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30089 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30090 $as_echo_n "(cached) " >&6
30091 else
30094 ac_ext=cpp
30095 ac_cpp='$CXXCPP $CPPFLAGS'
30096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30101 /* end confdefs.h. */
30102 #include <math.h>
30104 main ()
30106 modff(0, 0);
30108 return 0;
30110 _ACEOF
30111 if ac_fn_cxx_try_compile "$LINENO"; then :
30112 glibcxx_cv_func_modff_use=yes
30113 else
30114 glibcxx_cv_func_modff_use=no
30116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30117 ac_ext=c
30118 ac_cpp='$CPP $CPPFLAGS'
30119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30128 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30130 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30131 for ac_func in modff
30132 do :
30133 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30134 if test "x$ac_cv_func_modff" = x""yes; then :
30135 cat >>confdefs.h <<_ACEOF
30136 #define HAVE_MODFF 1
30137 _ACEOF
30140 done
30142 else
30144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30145 $as_echo_n "checking for _modff declaration... " >&6; }
30146 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30147 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30148 $as_echo_n "(cached) " >&6
30149 else
30152 ac_ext=cpp
30153 ac_cpp='$CXXCPP $CPPFLAGS'
30154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30159 /* end confdefs.h. */
30160 #include <math.h>
30162 main ()
30164 _modff(0, 0);
30166 return 0;
30168 _ACEOF
30169 if ac_fn_cxx_try_compile "$LINENO"; then :
30170 glibcxx_cv_func__modff_use=yes
30171 else
30172 glibcxx_cv_func__modff_use=no
30174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30175 ac_ext=c
30176 ac_cpp='$CPP $CPPFLAGS'
30177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30186 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30188 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30189 for ac_func in _modff
30190 do :
30191 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30192 if test "x$ac_cv_func__modff" = x""yes; then :
30193 cat >>confdefs.h <<_ACEOF
30194 #define HAVE__MODFF 1
30195 _ACEOF
30198 done
30207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30208 $as_echo_n "checking for modf declaration... " >&6; }
30209 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30210 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30211 $as_echo_n "(cached) " >&6
30212 else
30215 ac_ext=cpp
30216 ac_cpp='$CXXCPP $CPPFLAGS'
30217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30222 /* end confdefs.h. */
30223 #include <math.h>
30225 main ()
30227 modf(0, 0);
30229 return 0;
30231 _ACEOF
30232 if ac_fn_cxx_try_compile "$LINENO"; then :
30233 glibcxx_cv_func_modf_use=yes
30234 else
30235 glibcxx_cv_func_modf_use=no
30237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30238 ac_ext=c
30239 ac_cpp='$CPP $CPPFLAGS'
30240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30249 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30251 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30252 for ac_func in modf
30253 do :
30254 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30255 if test "x$ac_cv_func_modf" = x""yes; then :
30256 cat >>confdefs.h <<_ACEOF
30257 #define HAVE_MODF 1
30258 _ACEOF
30261 done
30263 else
30265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30266 $as_echo_n "checking for _modf declaration... " >&6; }
30267 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30268 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30269 $as_echo_n "(cached) " >&6
30270 else
30273 ac_ext=cpp
30274 ac_cpp='$CXXCPP $CPPFLAGS'
30275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30280 /* end confdefs.h. */
30281 #include <math.h>
30283 main ()
30285 _modf(0, 0);
30287 return 0;
30289 _ACEOF
30290 if ac_fn_cxx_try_compile "$LINENO"; then :
30291 glibcxx_cv_func__modf_use=yes
30292 else
30293 glibcxx_cv_func__modf_use=no
30295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30296 ac_ext=c
30297 ac_cpp='$CPP $CPPFLAGS'
30298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30307 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30309 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30310 for ac_func in _modf
30311 do :
30312 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30313 if test "x$ac_cv_func__modf" = x""yes; then :
30314 cat >>confdefs.h <<_ACEOF
30315 #define HAVE__MODF 1
30316 _ACEOF
30319 done
30328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30329 $as_echo_n "checking for powf declaration... " >&6; }
30330 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30331 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30332 $as_echo_n "(cached) " >&6
30333 else
30336 ac_ext=cpp
30337 ac_cpp='$CXXCPP $CPPFLAGS'
30338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30343 /* end confdefs.h. */
30344 #include <math.h>
30346 main ()
30348 powf(0, 0);
30350 return 0;
30352 _ACEOF
30353 if ac_fn_cxx_try_compile "$LINENO"; then :
30354 glibcxx_cv_func_powf_use=yes
30355 else
30356 glibcxx_cv_func_powf_use=no
30358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30359 ac_ext=c
30360 ac_cpp='$CPP $CPPFLAGS'
30361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30370 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30372 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30373 for ac_func in powf
30374 do :
30375 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30376 if test "x$ac_cv_func_powf" = x""yes; then :
30377 cat >>confdefs.h <<_ACEOF
30378 #define HAVE_POWF 1
30379 _ACEOF
30382 done
30384 else
30386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30387 $as_echo_n "checking for _powf declaration... " >&6; }
30388 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30389 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30390 $as_echo_n "(cached) " >&6
30391 else
30394 ac_ext=cpp
30395 ac_cpp='$CXXCPP $CPPFLAGS'
30396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30401 /* end confdefs.h. */
30402 #include <math.h>
30404 main ()
30406 _powf(0, 0);
30408 return 0;
30410 _ACEOF
30411 if ac_fn_cxx_try_compile "$LINENO"; then :
30412 glibcxx_cv_func__powf_use=yes
30413 else
30414 glibcxx_cv_func__powf_use=no
30416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30417 ac_ext=c
30418 ac_cpp='$CPP $CPPFLAGS'
30419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30428 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30430 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30431 for ac_func in _powf
30432 do :
30433 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30434 if test "x$ac_cv_func__powf" = x""yes; then :
30435 cat >>confdefs.h <<_ACEOF
30436 #define HAVE__POWF 1
30437 _ACEOF
30440 done
30449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30450 $as_echo_n "checking for sqrtf declaration... " >&6; }
30451 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30452 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30453 $as_echo_n "(cached) " >&6
30454 else
30457 ac_ext=cpp
30458 ac_cpp='$CXXCPP $CPPFLAGS'
30459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30464 /* end confdefs.h. */
30465 #include <math.h>
30466 #ifdef HAVE_IEEEFP_H
30467 #include <ieeefp.h>
30468 #endif
30471 main ()
30473 sqrtf(0);
30475 return 0;
30477 _ACEOF
30478 if ac_fn_cxx_try_compile "$LINENO"; then :
30479 glibcxx_cv_func_sqrtf_use=yes
30480 else
30481 glibcxx_cv_func_sqrtf_use=no
30483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30484 ac_ext=c
30485 ac_cpp='$CPP $CPPFLAGS'
30486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30495 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30497 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30498 for ac_func in sqrtf
30499 do :
30500 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
30501 if test "x$ac_cv_func_sqrtf" = x""yes; then :
30502 cat >>confdefs.h <<_ACEOF
30503 #define HAVE_SQRTF 1
30504 _ACEOF
30507 done
30509 else
30511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
30512 $as_echo_n "checking for _sqrtf declaration... " >&6; }
30513 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
30514 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
30515 $as_echo_n "(cached) " >&6
30516 else
30519 ac_ext=cpp
30520 ac_cpp='$CXXCPP $CPPFLAGS'
30521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30526 /* end confdefs.h. */
30527 #include <math.h>
30528 #ifdef HAVE_IEEEFP_H
30529 #include <ieeefp.h>
30530 #endif
30533 main ()
30535 _sqrtf(0);
30537 return 0;
30539 _ACEOF
30540 if ac_fn_cxx_try_compile "$LINENO"; then :
30541 glibcxx_cv_func__sqrtf_use=yes
30542 else
30543 glibcxx_cv_func__sqrtf_use=no
30545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30546 ac_ext=c
30547 ac_cpp='$CPP $CPPFLAGS'
30548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
30557 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
30559 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
30560 for ac_func in _sqrtf
30561 do :
30562 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
30563 if test "x$ac_cv_func__sqrtf" = x""yes; then :
30564 cat >>confdefs.h <<_ACEOF
30565 #define HAVE__SQRTF 1
30566 _ACEOF
30569 done
30578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
30579 $as_echo_n "checking for sincosf declaration... " >&6; }
30580 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
30581 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
30582 $as_echo_n "(cached) " >&6
30583 else
30586 ac_ext=cpp
30587 ac_cpp='$CXXCPP $CPPFLAGS'
30588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30593 /* end confdefs.h. */
30594 #include <math.h>
30596 main ()
30598 sincosf(0, 0, 0);
30600 return 0;
30602 _ACEOF
30603 if ac_fn_cxx_try_compile "$LINENO"; then :
30604 glibcxx_cv_func_sincosf_use=yes
30605 else
30606 glibcxx_cv_func_sincosf_use=no
30608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30609 ac_ext=c
30610 ac_cpp='$CPP $CPPFLAGS'
30611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
30620 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
30622 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
30623 for ac_func in sincosf
30624 do :
30625 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
30626 if test "x$ac_cv_func_sincosf" = x""yes; then :
30627 cat >>confdefs.h <<_ACEOF
30628 #define HAVE_SINCOSF 1
30629 _ACEOF
30632 done
30634 else
30636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
30637 $as_echo_n "checking for _sincosf declaration... " >&6; }
30638 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
30639 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
30640 $as_echo_n "(cached) " >&6
30641 else
30644 ac_ext=cpp
30645 ac_cpp='$CXXCPP $CPPFLAGS'
30646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30651 /* end confdefs.h. */
30652 #include <math.h>
30654 main ()
30656 _sincosf(0, 0, 0);
30658 return 0;
30660 _ACEOF
30661 if ac_fn_cxx_try_compile "$LINENO"; then :
30662 glibcxx_cv_func__sincosf_use=yes
30663 else
30664 glibcxx_cv_func__sincosf_use=no
30666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30667 ac_ext=c
30668 ac_cpp='$CPP $CPPFLAGS'
30669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
30678 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
30680 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
30681 for ac_func in _sincosf
30682 do :
30683 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
30684 if test "x$ac_cv_func__sincosf" = x""yes; then :
30685 cat >>confdefs.h <<_ACEOF
30686 #define HAVE__SINCOSF 1
30687 _ACEOF
30690 done
30699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
30700 $as_echo_n "checking for finitef declaration... " >&6; }
30701 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
30702 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
30703 $as_echo_n "(cached) " >&6
30704 else
30707 ac_ext=cpp
30708 ac_cpp='$CXXCPP $CPPFLAGS'
30709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30714 /* end confdefs.h. */
30715 #include <math.h>
30716 #ifdef HAVE_IEEEFP_H
30717 #include <ieeefp.h>
30718 #endif
30721 main ()
30723 finitef(0);
30725 return 0;
30727 _ACEOF
30728 if ac_fn_cxx_try_compile "$LINENO"; then :
30729 glibcxx_cv_func_finitef_use=yes
30730 else
30731 glibcxx_cv_func_finitef_use=no
30733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30734 ac_ext=c
30735 ac_cpp='$CPP $CPPFLAGS'
30736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
30745 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
30747 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
30748 for ac_func in finitef
30749 do :
30750 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
30751 if test "x$ac_cv_func_finitef" = x""yes; then :
30752 cat >>confdefs.h <<_ACEOF
30753 #define HAVE_FINITEF 1
30754 _ACEOF
30757 done
30759 else
30761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
30762 $as_echo_n "checking for _finitef declaration... " >&6; }
30763 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
30764 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
30765 $as_echo_n "(cached) " >&6
30766 else
30769 ac_ext=cpp
30770 ac_cpp='$CXXCPP $CPPFLAGS'
30771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30776 /* end confdefs.h. */
30777 #include <math.h>
30778 #ifdef HAVE_IEEEFP_H
30779 #include <ieeefp.h>
30780 #endif
30783 main ()
30785 _finitef(0);
30787 return 0;
30789 _ACEOF
30790 if ac_fn_cxx_try_compile "$LINENO"; then :
30791 glibcxx_cv_func__finitef_use=yes
30792 else
30793 glibcxx_cv_func__finitef_use=no
30795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30796 ac_ext=c
30797 ac_cpp='$CPP $CPPFLAGS'
30798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
30807 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
30809 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
30810 for ac_func in _finitef
30811 do :
30812 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
30813 if test "x$ac_cv_func__finitef" = x""yes; then :
30814 cat >>confdefs.h <<_ACEOF
30815 #define HAVE__FINITEF 1
30816 _ACEOF
30819 done
30828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
30829 $as_echo_n "checking for long double trig functions... " >&6; }
30830 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
30831 $as_echo_n "(cached) " >&6
30832 else
30835 ac_ext=cpp
30836 ac_cpp='$CXXCPP $CPPFLAGS'
30837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30842 /* end confdefs.h. */
30843 #include <math.h>
30845 main ()
30847 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
30849 return 0;
30851 _ACEOF
30852 if ac_fn_cxx_try_compile "$LINENO"; then :
30853 glibcxx_cv_func_long_double_trig_use=yes
30854 else
30855 glibcxx_cv_func_long_double_trig_use=no
30857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30858 ac_ext=c
30859 ac_cpp='$CPP $CPPFLAGS'
30860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
30867 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
30868 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
30869 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
30870 do :
30871 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30872 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30873 eval as_val=\$$as_ac_var
30874 if test "x$as_val" = x""yes; then :
30875 cat >>confdefs.h <<_ACEOF
30876 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30877 _ACEOF
30880 done
30882 else
30883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
30884 $as_echo_n "checking for _long double trig functions... " >&6; }
30885 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
30886 $as_echo_n "(cached) " >&6
30887 else
30890 ac_ext=cpp
30891 ac_cpp='$CXXCPP $CPPFLAGS'
30892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30897 /* end confdefs.h. */
30898 #include <math.h>
30900 main ()
30902 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30904 return 0;
30906 _ACEOF
30907 if ac_fn_cxx_try_compile "$LINENO"; then :
30908 glibcxx_cv_func__long_double_trig_use=yes
30909 else
30910 glibcxx_cv_func__long_double_trig_use=no
30912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30913 ac_ext=c
30914 ac_cpp='$CPP $CPPFLAGS'
30915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30922 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30923 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30924 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30925 do :
30926 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30927 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30928 eval as_val=\$$as_ac_var
30929 if test "x$as_val" = x""yes; then :
30930 cat >>confdefs.h <<_ACEOF
30931 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30932 _ACEOF
30935 done
30944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30945 $as_echo_n "checking for long double round functions... " >&6; }
30946 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30947 $as_echo_n "(cached) " >&6
30948 else
30951 ac_ext=cpp
30952 ac_cpp='$CXXCPP $CPPFLAGS'
30953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30958 /* end confdefs.h. */
30959 #include <math.h>
30961 main ()
30963 ceill (0); floorl (0);
30965 return 0;
30967 _ACEOF
30968 if ac_fn_cxx_try_compile "$LINENO"; then :
30969 glibcxx_cv_func_long_double_round_use=yes
30970 else
30971 glibcxx_cv_func_long_double_round_use=no
30973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30974 ac_ext=c
30975 ac_cpp='$CPP $CPPFLAGS'
30976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30983 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30984 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30985 for ac_func in ceill floorl
30986 do :
30987 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30988 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30989 eval as_val=\$$as_ac_var
30990 if test "x$as_val" = x""yes; then :
30991 cat >>confdefs.h <<_ACEOF
30992 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30993 _ACEOF
30996 done
30998 else
30999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31000 $as_echo_n "checking for _long double round functions... " >&6; }
31001 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31002 $as_echo_n "(cached) " >&6
31003 else
31006 ac_ext=cpp
31007 ac_cpp='$CXXCPP $CPPFLAGS'
31008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31013 /* end confdefs.h. */
31014 #include <math.h>
31016 main ()
31018 _ceill (0); _floorl (0);
31020 return 0;
31022 _ACEOF
31023 if ac_fn_cxx_try_compile "$LINENO"; then :
31024 glibcxx_cv_func__long_double_round_use=yes
31025 else
31026 glibcxx_cv_func__long_double_round_use=no
31028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31029 ac_ext=c
31030 ac_cpp='$CPP $CPPFLAGS'
31031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31038 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31039 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31040 for ac_func in _ceill _floorl
31041 do :
31042 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31043 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31044 eval as_val=\$$as_ac_var
31045 if test "x$as_val" = x""yes; then :
31046 cat >>confdefs.h <<_ACEOF
31047 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31048 _ACEOF
31051 done
31061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31062 $as_echo_n "checking for isnanl declaration... " >&6; }
31063 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31064 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31065 $as_echo_n "(cached) " >&6
31066 else
31069 ac_ext=cpp
31070 ac_cpp='$CXXCPP $CPPFLAGS'
31071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31076 /* end confdefs.h. */
31077 #include <math.h>
31078 #ifdef HAVE_IEEEFP_H
31079 #include <ieeefp.h>
31080 #endif
31083 main ()
31085 isnanl(0);
31087 return 0;
31089 _ACEOF
31090 if ac_fn_cxx_try_compile "$LINENO"; then :
31091 glibcxx_cv_func_isnanl_use=yes
31092 else
31093 glibcxx_cv_func_isnanl_use=no
31095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31096 ac_ext=c
31097 ac_cpp='$CPP $CPPFLAGS'
31098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31107 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31109 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31110 for ac_func in isnanl
31111 do :
31112 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31113 if test "x$ac_cv_func_isnanl" = x""yes; then :
31114 cat >>confdefs.h <<_ACEOF
31115 #define HAVE_ISNANL 1
31116 _ACEOF
31119 done
31121 else
31123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31124 $as_echo_n "checking for _isnanl declaration... " >&6; }
31125 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31126 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31127 $as_echo_n "(cached) " >&6
31128 else
31131 ac_ext=cpp
31132 ac_cpp='$CXXCPP $CPPFLAGS'
31133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31138 /* end confdefs.h. */
31139 #include <math.h>
31140 #ifdef HAVE_IEEEFP_H
31141 #include <ieeefp.h>
31142 #endif
31145 main ()
31147 _isnanl(0);
31149 return 0;
31151 _ACEOF
31152 if ac_fn_cxx_try_compile "$LINENO"; then :
31153 glibcxx_cv_func__isnanl_use=yes
31154 else
31155 glibcxx_cv_func__isnanl_use=no
31157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31158 ac_ext=c
31159 ac_cpp='$CPP $CPPFLAGS'
31160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31169 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31171 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31172 for ac_func in _isnanl
31173 do :
31174 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31175 if test "x$ac_cv_func__isnanl" = x""yes; then :
31176 cat >>confdefs.h <<_ACEOF
31177 #define HAVE__ISNANL 1
31178 _ACEOF
31181 done
31190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31191 $as_echo_n "checking for isinfl declaration... " >&6; }
31192 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31193 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31194 $as_echo_n "(cached) " >&6
31195 else
31198 ac_ext=cpp
31199 ac_cpp='$CXXCPP $CPPFLAGS'
31200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31205 /* end confdefs.h. */
31206 #include <math.h>
31207 #ifdef HAVE_IEEEFP_H
31208 #include <ieeefp.h>
31209 #endif
31212 main ()
31214 isinfl(0);
31216 return 0;
31218 _ACEOF
31219 if ac_fn_cxx_try_compile "$LINENO"; then :
31220 glibcxx_cv_func_isinfl_use=yes
31221 else
31222 glibcxx_cv_func_isinfl_use=no
31224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31225 ac_ext=c
31226 ac_cpp='$CPP $CPPFLAGS'
31227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31236 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31238 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31239 for ac_func in isinfl
31240 do :
31241 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31242 if test "x$ac_cv_func_isinfl" = x""yes; then :
31243 cat >>confdefs.h <<_ACEOF
31244 #define HAVE_ISINFL 1
31245 _ACEOF
31248 done
31250 else
31252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31253 $as_echo_n "checking for _isinfl declaration... " >&6; }
31254 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31255 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31256 $as_echo_n "(cached) " >&6
31257 else
31260 ac_ext=cpp
31261 ac_cpp='$CXXCPP $CPPFLAGS'
31262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31267 /* end confdefs.h. */
31268 #include <math.h>
31269 #ifdef HAVE_IEEEFP_H
31270 #include <ieeefp.h>
31271 #endif
31274 main ()
31276 _isinfl(0);
31278 return 0;
31280 _ACEOF
31281 if ac_fn_cxx_try_compile "$LINENO"; then :
31282 glibcxx_cv_func__isinfl_use=yes
31283 else
31284 glibcxx_cv_func__isinfl_use=no
31286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31287 ac_ext=c
31288 ac_cpp='$CPP $CPPFLAGS'
31289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31298 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31300 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31301 for ac_func in _isinfl
31302 do :
31303 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31304 if test "x$ac_cv_func__isinfl" = x""yes; then :
31305 cat >>confdefs.h <<_ACEOF
31306 #define HAVE__ISINFL 1
31307 _ACEOF
31310 done
31319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31320 $as_echo_n "checking for atan2l declaration... " >&6; }
31321 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31322 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31323 $as_echo_n "(cached) " >&6
31324 else
31327 ac_ext=cpp
31328 ac_cpp='$CXXCPP $CPPFLAGS'
31329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31334 /* end confdefs.h. */
31335 #include <math.h>
31337 main ()
31339 atan2l(0, 0);
31341 return 0;
31343 _ACEOF
31344 if ac_fn_cxx_try_compile "$LINENO"; then :
31345 glibcxx_cv_func_atan2l_use=yes
31346 else
31347 glibcxx_cv_func_atan2l_use=no
31349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31350 ac_ext=c
31351 ac_cpp='$CPP $CPPFLAGS'
31352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31361 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31363 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31364 for ac_func in atan2l
31365 do :
31366 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31367 if test "x$ac_cv_func_atan2l" = x""yes; then :
31368 cat >>confdefs.h <<_ACEOF
31369 #define HAVE_ATAN2L 1
31370 _ACEOF
31373 done
31375 else
31377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31378 $as_echo_n "checking for _atan2l declaration... " >&6; }
31379 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31380 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31381 $as_echo_n "(cached) " >&6
31382 else
31385 ac_ext=cpp
31386 ac_cpp='$CXXCPP $CPPFLAGS'
31387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31392 /* end confdefs.h. */
31393 #include <math.h>
31395 main ()
31397 _atan2l(0, 0);
31399 return 0;
31401 _ACEOF
31402 if ac_fn_cxx_try_compile "$LINENO"; then :
31403 glibcxx_cv_func__atan2l_use=yes
31404 else
31405 glibcxx_cv_func__atan2l_use=no
31407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31408 ac_ext=c
31409 ac_cpp='$CPP $CPPFLAGS'
31410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31419 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31421 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31422 for ac_func in _atan2l
31423 do :
31424 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31425 if test "x$ac_cv_func__atan2l" = x""yes; then :
31426 cat >>confdefs.h <<_ACEOF
31427 #define HAVE__ATAN2L 1
31428 _ACEOF
31431 done
31440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31441 $as_echo_n "checking for expl declaration... " >&6; }
31442 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31443 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31444 $as_echo_n "(cached) " >&6
31445 else
31448 ac_ext=cpp
31449 ac_cpp='$CXXCPP $CPPFLAGS'
31450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31455 /* end confdefs.h. */
31456 #include <math.h>
31457 #ifdef HAVE_IEEEFP_H
31458 #include <ieeefp.h>
31459 #endif
31462 main ()
31464 expl(0);
31466 return 0;
31468 _ACEOF
31469 if ac_fn_cxx_try_compile "$LINENO"; then :
31470 glibcxx_cv_func_expl_use=yes
31471 else
31472 glibcxx_cv_func_expl_use=no
31474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31475 ac_ext=c
31476 ac_cpp='$CPP $CPPFLAGS'
31477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31486 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31488 if test x$glibcxx_cv_func_expl_use = x"yes"; then
31489 for ac_func in expl
31490 do :
31491 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31492 if test "x$ac_cv_func_expl" = x""yes; then :
31493 cat >>confdefs.h <<_ACEOF
31494 #define HAVE_EXPL 1
31495 _ACEOF
31498 done
31500 else
31502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
31503 $as_echo_n "checking for _expl declaration... " >&6; }
31504 if test x${glibcxx_cv_func__expl_use+set} != xset; then
31505 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
31506 $as_echo_n "(cached) " >&6
31507 else
31510 ac_ext=cpp
31511 ac_cpp='$CXXCPP $CPPFLAGS'
31512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31517 /* end confdefs.h. */
31518 #include <math.h>
31519 #ifdef HAVE_IEEEFP_H
31520 #include <ieeefp.h>
31521 #endif
31524 main ()
31526 _expl(0);
31528 return 0;
31530 _ACEOF
31531 if ac_fn_cxx_try_compile "$LINENO"; then :
31532 glibcxx_cv_func__expl_use=yes
31533 else
31534 glibcxx_cv_func__expl_use=no
31536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31537 ac_ext=c
31538 ac_cpp='$CPP $CPPFLAGS'
31539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
31548 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
31550 if test x$glibcxx_cv_func__expl_use = x"yes"; then
31551 for ac_func in _expl
31552 do :
31553 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
31554 if test "x$ac_cv_func__expl" = x""yes; then :
31555 cat >>confdefs.h <<_ACEOF
31556 #define HAVE__EXPL 1
31557 _ACEOF
31560 done
31569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
31570 $as_echo_n "checking for fabsl declaration... " >&6; }
31571 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31572 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
31573 $as_echo_n "(cached) " >&6
31574 else
31577 ac_ext=cpp
31578 ac_cpp='$CXXCPP $CPPFLAGS'
31579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31584 /* end confdefs.h. */
31585 #include <math.h>
31586 #ifdef HAVE_IEEEFP_H
31587 #include <ieeefp.h>
31588 #endif
31591 main ()
31593 fabsl(0);
31595 return 0;
31597 _ACEOF
31598 if ac_fn_cxx_try_compile "$LINENO"; then :
31599 glibcxx_cv_func_fabsl_use=yes
31600 else
31601 glibcxx_cv_func_fabsl_use=no
31603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31604 ac_ext=c
31605 ac_cpp='$CPP $CPPFLAGS'
31606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
31615 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
31617 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31618 for ac_func in fabsl
31619 do :
31620 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
31621 if test "x$ac_cv_func_fabsl" = x""yes; then :
31622 cat >>confdefs.h <<_ACEOF
31623 #define HAVE_FABSL 1
31624 _ACEOF
31627 done
31629 else
31631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
31632 $as_echo_n "checking for _fabsl declaration... " >&6; }
31633 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31634 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
31635 $as_echo_n "(cached) " >&6
31636 else
31639 ac_ext=cpp
31640 ac_cpp='$CXXCPP $CPPFLAGS'
31641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31646 /* end confdefs.h. */
31647 #include <math.h>
31648 #ifdef HAVE_IEEEFP_H
31649 #include <ieeefp.h>
31650 #endif
31653 main ()
31655 _fabsl(0);
31657 return 0;
31659 _ACEOF
31660 if ac_fn_cxx_try_compile "$LINENO"; then :
31661 glibcxx_cv_func__fabsl_use=yes
31662 else
31663 glibcxx_cv_func__fabsl_use=no
31665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31666 ac_ext=c
31667 ac_cpp='$CPP $CPPFLAGS'
31668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
31677 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
31679 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31680 for ac_func in _fabsl
31681 do :
31682 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
31683 if test "x$ac_cv_func__fabsl" = x""yes; then :
31684 cat >>confdefs.h <<_ACEOF
31685 #define HAVE__FABSL 1
31686 _ACEOF
31689 done
31698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
31699 $as_echo_n "checking for fmodl declaration... " >&6; }
31700 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31701 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
31702 $as_echo_n "(cached) " >&6
31703 else
31706 ac_ext=cpp
31707 ac_cpp='$CXXCPP $CPPFLAGS'
31708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31713 /* end confdefs.h. */
31714 #include <math.h>
31716 main ()
31718 fmodl(0, 0);
31720 return 0;
31722 _ACEOF
31723 if ac_fn_cxx_try_compile "$LINENO"; then :
31724 glibcxx_cv_func_fmodl_use=yes
31725 else
31726 glibcxx_cv_func_fmodl_use=no
31728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31729 ac_ext=c
31730 ac_cpp='$CPP $CPPFLAGS'
31731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
31740 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
31742 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31743 for ac_func in fmodl
31744 do :
31745 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
31746 if test "x$ac_cv_func_fmodl" = x""yes; then :
31747 cat >>confdefs.h <<_ACEOF
31748 #define HAVE_FMODL 1
31749 _ACEOF
31752 done
31754 else
31756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
31757 $as_echo_n "checking for _fmodl declaration... " >&6; }
31758 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
31759 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
31760 $as_echo_n "(cached) " >&6
31761 else
31764 ac_ext=cpp
31765 ac_cpp='$CXXCPP $CPPFLAGS'
31766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31771 /* end confdefs.h. */
31772 #include <math.h>
31774 main ()
31776 _fmodl(0, 0);
31778 return 0;
31780 _ACEOF
31781 if ac_fn_cxx_try_compile "$LINENO"; then :
31782 glibcxx_cv_func__fmodl_use=yes
31783 else
31784 glibcxx_cv_func__fmodl_use=no
31786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31787 ac_ext=c
31788 ac_cpp='$CPP $CPPFLAGS'
31789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
31798 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
31800 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
31801 for ac_func in _fmodl
31802 do :
31803 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
31804 if test "x$ac_cv_func__fmodl" = x""yes; then :
31805 cat >>confdefs.h <<_ACEOF
31806 #define HAVE__FMODL 1
31807 _ACEOF
31810 done
31819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
31820 $as_echo_n "checking for frexpl declaration... " >&6; }
31821 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
31822 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
31823 $as_echo_n "(cached) " >&6
31824 else
31827 ac_ext=cpp
31828 ac_cpp='$CXXCPP $CPPFLAGS'
31829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31834 /* end confdefs.h. */
31835 #include <math.h>
31837 main ()
31839 frexpl(0, 0);
31841 return 0;
31843 _ACEOF
31844 if ac_fn_cxx_try_compile "$LINENO"; then :
31845 glibcxx_cv_func_frexpl_use=yes
31846 else
31847 glibcxx_cv_func_frexpl_use=no
31849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31850 ac_ext=c
31851 ac_cpp='$CPP $CPPFLAGS'
31852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
31861 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
31863 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31864 for ac_func in frexpl
31865 do :
31866 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
31867 if test "x$ac_cv_func_frexpl" = x""yes; then :
31868 cat >>confdefs.h <<_ACEOF
31869 #define HAVE_FREXPL 1
31870 _ACEOF
31873 done
31875 else
31877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
31878 $as_echo_n "checking for _frexpl declaration... " >&6; }
31879 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31880 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
31881 $as_echo_n "(cached) " >&6
31882 else
31885 ac_ext=cpp
31886 ac_cpp='$CXXCPP $CPPFLAGS'
31887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31892 /* end confdefs.h. */
31893 #include <math.h>
31895 main ()
31897 _frexpl(0, 0);
31899 return 0;
31901 _ACEOF
31902 if ac_fn_cxx_try_compile "$LINENO"; then :
31903 glibcxx_cv_func__frexpl_use=yes
31904 else
31905 glibcxx_cv_func__frexpl_use=no
31907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31908 ac_ext=c
31909 ac_cpp='$CPP $CPPFLAGS'
31910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31919 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31921 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31922 for ac_func in _frexpl
31923 do :
31924 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31925 if test "x$ac_cv_func__frexpl" = x""yes; then :
31926 cat >>confdefs.h <<_ACEOF
31927 #define HAVE__FREXPL 1
31928 _ACEOF
31931 done
31940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31941 $as_echo_n "checking for hypotl declaration... " >&6; }
31942 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31943 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31944 $as_echo_n "(cached) " >&6
31945 else
31948 ac_ext=cpp
31949 ac_cpp='$CXXCPP $CPPFLAGS'
31950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31955 /* end confdefs.h. */
31956 #include <math.h>
31958 main ()
31960 hypotl(0, 0);
31962 return 0;
31964 _ACEOF
31965 if ac_fn_cxx_try_compile "$LINENO"; then :
31966 glibcxx_cv_func_hypotl_use=yes
31967 else
31968 glibcxx_cv_func_hypotl_use=no
31970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31971 ac_ext=c
31972 ac_cpp='$CPP $CPPFLAGS'
31973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31982 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31984 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31985 for ac_func in hypotl
31986 do :
31987 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31988 if test "x$ac_cv_func_hypotl" = x""yes; then :
31989 cat >>confdefs.h <<_ACEOF
31990 #define HAVE_HYPOTL 1
31991 _ACEOF
31994 done
31996 else
31998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31999 $as_echo_n "checking for _hypotl declaration... " >&6; }
32000 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32001 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32002 $as_echo_n "(cached) " >&6
32003 else
32006 ac_ext=cpp
32007 ac_cpp='$CXXCPP $CPPFLAGS'
32008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32013 /* end confdefs.h. */
32014 #include <math.h>
32016 main ()
32018 _hypotl(0, 0);
32020 return 0;
32022 _ACEOF
32023 if ac_fn_cxx_try_compile "$LINENO"; then :
32024 glibcxx_cv_func__hypotl_use=yes
32025 else
32026 glibcxx_cv_func__hypotl_use=no
32028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32029 ac_ext=c
32030 ac_cpp='$CPP $CPPFLAGS'
32031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32040 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32042 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32043 for ac_func in _hypotl
32044 do :
32045 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32046 if test "x$ac_cv_func__hypotl" = x""yes; then :
32047 cat >>confdefs.h <<_ACEOF
32048 #define HAVE__HYPOTL 1
32049 _ACEOF
32052 done
32061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32062 $as_echo_n "checking for ldexpl declaration... " >&6; }
32063 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32064 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32065 $as_echo_n "(cached) " >&6
32066 else
32069 ac_ext=cpp
32070 ac_cpp='$CXXCPP $CPPFLAGS'
32071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32076 /* end confdefs.h. */
32077 #include <math.h>
32079 main ()
32081 ldexpl(0, 0);
32083 return 0;
32085 _ACEOF
32086 if ac_fn_cxx_try_compile "$LINENO"; then :
32087 glibcxx_cv_func_ldexpl_use=yes
32088 else
32089 glibcxx_cv_func_ldexpl_use=no
32091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32092 ac_ext=c
32093 ac_cpp='$CPP $CPPFLAGS'
32094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32103 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32105 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32106 for ac_func in ldexpl
32107 do :
32108 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32109 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32110 cat >>confdefs.h <<_ACEOF
32111 #define HAVE_LDEXPL 1
32112 _ACEOF
32115 done
32117 else
32119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32120 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32121 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32122 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32123 $as_echo_n "(cached) " >&6
32124 else
32127 ac_ext=cpp
32128 ac_cpp='$CXXCPP $CPPFLAGS'
32129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32134 /* end confdefs.h. */
32135 #include <math.h>
32137 main ()
32139 _ldexpl(0, 0);
32141 return 0;
32143 _ACEOF
32144 if ac_fn_cxx_try_compile "$LINENO"; then :
32145 glibcxx_cv_func__ldexpl_use=yes
32146 else
32147 glibcxx_cv_func__ldexpl_use=no
32149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32150 ac_ext=c
32151 ac_cpp='$CPP $CPPFLAGS'
32152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32161 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32163 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32164 for ac_func in _ldexpl
32165 do :
32166 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32167 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32168 cat >>confdefs.h <<_ACEOF
32169 #define HAVE__LDEXPL 1
32170 _ACEOF
32173 done
32182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32183 $as_echo_n "checking for logl declaration... " >&6; }
32184 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32185 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32186 $as_echo_n "(cached) " >&6
32187 else
32190 ac_ext=cpp
32191 ac_cpp='$CXXCPP $CPPFLAGS'
32192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32197 /* end confdefs.h. */
32198 #include <math.h>
32199 #ifdef HAVE_IEEEFP_H
32200 #include <ieeefp.h>
32201 #endif
32204 main ()
32206 logl(0);
32208 return 0;
32210 _ACEOF
32211 if ac_fn_cxx_try_compile "$LINENO"; then :
32212 glibcxx_cv_func_logl_use=yes
32213 else
32214 glibcxx_cv_func_logl_use=no
32216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32217 ac_ext=c
32218 ac_cpp='$CPP $CPPFLAGS'
32219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32228 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32230 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32231 for ac_func in logl
32232 do :
32233 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32234 if test "x$ac_cv_func_logl" = x""yes; then :
32235 cat >>confdefs.h <<_ACEOF
32236 #define HAVE_LOGL 1
32237 _ACEOF
32240 done
32242 else
32244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32245 $as_echo_n "checking for _logl declaration... " >&6; }
32246 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32247 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32248 $as_echo_n "(cached) " >&6
32249 else
32252 ac_ext=cpp
32253 ac_cpp='$CXXCPP $CPPFLAGS'
32254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32259 /* end confdefs.h. */
32260 #include <math.h>
32261 #ifdef HAVE_IEEEFP_H
32262 #include <ieeefp.h>
32263 #endif
32266 main ()
32268 _logl(0);
32270 return 0;
32272 _ACEOF
32273 if ac_fn_cxx_try_compile "$LINENO"; then :
32274 glibcxx_cv_func__logl_use=yes
32275 else
32276 glibcxx_cv_func__logl_use=no
32278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32279 ac_ext=c
32280 ac_cpp='$CPP $CPPFLAGS'
32281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32290 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32292 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32293 for ac_func in _logl
32294 do :
32295 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32296 if test "x$ac_cv_func__logl" = x""yes; then :
32297 cat >>confdefs.h <<_ACEOF
32298 #define HAVE__LOGL 1
32299 _ACEOF
32302 done
32311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32312 $as_echo_n "checking for log10l declaration... " >&6; }
32313 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32314 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32315 $as_echo_n "(cached) " >&6
32316 else
32319 ac_ext=cpp
32320 ac_cpp='$CXXCPP $CPPFLAGS'
32321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32326 /* end confdefs.h. */
32327 #include <math.h>
32328 #ifdef HAVE_IEEEFP_H
32329 #include <ieeefp.h>
32330 #endif
32333 main ()
32335 log10l(0);
32337 return 0;
32339 _ACEOF
32340 if ac_fn_cxx_try_compile "$LINENO"; then :
32341 glibcxx_cv_func_log10l_use=yes
32342 else
32343 glibcxx_cv_func_log10l_use=no
32345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32346 ac_ext=c
32347 ac_cpp='$CPP $CPPFLAGS'
32348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32357 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32359 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32360 for ac_func in log10l
32361 do :
32362 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32363 if test "x$ac_cv_func_log10l" = x""yes; then :
32364 cat >>confdefs.h <<_ACEOF
32365 #define HAVE_LOG10L 1
32366 _ACEOF
32369 done
32371 else
32373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32374 $as_echo_n "checking for _log10l declaration... " >&6; }
32375 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32376 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32377 $as_echo_n "(cached) " >&6
32378 else
32381 ac_ext=cpp
32382 ac_cpp='$CXXCPP $CPPFLAGS'
32383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32388 /* end confdefs.h. */
32389 #include <math.h>
32390 #ifdef HAVE_IEEEFP_H
32391 #include <ieeefp.h>
32392 #endif
32395 main ()
32397 _log10l(0);
32399 return 0;
32401 _ACEOF
32402 if ac_fn_cxx_try_compile "$LINENO"; then :
32403 glibcxx_cv_func__log10l_use=yes
32404 else
32405 glibcxx_cv_func__log10l_use=no
32407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32408 ac_ext=c
32409 ac_cpp='$CPP $CPPFLAGS'
32410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32419 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32421 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32422 for ac_func in _log10l
32423 do :
32424 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32425 if test "x$ac_cv_func__log10l" = x""yes; then :
32426 cat >>confdefs.h <<_ACEOF
32427 #define HAVE__LOG10L 1
32428 _ACEOF
32431 done
32440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32441 $as_echo_n "checking for modfl declaration... " >&6; }
32442 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32443 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32444 $as_echo_n "(cached) " >&6
32445 else
32448 ac_ext=cpp
32449 ac_cpp='$CXXCPP $CPPFLAGS'
32450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32455 /* end confdefs.h. */
32456 #include <math.h>
32458 main ()
32460 modfl(0, 0);
32462 return 0;
32464 _ACEOF
32465 if ac_fn_cxx_try_compile "$LINENO"; then :
32466 glibcxx_cv_func_modfl_use=yes
32467 else
32468 glibcxx_cv_func_modfl_use=no
32470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32471 ac_ext=c
32472 ac_cpp='$CPP $CPPFLAGS'
32473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32482 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32484 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32485 for ac_func in modfl
32486 do :
32487 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32488 if test "x$ac_cv_func_modfl" = x""yes; then :
32489 cat >>confdefs.h <<_ACEOF
32490 #define HAVE_MODFL 1
32491 _ACEOF
32494 done
32496 else
32498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32499 $as_echo_n "checking for _modfl declaration... " >&6; }
32500 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32501 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
32502 $as_echo_n "(cached) " >&6
32503 else
32506 ac_ext=cpp
32507 ac_cpp='$CXXCPP $CPPFLAGS'
32508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32513 /* end confdefs.h. */
32514 #include <math.h>
32516 main ()
32518 _modfl(0, 0);
32520 return 0;
32522 _ACEOF
32523 if ac_fn_cxx_try_compile "$LINENO"; then :
32524 glibcxx_cv_func__modfl_use=yes
32525 else
32526 glibcxx_cv_func__modfl_use=no
32528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32529 ac_ext=c
32530 ac_cpp='$CPP $CPPFLAGS'
32531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
32540 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
32542 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32543 for ac_func in _modfl
32544 do :
32545 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
32546 if test "x$ac_cv_func__modfl" = x""yes; then :
32547 cat >>confdefs.h <<_ACEOF
32548 #define HAVE__MODFL 1
32549 _ACEOF
32552 done
32561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
32562 $as_echo_n "checking for powl declaration... " >&6; }
32563 if test x${glibcxx_cv_func_powl_use+set} != xset; then
32564 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
32565 $as_echo_n "(cached) " >&6
32566 else
32569 ac_ext=cpp
32570 ac_cpp='$CXXCPP $CPPFLAGS'
32571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32576 /* end confdefs.h. */
32577 #include <math.h>
32579 main ()
32581 powl(0, 0);
32583 return 0;
32585 _ACEOF
32586 if ac_fn_cxx_try_compile "$LINENO"; then :
32587 glibcxx_cv_func_powl_use=yes
32588 else
32589 glibcxx_cv_func_powl_use=no
32591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32592 ac_ext=c
32593 ac_cpp='$CPP $CPPFLAGS'
32594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
32603 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
32605 if test x$glibcxx_cv_func_powl_use = x"yes"; then
32606 for ac_func in powl
32607 do :
32608 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
32609 if test "x$ac_cv_func_powl" = x""yes; then :
32610 cat >>confdefs.h <<_ACEOF
32611 #define HAVE_POWL 1
32612 _ACEOF
32615 done
32617 else
32619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
32620 $as_echo_n "checking for _powl declaration... " >&6; }
32621 if test x${glibcxx_cv_func__powl_use+set} != xset; then
32622 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
32623 $as_echo_n "(cached) " >&6
32624 else
32627 ac_ext=cpp
32628 ac_cpp='$CXXCPP $CPPFLAGS'
32629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32634 /* end confdefs.h. */
32635 #include <math.h>
32637 main ()
32639 _powl(0, 0);
32641 return 0;
32643 _ACEOF
32644 if ac_fn_cxx_try_compile "$LINENO"; then :
32645 glibcxx_cv_func__powl_use=yes
32646 else
32647 glibcxx_cv_func__powl_use=no
32649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32650 ac_ext=c
32651 ac_cpp='$CPP $CPPFLAGS'
32652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
32661 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
32663 if test x$glibcxx_cv_func__powl_use = x"yes"; then
32664 for ac_func in _powl
32665 do :
32666 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
32667 if test "x$ac_cv_func__powl" = x""yes; then :
32668 cat >>confdefs.h <<_ACEOF
32669 #define HAVE__POWL 1
32670 _ACEOF
32673 done
32682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
32683 $as_echo_n "checking for sqrtl declaration... " >&6; }
32684 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
32685 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
32686 $as_echo_n "(cached) " >&6
32687 else
32690 ac_ext=cpp
32691 ac_cpp='$CXXCPP $CPPFLAGS'
32692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32697 /* end confdefs.h. */
32698 #include <math.h>
32699 #ifdef HAVE_IEEEFP_H
32700 #include <ieeefp.h>
32701 #endif
32704 main ()
32706 sqrtl(0);
32708 return 0;
32710 _ACEOF
32711 if ac_fn_cxx_try_compile "$LINENO"; then :
32712 glibcxx_cv_func_sqrtl_use=yes
32713 else
32714 glibcxx_cv_func_sqrtl_use=no
32716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32717 ac_ext=c
32718 ac_cpp='$CPP $CPPFLAGS'
32719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
32728 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
32730 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
32731 for ac_func in sqrtl
32732 do :
32733 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
32734 if test "x$ac_cv_func_sqrtl" = x""yes; then :
32735 cat >>confdefs.h <<_ACEOF
32736 #define HAVE_SQRTL 1
32737 _ACEOF
32740 done
32742 else
32744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
32745 $as_echo_n "checking for _sqrtl declaration... " >&6; }
32746 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
32747 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
32748 $as_echo_n "(cached) " >&6
32749 else
32752 ac_ext=cpp
32753 ac_cpp='$CXXCPP $CPPFLAGS'
32754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32759 /* end confdefs.h. */
32760 #include <math.h>
32761 #ifdef HAVE_IEEEFP_H
32762 #include <ieeefp.h>
32763 #endif
32766 main ()
32768 _sqrtl(0);
32770 return 0;
32772 _ACEOF
32773 if ac_fn_cxx_try_compile "$LINENO"; then :
32774 glibcxx_cv_func__sqrtl_use=yes
32775 else
32776 glibcxx_cv_func__sqrtl_use=no
32778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32779 ac_ext=c
32780 ac_cpp='$CPP $CPPFLAGS'
32781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
32790 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
32792 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
32793 for ac_func in _sqrtl
32794 do :
32795 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
32796 if test "x$ac_cv_func__sqrtl" = x""yes; then :
32797 cat >>confdefs.h <<_ACEOF
32798 #define HAVE__SQRTL 1
32799 _ACEOF
32802 done
32811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
32812 $as_echo_n "checking for sincosl declaration... " >&6; }
32813 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
32814 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
32815 $as_echo_n "(cached) " >&6
32816 else
32819 ac_ext=cpp
32820 ac_cpp='$CXXCPP $CPPFLAGS'
32821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32826 /* end confdefs.h. */
32827 #include <math.h>
32829 main ()
32831 sincosl(0, 0, 0);
32833 return 0;
32835 _ACEOF
32836 if ac_fn_cxx_try_compile "$LINENO"; then :
32837 glibcxx_cv_func_sincosl_use=yes
32838 else
32839 glibcxx_cv_func_sincosl_use=no
32841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32842 ac_ext=c
32843 ac_cpp='$CPP $CPPFLAGS'
32844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
32853 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
32855 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
32856 for ac_func in sincosl
32857 do :
32858 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
32859 if test "x$ac_cv_func_sincosl" = x""yes; then :
32860 cat >>confdefs.h <<_ACEOF
32861 #define HAVE_SINCOSL 1
32862 _ACEOF
32865 done
32867 else
32869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
32870 $as_echo_n "checking for _sincosl declaration... " >&6; }
32871 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
32872 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
32873 $as_echo_n "(cached) " >&6
32874 else
32877 ac_ext=cpp
32878 ac_cpp='$CXXCPP $CPPFLAGS'
32879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32884 /* end confdefs.h. */
32885 #include <math.h>
32887 main ()
32889 _sincosl(0, 0, 0);
32891 return 0;
32893 _ACEOF
32894 if ac_fn_cxx_try_compile "$LINENO"; then :
32895 glibcxx_cv_func__sincosl_use=yes
32896 else
32897 glibcxx_cv_func__sincosl_use=no
32899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32900 ac_ext=c
32901 ac_cpp='$CPP $CPPFLAGS'
32902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32911 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32913 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32914 for ac_func in _sincosl
32915 do :
32916 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32917 if test "x$ac_cv_func__sincosl" = x""yes; then :
32918 cat >>confdefs.h <<_ACEOF
32919 #define HAVE__SINCOSL 1
32920 _ACEOF
32923 done
32932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32933 $as_echo_n "checking for finitel declaration... " >&6; }
32934 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32935 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32936 $as_echo_n "(cached) " >&6
32937 else
32940 ac_ext=cpp
32941 ac_cpp='$CXXCPP $CPPFLAGS'
32942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32947 /* end confdefs.h. */
32948 #include <math.h>
32949 #ifdef HAVE_IEEEFP_H
32950 #include <ieeefp.h>
32951 #endif
32954 main ()
32956 finitel(0);
32958 return 0;
32960 _ACEOF
32961 if ac_fn_cxx_try_compile "$LINENO"; then :
32962 glibcxx_cv_func_finitel_use=yes
32963 else
32964 glibcxx_cv_func_finitel_use=no
32966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32967 ac_ext=c
32968 ac_cpp='$CPP $CPPFLAGS'
32969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32978 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32980 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32981 for ac_func in finitel
32982 do :
32983 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32984 if test "x$ac_cv_func_finitel" = x""yes; then :
32985 cat >>confdefs.h <<_ACEOF
32986 #define HAVE_FINITEL 1
32987 _ACEOF
32990 done
32992 else
32994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32995 $as_echo_n "checking for _finitel declaration... " >&6; }
32996 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32997 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32998 $as_echo_n "(cached) " >&6
32999 else
33002 ac_ext=cpp
33003 ac_cpp='$CXXCPP $CPPFLAGS'
33004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33009 /* end confdefs.h. */
33010 #include <math.h>
33011 #ifdef HAVE_IEEEFP_H
33012 #include <ieeefp.h>
33013 #endif
33016 main ()
33018 _finitel(0);
33020 return 0;
33022 _ACEOF
33023 if ac_fn_cxx_try_compile "$LINENO"; then :
33024 glibcxx_cv_func__finitel_use=yes
33025 else
33026 glibcxx_cv_func__finitel_use=no
33028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33029 ac_ext=c
33030 ac_cpp='$CPP $CPPFLAGS'
33031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33040 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33042 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33043 for ac_func in _finitel
33044 do :
33045 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33046 if test "x$ac_cv_func__finitel" = x""yes; then :
33047 cat >>confdefs.h <<_ACEOF
33048 #define HAVE__FINITEL 1
33049 _ACEOF
33052 done
33060 LIBS="$ac_save_LIBS"
33061 CXXFLAGS="$ac_save_CXXFLAGS"
33064 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33065 ac_save_CXXFLAGS="$CXXFLAGS"
33066 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33070 $as_echo_n "checking for strtold declaration... " >&6; }
33071 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33072 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33073 $as_echo_n "(cached) " >&6
33074 else
33077 ac_ext=cpp
33078 ac_cpp='$CXXCPP $CPPFLAGS'
33079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33084 /* end confdefs.h. */
33085 #include <stdlib.h>
33087 main ()
33089 strtold(0, 0);
33091 return 0;
33093 _ACEOF
33094 if ac_fn_cxx_try_compile "$LINENO"; then :
33095 glibcxx_cv_func_strtold_use=yes
33096 else
33097 glibcxx_cv_func_strtold_use=no
33099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33100 ac_ext=c
33101 ac_cpp='$CPP $CPPFLAGS'
33102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33111 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33112 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33113 for ac_func in strtold
33114 do :
33115 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33116 if test "x$ac_cv_func_strtold" = x""yes; then :
33117 cat >>confdefs.h <<_ACEOF
33118 #define HAVE_STRTOLD 1
33119 _ACEOF
33122 done
33129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33130 $as_echo_n "checking for strtof declaration... " >&6; }
33131 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33132 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33133 $as_echo_n "(cached) " >&6
33134 else
33137 ac_ext=cpp
33138 ac_cpp='$CXXCPP $CPPFLAGS'
33139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33144 /* end confdefs.h. */
33145 #include <stdlib.h>
33147 main ()
33149 strtof(0, 0);
33151 return 0;
33153 _ACEOF
33154 if ac_fn_cxx_try_compile "$LINENO"; then :
33155 glibcxx_cv_func_strtof_use=yes
33156 else
33157 glibcxx_cv_func_strtof_use=no
33159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33160 ac_ext=c
33161 ac_cpp='$CPP $CPPFLAGS'
33162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33171 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33172 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33173 for ac_func in strtof
33174 do :
33175 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33176 if test "x$ac_cv_func_strtof" = x""yes; then :
33177 cat >>confdefs.h <<_ACEOF
33178 #define HAVE_STRTOF 1
33179 _ACEOF
33182 done
33189 CXXFLAGS="$ac_save_CXXFLAGS"
33192 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33194 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33196 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33198 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33201 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33203 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33205 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33209 *-aix*)
33211 # If we're not using GNU ld, then there's no point in even trying these
33212 # tests. Check for that first. We should have already tested for gld
33213 # by now (in libtool), but require it now just to be safe...
33214 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33215 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33219 # The name set by libtool depends on the version of libtool. Shame on us
33220 # for depending on an impl detail, but c'est la vie. Older versions used
33221 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33222 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33223 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33224 # set (hence we're using an older libtool), then set it.
33225 if test x${with_gnu_ld+set} != xset; then
33226 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33227 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33228 with_gnu_ld=no
33229 else
33230 with_gnu_ld=$ac_cv_prog_gnu_ld
33234 # Start by getting the version number. I think the libtool test already
33235 # does some of this, but throws away the result.
33236 glibcxx_ld_is_gold=no
33237 if test x"$with_gnu_ld" = x"yes"; then
33238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33239 $as_echo_n "checking for ld version... " >&6; }
33241 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33242 glibcxx_ld_is_gold=yes
33244 ldver=`$LD --version 2>/dev/null |
33245 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'`
33247 glibcxx_gnu_ld_version=`echo $ldver | \
33248 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33250 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33253 # Set --gc-sections.
33254 glibcxx_have_gc_sections=no
33255 if test "$glibcxx_ld_is_gold" = "yes"; then
33256 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33257 glibcxx_have_gc_sections=yes
33259 else
33260 glibcxx_gcsections_min_ld=21602
33261 if test x"$with_gnu_ld" = x"yes" &&
33262 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33263 glibcxx_have_gc_sections=yes
33266 if test "$glibcxx_have_gc_sections" = "yes"; then
33267 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33268 # NB: This flag only works reliably after 2.16.1. Configure tests
33269 # for this are difficult, so hard wire a value that should work.
33271 ac_test_CFLAGS="${CFLAGS+set}"
33272 ac_save_CFLAGS="$CFLAGS"
33273 CFLAGS='-Wl,--gc-sections'
33275 # Check for -Wl,--gc-sections
33276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33277 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33278 if test x$gcc_no_link = xyes; then
33279 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33282 /* end confdefs.h. */
33283 int one(void) { return 1; }
33284 int two(void) { return 2; }
33287 main ()
33289 two();
33291 return 0;
33293 _ACEOF
33294 if ac_fn_c_try_link "$LINENO"; then :
33295 ac_gcsections=yes
33296 else
33297 ac_gcsections=no
33299 rm -f core conftest.err conftest.$ac_objext \
33300 conftest$ac_exeext conftest.$ac_ext
33301 if test "$ac_gcsections" = "yes"; then
33302 rm -f conftest.c
33303 touch conftest.c
33304 if $CC -c conftest.c; then
33305 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33306 grep "Warning: gc-sections option ignored" > /dev/null; then
33307 ac_gcsections=no
33310 rm -f conftest.c conftest.o conftest
33312 if test "$ac_gcsections" = "yes"; then
33313 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33316 $as_echo "$ac_gcsections" >&6; }
33318 if test "$ac_test_CFLAGS" = set; then
33319 CFLAGS="$ac_save_CFLAGS"
33320 else
33321 # this is the suspicious part
33322 CFLAGS=''
33326 # Set -z,relro.
33327 # Note this is only for shared objects.
33328 ac_ld_relro=no
33329 if test x"$with_gnu_ld" = x"yes"; then
33330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33331 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33332 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33333 if test -n "$cxx_z_relo"; then
33334 OPT_LDFLAGS="-Wl,-z,relro"
33335 ac_ld_relro=yes
33337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33338 $as_echo "$ac_ld_relro" >&6; }
33341 # Set linker optimization flags.
33342 if test x"$with_gnu_ld" = x"yes"; then
33343 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33350 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33351 ac_save_CXXFLAGS="$CXXFLAGS"
33352 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33355 $as_echo_n "checking for sin in -lm... " >&6; }
33356 if test "${ac_cv_lib_m_sin+set}" = set; then :
33357 $as_echo_n "(cached) " >&6
33358 else
33359 ac_check_lib_save_LIBS=$LIBS
33360 LIBS="-lm $LIBS"
33361 if test x$gcc_no_link = xyes; then
33362 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33365 /* end confdefs.h. */
33367 /* Override any GCC internal prototype to avoid an error.
33368 Use char because int might match the return type of a GCC
33369 builtin and then its argument prototype would still apply. */
33370 #ifdef __cplusplus
33371 extern "C"
33372 #endif
33373 char sin ();
33375 main ()
33377 return sin ();
33379 return 0;
33381 _ACEOF
33382 if ac_fn_c_try_link "$LINENO"; then :
33383 ac_cv_lib_m_sin=yes
33384 else
33385 ac_cv_lib_m_sin=no
33387 rm -f core conftest.err conftest.$ac_objext \
33388 conftest$ac_exeext conftest.$ac_ext
33389 LIBS=$ac_check_lib_save_LIBS
33391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
33392 $as_echo "$ac_cv_lib_m_sin" >&6; }
33393 if test "x$ac_cv_lib_m_sin" = x""yes; then :
33394 libm="-lm"
33397 ac_save_LIBS="$LIBS"
33398 LIBS="$LIBS $libm"
33402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
33403 $as_echo_n "checking for isinf declaration... " >&6; }
33404 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33405 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
33406 $as_echo_n "(cached) " >&6
33407 else
33410 ac_ext=cpp
33411 ac_cpp='$CXXCPP $CPPFLAGS'
33412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33417 /* end confdefs.h. */
33418 #include <math.h>
33419 #ifdef HAVE_IEEEFP_H
33420 #include <ieeefp.h>
33421 #endif
33424 main ()
33426 isinf(0);
33428 return 0;
33430 _ACEOF
33431 if ac_fn_cxx_try_compile "$LINENO"; then :
33432 glibcxx_cv_func_isinf_use=yes
33433 else
33434 glibcxx_cv_func_isinf_use=no
33436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33437 ac_ext=c
33438 ac_cpp='$CPP $CPPFLAGS'
33439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
33448 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
33450 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33451 for ac_func in isinf
33452 do :
33453 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
33454 if test "x$ac_cv_func_isinf" = x""yes; then :
33455 cat >>confdefs.h <<_ACEOF
33456 #define HAVE_ISINF 1
33457 _ACEOF
33460 done
33462 else
33464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
33465 $as_echo_n "checking for _isinf declaration... " >&6; }
33466 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33467 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
33468 $as_echo_n "(cached) " >&6
33469 else
33472 ac_ext=cpp
33473 ac_cpp='$CXXCPP $CPPFLAGS'
33474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33479 /* end confdefs.h. */
33480 #include <math.h>
33481 #ifdef HAVE_IEEEFP_H
33482 #include <ieeefp.h>
33483 #endif
33486 main ()
33488 _isinf(0);
33490 return 0;
33492 _ACEOF
33493 if ac_fn_cxx_try_compile "$LINENO"; then :
33494 glibcxx_cv_func__isinf_use=yes
33495 else
33496 glibcxx_cv_func__isinf_use=no
33498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33499 ac_ext=c
33500 ac_cpp='$CPP $CPPFLAGS'
33501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
33510 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
33512 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33513 for ac_func in _isinf
33514 do :
33515 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
33516 if test "x$ac_cv_func__isinf" = x""yes; then :
33517 cat >>confdefs.h <<_ACEOF
33518 #define HAVE__ISINF 1
33519 _ACEOF
33522 done
33531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
33532 $as_echo_n "checking for isnan declaration... " >&6; }
33533 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33534 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
33535 $as_echo_n "(cached) " >&6
33536 else
33539 ac_ext=cpp
33540 ac_cpp='$CXXCPP $CPPFLAGS'
33541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33546 /* end confdefs.h. */
33547 #include <math.h>
33548 #ifdef HAVE_IEEEFP_H
33549 #include <ieeefp.h>
33550 #endif
33553 main ()
33555 isnan(0);
33557 return 0;
33559 _ACEOF
33560 if ac_fn_cxx_try_compile "$LINENO"; then :
33561 glibcxx_cv_func_isnan_use=yes
33562 else
33563 glibcxx_cv_func_isnan_use=no
33565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33566 ac_ext=c
33567 ac_cpp='$CPP $CPPFLAGS'
33568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
33577 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
33579 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33580 for ac_func in isnan
33581 do :
33582 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
33583 if test "x$ac_cv_func_isnan" = x""yes; then :
33584 cat >>confdefs.h <<_ACEOF
33585 #define HAVE_ISNAN 1
33586 _ACEOF
33589 done
33591 else
33593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
33594 $as_echo_n "checking for _isnan declaration... " >&6; }
33595 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33596 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
33597 $as_echo_n "(cached) " >&6
33598 else
33601 ac_ext=cpp
33602 ac_cpp='$CXXCPP $CPPFLAGS'
33603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33608 /* end confdefs.h. */
33609 #include <math.h>
33610 #ifdef HAVE_IEEEFP_H
33611 #include <ieeefp.h>
33612 #endif
33615 main ()
33617 _isnan(0);
33619 return 0;
33621 _ACEOF
33622 if ac_fn_cxx_try_compile "$LINENO"; then :
33623 glibcxx_cv_func__isnan_use=yes
33624 else
33625 glibcxx_cv_func__isnan_use=no
33627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33628 ac_ext=c
33629 ac_cpp='$CPP $CPPFLAGS'
33630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
33639 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
33641 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33642 for ac_func in _isnan
33643 do :
33644 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
33645 if test "x$ac_cv_func__isnan" = x""yes; then :
33646 cat >>confdefs.h <<_ACEOF
33647 #define HAVE__ISNAN 1
33648 _ACEOF
33651 done
33660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
33661 $as_echo_n "checking for finite declaration... " >&6; }
33662 if test x${glibcxx_cv_func_finite_use+set} != xset; then
33663 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
33664 $as_echo_n "(cached) " >&6
33665 else
33668 ac_ext=cpp
33669 ac_cpp='$CXXCPP $CPPFLAGS'
33670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33675 /* end confdefs.h. */
33676 #include <math.h>
33677 #ifdef HAVE_IEEEFP_H
33678 #include <ieeefp.h>
33679 #endif
33682 main ()
33684 finite(0);
33686 return 0;
33688 _ACEOF
33689 if ac_fn_cxx_try_compile "$LINENO"; then :
33690 glibcxx_cv_func_finite_use=yes
33691 else
33692 glibcxx_cv_func_finite_use=no
33694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33695 ac_ext=c
33696 ac_cpp='$CPP $CPPFLAGS'
33697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
33706 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
33708 if test x$glibcxx_cv_func_finite_use = x"yes"; then
33709 for ac_func in finite
33710 do :
33711 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
33712 if test "x$ac_cv_func_finite" = x""yes; then :
33713 cat >>confdefs.h <<_ACEOF
33714 #define HAVE_FINITE 1
33715 _ACEOF
33718 done
33720 else
33722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
33723 $as_echo_n "checking for _finite declaration... " >&6; }
33724 if test x${glibcxx_cv_func__finite_use+set} != xset; then
33725 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
33726 $as_echo_n "(cached) " >&6
33727 else
33730 ac_ext=cpp
33731 ac_cpp='$CXXCPP $CPPFLAGS'
33732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33737 /* end confdefs.h. */
33738 #include <math.h>
33739 #ifdef HAVE_IEEEFP_H
33740 #include <ieeefp.h>
33741 #endif
33744 main ()
33746 _finite(0);
33748 return 0;
33750 _ACEOF
33751 if ac_fn_cxx_try_compile "$LINENO"; then :
33752 glibcxx_cv_func__finite_use=yes
33753 else
33754 glibcxx_cv_func__finite_use=no
33756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33757 ac_ext=c
33758 ac_cpp='$CPP $CPPFLAGS'
33759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
33768 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
33770 if test x$glibcxx_cv_func__finite_use = x"yes"; then
33771 for ac_func in _finite
33772 do :
33773 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
33774 if test "x$ac_cv_func__finite" = x""yes; then :
33775 cat >>confdefs.h <<_ACEOF
33776 #define HAVE__FINITE 1
33777 _ACEOF
33780 done
33789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
33790 $as_echo_n "checking for sincos declaration... " >&6; }
33791 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
33792 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
33793 $as_echo_n "(cached) " >&6
33794 else
33797 ac_ext=cpp
33798 ac_cpp='$CXXCPP $CPPFLAGS'
33799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33804 /* end confdefs.h. */
33805 #include <math.h>
33807 main ()
33809 sincos(0, 0, 0);
33811 return 0;
33813 _ACEOF
33814 if ac_fn_cxx_try_compile "$LINENO"; then :
33815 glibcxx_cv_func_sincos_use=yes
33816 else
33817 glibcxx_cv_func_sincos_use=no
33819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33820 ac_ext=c
33821 ac_cpp='$CPP $CPPFLAGS'
33822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
33831 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
33833 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33834 for ac_func in sincos
33835 do :
33836 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
33837 if test "x$ac_cv_func_sincos" = x""yes; then :
33838 cat >>confdefs.h <<_ACEOF
33839 #define HAVE_SINCOS 1
33840 _ACEOF
33843 done
33845 else
33847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
33848 $as_echo_n "checking for _sincos declaration... " >&6; }
33849 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33850 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
33851 $as_echo_n "(cached) " >&6
33852 else
33855 ac_ext=cpp
33856 ac_cpp='$CXXCPP $CPPFLAGS'
33857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33862 /* end confdefs.h. */
33863 #include <math.h>
33865 main ()
33867 _sincos(0, 0, 0);
33869 return 0;
33871 _ACEOF
33872 if ac_fn_cxx_try_compile "$LINENO"; then :
33873 glibcxx_cv_func__sincos_use=yes
33874 else
33875 glibcxx_cv_func__sincos_use=no
33877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33878 ac_ext=c
33879 ac_cpp='$CPP $CPPFLAGS'
33880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
33889 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
33891 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33892 for ac_func in _sincos
33893 do :
33894 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33895 if test "x$ac_cv_func__sincos" = x""yes; then :
33896 cat >>confdefs.h <<_ACEOF
33897 #define HAVE__SINCOS 1
33898 _ACEOF
33901 done
33910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33911 $as_echo_n "checking for fpclass declaration... " >&6; }
33912 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33913 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33914 $as_echo_n "(cached) " >&6
33915 else
33918 ac_ext=cpp
33919 ac_cpp='$CXXCPP $CPPFLAGS'
33920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33925 /* end confdefs.h. */
33926 #include <math.h>
33927 #ifdef HAVE_IEEEFP_H
33928 #include <ieeefp.h>
33929 #endif
33932 main ()
33934 fpclass(0);
33936 return 0;
33938 _ACEOF
33939 if ac_fn_cxx_try_compile "$LINENO"; then :
33940 glibcxx_cv_func_fpclass_use=yes
33941 else
33942 glibcxx_cv_func_fpclass_use=no
33944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33945 ac_ext=c
33946 ac_cpp='$CPP $CPPFLAGS'
33947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33956 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33958 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33959 for ac_func in fpclass
33960 do :
33961 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33962 if test "x$ac_cv_func_fpclass" = x""yes; then :
33963 cat >>confdefs.h <<_ACEOF
33964 #define HAVE_FPCLASS 1
33965 _ACEOF
33968 done
33970 else
33972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33973 $as_echo_n "checking for _fpclass declaration... " >&6; }
33974 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33975 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33976 $as_echo_n "(cached) " >&6
33977 else
33980 ac_ext=cpp
33981 ac_cpp='$CXXCPP $CPPFLAGS'
33982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33987 /* end confdefs.h. */
33988 #include <math.h>
33989 #ifdef HAVE_IEEEFP_H
33990 #include <ieeefp.h>
33991 #endif
33994 main ()
33996 _fpclass(0);
33998 return 0;
34000 _ACEOF
34001 if ac_fn_cxx_try_compile "$LINENO"; then :
34002 glibcxx_cv_func__fpclass_use=yes
34003 else
34004 glibcxx_cv_func__fpclass_use=no
34006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34007 ac_ext=c
34008 ac_cpp='$CPP $CPPFLAGS'
34009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34018 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34020 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34021 for ac_func in _fpclass
34022 do :
34023 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34024 if test "x$ac_cv_func__fpclass" = x""yes; then :
34025 cat >>confdefs.h <<_ACEOF
34026 #define HAVE__FPCLASS 1
34027 _ACEOF
34030 done
34039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34040 $as_echo_n "checking for qfpclass declaration... " >&6; }
34041 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34042 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34043 $as_echo_n "(cached) " >&6
34044 else
34047 ac_ext=cpp
34048 ac_cpp='$CXXCPP $CPPFLAGS'
34049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34054 /* end confdefs.h. */
34055 #include <math.h>
34056 #ifdef HAVE_IEEEFP_H
34057 #include <ieeefp.h>
34058 #endif
34061 main ()
34063 qfpclass(0);
34065 return 0;
34067 _ACEOF
34068 if ac_fn_cxx_try_compile "$LINENO"; then :
34069 glibcxx_cv_func_qfpclass_use=yes
34070 else
34071 glibcxx_cv_func_qfpclass_use=no
34073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34074 ac_ext=c
34075 ac_cpp='$CPP $CPPFLAGS'
34076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34085 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34087 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34088 for ac_func in qfpclass
34089 do :
34090 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34091 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34092 cat >>confdefs.h <<_ACEOF
34093 #define HAVE_QFPCLASS 1
34094 _ACEOF
34097 done
34099 else
34101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34102 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34103 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34104 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34105 $as_echo_n "(cached) " >&6
34106 else
34109 ac_ext=cpp
34110 ac_cpp='$CXXCPP $CPPFLAGS'
34111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34116 /* end confdefs.h. */
34117 #include <math.h>
34118 #ifdef HAVE_IEEEFP_H
34119 #include <ieeefp.h>
34120 #endif
34123 main ()
34125 _qfpclass(0);
34127 return 0;
34129 _ACEOF
34130 if ac_fn_cxx_try_compile "$LINENO"; then :
34131 glibcxx_cv_func__qfpclass_use=yes
34132 else
34133 glibcxx_cv_func__qfpclass_use=no
34135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34136 ac_ext=c
34137 ac_cpp='$CPP $CPPFLAGS'
34138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34147 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34149 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34150 for ac_func in _qfpclass
34151 do :
34152 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34153 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34154 cat >>confdefs.h <<_ACEOF
34155 #define HAVE__QFPCLASS 1
34156 _ACEOF
34159 done
34168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34169 $as_echo_n "checking for hypot declaration... " >&6; }
34170 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34171 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34172 $as_echo_n "(cached) " >&6
34173 else
34176 ac_ext=cpp
34177 ac_cpp='$CXXCPP $CPPFLAGS'
34178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34183 /* end confdefs.h. */
34184 #include <math.h>
34186 main ()
34188 hypot(0, 0);
34190 return 0;
34192 _ACEOF
34193 if ac_fn_cxx_try_compile "$LINENO"; then :
34194 glibcxx_cv_func_hypot_use=yes
34195 else
34196 glibcxx_cv_func_hypot_use=no
34198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34199 ac_ext=c
34200 ac_cpp='$CPP $CPPFLAGS'
34201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34210 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34212 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34213 for ac_func in hypot
34214 do :
34215 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34216 if test "x$ac_cv_func_hypot" = x""yes; then :
34217 cat >>confdefs.h <<_ACEOF
34218 #define HAVE_HYPOT 1
34219 _ACEOF
34222 done
34224 else
34226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34227 $as_echo_n "checking for _hypot declaration... " >&6; }
34228 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34229 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34230 $as_echo_n "(cached) " >&6
34231 else
34234 ac_ext=cpp
34235 ac_cpp='$CXXCPP $CPPFLAGS'
34236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34241 /* end confdefs.h. */
34242 #include <math.h>
34244 main ()
34246 _hypot(0, 0);
34248 return 0;
34250 _ACEOF
34251 if ac_fn_cxx_try_compile "$LINENO"; then :
34252 glibcxx_cv_func__hypot_use=yes
34253 else
34254 glibcxx_cv_func__hypot_use=no
34256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34257 ac_ext=c
34258 ac_cpp='$CPP $CPPFLAGS'
34259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34268 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34270 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34271 for ac_func in _hypot
34272 do :
34273 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34274 if test "x$ac_cv_func__hypot" = x""yes; then :
34275 cat >>confdefs.h <<_ACEOF
34276 #define HAVE__HYPOT 1
34277 _ACEOF
34280 done
34289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34290 $as_echo_n "checking for float trig functions... " >&6; }
34291 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34292 $as_echo_n "(cached) " >&6
34293 else
34296 ac_ext=cpp
34297 ac_cpp='$CXXCPP $CPPFLAGS'
34298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34303 /* end confdefs.h. */
34304 #include <math.h>
34306 main ()
34308 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34310 return 0;
34312 _ACEOF
34313 if ac_fn_cxx_try_compile "$LINENO"; then :
34314 glibcxx_cv_func_float_trig_use=yes
34315 else
34316 glibcxx_cv_func_float_trig_use=no
34318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34319 ac_ext=c
34320 ac_cpp='$CPP $CPPFLAGS'
34321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34328 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34329 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34330 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34331 do :
34332 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34333 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34334 eval as_val=\$$as_ac_var
34335 if test "x$as_val" = x""yes; then :
34336 cat >>confdefs.h <<_ACEOF
34337 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34338 _ACEOF
34341 done
34343 else
34344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34345 $as_echo_n "checking for _float trig functions... " >&6; }
34346 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34347 $as_echo_n "(cached) " >&6
34348 else
34351 ac_ext=cpp
34352 ac_cpp='$CXXCPP $CPPFLAGS'
34353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34358 /* end confdefs.h. */
34359 #include <math.h>
34361 main ()
34363 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34365 return 0;
34367 _ACEOF
34368 if ac_fn_cxx_try_compile "$LINENO"; then :
34369 glibcxx_cv_func__float_trig_use=yes
34370 else
34371 glibcxx_cv_func__float_trig_use=no
34373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34374 ac_ext=c
34375 ac_cpp='$CPP $CPPFLAGS'
34376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34383 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
34384 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34385 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34386 do :
34387 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34388 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34389 eval as_val=\$$as_ac_var
34390 if test "x$as_val" = x""yes; then :
34391 cat >>confdefs.h <<_ACEOF
34392 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34393 _ACEOF
34396 done
34405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
34406 $as_echo_n "checking for float round functions... " >&6; }
34407 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
34408 $as_echo_n "(cached) " >&6
34409 else
34412 ac_ext=cpp
34413 ac_cpp='$CXXCPP $CPPFLAGS'
34414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34419 /* end confdefs.h. */
34420 #include <math.h>
34422 main ()
34424 ceilf (0); floorf (0);
34426 return 0;
34428 _ACEOF
34429 if ac_fn_cxx_try_compile "$LINENO"; then :
34430 glibcxx_cv_func_float_round_use=yes
34431 else
34432 glibcxx_cv_func_float_round_use=no
34434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34435 ac_ext=c
34436 ac_cpp='$CPP $CPPFLAGS'
34437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
34444 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
34445 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34446 for ac_func in ceilf floorf
34447 do :
34448 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34449 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34450 eval as_val=\$$as_ac_var
34451 if test "x$as_val" = x""yes; then :
34452 cat >>confdefs.h <<_ACEOF
34453 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34454 _ACEOF
34457 done
34459 else
34460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
34461 $as_echo_n "checking for _float round functions... " >&6; }
34462 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
34463 $as_echo_n "(cached) " >&6
34464 else
34467 ac_ext=cpp
34468 ac_cpp='$CXXCPP $CPPFLAGS'
34469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34474 /* end confdefs.h. */
34475 #include <math.h>
34477 main ()
34479 _ceilf (0); _floorf (0);
34481 return 0;
34483 _ACEOF
34484 if ac_fn_cxx_try_compile "$LINENO"; then :
34485 glibcxx_cv_func__float_round_use=yes
34486 else
34487 glibcxx_cv_func__float_round_use=no
34489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34490 ac_ext=c
34491 ac_cpp='$CPP $CPPFLAGS'
34492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
34499 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
34500 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34501 for ac_func in _ceilf _floorf
34502 do :
34503 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34504 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34505 eval as_val=\$$as_ac_var
34506 if test "x$as_val" = x""yes; then :
34507 cat >>confdefs.h <<_ACEOF
34508 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34509 _ACEOF
34512 done
34522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
34523 $as_echo_n "checking for expf declaration... " >&6; }
34524 if test x${glibcxx_cv_func_expf_use+set} != xset; then
34525 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
34526 $as_echo_n "(cached) " >&6
34527 else
34530 ac_ext=cpp
34531 ac_cpp='$CXXCPP $CPPFLAGS'
34532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34537 /* end confdefs.h. */
34538 #include <math.h>
34539 #ifdef HAVE_IEEEFP_H
34540 #include <ieeefp.h>
34541 #endif
34544 main ()
34546 expf(0);
34548 return 0;
34550 _ACEOF
34551 if ac_fn_cxx_try_compile "$LINENO"; then :
34552 glibcxx_cv_func_expf_use=yes
34553 else
34554 glibcxx_cv_func_expf_use=no
34556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34557 ac_ext=c
34558 ac_cpp='$CPP $CPPFLAGS'
34559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
34568 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
34570 if test x$glibcxx_cv_func_expf_use = x"yes"; then
34571 for ac_func in expf
34572 do :
34573 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
34574 if test "x$ac_cv_func_expf" = x""yes; then :
34575 cat >>confdefs.h <<_ACEOF
34576 #define HAVE_EXPF 1
34577 _ACEOF
34580 done
34582 else
34584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
34585 $as_echo_n "checking for _expf declaration... " >&6; }
34586 if test x${glibcxx_cv_func__expf_use+set} != xset; then
34587 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
34588 $as_echo_n "(cached) " >&6
34589 else
34592 ac_ext=cpp
34593 ac_cpp='$CXXCPP $CPPFLAGS'
34594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34599 /* end confdefs.h. */
34600 #include <math.h>
34601 #ifdef HAVE_IEEEFP_H
34602 #include <ieeefp.h>
34603 #endif
34606 main ()
34608 _expf(0);
34610 return 0;
34612 _ACEOF
34613 if ac_fn_cxx_try_compile "$LINENO"; then :
34614 glibcxx_cv_func__expf_use=yes
34615 else
34616 glibcxx_cv_func__expf_use=no
34618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34619 ac_ext=c
34620 ac_cpp='$CPP $CPPFLAGS'
34621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
34630 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
34632 if test x$glibcxx_cv_func__expf_use = x"yes"; then
34633 for ac_func in _expf
34634 do :
34635 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
34636 if test "x$ac_cv_func__expf" = x""yes; then :
34637 cat >>confdefs.h <<_ACEOF
34638 #define HAVE__EXPF 1
34639 _ACEOF
34642 done
34651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
34652 $as_echo_n "checking for isnanf declaration... " >&6; }
34653 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
34654 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
34655 $as_echo_n "(cached) " >&6
34656 else
34659 ac_ext=cpp
34660 ac_cpp='$CXXCPP $CPPFLAGS'
34661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34666 /* end confdefs.h. */
34667 #include <math.h>
34668 #ifdef HAVE_IEEEFP_H
34669 #include <ieeefp.h>
34670 #endif
34673 main ()
34675 isnanf(0);
34677 return 0;
34679 _ACEOF
34680 if ac_fn_cxx_try_compile "$LINENO"; then :
34681 glibcxx_cv_func_isnanf_use=yes
34682 else
34683 glibcxx_cv_func_isnanf_use=no
34685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34686 ac_ext=c
34687 ac_cpp='$CPP $CPPFLAGS'
34688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
34697 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
34699 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
34700 for ac_func in isnanf
34701 do :
34702 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
34703 if test "x$ac_cv_func_isnanf" = x""yes; then :
34704 cat >>confdefs.h <<_ACEOF
34705 #define HAVE_ISNANF 1
34706 _ACEOF
34709 done
34711 else
34713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
34714 $as_echo_n "checking for _isnanf declaration... " >&6; }
34715 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
34716 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
34717 $as_echo_n "(cached) " >&6
34718 else
34721 ac_ext=cpp
34722 ac_cpp='$CXXCPP $CPPFLAGS'
34723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34728 /* end confdefs.h. */
34729 #include <math.h>
34730 #ifdef HAVE_IEEEFP_H
34731 #include <ieeefp.h>
34732 #endif
34735 main ()
34737 _isnanf(0);
34739 return 0;
34741 _ACEOF
34742 if ac_fn_cxx_try_compile "$LINENO"; then :
34743 glibcxx_cv_func__isnanf_use=yes
34744 else
34745 glibcxx_cv_func__isnanf_use=no
34747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34748 ac_ext=c
34749 ac_cpp='$CPP $CPPFLAGS'
34750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
34759 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
34761 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
34762 for ac_func in _isnanf
34763 do :
34764 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
34765 if test "x$ac_cv_func__isnanf" = x""yes; then :
34766 cat >>confdefs.h <<_ACEOF
34767 #define HAVE__ISNANF 1
34768 _ACEOF
34771 done
34780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
34781 $as_echo_n "checking for isinff declaration... " >&6; }
34782 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
34783 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
34784 $as_echo_n "(cached) " >&6
34785 else
34788 ac_ext=cpp
34789 ac_cpp='$CXXCPP $CPPFLAGS'
34790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34795 /* end confdefs.h. */
34796 #include <math.h>
34797 #ifdef HAVE_IEEEFP_H
34798 #include <ieeefp.h>
34799 #endif
34802 main ()
34804 isinff(0);
34806 return 0;
34808 _ACEOF
34809 if ac_fn_cxx_try_compile "$LINENO"; then :
34810 glibcxx_cv_func_isinff_use=yes
34811 else
34812 glibcxx_cv_func_isinff_use=no
34814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34815 ac_ext=c
34816 ac_cpp='$CPP $CPPFLAGS'
34817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
34826 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
34828 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
34829 for ac_func in isinff
34830 do :
34831 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
34832 if test "x$ac_cv_func_isinff" = x""yes; then :
34833 cat >>confdefs.h <<_ACEOF
34834 #define HAVE_ISINFF 1
34835 _ACEOF
34838 done
34840 else
34842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
34843 $as_echo_n "checking for _isinff declaration... " >&6; }
34844 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
34845 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
34846 $as_echo_n "(cached) " >&6
34847 else
34850 ac_ext=cpp
34851 ac_cpp='$CXXCPP $CPPFLAGS'
34852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34857 /* end confdefs.h. */
34858 #include <math.h>
34859 #ifdef HAVE_IEEEFP_H
34860 #include <ieeefp.h>
34861 #endif
34864 main ()
34866 _isinff(0);
34868 return 0;
34870 _ACEOF
34871 if ac_fn_cxx_try_compile "$LINENO"; then :
34872 glibcxx_cv_func__isinff_use=yes
34873 else
34874 glibcxx_cv_func__isinff_use=no
34876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34877 ac_ext=c
34878 ac_cpp='$CPP $CPPFLAGS'
34879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
34888 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
34890 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34891 for ac_func in _isinff
34892 do :
34893 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34894 if test "x$ac_cv_func__isinff" = x""yes; then :
34895 cat >>confdefs.h <<_ACEOF
34896 #define HAVE__ISINFF 1
34897 _ACEOF
34900 done
34909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34910 $as_echo_n "checking for atan2f declaration... " >&6; }
34911 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34912 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34913 $as_echo_n "(cached) " >&6
34914 else
34917 ac_ext=cpp
34918 ac_cpp='$CXXCPP $CPPFLAGS'
34919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34924 /* end confdefs.h. */
34925 #include <math.h>
34927 main ()
34929 atan2f(0, 0);
34931 return 0;
34933 _ACEOF
34934 if ac_fn_cxx_try_compile "$LINENO"; then :
34935 glibcxx_cv_func_atan2f_use=yes
34936 else
34937 glibcxx_cv_func_atan2f_use=no
34939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34940 ac_ext=c
34941 ac_cpp='$CPP $CPPFLAGS'
34942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34951 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34953 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34954 for ac_func in atan2f
34955 do :
34956 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34957 if test "x$ac_cv_func_atan2f" = x""yes; then :
34958 cat >>confdefs.h <<_ACEOF
34959 #define HAVE_ATAN2F 1
34960 _ACEOF
34963 done
34965 else
34967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34968 $as_echo_n "checking for _atan2f declaration... " >&6; }
34969 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34970 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34971 $as_echo_n "(cached) " >&6
34972 else
34975 ac_ext=cpp
34976 ac_cpp='$CXXCPP $CPPFLAGS'
34977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34982 /* end confdefs.h. */
34983 #include <math.h>
34985 main ()
34987 _atan2f(0, 0);
34989 return 0;
34991 _ACEOF
34992 if ac_fn_cxx_try_compile "$LINENO"; then :
34993 glibcxx_cv_func__atan2f_use=yes
34994 else
34995 glibcxx_cv_func__atan2f_use=no
34997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34998 ac_ext=c
34999 ac_cpp='$CPP $CPPFLAGS'
35000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35009 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35011 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35012 for ac_func in _atan2f
35013 do :
35014 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35015 if test "x$ac_cv_func__atan2f" = x""yes; then :
35016 cat >>confdefs.h <<_ACEOF
35017 #define HAVE__ATAN2F 1
35018 _ACEOF
35021 done
35030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35031 $as_echo_n "checking for fabsf declaration... " >&6; }
35032 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35033 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35034 $as_echo_n "(cached) " >&6
35035 else
35038 ac_ext=cpp
35039 ac_cpp='$CXXCPP $CPPFLAGS'
35040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35045 /* end confdefs.h. */
35046 #include <math.h>
35047 #ifdef HAVE_IEEEFP_H
35048 #include <ieeefp.h>
35049 #endif
35052 main ()
35054 fabsf(0);
35056 return 0;
35058 _ACEOF
35059 if ac_fn_cxx_try_compile "$LINENO"; then :
35060 glibcxx_cv_func_fabsf_use=yes
35061 else
35062 glibcxx_cv_func_fabsf_use=no
35064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35065 ac_ext=c
35066 ac_cpp='$CPP $CPPFLAGS'
35067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35076 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35078 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35079 for ac_func in fabsf
35080 do :
35081 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35082 if test "x$ac_cv_func_fabsf" = x""yes; then :
35083 cat >>confdefs.h <<_ACEOF
35084 #define HAVE_FABSF 1
35085 _ACEOF
35088 done
35090 else
35092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35093 $as_echo_n "checking for _fabsf declaration... " >&6; }
35094 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35095 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35096 $as_echo_n "(cached) " >&6
35097 else
35100 ac_ext=cpp
35101 ac_cpp='$CXXCPP $CPPFLAGS'
35102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35107 /* end confdefs.h. */
35108 #include <math.h>
35109 #ifdef HAVE_IEEEFP_H
35110 #include <ieeefp.h>
35111 #endif
35114 main ()
35116 _fabsf(0);
35118 return 0;
35120 _ACEOF
35121 if ac_fn_cxx_try_compile "$LINENO"; then :
35122 glibcxx_cv_func__fabsf_use=yes
35123 else
35124 glibcxx_cv_func__fabsf_use=no
35126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35127 ac_ext=c
35128 ac_cpp='$CPP $CPPFLAGS'
35129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35138 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35140 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35141 for ac_func in _fabsf
35142 do :
35143 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35144 if test "x$ac_cv_func__fabsf" = x""yes; then :
35145 cat >>confdefs.h <<_ACEOF
35146 #define HAVE__FABSF 1
35147 _ACEOF
35150 done
35159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35160 $as_echo_n "checking for fmodf declaration... " >&6; }
35161 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35162 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35163 $as_echo_n "(cached) " >&6
35164 else
35167 ac_ext=cpp
35168 ac_cpp='$CXXCPP $CPPFLAGS'
35169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35174 /* end confdefs.h. */
35175 #include <math.h>
35177 main ()
35179 fmodf(0, 0);
35181 return 0;
35183 _ACEOF
35184 if ac_fn_cxx_try_compile "$LINENO"; then :
35185 glibcxx_cv_func_fmodf_use=yes
35186 else
35187 glibcxx_cv_func_fmodf_use=no
35189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35190 ac_ext=c
35191 ac_cpp='$CPP $CPPFLAGS'
35192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35201 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35203 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35204 for ac_func in fmodf
35205 do :
35206 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35207 if test "x$ac_cv_func_fmodf" = x""yes; then :
35208 cat >>confdefs.h <<_ACEOF
35209 #define HAVE_FMODF 1
35210 _ACEOF
35213 done
35215 else
35217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35218 $as_echo_n "checking for _fmodf declaration... " >&6; }
35219 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35220 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35221 $as_echo_n "(cached) " >&6
35222 else
35225 ac_ext=cpp
35226 ac_cpp='$CXXCPP $CPPFLAGS'
35227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35232 /* end confdefs.h. */
35233 #include <math.h>
35235 main ()
35237 _fmodf(0, 0);
35239 return 0;
35241 _ACEOF
35242 if ac_fn_cxx_try_compile "$LINENO"; then :
35243 glibcxx_cv_func__fmodf_use=yes
35244 else
35245 glibcxx_cv_func__fmodf_use=no
35247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35248 ac_ext=c
35249 ac_cpp='$CPP $CPPFLAGS'
35250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35259 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35261 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35262 for ac_func in _fmodf
35263 do :
35264 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35265 if test "x$ac_cv_func__fmodf" = x""yes; then :
35266 cat >>confdefs.h <<_ACEOF
35267 #define HAVE__FMODF 1
35268 _ACEOF
35271 done
35280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35281 $as_echo_n "checking for frexpf declaration... " >&6; }
35282 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35283 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35284 $as_echo_n "(cached) " >&6
35285 else
35288 ac_ext=cpp
35289 ac_cpp='$CXXCPP $CPPFLAGS'
35290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35295 /* end confdefs.h. */
35296 #include <math.h>
35298 main ()
35300 frexpf(0, 0);
35302 return 0;
35304 _ACEOF
35305 if ac_fn_cxx_try_compile "$LINENO"; then :
35306 glibcxx_cv_func_frexpf_use=yes
35307 else
35308 glibcxx_cv_func_frexpf_use=no
35310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35311 ac_ext=c
35312 ac_cpp='$CPP $CPPFLAGS'
35313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35322 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35324 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35325 for ac_func in frexpf
35326 do :
35327 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35328 if test "x$ac_cv_func_frexpf" = x""yes; then :
35329 cat >>confdefs.h <<_ACEOF
35330 #define HAVE_FREXPF 1
35331 _ACEOF
35334 done
35336 else
35338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35339 $as_echo_n "checking for _frexpf declaration... " >&6; }
35340 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35341 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
35342 $as_echo_n "(cached) " >&6
35343 else
35346 ac_ext=cpp
35347 ac_cpp='$CXXCPP $CPPFLAGS'
35348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35353 /* end confdefs.h. */
35354 #include <math.h>
35356 main ()
35358 _frexpf(0, 0);
35360 return 0;
35362 _ACEOF
35363 if ac_fn_cxx_try_compile "$LINENO"; then :
35364 glibcxx_cv_func__frexpf_use=yes
35365 else
35366 glibcxx_cv_func__frexpf_use=no
35368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35369 ac_ext=c
35370 ac_cpp='$CPP $CPPFLAGS'
35371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
35380 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35382 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35383 for ac_func in _frexpf
35384 do :
35385 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
35386 if test "x$ac_cv_func__frexpf" = x""yes; then :
35387 cat >>confdefs.h <<_ACEOF
35388 #define HAVE__FREXPF 1
35389 _ACEOF
35392 done
35401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
35402 $as_echo_n "checking for hypotf declaration... " >&6; }
35403 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
35404 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
35405 $as_echo_n "(cached) " >&6
35406 else
35409 ac_ext=cpp
35410 ac_cpp='$CXXCPP $CPPFLAGS'
35411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35416 /* end confdefs.h. */
35417 #include <math.h>
35419 main ()
35421 hypotf(0, 0);
35423 return 0;
35425 _ACEOF
35426 if ac_fn_cxx_try_compile "$LINENO"; then :
35427 glibcxx_cv_func_hypotf_use=yes
35428 else
35429 glibcxx_cv_func_hypotf_use=no
35431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35432 ac_ext=c
35433 ac_cpp='$CPP $CPPFLAGS'
35434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
35443 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
35445 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
35446 for ac_func in hypotf
35447 do :
35448 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
35449 if test "x$ac_cv_func_hypotf" = x""yes; then :
35450 cat >>confdefs.h <<_ACEOF
35451 #define HAVE_HYPOTF 1
35452 _ACEOF
35455 done
35457 else
35459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
35460 $as_echo_n "checking for _hypotf declaration... " >&6; }
35461 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
35462 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
35463 $as_echo_n "(cached) " >&6
35464 else
35467 ac_ext=cpp
35468 ac_cpp='$CXXCPP $CPPFLAGS'
35469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35474 /* end confdefs.h. */
35475 #include <math.h>
35477 main ()
35479 _hypotf(0, 0);
35481 return 0;
35483 _ACEOF
35484 if ac_fn_cxx_try_compile "$LINENO"; then :
35485 glibcxx_cv_func__hypotf_use=yes
35486 else
35487 glibcxx_cv_func__hypotf_use=no
35489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35490 ac_ext=c
35491 ac_cpp='$CPP $CPPFLAGS'
35492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
35501 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
35503 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
35504 for ac_func in _hypotf
35505 do :
35506 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
35507 if test "x$ac_cv_func__hypotf" = x""yes; then :
35508 cat >>confdefs.h <<_ACEOF
35509 #define HAVE__HYPOTF 1
35510 _ACEOF
35513 done
35522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
35523 $as_echo_n "checking for ldexpf declaration... " >&6; }
35524 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
35525 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
35526 $as_echo_n "(cached) " >&6
35527 else
35530 ac_ext=cpp
35531 ac_cpp='$CXXCPP $CPPFLAGS'
35532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35537 /* end confdefs.h. */
35538 #include <math.h>
35540 main ()
35542 ldexpf(0, 0);
35544 return 0;
35546 _ACEOF
35547 if ac_fn_cxx_try_compile "$LINENO"; then :
35548 glibcxx_cv_func_ldexpf_use=yes
35549 else
35550 glibcxx_cv_func_ldexpf_use=no
35552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35553 ac_ext=c
35554 ac_cpp='$CPP $CPPFLAGS'
35555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
35564 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
35566 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
35567 for ac_func in ldexpf
35568 do :
35569 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
35570 if test "x$ac_cv_func_ldexpf" = x""yes; then :
35571 cat >>confdefs.h <<_ACEOF
35572 #define HAVE_LDEXPF 1
35573 _ACEOF
35576 done
35578 else
35580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
35581 $as_echo_n "checking for _ldexpf declaration... " >&6; }
35582 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
35583 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
35584 $as_echo_n "(cached) " >&6
35585 else
35588 ac_ext=cpp
35589 ac_cpp='$CXXCPP $CPPFLAGS'
35590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35595 /* end confdefs.h. */
35596 #include <math.h>
35598 main ()
35600 _ldexpf(0, 0);
35602 return 0;
35604 _ACEOF
35605 if ac_fn_cxx_try_compile "$LINENO"; then :
35606 glibcxx_cv_func__ldexpf_use=yes
35607 else
35608 glibcxx_cv_func__ldexpf_use=no
35610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35611 ac_ext=c
35612 ac_cpp='$CPP $CPPFLAGS'
35613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
35622 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
35624 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
35625 for ac_func in _ldexpf
35626 do :
35627 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
35628 if test "x$ac_cv_func__ldexpf" = x""yes; then :
35629 cat >>confdefs.h <<_ACEOF
35630 #define HAVE__LDEXPF 1
35631 _ACEOF
35634 done
35643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
35644 $as_echo_n "checking for logf declaration... " >&6; }
35645 if test x${glibcxx_cv_func_logf_use+set} != xset; then
35646 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
35647 $as_echo_n "(cached) " >&6
35648 else
35651 ac_ext=cpp
35652 ac_cpp='$CXXCPP $CPPFLAGS'
35653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35658 /* end confdefs.h. */
35659 #include <math.h>
35660 #ifdef HAVE_IEEEFP_H
35661 #include <ieeefp.h>
35662 #endif
35665 main ()
35667 logf(0);
35669 return 0;
35671 _ACEOF
35672 if ac_fn_cxx_try_compile "$LINENO"; then :
35673 glibcxx_cv_func_logf_use=yes
35674 else
35675 glibcxx_cv_func_logf_use=no
35677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35678 ac_ext=c
35679 ac_cpp='$CPP $CPPFLAGS'
35680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
35689 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
35691 if test x$glibcxx_cv_func_logf_use = x"yes"; then
35692 for ac_func in logf
35693 do :
35694 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
35695 if test "x$ac_cv_func_logf" = x""yes; then :
35696 cat >>confdefs.h <<_ACEOF
35697 #define HAVE_LOGF 1
35698 _ACEOF
35701 done
35703 else
35705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
35706 $as_echo_n "checking for _logf declaration... " >&6; }
35707 if test x${glibcxx_cv_func__logf_use+set} != xset; then
35708 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
35709 $as_echo_n "(cached) " >&6
35710 else
35713 ac_ext=cpp
35714 ac_cpp='$CXXCPP $CPPFLAGS'
35715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35720 /* end confdefs.h. */
35721 #include <math.h>
35722 #ifdef HAVE_IEEEFP_H
35723 #include <ieeefp.h>
35724 #endif
35727 main ()
35729 _logf(0);
35731 return 0;
35733 _ACEOF
35734 if ac_fn_cxx_try_compile "$LINENO"; then :
35735 glibcxx_cv_func__logf_use=yes
35736 else
35737 glibcxx_cv_func__logf_use=no
35739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35740 ac_ext=c
35741 ac_cpp='$CPP $CPPFLAGS'
35742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
35751 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
35753 if test x$glibcxx_cv_func__logf_use = x"yes"; then
35754 for ac_func in _logf
35755 do :
35756 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
35757 if test "x$ac_cv_func__logf" = x""yes; then :
35758 cat >>confdefs.h <<_ACEOF
35759 #define HAVE__LOGF 1
35760 _ACEOF
35763 done
35772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
35773 $as_echo_n "checking for log10f declaration... " >&6; }
35774 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
35775 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
35776 $as_echo_n "(cached) " >&6
35777 else
35780 ac_ext=cpp
35781 ac_cpp='$CXXCPP $CPPFLAGS'
35782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35787 /* end confdefs.h. */
35788 #include <math.h>
35789 #ifdef HAVE_IEEEFP_H
35790 #include <ieeefp.h>
35791 #endif
35794 main ()
35796 log10f(0);
35798 return 0;
35800 _ACEOF
35801 if ac_fn_cxx_try_compile "$LINENO"; then :
35802 glibcxx_cv_func_log10f_use=yes
35803 else
35804 glibcxx_cv_func_log10f_use=no
35806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35807 ac_ext=c
35808 ac_cpp='$CPP $CPPFLAGS'
35809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
35818 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
35820 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
35821 for ac_func in log10f
35822 do :
35823 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
35824 if test "x$ac_cv_func_log10f" = x""yes; then :
35825 cat >>confdefs.h <<_ACEOF
35826 #define HAVE_LOG10F 1
35827 _ACEOF
35830 done
35832 else
35834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
35835 $as_echo_n "checking for _log10f declaration... " >&6; }
35836 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
35837 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
35838 $as_echo_n "(cached) " >&6
35839 else
35842 ac_ext=cpp
35843 ac_cpp='$CXXCPP $CPPFLAGS'
35844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35849 /* end confdefs.h. */
35850 #include <math.h>
35851 #ifdef HAVE_IEEEFP_H
35852 #include <ieeefp.h>
35853 #endif
35856 main ()
35858 _log10f(0);
35860 return 0;
35862 _ACEOF
35863 if ac_fn_cxx_try_compile "$LINENO"; then :
35864 glibcxx_cv_func__log10f_use=yes
35865 else
35866 glibcxx_cv_func__log10f_use=no
35868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35869 ac_ext=c
35870 ac_cpp='$CPP $CPPFLAGS'
35871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
35880 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
35882 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
35883 for ac_func in _log10f
35884 do :
35885 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
35886 if test "x$ac_cv_func__log10f" = x""yes; then :
35887 cat >>confdefs.h <<_ACEOF
35888 #define HAVE__LOG10F 1
35889 _ACEOF
35892 done
35901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35902 $as_echo_n "checking for modff declaration... " >&6; }
35903 if test x${glibcxx_cv_func_modff_use+set} != xset; then
35904 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35905 $as_echo_n "(cached) " >&6
35906 else
35909 ac_ext=cpp
35910 ac_cpp='$CXXCPP $CPPFLAGS'
35911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35916 /* end confdefs.h. */
35917 #include <math.h>
35919 main ()
35921 modff(0, 0);
35923 return 0;
35925 _ACEOF
35926 if ac_fn_cxx_try_compile "$LINENO"; then :
35927 glibcxx_cv_func_modff_use=yes
35928 else
35929 glibcxx_cv_func_modff_use=no
35931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35932 ac_ext=c
35933 ac_cpp='$CPP $CPPFLAGS'
35934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35943 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35945 if test x$glibcxx_cv_func_modff_use = x"yes"; then
35946 for ac_func in modff
35947 do :
35948 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35949 if test "x$ac_cv_func_modff" = x""yes; then :
35950 cat >>confdefs.h <<_ACEOF
35951 #define HAVE_MODFF 1
35952 _ACEOF
35955 done
35957 else
35959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35960 $as_echo_n "checking for _modff declaration... " >&6; }
35961 if test x${glibcxx_cv_func__modff_use+set} != xset; then
35962 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35963 $as_echo_n "(cached) " >&6
35964 else
35967 ac_ext=cpp
35968 ac_cpp='$CXXCPP $CPPFLAGS'
35969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35974 /* end confdefs.h. */
35975 #include <math.h>
35977 main ()
35979 _modff(0, 0);
35981 return 0;
35983 _ACEOF
35984 if ac_fn_cxx_try_compile "$LINENO"; then :
35985 glibcxx_cv_func__modff_use=yes
35986 else
35987 glibcxx_cv_func__modff_use=no
35989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35990 ac_ext=c
35991 ac_cpp='$CPP $CPPFLAGS'
35992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36001 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36003 if test x$glibcxx_cv_func__modff_use = x"yes"; then
36004 for ac_func in _modff
36005 do :
36006 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36007 if test "x$ac_cv_func__modff" = x""yes; then :
36008 cat >>confdefs.h <<_ACEOF
36009 #define HAVE__MODFF 1
36010 _ACEOF
36013 done
36022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36023 $as_echo_n "checking for modf declaration... " >&6; }
36024 if test x${glibcxx_cv_func_modf_use+set} != xset; then
36025 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36026 $as_echo_n "(cached) " >&6
36027 else
36030 ac_ext=cpp
36031 ac_cpp='$CXXCPP $CPPFLAGS'
36032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36037 /* end confdefs.h. */
36038 #include <math.h>
36040 main ()
36042 modf(0, 0);
36044 return 0;
36046 _ACEOF
36047 if ac_fn_cxx_try_compile "$LINENO"; then :
36048 glibcxx_cv_func_modf_use=yes
36049 else
36050 glibcxx_cv_func_modf_use=no
36052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36053 ac_ext=c
36054 ac_cpp='$CPP $CPPFLAGS'
36055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36064 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36066 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36067 for ac_func in modf
36068 do :
36069 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36070 if test "x$ac_cv_func_modf" = x""yes; then :
36071 cat >>confdefs.h <<_ACEOF
36072 #define HAVE_MODF 1
36073 _ACEOF
36076 done
36078 else
36080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36081 $as_echo_n "checking for _modf declaration... " >&6; }
36082 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36083 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36084 $as_echo_n "(cached) " >&6
36085 else
36088 ac_ext=cpp
36089 ac_cpp='$CXXCPP $CPPFLAGS'
36090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36095 /* end confdefs.h. */
36096 #include <math.h>
36098 main ()
36100 _modf(0, 0);
36102 return 0;
36104 _ACEOF
36105 if ac_fn_cxx_try_compile "$LINENO"; then :
36106 glibcxx_cv_func__modf_use=yes
36107 else
36108 glibcxx_cv_func__modf_use=no
36110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36111 ac_ext=c
36112 ac_cpp='$CPP $CPPFLAGS'
36113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36122 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36124 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36125 for ac_func in _modf
36126 do :
36127 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36128 if test "x$ac_cv_func__modf" = x""yes; then :
36129 cat >>confdefs.h <<_ACEOF
36130 #define HAVE__MODF 1
36131 _ACEOF
36134 done
36143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36144 $as_echo_n "checking for powf declaration... " >&6; }
36145 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36146 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36147 $as_echo_n "(cached) " >&6
36148 else
36151 ac_ext=cpp
36152 ac_cpp='$CXXCPP $CPPFLAGS'
36153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36158 /* end confdefs.h. */
36159 #include <math.h>
36161 main ()
36163 powf(0, 0);
36165 return 0;
36167 _ACEOF
36168 if ac_fn_cxx_try_compile "$LINENO"; then :
36169 glibcxx_cv_func_powf_use=yes
36170 else
36171 glibcxx_cv_func_powf_use=no
36173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36174 ac_ext=c
36175 ac_cpp='$CPP $CPPFLAGS'
36176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36185 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36187 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36188 for ac_func in powf
36189 do :
36190 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36191 if test "x$ac_cv_func_powf" = x""yes; then :
36192 cat >>confdefs.h <<_ACEOF
36193 #define HAVE_POWF 1
36194 _ACEOF
36197 done
36199 else
36201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36202 $as_echo_n "checking for _powf declaration... " >&6; }
36203 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36204 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36205 $as_echo_n "(cached) " >&6
36206 else
36209 ac_ext=cpp
36210 ac_cpp='$CXXCPP $CPPFLAGS'
36211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36216 /* end confdefs.h. */
36217 #include <math.h>
36219 main ()
36221 _powf(0, 0);
36223 return 0;
36225 _ACEOF
36226 if ac_fn_cxx_try_compile "$LINENO"; then :
36227 glibcxx_cv_func__powf_use=yes
36228 else
36229 glibcxx_cv_func__powf_use=no
36231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36232 ac_ext=c
36233 ac_cpp='$CPP $CPPFLAGS'
36234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36243 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36245 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36246 for ac_func in _powf
36247 do :
36248 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36249 if test "x$ac_cv_func__powf" = x""yes; then :
36250 cat >>confdefs.h <<_ACEOF
36251 #define HAVE__POWF 1
36252 _ACEOF
36255 done
36264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36265 $as_echo_n "checking for sqrtf declaration... " >&6; }
36266 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36267 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36268 $as_echo_n "(cached) " >&6
36269 else
36272 ac_ext=cpp
36273 ac_cpp='$CXXCPP $CPPFLAGS'
36274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36279 /* end confdefs.h. */
36280 #include <math.h>
36281 #ifdef HAVE_IEEEFP_H
36282 #include <ieeefp.h>
36283 #endif
36286 main ()
36288 sqrtf(0);
36290 return 0;
36292 _ACEOF
36293 if ac_fn_cxx_try_compile "$LINENO"; then :
36294 glibcxx_cv_func_sqrtf_use=yes
36295 else
36296 glibcxx_cv_func_sqrtf_use=no
36298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36299 ac_ext=c
36300 ac_cpp='$CPP $CPPFLAGS'
36301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36310 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36312 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36313 for ac_func in sqrtf
36314 do :
36315 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36316 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36317 cat >>confdefs.h <<_ACEOF
36318 #define HAVE_SQRTF 1
36319 _ACEOF
36322 done
36324 else
36326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36327 $as_echo_n "checking for _sqrtf declaration... " >&6; }
36328 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36329 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36330 $as_echo_n "(cached) " >&6
36331 else
36334 ac_ext=cpp
36335 ac_cpp='$CXXCPP $CPPFLAGS'
36336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36341 /* end confdefs.h. */
36342 #include <math.h>
36343 #ifdef HAVE_IEEEFP_H
36344 #include <ieeefp.h>
36345 #endif
36348 main ()
36350 _sqrtf(0);
36352 return 0;
36354 _ACEOF
36355 if ac_fn_cxx_try_compile "$LINENO"; then :
36356 glibcxx_cv_func__sqrtf_use=yes
36357 else
36358 glibcxx_cv_func__sqrtf_use=no
36360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36361 ac_ext=c
36362 ac_cpp='$CPP $CPPFLAGS'
36363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36372 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36374 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36375 for ac_func in _sqrtf
36376 do :
36377 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36378 if test "x$ac_cv_func__sqrtf" = x""yes; then :
36379 cat >>confdefs.h <<_ACEOF
36380 #define HAVE__SQRTF 1
36381 _ACEOF
36384 done
36393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
36394 $as_echo_n "checking for sincosf declaration... " >&6; }
36395 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
36396 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
36397 $as_echo_n "(cached) " >&6
36398 else
36401 ac_ext=cpp
36402 ac_cpp='$CXXCPP $CPPFLAGS'
36403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36408 /* end confdefs.h. */
36409 #include <math.h>
36411 main ()
36413 sincosf(0, 0, 0);
36415 return 0;
36417 _ACEOF
36418 if ac_fn_cxx_try_compile "$LINENO"; then :
36419 glibcxx_cv_func_sincosf_use=yes
36420 else
36421 glibcxx_cv_func_sincosf_use=no
36423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36424 ac_ext=c
36425 ac_cpp='$CPP $CPPFLAGS'
36426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
36435 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
36437 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
36438 for ac_func in sincosf
36439 do :
36440 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
36441 if test "x$ac_cv_func_sincosf" = x""yes; then :
36442 cat >>confdefs.h <<_ACEOF
36443 #define HAVE_SINCOSF 1
36444 _ACEOF
36447 done
36449 else
36451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
36452 $as_echo_n "checking for _sincosf declaration... " >&6; }
36453 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
36454 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
36455 $as_echo_n "(cached) " >&6
36456 else
36459 ac_ext=cpp
36460 ac_cpp='$CXXCPP $CPPFLAGS'
36461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36466 /* end confdefs.h. */
36467 #include <math.h>
36469 main ()
36471 _sincosf(0, 0, 0);
36473 return 0;
36475 _ACEOF
36476 if ac_fn_cxx_try_compile "$LINENO"; then :
36477 glibcxx_cv_func__sincosf_use=yes
36478 else
36479 glibcxx_cv_func__sincosf_use=no
36481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36482 ac_ext=c
36483 ac_cpp='$CPP $CPPFLAGS'
36484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
36493 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
36495 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
36496 for ac_func in _sincosf
36497 do :
36498 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
36499 if test "x$ac_cv_func__sincosf" = x""yes; then :
36500 cat >>confdefs.h <<_ACEOF
36501 #define HAVE__SINCOSF 1
36502 _ACEOF
36505 done
36514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
36515 $as_echo_n "checking for finitef declaration... " >&6; }
36516 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
36517 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
36518 $as_echo_n "(cached) " >&6
36519 else
36522 ac_ext=cpp
36523 ac_cpp='$CXXCPP $CPPFLAGS'
36524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36529 /* end confdefs.h. */
36530 #include <math.h>
36531 #ifdef HAVE_IEEEFP_H
36532 #include <ieeefp.h>
36533 #endif
36536 main ()
36538 finitef(0);
36540 return 0;
36542 _ACEOF
36543 if ac_fn_cxx_try_compile "$LINENO"; then :
36544 glibcxx_cv_func_finitef_use=yes
36545 else
36546 glibcxx_cv_func_finitef_use=no
36548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36549 ac_ext=c
36550 ac_cpp='$CPP $CPPFLAGS'
36551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
36560 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
36562 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
36563 for ac_func in finitef
36564 do :
36565 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
36566 if test "x$ac_cv_func_finitef" = x""yes; then :
36567 cat >>confdefs.h <<_ACEOF
36568 #define HAVE_FINITEF 1
36569 _ACEOF
36572 done
36574 else
36576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
36577 $as_echo_n "checking for _finitef declaration... " >&6; }
36578 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
36579 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
36580 $as_echo_n "(cached) " >&6
36581 else
36584 ac_ext=cpp
36585 ac_cpp='$CXXCPP $CPPFLAGS'
36586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36591 /* end confdefs.h. */
36592 #include <math.h>
36593 #ifdef HAVE_IEEEFP_H
36594 #include <ieeefp.h>
36595 #endif
36598 main ()
36600 _finitef(0);
36602 return 0;
36604 _ACEOF
36605 if ac_fn_cxx_try_compile "$LINENO"; then :
36606 glibcxx_cv_func__finitef_use=yes
36607 else
36608 glibcxx_cv_func__finitef_use=no
36610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36611 ac_ext=c
36612 ac_cpp='$CPP $CPPFLAGS'
36613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
36622 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
36624 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
36625 for ac_func in _finitef
36626 do :
36627 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
36628 if test "x$ac_cv_func__finitef" = x""yes; then :
36629 cat >>confdefs.h <<_ACEOF
36630 #define HAVE__FINITEF 1
36631 _ACEOF
36634 done
36643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
36644 $as_echo_n "checking for long double trig functions... " >&6; }
36645 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
36646 $as_echo_n "(cached) " >&6
36647 else
36650 ac_ext=cpp
36651 ac_cpp='$CXXCPP $CPPFLAGS'
36652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36657 /* end confdefs.h. */
36658 #include <math.h>
36660 main ()
36662 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
36664 return 0;
36666 _ACEOF
36667 if ac_fn_cxx_try_compile "$LINENO"; then :
36668 glibcxx_cv_func_long_double_trig_use=yes
36669 else
36670 glibcxx_cv_func_long_double_trig_use=no
36672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36673 ac_ext=c
36674 ac_cpp='$CPP $CPPFLAGS'
36675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
36682 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
36683 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
36684 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
36685 do :
36686 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36687 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36688 eval as_val=\$$as_ac_var
36689 if test "x$as_val" = x""yes; then :
36690 cat >>confdefs.h <<_ACEOF
36691 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36692 _ACEOF
36695 done
36697 else
36698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
36699 $as_echo_n "checking for _long double trig functions... " >&6; }
36700 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
36701 $as_echo_n "(cached) " >&6
36702 else
36705 ac_ext=cpp
36706 ac_cpp='$CXXCPP $CPPFLAGS'
36707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36712 /* end confdefs.h. */
36713 #include <math.h>
36715 main ()
36717 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
36719 return 0;
36721 _ACEOF
36722 if ac_fn_cxx_try_compile "$LINENO"; then :
36723 glibcxx_cv_func__long_double_trig_use=yes
36724 else
36725 glibcxx_cv_func__long_double_trig_use=no
36727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36728 ac_ext=c
36729 ac_cpp='$CPP $CPPFLAGS'
36730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
36737 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
36738 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
36739 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
36740 do :
36741 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36742 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36743 eval as_val=\$$as_ac_var
36744 if test "x$as_val" = x""yes; then :
36745 cat >>confdefs.h <<_ACEOF
36746 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36747 _ACEOF
36750 done
36759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
36760 $as_echo_n "checking for long double round functions... " >&6; }
36761 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
36762 $as_echo_n "(cached) " >&6
36763 else
36766 ac_ext=cpp
36767 ac_cpp='$CXXCPP $CPPFLAGS'
36768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36773 /* end confdefs.h. */
36774 #include <math.h>
36776 main ()
36778 ceill (0); floorl (0);
36780 return 0;
36782 _ACEOF
36783 if ac_fn_cxx_try_compile "$LINENO"; then :
36784 glibcxx_cv_func_long_double_round_use=yes
36785 else
36786 glibcxx_cv_func_long_double_round_use=no
36788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36789 ac_ext=c
36790 ac_cpp='$CPP $CPPFLAGS'
36791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
36798 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
36799 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
36800 for ac_func in ceill floorl
36801 do :
36802 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36803 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36804 eval as_val=\$$as_ac_var
36805 if test "x$as_val" = x""yes; then :
36806 cat >>confdefs.h <<_ACEOF
36807 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36808 _ACEOF
36811 done
36813 else
36814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
36815 $as_echo_n "checking for _long double round functions... " >&6; }
36816 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
36817 $as_echo_n "(cached) " >&6
36818 else
36821 ac_ext=cpp
36822 ac_cpp='$CXXCPP $CPPFLAGS'
36823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36828 /* end confdefs.h. */
36829 #include <math.h>
36831 main ()
36833 _ceill (0); _floorl (0);
36835 return 0;
36837 _ACEOF
36838 if ac_fn_cxx_try_compile "$LINENO"; then :
36839 glibcxx_cv_func__long_double_round_use=yes
36840 else
36841 glibcxx_cv_func__long_double_round_use=no
36843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36844 ac_ext=c
36845 ac_cpp='$CPP $CPPFLAGS'
36846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
36853 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
36854 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
36855 for ac_func in _ceill _floorl
36856 do :
36857 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36858 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36859 eval as_val=\$$as_ac_var
36860 if test "x$as_val" = x""yes; then :
36861 cat >>confdefs.h <<_ACEOF
36862 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36863 _ACEOF
36866 done
36876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
36877 $as_echo_n "checking for isnanl declaration... " >&6; }
36878 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36879 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
36880 $as_echo_n "(cached) " >&6
36881 else
36884 ac_ext=cpp
36885 ac_cpp='$CXXCPP $CPPFLAGS'
36886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36891 /* end confdefs.h. */
36892 #include <math.h>
36893 #ifdef HAVE_IEEEFP_H
36894 #include <ieeefp.h>
36895 #endif
36898 main ()
36900 isnanl(0);
36902 return 0;
36904 _ACEOF
36905 if ac_fn_cxx_try_compile "$LINENO"; then :
36906 glibcxx_cv_func_isnanl_use=yes
36907 else
36908 glibcxx_cv_func_isnanl_use=no
36910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36911 ac_ext=c
36912 ac_cpp='$CPP $CPPFLAGS'
36913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36922 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36924 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36925 for ac_func in isnanl
36926 do :
36927 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36928 if test "x$ac_cv_func_isnanl" = x""yes; then :
36929 cat >>confdefs.h <<_ACEOF
36930 #define HAVE_ISNANL 1
36931 _ACEOF
36934 done
36936 else
36938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36939 $as_echo_n "checking for _isnanl declaration... " >&6; }
36940 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36941 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36942 $as_echo_n "(cached) " >&6
36943 else
36946 ac_ext=cpp
36947 ac_cpp='$CXXCPP $CPPFLAGS'
36948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36953 /* end confdefs.h. */
36954 #include <math.h>
36955 #ifdef HAVE_IEEEFP_H
36956 #include <ieeefp.h>
36957 #endif
36960 main ()
36962 _isnanl(0);
36964 return 0;
36966 _ACEOF
36967 if ac_fn_cxx_try_compile "$LINENO"; then :
36968 glibcxx_cv_func__isnanl_use=yes
36969 else
36970 glibcxx_cv_func__isnanl_use=no
36972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36973 ac_ext=c
36974 ac_cpp='$CPP $CPPFLAGS'
36975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36984 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36986 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36987 for ac_func in _isnanl
36988 do :
36989 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36990 if test "x$ac_cv_func__isnanl" = x""yes; then :
36991 cat >>confdefs.h <<_ACEOF
36992 #define HAVE__ISNANL 1
36993 _ACEOF
36996 done
37005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37006 $as_echo_n "checking for isinfl declaration... " >&6; }
37007 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37008 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37009 $as_echo_n "(cached) " >&6
37010 else
37013 ac_ext=cpp
37014 ac_cpp='$CXXCPP $CPPFLAGS'
37015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37020 /* end confdefs.h. */
37021 #include <math.h>
37022 #ifdef HAVE_IEEEFP_H
37023 #include <ieeefp.h>
37024 #endif
37027 main ()
37029 isinfl(0);
37031 return 0;
37033 _ACEOF
37034 if ac_fn_cxx_try_compile "$LINENO"; then :
37035 glibcxx_cv_func_isinfl_use=yes
37036 else
37037 glibcxx_cv_func_isinfl_use=no
37039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37040 ac_ext=c
37041 ac_cpp='$CPP $CPPFLAGS'
37042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37051 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37053 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37054 for ac_func in isinfl
37055 do :
37056 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37057 if test "x$ac_cv_func_isinfl" = x""yes; then :
37058 cat >>confdefs.h <<_ACEOF
37059 #define HAVE_ISINFL 1
37060 _ACEOF
37063 done
37065 else
37067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37068 $as_echo_n "checking for _isinfl declaration... " >&6; }
37069 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37070 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37071 $as_echo_n "(cached) " >&6
37072 else
37075 ac_ext=cpp
37076 ac_cpp='$CXXCPP $CPPFLAGS'
37077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37082 /* end confdefs.h. */
37083 #include <math.h>
37084 #ifdef HAVE_IEEEFP_H
37085 #include <ieeefp.h>
37086 #endif
37089 main ()
37091 _isinfl(0);
37093 return 0;
37095 _ACEOF
37096 if ac_fn_cxx_try_compile "$LINENO"; then :
37097 glibcxx_cv_func__isinfl_use=yes
37098 else
37099 glibcxx_cv_func__isinfl_use=no
37101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37102 ac_ext=c
37103 ac_cpp='$CPP $CPPFLAGS'
37104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37113 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37115 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37116 for ac_func in _isinfl
37117 do :
37118 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37119 if test "x$ac_cv_func__isinfl" = x""yes; then :
37120 cat >>confdefs.h <<_ACEOF
37121 #define HAVE__ISINFL 1
37122 _ACEOF
37125 done
37134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37135 $as_echo_n "checking for atan2l declaration... " >&6; }
37136 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37137 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37138 $as_echo_n "(cached) " >&6
37139 else
37142 ac_ext=cpp
37143 ac_cpp='$CXXCPP $CPPFLAGS'
37144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37149 /* end confdefs.h. */
37150 #include <math.h>
37152 main ()
37154 atan2l(0, 0);
37156 return 0;
37158 _ACEOF
37159 if ac_fn_cxx_try_compile "$LINENO"; then :
37160 glibcxx_cv_func_atan2l_use=yes
37161 else
37162 glibcxx_cv_func_atan2l_use=no
37164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37165 ac_ext=c
37166 ac_cpp='$CPP $CPPFLAGS'
37167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37176 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37178 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37179 for ac_func in atan2l
37180 do :
37181 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37182 if test "x$ac_cv_func_atan2l" = x""yes; then :
37183 cat >>confdefs.h <<_ACEOF
37184 #define HAVE_ATAN2L 1
37185 _ACEOF
37188 done
37190 else
37192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37193 $as_echo_n "checking for _atan2l declaration... " >&6; }
37194 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37195 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37196 $as_echo_n "(cached) " >&6
37197 else
37200 ac_ext=cpp
37201 ac_cpp='$CXXCPP $CPPFLAGS'
37202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37207 /* end confdefs.h. */
37208 #include <math.h>
37210 main ()
37212 _atan2l(0, 0);
37214 return 0;
37216 _ACEOF
37217 if ac_fn_cxx_try_compile "$LINENO"; then :
37218 glibcxx_cv_func__atan2l_use=yes
37219 else
37220 glibcxx_cv_func__atan2l_use=no
37222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37223 ac_ext=c
37224 ac_cpp='$CPP $CPPFLAGS'
37225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37234 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37236 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37237 for ac_func in _atan2l
37238 do :
37239 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37240 if test "x$ac_cv_func__atan2l" = x""yes; then :
37241 cat >>confdefs.h <<_ACEOF
37242 #define HAVE__ATAN2L 1
37243 _ACEOF
37246 done
37255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37256 $as_echo_n "checking for expl declaration... " >&6; }
37257 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37258 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37259 $as_echo_n "(cached) " >&6
37260 else
37263 ac_ext=cpp
37264 ac_cpp='$CXXCPP $CPPFLAGS'
37265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37270 /* end confdefs.h. */
37271 #include <math.h>
37272 #ifdef HAVE_IEEEFP_H
37273 #include <ieeefp.h>
37274 #endif
37277 main ()
37279 expl(0);
37281 return 0;
37283 _ACEOF
37284 if ac_fn_cxx_try_compile "$LINENO"; then :
37285 glibcxx_cv_func_expl_use=yes
37286 else
37287 glibcxx_cv_func_expl_use=no
37289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37290 ac_ext=c
37291 ac_cpp='$CPP $CPPFLAGS'
37292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37301 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37303 if test x$glibcxx_cv_func_expl_use = x"yes"; then
37304 for ac_func in expl
37305 do :
37306 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37307 if test "x$ac_cv_func_expl" = x""yes; then :
37308 cat >>confdefs.h <<_ACEOF
37309 #define HAVE_EXPL 1
37310 _ACEOF
37313 done
37315 else
37317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37318 $as_echo_n "checking for _expl declaration... " >&6; }
37319 if test x${glibcxx_cv_func__expl_use+set} != xset; then
37320 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37321 $as_echo_n "(cached) " >&6
37322 else
37325 ac_ext=cpp
37326 ac_cpp='$CXXCPP $CPPFLAGS'
37327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37332 /* end confdefs.h. */
37333 #include <math.h>
37334 #ifdef HAVE_IEEEFP_H
37335 #include <ieeefp.h>
37336 #endif
37339 main ()
37341 _expl(0);
37343 return 0;
37345 _ACEOF
37346 if ac_fn_cxx_try_compile "$LINENO"; then :
37347 glibcxx_cv_func__expl_use=yes
37348 else
37349 glibcxx_cv_func__expl_use=no
37351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37352 ac_ext=c
37353 ac_cpp='$CPP $CPPFLAGS'
37354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
37363 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
37365 if test x$glibcxx_cv_func__expl_use = x"yes"; then
37366 for ac_func in _expl
37367 do :
37368 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37369 if test "x$ac_cv_func__expl" = x""yes; then :
37370 cat >>confdefs.h <<_ACEOF
37371 #define HAVE__EXPL 1
37372 _ACEOF
37375 done
37384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
37385 $as_echo_n "checking for fabsl declaration... " >&6; }
37386 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37387 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
37388 $as_echo_n "(cached) " >&6
37389 else
37392 ac_ext=cpp
37393 ac_cpp='$CXXCPP $CPPFLAGS'
37394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37399 /* end confdefs.h. */
37400 #include <math.h>
37401 #ifdef HAVE_IEEEFP_H
37402 #include <ieeefp.h>
37403 #endif
37406 main ()
37408 fabsl(0);
37410 return 0;
37412 _ACEOF
37413 if ac_fn_cxx_try_compile "$LINENO"; then :
37414 glibcxx_cv_func_fabsl_use=yes
37415 else
37416 glibcxx_cv_func_fabsl_use=no
37418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37419 ac_ext=c
37420 ac_cpp='$CPP $CPPFLAGS'
37421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
37430 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
37432 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37433 for ac_func in fabsl
37434 do :
37435 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
37436 if test "x$ac_cv_func_fabsl" = x""yes; then :
37437 cat >>confdefs.h <<_ACEOF
37438 #define HAVE_FABSL 1
37439 _ACEOF
37442 done
37444 else
37446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
37447 $as_echo_n "checking for _fabsl declaration... " >&6; }
37448 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37449 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
37450 $as_echo_n "(cached) " >&6
37451 else
37454 ac_ext=cpp
37455 ac_cpp='$CXXCPP $CPPFLAGS'
37456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37461 /* end confdefs.h. */
37462 #include <math.h>
37463 #ifdef HAVE_IEEEFP_H
37464 #include <ieeefp.h>
37465 #endif
37468 main ()
37470 _fabsl(0);
37472 return 0;
37474 _ACEOF
37475 if ac_fn_cxx_try_compile "$LINENO"; then :
37476 glibcxx_cv_func__fabsl_use=yes
37477 else
37478 glibcxx_cv_func__fabsl_use=no
37480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37481 ac_ext=c
37482 ac_cpp='$CPP $CPPFLAGS'
37483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
37492 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
37494 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
37495 for ac_func in _fabsl
37496 do :
37497 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
37498 if test "x$ac_cv_func__fabsl" = x""yes; then :
37499 cat >>confdefs.h <<_ACEOF
37500 #define HAVE__FABSL 1
37501 _ACEOF
37504 done
37513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
37514 $as_echo_n "checking for fmodl declaration... " >&6; }
37515 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
37516 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
37517 $as_echo_n "(cached) " >&6
37518 else
37521 ac_ext=cpp
37522 ac_cpp='$CXXCPP $CPPFLAGS'
37523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37528 /* end confdefs.h. */
37529 #include <math.h>
37531 main ()
37533 fmodl(0, 0);
37535 return 0;
37537 _ACEOF
37538 if ac_fn_cxx_try_compile "$LINENO"; then :
37539 glibcxx_cv_func_fmodl_use=yes
37540 else
37541 glibcxx_cv_func_fmodl_use=no
37543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37544 ac_ext=c
37545 ac_cpp='$CPP $CPPFLAGS'
37546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
37555 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
37557 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
37558 for ac_func in fmodl
37559 do :
37560 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
37561 if test "x$ac_cv_func_fmodl" = x""yes; then :
37562 cat >>confdefs.h <<_ACEOF
37563 #define HAVE_FMODL 1
37564 _ACEOF
37567 done
37569 else
37571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
37572 $as_echo_n "checking for _fmodl declaration... " >&6; }
37573 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
37574 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
37575 $as_echo_n "(cached) " >&6
37576 else
37579 ac_ext=cpp
37580 ac_cpp='$CXXCPP $CPPFLAGS'
37581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37586 /* end confdefs.h. */
37587 #include <math.h>
37589 main ()
37591 _fmodl(0, 0);
37593 return 0;
37595 _ACEOF
37596 if ac_fn_cxx_try_compile "$LINENO"; then :
37597 glibcxx_cv_func__fmodl_use=yes
37598 else
37599 glibcxx_cv_func__fmodl_use=no
37601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37602 ac_ext=c
37603 ac_cpp='$CPP $CPPFLAGS'
37604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
37613 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
37615 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
37616 for ac_func in _fmodl
37617 do :
37618 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
37619 if test "x$ac_cv_func__fmodl" = x""yes; then :
37620 cat >>confdefs.h <<_ACEOF
37621 #define HAVE__FMODL 1
37622 _ACEOF
37625 done
37634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
37635 $as_echo_n "checking for frexpl declaration... " >&6; }
37636 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
37637 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
37638 $as_echo_n "(cached) " >&6
37639 else
37642 ac_ext=cpp
37643 ac_cpp='$CXXCPP $CPPFLAGS'
37644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37649 /* end confdefs.h. */
37650 #include <math.h>
37652 main ()
37654 frexpl(0, 0);
37656 return 0;
37658 _ACEOF
37659 if ac_fn_cxx_try_compile "$LINENO"; then :
37660 glibcxx_cv_func_frexpl_use=yes
37661 else
37662 glibcxx_cv_func_frexpl_use=no
37664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37665 ac_ext=c
37666 ac_cpp='$CPP $CPPFLAGS'
37667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
37676 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
37678 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
37679 for ac_func in frexpl
37680 do :
37681 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
37682 if test "x$ac_cv_func_frexpl" = x""yes; then :
37683 cat >>confdefs.h <<_ACEOF
37684 #define HAVE_FREXPL 1
37685 _ACEOF
37688 done
37690 else
37692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
37693 $as_echo_n "checking for _frexpl declaration... " >&6; }
37694 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
37695 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
37696 $as_echo_n "(cached) " >&6
37697 else
37700 ac_ext=cpp
37701 ac_cpp='$CXXCPP $CPPFLAGS'
37702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37707 /* end confdefs.h. */
37708 #include <math.h>
37710 main ()
37712 _frexpl(0, 0);
37714 return 0;
37716 _ACEOF
37717 if ac_fn_cxx_try_compile "$LINENO"; then :
37718 glibcxx_cv_func__frexpl_use=yes
37719 else
37720 glibcxx_cv_func__frexpl_use=no
37722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37723 ac_ext=c
37724 ac_cpp='$CPP $CPPFLAGS'
37725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
37734 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
37736 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
37737 for ac_func in _frexpl
37738 do :
37739 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
37740 if test "x$ac_cv_func__frexpl" = x""yes; then :
37741 cat >>confdefs.h <<_ACEOF
37742 #define HAVE__FREXPL 1
37743 _ACEOF
37746 done
37755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
37756 $as_echo_n "checking for hypotl declaration... " >&6; }
37757 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
37758 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
37759 $as_echo_n "(cached) " >&6
37760 else
37763 ac_ext=cpp
37764 ac_cpp='$CXXCPP $CPPFLAGS'
37765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37770 /* end confdefs.h. */
37771 #include <math.h>
37773 main ()
37775 hypotl(0, 0);
37777 return 0;
37779 _ACEOF
37780 if ac_fn_cxx_try_compile "$LINENO"; then :
37781 glibcxx_cv_func_hypotl_use=yes
37782 else
37783 glibcxx_cv_func_hypotl_use=no
37785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37786 ac_ext=c
37787 ac_cpp='$CPP $CPPFLAGS'
37788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
37797 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
37799 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
37800 for ac_func in hypotl
37801 do :
37802 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
37803 if test "x$ac_cv_func_hypotl" = x""yes; then :
37804 cat >>confdefs.h <<_ACEOF
37805 #define HAVE_HYPOTL 1
37806 _ACEOF
37809 done
37811 else
37813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
37814 $as_echo_n "checking for _hypotl declaration... " >&6; }
37815 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
37816 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
37817 $as_echo_n "(cached) " >&6
37818 else
37821 ac_ext=cpp
37822 ac_cpp='$CXXCPP $CPPFLAGS'
37823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37828 /* end confdefs.h. */
37829 #include <math.h>
37831 main ()
37833 _hypotl(0, 0);
37835 return 0;
37837 _ACEOF
37838 if ac_fn_cxx_try_compile "$LINENO"; then :
37839 glibcxx_cv_func__hypotl_use=yes
37840 else
37841 glibcxx_cv_func__hypotl_use=no
37843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37844 ac_ext=c
37845 ac_cpp='$CPP $CPPFLAGS'
37846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
37855 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
37857 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37858 for ac_func in _hypotl
37859 do :
37860 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
37861 if test "x$ac_cv_func__hypotl" = x""yes; then :
37862 cat >>confdefs.h <<_ACEOF
37863 #define HAVE__HYPOTL 1
37864 _ACEOF
37867 done
37876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
37877 $as_echo_n "checking for ldexpl declaration... " >&6; }
37878 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37879 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
37880 $as_echo_n "(cached) " >&6
37881 else
37884 ac_ext=cpp
37885 ac_cpp='$CXXCPP $CPPFLAGS'
37886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37891 /* end confdefs.h. */
37892 #include <math.h>
37894 main ()
37896 ldexpl(0, 0);
37898 return 0;
37900 _ACEOF
37901 if ac_fn_cxx_try_compile "$LINENO"; then :
37902 glibcxx_cv_func_ldexpl_use=yes
37903 else
37904 glibcxx_cv_func_ldexpl_use=no
37906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37907 ac_ext=c
37908 ac_cpp='$CPP $CPPFLAGS'
37909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37918 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37920 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37921 for ac_func in ldexpl
37922 do :
37923 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37924 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37925 cat >>confdefs.h <<_ACEOF
37926 #define HAVE_LDEXPL 1
37927 _ACEOF
37930 done
37932 else
37934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37935 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37936 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37937 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37938 $as_echo_n "(cached) " >&6
37939 else
37942 ac_ext=cpp
37943 ac_cpp='$CXXCPP $CPPFLAGS'
37944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37949 /* end confdefs.h. */
37950 #include <math.h>
37952 main ()
37954 _ldexpl(0, 0);
37956 return 0;
37958 _ACEOF
37959 if ac_fn_cxx_try_compile "$LINENO"; then :
37960 glibcxx_cv_func__ldexpl_use=yes
37961 else
37962 glibcxx_cv_func__ldexpl_use=no
37964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37965 ac_ext=c
37966 ac_cpp='$CPP $CPPFLAGS'
37967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37976 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37978 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37979 for ac_func in _ldexpl
37980 do :
37981 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37982 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37983 cat >>confdefs.h <<_ACEOF
37984 #define HAVE__LDEXPL 1
37985 _ACEOF
37988 done
37997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37998 $as_echo_n "checking for logl declaration... " >&6; }
37999 if test x${glibcxx_cv_func_logl_use+set} != xset; then
38000 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38001 $as_echo_n "(cached) " >&6
38002 else
38005 ac_ext=cpp
38006 ac_cpp='$CXXCPP $CPPFLAGS'
38007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38012 /* end confdefs.h. */
38013 #include <math.h>
38014 #ifdef HAVE_IEEEFP_H
38015 #include <ieeefp.h>
38016 #endif
38019 main ()
38021 logl(0);
38023 return 0;
38025 _ACEOF
38026 if ac_fn_cxx_try_compile "$LINENO"; then :
38027 glibcxx_cv_func_logl_use=yes
38028 else
38029 glibcxx_cv_func_logl_use=no
38031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38032 ac_ext=c
38033 ac_cpp='$CPP $CPPFLAGS'
38034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38043 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38045 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38046 for ac_func in logl
38047 do :
38048 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38049 if test "x$ac_cv_func_logl" = x""yes; then :
38050 cat >>confdefs.h <<_ACEOF
38051 #define HAVE_LOGL 1
38052 _ACEOF
38055 done
38057 else
38059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38060 $as_echo_n "checking for _logl declaration... " >&6; }
38061 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38062 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38063 $as_echo_n "(cached) " >&6
38064 else
38067 ac_ext=cpp
38068 ac_cpp='$CXXCPP $CPPFLAGS'
38069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38074 /* end confdefs.h. */
38075 #include <math.h>
38076 #ifdef HAVE_IEEEFP_H
38077 #include <ieeefp.h>
38078 #endif
38081 main ()
38083 _logl(0);
38085 return 0;
38087 _ACEOF
38088 if ac_fn_cxx_try_compile "$LINENO"; then :
38089 glibcxx_cv_func__logl_use=yes
38090 else
38091 glibcxx_cv_func__logl_use=no
38093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38094 ac_ext=c
38095 ac_cpp='$CPP $CPPFLAGS'
38096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38105 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38107 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38108 for ac_func in _logl
38109 do :
38110 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38111 if test "x$ac_cv_func__logl" = x""yes; then :
38112 cat >>confdefs.h <<_ACEOF
38113 #define HAVE__LOGL 1
38114 _ACEOF
38117 done
38126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38127 $as_echo_n "checking for log10l declaration... " >&6; }
38128 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38129 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38130 $as_echo_n "(cached) " >&6
38131 else
38134 ac_ext=cpp
38135 ac_cpp='$CXXCPP $CPPFLAGS'
38136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38141 /* end confdefs.h. */
38142 #include <math.h>
38143 #ifdef HAVE_IEEEFP_H
38144 #include <ieeefp.h>
38145 #endif
38148 main ()
38150 log10l(0);
38152 return 0;
38154 _ACEOF
38155 if ac_fn_cxx_try_compile "$LINENO"; then :
38156 glibcxx_cv_func_log10l_use=yes
38157 else
38158 glibcxx_cv_func_log10l_use=no
38160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38161 ac_ext=c
38162 ac_cpp='$CPP $CPPFLAGS'
38163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38172 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38174 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38175 for ac_func in log10l
38176 do :
38177 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38178 if test "x$ac_cv_func_log10l" = x""yes; then :
38179 cat >>confdefs.h <<_ACEOF
38180 #define HAVE_LOG10L 1
38181 _ACEOF
38184 done
38186 else
38188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38189 $as_echo_n "checking for _log10l declaration... " >&6; }
38190 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38191 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38192 $as_echo_n "(cached) " >&6
38193 else
38196 ac_ext=cpp
38197 ac_cpp='$CXXCPP $CPPFLAGS'
38198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38203 /* end confdefs.h. */
38204 #include <math.h>
38205 #ifdef HAVE_IEEEFP_H
38206 #include <ieeefp.h>
38207 #endif
38210 main ()
38212 _log10l(0);
38214 return 0;
38216 _ACEOF
38217 if ac_fn_cxx_try_compile "$LINENO"; then :
38218 glibcxx_cv_func__log10l_use=yes
38219 else
38220 glibcxx_cv_func__log10l_use=no
38222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38223 ac_ext=c
38224 ac_cpp='$CPP $CPPFLAGS'
38225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38234 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38236 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38237 for ac_func in _log10l
38238 do :
38239 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38240 if test "x$ac_cv_func__log10l" = x""yes; then :
38241 cat >>confdefs.h <<_ACEOF
38242 #define HAVE__LOG10L 1
38243 _ACEOF
38246 done
38255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38256 $as_echo_n "checking for modfl declaration... " >&6; }
38257 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38258 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38259 $as_echo_n "(cached) " >&6
38260 else
38263 ac_ext=cpp
38264 ac_cpp='$CXXCPP $CPPFLAGS'
38265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38270 /* end confdefs.h. */
38271 #include <math.h>
38273 main ()
38275 modfl(0, 0);
38277 return 0;
38279 _ACEOF
38280 if ac_fn_cxx_try_compile "$LINENO"; then :
38281 glibcxx_cv_func_modfl_use=yes
38282 else
38283 glibcxx_cv_func_modfl_use=no
38285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38286 ac_ext=c
38287 ac_cpp='$CPP $CPPFLAGS'
38288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38297 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38299 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38300 for ac_func in modfl
38301 do :
38302 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38303 if test "x$ac_cv_func_modfl" = x""yes; then :
38304 cat >>confdefs.h <<_ACEOF
38305 #define HAVE_MODFL 1
38306 _ACEOF
38309 done
38311 else
38313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38314 $as_echo_n "checking for _modfl declaration... " >&6; }
38315 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38316 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38317 $as_echo_n "(cached) " >&6
38318 else
38321 ac_ext=cpp
38322 ac_cpp='$CXXCPP $CPPFLAGS'
38323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38328 /* end confdefs.h. */
38329 #include <math.h>
38331 main ()
38333 _modfl(0, 0);
38335 return 0;
38337 _ACEOF
38338 if ac_fn_cxx_try_compile "$LINENO"; then :
38339 glibcxx_cv_func__modfl_use=yes
38340 else
38341 glibcxx_cv_func__modfl_use=no
38343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38344 ac_ext=c
38345 ac_cpp='$CPP $CPPFLAGS'
38346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38355 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38357 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38358 for ac_func in _modfl
38359 do :
38360 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38361 if test "x$ac_cv_func__modfl" = x""yes; then :
38362 cat >>confdefs.h <<_ACEOF
38363 #define HAVE__MODFL 1
38364 _ACEOF
38367 done
38376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38377 $as_echo_n "checking for powl declaration... " >&6; }
38378 if test x${glibcxx_cv_func_powl_use+set} != xset; then
38379 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38380 $as_echo_n "(cached) " >&6
38381 else
38384 ac_ext=cpp
38385 ac_cpp='$CXXCPP $CPPFLAGS'
38386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38391 /* end confdefs.h. */
38392 #include <math.h>
38394 main ()
38396 powl(0, 0);
38398 return 0;
38400 _ACEOF
38401 if ac_fn_cxx_try_compile "$LINENO"; then :
38402 glibcxx_cv_func_powl_use=yes
38403 else
38404 glibcxx_cv_func_powl_use=no
38406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38407 ac_ext=c
38408 ac_cpp='$CPP $CPPFLAGS'
38409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
38418 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
38420 if test x$glibcxx_cv_func_powl_use = x"yes"; then
38421 for ac_func in powl
38422 do :
38423 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
38424 if test "x$ac_cv_func_powl" = x""yes; then :
38425 cat >>confdefs.h <<_ACEOF
38426 #define HAVE_POWL 1
38427 _ACEOF
38430 done
38432 else
38434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
38435 $as_echo_n "checking for _powl declaration... " >&6; }
38436 if test x${glibcxx_cv_func__powl_use+set} != xset; then
38437 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
38438 $as_echo_n "(cached) " >&6
38439 else
38442 ac_ext=cpp
38443 ac_cpp='$CXXCPP $CPPFLAGS'
38444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38449 /* end confdefs.h. */
38450 #include <math.h>
38452 main ()
38454 _powl(0, 0);
38456 return 0;
38458 _ACEOF
38459 if ac_fn_cxx_try_compile "$LINENO"; then :
38460 glibcxx_cv_func__powl_use=yes
38461 else
38462 glibcxx_cv_func__powl_use=no
38464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38465 ac_ext=c
38466 ac_cpp='$CPP $CPPFLAGS'
38467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
38476 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
38478 if test x$glibcxx_cv_func__powl_use = x"yes"; then
38479 for ac_func in _powl
38480 do :
38481 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
38482 if test "x$ac_cv_func__powl" = x""yes; then :
38483 cat >>confdefs.h <<_ACEOF
38484 #define HAVE__POWL 1
38485 _ACEOF
38488 done
38497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
38498 $as_echo_n "checking for sqrtl declaration... " >&6; }
38499 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
38500 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
38501 $as_echo_n "(cached) " >&6
38502 else
38505 ac_ext=cpp
38506 ac_cpp='$CXXCPP $CPPFLAGS'
38507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38512 /* end confdefs.h. */
38513 #include <math.h>
38514 #ifdef HAVE_IEEEFP_H
38515 #include <ieeefp.h>
38516 #endif
38519 main ()
38521 sqrtl(0);
38523 return 0;
38525 _ACEOF
38526 if ac_fn_cxx_try_compile "$LINENO"; then :
38527 glibcxx_cv_func_sqrtl_use=yes
38528 else
38529 glibcxx_cv_func_sqrtl_use=no
38531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38532 ac_ext=c
38533 ac_cpp='$CPP $CPPFLAGS'
38534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
38543 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
38545 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
38546 for ac_func in sqrtl
38547 do :
38548 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
38549 if test "x$ac_cv_func_sqrtl" = x""yes; then :
38550 cat >>confdefs.h <<_ACEOF
38551 #define HAVE_SQRTL 1
38552 _ACEOF
38555 done
38557 else
38559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
38560 $as_echo_n "checking for _sqrtl declaration... " >&6; }
38561 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
38562 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
38563 $as_echo_n "(cached) " >&6
38564 else
38567 ac_ext=cpp
38568 ac_cpp='$CXXCPP $CPPFLAGS'
38569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38574 /* end confdefs.h. */
38575 #include <math.h>
38576 #ifdef HAVE_IEEEFP_H
38577 #include <ieeefp.h>
38578 #endif
38581 main ()
38583 _sqrtl(0);
38585 return 0;
38587 _ACEOF
38588 if ac_fn_cxx_try_compile "$LINENO"; then :
38589 glibcxx_cv_func__sqrtl_use=yes
38590 else
38591 glibcxx_cv_func__sqrtl_use=no
38593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38594 ac_ext=c
38595 ac_cpp='$CPP $CPPFLAGS'
38596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
38605 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
38607 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
38608 for ac_func in _sqrtl
38609 do :
38610 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
38611 if test "x$ac_cv_func__sqrtl" = x""yes; then :
38612 cat >>confdefs.h <<_ACEOF
38613 #define HAVE__SQRTL 1
38614 _ACEOF
38617 done
38626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
38627 $as_echo_n "checking for sincosl declaration... " >&6; }
38628 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
38629 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
38630 $as_echo_n "(cached) " >&6
38631 else
38634 ac_ext=cpp
38635 ac_cpp='$CXXCPP $CPPFLAGS'
38636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38641 /* end confdefs.h. */
38642 #include <math.h>
38644 main ()
38646 sincosl(0, 0, 0);
38648 return 0;
38650 _ACEOF
38651 if ac_fn_cxx_try_compile "$LINENO"; then :
38652 glibcxx_cv_func_sincosl_use=yes
38653 else
38654 glibcxx_cv_func_sincosl_use=no
38656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38657 ac_ext=c
38658 ac_cpp='$CPP $CPPFLAGS'
38659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
38668 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
38670 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
38671 for ac_func in sincosl
38672 do :
38673 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
38674 if test "x$ac_cv_func_sincosl" = x""yes; then :
38675 cat >>confdefs.h <<_ACEOF
38676 #define HAVE_SINCOSL 1
38677 _ACEOF
38680 done
38682 else
38684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
38685 $as_echo_n "checking for _sincosl declaration... " >&6; }
38686 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
38687 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
38688 $as_echo_n "(cached) " >&6
38689 else
38692 ac_ext=cpp
38693 ac_cpp='$CXXCPP $CPPFLAGS'
38694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38699 /* end confdefs.h. */
38700 #include <math.h>
38702 main ()
38704 _sincosl(0, 0, 0);
38706 return 0;
38708 _ACEOF
38709 if ac_fn_cxx_try_compile "$LINENO"; then :
38710 glibcxx_cv_func__sincosl_use=yes
38711 else
38712 glibcxx_cv_func__sincosl_use=no
38714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38715 ac_ext=c
38716 ac_cpp='$CPP $CPPFLAGS'
38717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
38726 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
38728 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
38729 for ac_func in _sincosl
38730 do :
38731 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
38732 if test "x$ac_cv_func__sincosl" = x""yes; then :
38733 cat >>confdefs.h <<_ACEOF
38734 #define HAVE__SINCOSL 1
38735 _ACEOF
38738 done
38747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
38748 $as_echo_n "checking for finitel declaration... " >&6; }
38749 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
38750 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
38751 $as_echo_n "(cached) " >&6
38752 else
38755 ac_ext=cpp
38756 ac_cpp='$CXXCPP $CPPFLAGS'
38757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38762 /* end confdefs.h. */
38763 #include <math.h>
38764 #ifdef HAVE_IEEEFP_H
38765 #include <ieeefp.h>
38766 #endif
38769 main ()
38771 finitel(0);
38773 return 0;
38775 _ACEOF
38776 if ac_fn_cxx_try_compile "$LINENO"; then :
38777 glibcxx_cv_func_finitel_use=yes
38778 else
38779 glibcxx_cv_func_finitel_use=no
38781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38782 ac_ext=c
38783 ac_cpp='$CPP $CPPFLAGS'
38784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
38793 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
38795 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
38796 for ac_func in finitel
38797 do :
38798 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
38799 if test "x$ac_cv_func_finitel" = x""yes; then :
38800 cat >>confdefs.h <<_ACEOF
38801 #define HAVE_FINITEL 1
38802 _ACEOF
38805 done
38807 else
38809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
38810 $as_echo_n "checking for _finitel declaration... " >&6; }
38811 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
38812 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
38813 $as_echo_n "(cached) " >&6
38814 else
38817 ac_ext=cpp
38818 ac_cpp='$CXXCPP $CPPFLAGS'
38819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38824 /* end confdefs.h. */
38825 #include <math.h>
38826 #ifdef HAVE_IEEEFP_H
38827 #include <ieeefp.h>
38828 #endif
38831 main ()
38833 _finitel(0);
38835 return 0;
38837 _ACEOF
38838 if ac_fn_cxx_try_compile "$LINENO"; then :
38839 glibcxx_cv_func__finitel_use=yes
38840 else
38841 glibcxx_cv_func__finitel_use=no
38843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38844 ac_ext=c
38845 ac_cpp='$CPP $CPPFLAGS'
38846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
38855 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
38857 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
38858 for ac_func in _finitel
38859 do :
38860 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
38861 if test "x$ac_cv_func__finitel" = x""yes; then :
38862 cat >>confdefs.h <<_ACEOF
38863 #define HAVE__FINITEL 1
38864 _ACEOF
38867 done
38875 LIBS="$ac_save_LIBS"
38876 CXXFLAGS="$ac_save_CXXFLAGS"
38879 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38880 ac_save_CXXFLAGS="$CXXFLAGS"
38881 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
38885 $as_echo_n "checking for strtold declaration... " >&6; }
38886 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38887 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
38888 $as_echo_n "(cached) " >&6
38889 else
38892 ac_ext=cpp
38893 ac_cpp='$CXXCPP $CPPFLAGS'
38894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38899 /* end confdefs.h. */
38900 #include <stdlib.h>
38902 main ()
38904 strtold(0, 0);
38906 return 0;
38908 _ACEOF
38909 if ac_fn_cxx_try_compile "$LINENO"; then :
38910 glibcxx_cv_func_strtold_use=yes
38911 else
38912 glibcxx_cv_func_strtold_use=no
38914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38915 ac_ext=c
38916 ac_cpp='$CPP $CPPFLAGS'
38917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38926 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38927 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38928 for ac_func in strtold
38929 do :
38930 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38931 if test "x$ac_cv_func_strtold" = x""yes; then :
38932 cat >>confdefs.h <<_ACEOF
38933 #define HAVE_STRTOLD 1
38934 _ACEOF
38937 done
38944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38945 $as_echo_n "checking for strtof declaration... " >&6; }
38946 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38947 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38948 $as_echo_n "(cached) " >&6
38949 else
38952 ac_ext=cpp
38953 ac_cpp='$CXXCPP $CPPFLAGS'
38954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38959 /* end confdefs.h. */
38960 #include <stdlib.h>
38962 main ()
38964 strtof(0, 0);
38966 return 0;
38968 _ACEOF
38969 if ac_fn_cxx_try_compile "$LINENO"; then :
38970 glibcxx_cv_func_strtof_use=yes
38971 else
38972 glibcxx_cv_func_strtof_use=no
38974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38975 ac_ext=c
38976 ac_cpp='$CPP $CPPFLAGS'
38977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38986 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38987 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38988 for ac_func in strtof
38989 do :
38990 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38991 if test "x$ac_cv_func_strtof" = x""yes; then :
38992 cat >>confdefs.h <<_ACEOF
38993 #define HAVE_STRTOF 1
38994 _ACEOF
38997 done
39004 CXXFLAGS="$ac_save_CXXFLAGS"
39006 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
39008 # We don't yet support AIX's TLS ABI.
39009 #GCC_CHECK_TLS
39015 am_save_CPPFLAGS="$CPPFLAGS"
39017 for element in $INCICONV; do
39018 haveit=
39019 for x in $CPPFLAGS; do
39021 acl_save_prefix="$prefix"
39022 prefix="$acl_final_prefix"
39023 acl_save_exec_prefix="$exec_prefix"
39024 exec_prefix="$acl_final_exec_prefix"
39025 eval x=\"$x\"
39026 exec_prefix="$acl_save_exec_prefix"
39027 prefix="$acl_save_prefix"
39029 if test "X$x" = "X$element"; then
39030 haveit=yes
39031 break
39033 done
39034 if test -z "$haveit"; then
39035 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39037 done
39040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39041 $as_echo_n "checking for iconv... " >&6; }
39042 if test "${am_cv_func_iconv+set}" = set; then :
39043 $as_echo_n "(cached) " >&6
39044 else
39046 am_cv_func_iconv="no, consider installing GNU libiconv"
39047 am_cv_lib_iconv=no
39048 if test x$gcc_no_link = xyes; then
39049 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39052 /* end confdefs.h. */
39053 #include <stdlib.h>
39054 #include <iconv.h>
39056 main ()
39058 iconv_t cd = iconv_open("","");
39059 iconv(cd,NULL,NULL,NULL,NULL);
39060 iconv_close(cd);
39062 return 0;
39064 _ACEOF
39065 if ac_fn_c_try_link "$LINENO"; then :
39066 am_cv_func_iconv=yes
39068 rm -f core conftest.err conftest.$ac_objext \
39069 conftest$ac_exeext conftest.$ac_ext
39070 if test "$am_cv_func_iconv" != yes; then
39071 am_save_LIBS="$LIBS"
39072 LIBS="$LIBS $LIBICONV"
39073 if test x$gcc_no_link = xyes; then
39074 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39077 /* end confdefs.h. */
39078 #include <stdlib.h>
39079 #include <iconv.h>
39081 main ()
39083 iconv_t cd = iconv_open("","");
39084 iconv(cd,NULL,NULL,NULL,NULL);
39085 iconv_close(cd);
39087 return 0;
39089 _ACEOF
39090 if ac_fn_c_try_link "$LINENO"; then :
39091 am_cv_lib_iconv=yes
39092 am_cv_func_iconv=yes
39094 rm -f core conftest.err conftest.$ac_objext \
39095 conftest$ac_exeext conftest.$ac_ext
39096 LIBS="$am_save_LIBS"
39100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39101 $as_echo "$am_cv_func_iconv" >&6; }
39102 if test "$am_cv_func_iconv" = yes; then
39104 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39107 if test "$am_cv_lib_iconv" = yes; then
39108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39109 $as_echo_n "checking how to link with libiconv... " >&6; }
39110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39111 $as_echo "$LIBICONV" >&6; }
39112 else
39113 CPPFLAGS="$am_save_CPPFLAGS"
39114 LIBICONV=
39115 LTLIBICONV=
39120 if test "$am_cv_func_iconv" = yes; then
39121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39122 $as_echo_n "checking for iconv declaration... " >&6; }
39123 if test "${am_cv_proto_iconv+set}" = set; then :
39124 $as_echo_n "(cached) " >&6
39125 else
39127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39128 /* end confdefs.h. */
39130 #include <stdlib.h>
39131 #include <iconv.h>
39132 extern
39133 #ifdef __cplusplus
39135 #endif
39136 #if defined(__STDC__) || defined(__cplusplus)
39137 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39138 #else
39139 size_t iconv();
39140 #endif
39143 main ()
39147 return 0;
39149 _ACEOF
39150 if ac_fn_c_try_compile "$LINENO"; then :
39151 am_cv_proto_iconv_arg1=""
39152 else
39153 am_cv_proto_iconv_arg1="const"
39155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39156 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);"
39159 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39161 }$am_cv_proto_iconv" >&5
39162 $as_echo "${ac_t:-
39163 }$am_cv_proto_iconv" >&6; }
39165 cat >>confdefs.h <<_ACEOF
39166 #define ICONV_CONST $am_cv_proto_iconv_arg1
39167 _ACEOF
39173 *-darwin*)
39174 # Darwin versions vary, but the linker should work in a cross environment,
39175 # so we just check for all the features here.
39176 # Check for available headers.
39178 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
39180 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39181 ac_save_CXXFLAGS="$CXXFLAGS"
39182 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
39185 $as_echo_n "checking for sin in -lm... " >&6; }
39186 if test "${ac_cv_lib_m_sin+set}" = set; then :
39187 $as_echo_n "(cached) " >&6
39188 else
39189 ac_check_lib_save_LIBS=$LIBS
39190 LIBS="-lm $LIBS"
39191 if test x$gcc_no_link = xyes; then
39192 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39195 /* end confdefs.h. */
39197 /* Override any GCC internal prototype to avoid an error.
39198 Use char because int might match the return type of a GCC
39199 builtin and then its argument prototype would still apply. */
39200 #ifdef __cplusplus
39201 extern "C"
39202 #endif
39203 char sin ();
39205 main ()
39207 return sin ();
39209 return 0;
39211 _ACEOF
39212 if ac_fn_c_try_link "$LINENO"; then :
39213 ac_cv_lib_m_sin=yes
39214 else
39215 ac_cv_lib_m_sin=no
39217 rm -f core conftest.err conftest.$ac_objext \
39218 conftest$ac_exeext conftest.$ac_ext
39219 LIBS=$ac_check_lib_save_LIBS
39221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
39222 $as_echo "$ac_cv_lib_m_sin" >&6; }
39223 if test "x$ac_cv_lib_m_sin" = x""yes; then :
39224 libm="-lm"
39227 ac_save_LIBS="$LIBS"
39228 LIBS="$LIBS $libm"
39232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
39233 $as_echo_n "checking for isinf declaration... " >&6; }
39234 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
39235 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
39236 $as_echo_n "(cached) " >&6
39237 else
39240 ac_ext=cpp
39241 ac_cpp='$CXXCPP $CPPFLAGS'
39242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39247 /* end confdefs.h. */
39248 #include <math.h>
39249 #ifdef HAVE_IEEEFP_H
39250 #include <ieeefp.h>
39251 #endif
39254 main ()
39256 isinf(0);
39258 return 0;
39260 _ACEOF
39261 if ac_fn_cxx_try_compile "$LINENO"; then :
39262 glibcxx_cv_func_isinf_use=yes
39263 else
39264 glibcxx_cv_func_isinf_use=no
39266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39267 ac_ext=c
39268 ac_cpp='$CPP $CPPFLAGS'
39269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
39278 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
39280 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
39281 for ac_func in isinf
39282 do :
39283 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
39284 if test "x$ac_cv_func_isinf" = x""yes; then :
39285 cat >>confdefs.h <<_ACEOF
39286 #define HAVE_ISINF 1
39287 _ACEOF
39290 done
39292 else
39294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
39295 $as_echo_n "checking for _isinf declaration... " >&6; }
39296 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
39297 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
39298 $as_echo_n "(cached) " >&6
39299 else
39302 ac_ext=cpp
39303 ac_cpp='$CXXCPP $CPPFLAGS'
39304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39309 /* end confdefs.h. */
39310 #include <math.h>
39311 #ifdef HAVE_IEEEFP_H
39312 #include <ieeefp.h>
39313 #endif
39316 main ()
39318 _isinf(0);
39320 return 0;
39322 _ACEOF
39323 if ac_fn_cxx_try_compile "$LINENO"; then :
39324 glibcxx_cv_func__isinf_use=yes
39325 else
39326 glibcxx_cv_func__isinf_use=no
39328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39329 ac_ext=c
39330 ac_cpp='$CPP $CPPFLAGS'
39331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
39340 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
39342 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
39343 for ac_func in _isinf
39344 do :
39345 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
39346 if test "x$ac_cv_func__isinf" = x""yes; then :
39347 cat >>confdefs.h <<_ACEOF
39348 #define HAVE__ISINF 1
39349 _ACEOF
39352 done
39361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
39362 $as_echo_n "checking for isnan declaration... " >&6; }
39363 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
39364 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
39365 $as_echo_n "(cached) " >&6
39366 else
39369 ac_ext=cpp
39370 ac_cpp='$CXXCPP $CPPFLAGS'
39371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39376 /* end confdefs.h. */
39377 #include <math.h>
39378 #ifdef HAVE_IEEEFP_H
39379 #include <ieeefp.h>
39380 #endif
39383 main ()
39385 isnan(0);
39387 return 0;
39389 _ACEOF
39390 if ac_fn_cxx_try_compile "$LINENO"; then :
39391 glibcxx_cv_func_isnan_use=yes
39392 else
39393 glibcxx_cv_func_isnan_use=no
39395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39396 ac_ext=c
39397 ac_cpp='$CPP $CPPFLAGS'
39398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
39407 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
39409 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
39410 for ac_func in isnan
39411 do :
39412 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
39413 if test "x$ac_cv_func_isnan" = x""yes; then :
39414 cat >>confdefs.h <<_ACEOF
39415 #define HAVE_ISNAN 1
39416 _ACEOF
39419 done
39421 else
39423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
39424 $as_echo_n "checking for _isnan declaration... " >&6; }
39425 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
39426 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
39427 $as_echo_n "(cached) " >&6
39428 else
39431 ac_ext=cpp
39432 ac_cpp='$CXXCPP $CPPFLAGS'
39433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39438 /* end confdefs.h. */
39439 #include <math.h>
39440 #ifdef HAVE_IEEEFP_H
39441 #include <ieeefp.h>
39442 #endif
39445 main ()
39447 _isnan(0);
39449 return 0;
39451 _ACEOF
39452 if ac_fn_cxx_try_compile "$LINENO"; then :
39453 glibcxx_cv_func__isnan_use=yes
39454 else
39455 glibcxx_cv_func__isnan_use=no
39457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39458 ac_ext=c
39459 ac_cpp='$CPP $CPPFLAGS'
39460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
39469 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
39471 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
39472 for ac_func in _isnan
39473 do :
39474 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
39475 if test "x$ac_cv_func__isnan" = x""yes; then :
39476 cat >>confdefs.h <<_ACEOF
39477 #define HAVE__ISNAN 1
39478 _ACEOF
39481 done
39490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
39491 $as_echo_n "checking for finite declaration... " >&6; }
39492 if test x${glibcxx_cv_func_finite_use+set} != xset; then
39493 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
39494 $as_echo_n "(cached) " >&6
39495 else
39498 ac_ext=cpp
39499 ac_cpp='$CXXCPP $CPPFLAGS'
39500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39505 /* end confdefs.h. */
39506 #include <math.h>
39507 #ifdef HAVE_IEEEFP_H
39508 #include <ieeefp.h>
39509 #endif
39512 main ()
39514 finite(0);
39516 return 0;
39518 _ACEOF
39519 if ac_fn_cxx_try_compile "$LINENO"; then :
39520 glibcxx_cv_func_finite_use=yes
39521 else
39522 glibcxx_cv_func_finite_use=no
39524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39525 ac_ext=c
39526 ac_cpp='$CPP $CPPFLAGS'
39527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
39536 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
39538 if test x$glibcxx_cv_func_finite_use = x"yes"; then
39539 for ac_func in finite
39540 do :
39541 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
39542 if test "x$ac_cv_func_finite" = x""yes; then :
39543 cat >>confdefs.h <<_ACEOF
39544 #define HAVE_FINITE 1
39545 _ACEOF
39548 done
39550 else
39552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
39553 $as_echo_n "checking for _finite declaration... " >&6; }
39554 if test x${glibcxx_cv_func__finite_use+set} != xset; then
39555 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
39556 $as_echo_n "(cached) " >&6
39557 else
39560 ac_ext=cpp
39561 ac_cpp='$CXXCPP $CPPFLAGS'
39562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39567 /* end confdefs.h. */
39568 #include <math.h>
39569 #ifdef HAVE_IEEEFP_H
39570 #include <ieeefp.h>
39571 #endif
39574 main ()
39576 _finite(0);
39578 return 0;
39580 _ACEOF
39581 if ac_fn_cxx_try_compile "$LINENO"; then :
39582 glibcxx_cv_func__finite_use=yes
39583 else
39584 glibcxx_cv_func__finite_use=no
39586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39587 ac_ext=c
39588 ac_cpp='$CPP $CPPFLAGS'
39589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
39598 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
39600 if test x$glibcxx_cv_func__finite_use = x"yes"; then
39601 for ac_func in _finite
39602 do :
39603 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
39604 if test "x$ac_cv_func__finite" = x""yes; then :
39605 cat >>confdefs.h <<_ACEOF
39606 #define HAVE__FINITE 1
39607 _ACEOF
39610 done
39619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
39620 $as_echo_n "checking for sincos declaration... " >&6; }
39621 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
39622 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
39623 $as_echo_n "(cached) " >&6
39624 else
39627 ac_ext=cpp
39628 ac_cpp='$CXXCPP $CPPFLAGS'
39629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39634 /* end confdefs.h. */
39635 #include <math.h>
39637 main ()
39639 sincos(0, 0, 0);
39641 return 0;
39643 _ACEOF
39644 if ac_fn_cxx_try_compile "$LINENO"; then :
39645 glibcxx_cv_func_sincos_use=yes
39646 else
39647 glibcxx_cv_func_sincos_use=no
39649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39650 ac_ext=c
39651 ac_cpp='$CPP $CPPFLAGS'
39652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
39661 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
39663 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
39664 for ac_func in sincos
39665 do :
39666 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
39667 if test "x$ac_cv_func_sincos" = x""yes; then :
39668 cat >>confdefs.h <<_ACEOF
39669 #define HAVE_SINCOS 1
39670 _ACEOF
39673 done
39675 else
39677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
39678 $as_echo_n "checking for _sincos declaration... " >&6; }
39679 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
39680 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
39681 $as_echo_n "(cached) " >&6
39682 else
39685 ac_ext=cpp
39686 ac_cpp='$CXXCPP $CPPFLAGS'
39687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39692 /* end confdefs.h. */
39693 #include <math.h>
39695 main ()
39697 _sincos(0, 0, 0);
39699 return 0;
39701 _ACEOF
39702 if ac_fn_cxx_try_compile "$LINENO"; then :
39703 glibcxx_cv_func__sincos_use=yes
39704 else
39705 glibcxx_cv_func__sincos_use=no
39707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39708 ac_ext=c
39709 ac_cpp='$CPP $CPPFLAGS'
39710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
39719 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
39721 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
39722 for ac_func in _sincos
39723 do :
39724 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
39725 if test "x$ac_cv_func__sincos" = x""yes; then :
39726 cat >>confdefs.h <<_ACEOF
39727 #define HAVE__SINCOS 1
39728 _ACEOF
39731 done
39740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
39741 $as_echo_n "checking for fpclass declaration... " >&6; }
39742 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
39743 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
39744 $as_echo_n "(cached) " >&6
39745 else
39748 ac_ext=cpp
39749 ac_cpp='$CXXCPP $CPPFLAGS'
39750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39755 /* end confdefs.h. */
39756 #include <math.h>
39757 #ifdef HAVE_IEEEFP_H
39758 #include <ieeefp.h>
39759 #endif
39762 main ()
39764 fpclass(0);
39766 return 0;
39768 _ACEOF
39769 if ac_fn_cxx_try_compile "$LINENO"; then :
39770 glibcxx_cv_func_fpclass_use=yes
39771 else
39772 glibcxx_cv_func_fpclass_use=no
39774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39775 ac_ext=c
39776 ac_cpp='$CPP $CPPFLAGS'
39777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
39786 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
39788 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
39789 for ac_func in fpclass
39790 do :
39791 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
39792 if test "x$ac_cv_func_fpclass" = x""yes; then :
39793 cat >>confdefs.h <<_ACEOF
39794 #define HAVE_FPCLASS 1
39795 _ACEOF
39798 done
39800 else
39802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
39803 $as_echo_n "checking for _fpclass declaration... " >&6; }
39804 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
39805 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
39806 $as_echo_n "(cached) " >&6
39807 else
39810 ac_ext=cpp
39811 ac_cpp='$CXXCPP $CPPFLAGS'
39812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39817 /* end confdefs.h. */
39818 #include <math.h>
39819 #ifdef HAVE_IEEEFP_H
39820 #include <ieeefp.h>
39821 #endif
39824 main ()
39826 _fpclass(0);
39828 return 0;
39830 _ACEOF
39831 if ac_fn_cxx_try_compile "$LINENO"; then :
39832 glibcxx_cv_func__fpclass_use=yes
39833 else
39834 glibcxx_cv_func__fpclass_use=no
39836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39837 ac_ext=c
39838 ac_cpp='$CPP $CPPFLAGS'
39839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
39848 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
39850 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
39851 for ac_func in _fpclass
39852 do :
39853 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
39854 if test "x$ac_cv_func__fpclass" = x""yes; then :
39855 cat >>confdefs.h <<_ACEOF
39856 #define HAVE__FPCLASS 1
39857 _ACEOF
39860 done
39869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
39870 $as_echo_n "checking for qfpclass declaration... " >&6; }
39871 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
39872 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
39873 $as_echo_n "(cached) " >&6
39874 else
39877 ac_ext=cpp
39878 ac_cpp='$CXXCPP $CPPFLAGS'
39879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39884 /* end confdefs.h. */
39885 #include <math.h>
39886 #ifdef HAVE_IEEEFP_H
39887 #include <ieeefp.h>
39888 #endif
39891 main ()
39893 qfpclass(0);
39895 return 0;
39897 _ACEOF
39898 if ac_fn_cxx_try_compile "$LINENO"; then :
39899 glibcxx_cv_func_qfpclass_use=yes
39900 else
39901 glibcxx_cv_func_qfpclass_use=no
39903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39904 ac_ext=c
39905 ac_cpp='$CPP $CPPFLAGS'
39906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39915 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39917 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39918 for ac_func in qfpclass
39919 do :
39920 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39921 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39922 cat >>confdefs.h <<_ACEOF
39923 #define HAVE_QFPCLASS 1
39924 _ACEOF
39927 done
39929 else
39931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39932 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39933 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39934 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39935 $as_echo_n "(cached) " >&6
39936 else
39939 ac_ext=cpp
39940 ac_cpp='$CXXCPP $CPPFLAGS'
39941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39946 /* end confdefs.h. */
39947 #include <math.h>
39948 #ifdef HAVE_IEEEFP_H
39949 #include <ieeefp.h>
39950 #endif
39953 main ()
39955 _qfpclass(0);
39957 return 0;
39959 _ACEOF
39960 if ac_fn_cxx_try_compile "$LINENO"; then :
39961 glibcxx_cv_func__qfpclass_use=yes
39962 else
39963 glibcxx_cv_func__qfpclass_use=no
39965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39966 ac_ext=c
39967 ac_cpp='$CPP $CPPFLAGS'
39968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39977 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39979 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39980 for ac_func in _qfpclass
39981 do :
39982 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39983 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39984 cat >>confdefs.h <<_ACEOF
39985 #define HAVE__QFPCLASS 1
39986 _ACEOF
39989 done
39998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39999 $as_echo_n "checking for hypot declaration... " >&6; }
40000 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
40001 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
40002 $as_echo_n "(cached) " >&6
40003 else
40006 ac_ext=cpp
40007 ac_cpp='$CXXCPP $CPPFLAGS'
40008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40013 /* end confdefs.h. */
40014 #include <math.h>
40016 main ()
40018 hypot(0, 0);
40020 return 0;
40022 _ACEOF
40023 if ac_fn_cxx_try_compile "$LINENO"; then :
40024 glibcxx_cv_func_hypot_use=yes
40025 else
40026 glibcxx_cv_func_hypot_use=no
40028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40029 ac_ext=c
40030 ac_cpp='$CPP $CPPFLAGS'
40031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
40040 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
40042 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
40043 for ac_func in hypot
40044 do :
40045 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
40046 if test "x$ac_cv_func_hypot" = x""yes; then :
40047 cat >>confdefs.h <<_ACEOF
40048 #define HAVE_HYPOT 1
40049 _ACEOF
40052 done
40054 else
40056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
40057 $as_echo_n "checking for _hypot declaration... " >&6; }
40058 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
40059 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
40060 $as_echo_n "(cached) " >&6
40061 else
40064 ac_ext=cpp
40065 ac_cpp='$CXXCPP $CPPFLAGS'
40066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40071 /* end confdefs.h. */
40072 #include <math.h>
40074 main ()
40076 _hypot(0, 0);
40078 return 0;
40080 _ACEOF
40081 if ac_fn_cxx_try_compile "$LINENO"; then :
40082 glibcxx_cv_func__hypot_use=yes
40083 else
40084 glibcxx_cv_func__hypot_use=no
40086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40087 ac_ext=c
40088 ac_cpp='$CPP $CPPFLAGS'
40089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
40098 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
40100 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
40101 for ac_func in _hypot
40102 do :
40103 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
40104 if test "x$ac_cv_func__hypot" = x""yes; then :
40105 cat >>confdefs.h <<_ACEOF
40106 #define HAVE__HYPOT 1
40107 _ACEOF
40110 done
40119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
40120 $as_echo_n "checking for float trig functions... " >&6; }
40121 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
40122 $as_echo_n "(cached) " >&6
40123 else
40126 ac_ext=cpp
40127 ac_cpp='$CXXCPP $CPPFLAGS'
40128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40133 /* end confdefs.h. */
40134 #include <math.h>
40136 main ()
40138 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
40140 return 0;
40142 _ACEOF
40143 if ac_fn_cxx_try_compile "$LINENO"; then :
40144 glibcxx_cv_func_float_trig_use=yes
40145 else
40146 glibcxx_cv_func_float_trig_use=no
40148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40149 ac_ext=c
40150 ac_cpp='$CPP $CPPFLAGS'
40151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
40158 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
40159 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
40160 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
40161 do :
40162 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40163 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40164 eval as_val=\$$as_ac_var
40165 if test "x$as_val" = x""yes; then :
40166 cat >>confdefs.h <<_ACEOF
40167 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40168 _ACEOF
40171 done
40173 else
40174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
40175 $as_echo_n "checking for _float trig functions... " >&6; }
40176 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
40177 $as_echo_n "(cached) " >&6
40178 else
40181 ac_ext=cpp
40182 ac_cpp='$CXXCPP $CPPFLAGS'
40183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40188 /* end confdefs.h. */
40189 #include <math.h>
40191 main ()
40193 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
40195 return 0;
40197 _ACEOF
40198 if ac_fn_cxx_try_compile "$LINENO"; then :
40199 glibcxx_cv_func__float_trig_use=yes
40200 else
40201 glibcxx_cv_func__float_trig_use=no
40203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40204 ac_ext=c
40205 ac_cpp='$CPP $CPPFLAGS'
40206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
40213 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
40214 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
40215 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
40216 do :
40217 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40218 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40219 eval as_val=\$$as_ac_var
40220 if test "x$as_val" = x""yes; then :
40221 cat >>confdefs.h <<_ACEOF
40222 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40223 _ACEOF
40226 done
40235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
40236 $as_echo_n "checking for float round functions... " >&6; }
40237 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
40238 $as_echo_n "(cached) " >&6
40239 else
40242 ac_ext=cpp
40243 ac_cpp='$CXXCPP $CPPFLAGS'
40244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40249 /* end confdefs.h. */
40250 #include <math.h>
40252 main ()
40254 ceilf (0); floorf (0);
40256 return 0;
40258 _ACEOF
40259 if ac_fn_cxx_try_compile "$LINENO"; then :
40260 glibcxx_cv_func_float_round_use=yes
40261 else
40262 glibcxx_cv_func_float_round_use=no
40264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40265 ac_ext=c
40266 ac_cpp='$CPP $CPPFLAGS'
40267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
40274 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
40275 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
40276 for ac_func in ceilf floorf
40277 do :
40278 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40279 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40280 eval as_val=\$$as_ac_var
40281 if test "x$as_val" = x""yes; then :
40282 cat >>confdefs.h <<_ACEOF
40283 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40284 _ACEOF
40287 done
40289 else
40290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
40291 $as_echo_n "checking for _float round functions... " >&6; }
40292 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
40293 $as_echo_n "(cached) " >&6
40294 else
40297 ac_ext=cpp
40298 ac_cpp='$CXXCPP $CPPFLAGS'
40299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40304 /* end confdefs.h. */
40305 #include <math.h>
40307 main ()
40309 _ceilf (0); _floorf (0);
40311 return 0;
40313 _ACEOF
40314 if ac_fn_cxx_try_compile "$LINENO"; then :
40315 glibcxx_cv_func__float_round_use=yes
40316 else
40317 glibcxx_cv_func__float_round_use=no
40319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40320 ac_ext=c
40321 ac_cpp='$CPP $CPPFLAGS'
40322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
40329 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
40330 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40331 for ac_func in _ceilf _floorf
40332 do :
40333 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40334 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40335 eval as_val=\$$as_ac_var
40336 if test "x$as_val" = x""yes; then :
40337 cat >>confdefs.h <<_ACEOF
40338 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40339 _ACEOF
40342 done
40352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
40353 $as_echo_n "checking for expf declaration... " >&6; }
40354 if test x${glibcxx_cv_func_expf_use+set} != xset; then
40355 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
40356 $as_echo_n "(cached) " >&6
40357 else
40360 ac_ext=cpp
40361 ac_cpp='$CXXCPP $CPPFLAGS'
40362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40367 /* end confdefs.h. */
40368 #include <math.h>
40369 #ifdef HAVE_IEEEFP_H
40370 #include <ieeefp.h>
40371 #endif
40374 main ()
40376 expf(0);
40378 return 0;
40380 _ACEOF
40381 if ac_fn_cxx_try_compile "$LINENO"; then :
40382 glibcxx_cv_func_expf_use=yes
40383 else
40384 glibcxx_cv_func_expf_use=no
40386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40387 ac_ext=c
40388 ac_cpp='$CPP $CPPFLAGS'
40389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
40398 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
40400 if test x$glibcxx_cv_func_expf_use = x"yes"; then
40401 for ac_func in expf
40402 do :
40403 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
40404 if test "x$ac_cv_func_expf" = x""yes; then :
40405 cat >>confdefs.h <<_ACEOF
40406 #define HAVE_EXPF 1
40407 _ACEOF
40410 done
40412 else
40414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
40415 $as_echo_n "checking for _expf declaration... " >&6; }
40416 if test x${glibcxx_cv_func__expf_use+set} != xset; then
40417 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
40418 $as_echo_n "(cached) " >&6
40419 else
40422 ac_ext=cpp
40423 ac_cpp='$CXXCPP $CPPFLAGS'
40424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40429 /* end confdefs.h. */
40430 #include <math.h>
40431 #ifdef HAVE_IEEEFP_H
40432 #include <ieeefp.h>
40433 #endif
40436 main ()
40438 _expf(0);
40440 return 0;
40442 _ACEOF
40443 if ac_fn_cxx_try_compile "$LINENO"; then :
40444 glibcxx_cv_func__expf_use=yes
40445 else
40446 glibcxx_cv_func__expf_use=no
40448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40449 ac_ext=c
40450 ac_cpp='$CPP $CPPFLAGS'
40451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
40460 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
40462 if test x$glibcxx_cv_func__expf_use = x"yes"; then
40463 for ac_func in _expf
40464 do :
40465 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
40466 if test "x$ac_cv_func__expf" = x""yes; then :
40467 cat >>confdefs.h <<_ACEOF
40468 #define HAVE__EXPF 1
40469 _ACEOF
40472 done
40481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
40482 $as_echo_n "checking for isnanf declaration... " >&6; }
40483 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
40484 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
40485 $as_echo_n "(cached) " >&6
40486 else
40489 ac_ext=cpp
40490 ac_cpp='$CXXCPP $CPPFLAGS'
40491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40496 /* end confdefs.h. */
40497 #include <math.h>
40498 #ifdef HAVE_IEEEFP_H
40499 #include <ieeefp.h>
40500 #endif
40503 main ()
40505 isnanf(0);
40507 return 0;
40509 _ACEOF
40510 if ac_fn_cxx_try_compile "$LINENO"; then :
40511 glibcxx_cv_func_isnanf_use=yes
40512 else
40513 glibcxx_cv_func_isnanf_use=no
40515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40516 ac_ext=c
40517 ac_cpp='$CPP $CPPFLAGS'
40518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
40527 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
40529 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
40530 for ac_func in isnanf
40531 do :
40532 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
40533 if test "x$ac_cv_func_isnanf" = x""yes; then :
40534 cat >>confdefs.h <<_ACEOF
40535 #define HAVE_ISNANF 1
40536 _ACEOF
40539 done
40541 else
40543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
40544 $as_echo_n "checking for _isnanf declaration... " >&6; }
40545 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
40546 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
40547 $as_echo_n "(cached) " >&6
40548 else
40551 ac_ext=cpp
40552 ac_cpp='$CXXCPP $CPPFLAGS'
40553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40558 /* end confdefs.h. */
40559 #include <math.h>
40560 #ifdef HAVE_IEEEFP_H
40561 #include <ieeefp.h>
40562 #endif
40565 main ()
40567 _isnanf(0);
40569 return 0;
40571 _ACEOF
40572 if ac_fn_cxx_try_compile "$LINENO"; then :
40573 glibcxx_cv_func__isnanf_use=yes
40574 else
40575 glibcxx_cv_func__isnanf_use=no
40577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40578 ac_ext=c
40579 ac_cpp='$CPP $CPPFLAGS'
40580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
40589 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
40591 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
40592 for ac_func in _isnanf
40593 do :
40594 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
40595 if test "x$ac_cv_func__isnanf" = x""yes; then :
40596 cat >>confdefs.h <<_ACEOF
40597 #define HAVE__ISNANF 1
40598 _ACEOF
40601 done
40610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
40611 $as_echo_n "checking for isinff declaration... " >&6; }
40612 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
40613 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
40614 $as_echo_n "(cached) " >&6
40615 else
40618 ac_ext=cpp
40619 ac_cpp='$CXXCPP $CPPFLAGS'
40620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40625 /* end confdefs.h. */
40626 #include <math.h>
40627 #ifdef HAVE_IEEEFP_H
40628 #include <ieeefp.h>
40629 #endif
40632 main ()
40634 isinff(0);
40636 return 0;
40638 _ACEOF
40639 if ac_fn_cxx_try_compile "$LINENO"; then :
40640 glibcxx_cv_func_isinff_use=yes
40641 else
40642 glibcxx_cv_func_isinff_use=no
40644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40645 ac_ext=c
40646 ac_cpp='$CPP $CPPFLAGS'
40647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
40656 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
40658 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
40659 for ac_func in isinff
40660 do :
40661 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
40662 if test "x$ac_cv_func_isinff" = x""yes; then :
40663 cat >>confdefs.h <<_ACEOF
40664 #define HAVE_ISINFF 1
40665 _ACEOF
40668 done
40670 else
40672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
40673 $as_echo_n "checking for _isinff declaration... " >&6; }
40674 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
40675 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
40676 $as_echo_n "(cached) " >&6
40677 else
40680 ac_ext=cpp
40681 ac_cpp='$CXXCPP $CPPFLAGS'
40682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40687 /* end confdefs.h. */
40688 #include <math.h>
40689 #ifdef HAVE_IEEEFP_H
40690 #include <ieeefp.h>
40691 #endif
40694 main ()
40696 _isinff(0);
40698 return 0;
40700 _ACEOF
40701 if ac_fn_cxx_try_compile "$LINENO"; then :
40702 glibcxx_cv_func__isinff_use=yes
40703 else
40704 glibcxx_cv_func__isinff_use=no
40706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40707 ac_ext=c
40708 ac_cpp='$CPP $CPPFLAGS'
40709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
40718 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
40720 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
40721 for ac_func in _isinff
40722 do :
40723 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
40724 if test "x$ac_cv_func__isinff" = x""yes; then :
40725 cat >>confdefs.h <<_ACEOF
40726 #define HAVE__ISINFF 1
40727 _ACEOF
40730 done
40739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
40740 $as_echo_n "checking for atan2f declaration... " >&6; }
40741 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
40742 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
40743 $as_echo_n "(cached) " >&6
40744 else
40747 ac_ext=cpp
40748 ac_cpp='$CXXCPP $CPPFLAGS'
40749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40754 /* end confdefs.h. */
40755 #include <math.h>
40757 main ()
40759 atan2f(0, 0);
40761 return 0;
40763 _ACEOF
40764 if ac_fn_cxx_try_compile "$LINENO"; then :
40765 glibcxx_cv_func_atan2f_use=yes
40766 else
40767 glibcxx_cv_func_atan2f_use=no
40769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40770 ac_ext=c
40771 ac_cpp='$CPP $CPPFLAGS'
40772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
40781 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
40783 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
40784 for ac_func in atan2f
40785 do :
40786 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
40787 if test "x$ac_cv_func_atan2f" = x""yes; then :
40788 cat >>confdefs.h <<_ACEOF
40789 #define HAVE_ATAN2F 1
40790 _ACEOF
40793 done
40795 else
40797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
40798 $as_echo_n "checking for _atan2f declaration... " >&6; }
40799 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
40800 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
40801 $as_echo_n "(cached) " >&6
40802 else
40805 ac_ext=cpp
40806 ac_cpp='$CXXCPP $CPPFLAGS'
40807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40812 /* end confdefs.h. */
40813 #include <math.h>
40815 main ()
40817 _atan2f(0, 0);
40819 return 0;
40821 _ACEOF
40822 if ac_fn_cxx_try_compile "$LINENO"; then :
40823 glibcxx_cv_func__atan2f_use=yes
40824 else
40825 glibcxx_cv_func__atan2f_use=no
40827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40828 ac_ext=c
40829 ac_cpp='$CPP $CPPFLAGS'
40830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
40839 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
40841 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
40842 for ac_func in _atan2f
40843 do :
40844 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
40845 if test "x$ac_cv_func__atan2f" = x""yes; then :
40846 cat >>confdefs.h <<_ACEOF
40847 #define HAVE__ATAN2F 1
40848 _ACEOF
40851 done
40860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
40861 $as_echo_n "checking for fabsf declaration... " >&6; }
40862 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
40863 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
40864 $as_echo_n "(cached) " >&6
40865 else
40868 ac_ext=cpp
40869 ac_cpp='$CXXCPP $CPPFLAGS'
40870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40875 /* end confdefs.h. */
40876 #include <math.h>
40877 #ifdef HAVE_IEEEFP_H
40878 #include <ieeefp.h>
40879 #endif
40882 main ()
40884 fabsf(0);
40886 return 0;
40888 _ACEOF
40889 if ac_fn_cxx_try_compile "$LINENO"; then :
40890 glibcxx_cv_func_fabsf_use=yes
40891 else
40892 glibcxx_cv_func_fabsf_use=no
40894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40895 ac_ext=c
40896 ac_cpp='$CPP $CPPFLAGS'
40897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40906 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40908 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40909 for ac_func in fabsf
40910 do :
40911 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40912 if test "x$ac_cv_func_fabsf" = x""yes; then :
40913 cat >>confdefs.h <<_ACEOF
40914 #define HAVE_FABSF 1
40915 _ACEOF
40918 done
40920 else
40922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40923 $as_echo_n "checking for _fabsf declaration... " >&6; }
40924 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40925 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40926 $as_echo_n "(cached) " >&6
40927 else
40930 ac_ext=cpp
40931 ac_cpp='$CXXCPP $CPPFLAGS'
40932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40937 /* end confdefs.h. */
40938 #include <math.h>
40939 #ifdef HAVE_IEEEFP_H
40940 #include <ieeefp.h>
40941 #endif
40944 main ()
40946 _fabsf(0);
40948 return 0;
40950 _ACEOF
40951 if ac_fn_cxx_try_compile "$LINENO"; then :
40952 glibcxx_cv_func__fabsf_use=yes
40953 else
40954 glibcxx_cv_func__fabsf_use=no
40956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40957 ac_ext=c
40958 ac_cpp='$CPP $CPPFLAGS'
40959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40968 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40970 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40971 for ac_func in _fabsf
40972 do :
40973 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40974 if test "x$ac_cv_func__fabsf" = x""yes; then :
40975 cat >>confdefs.h <<_ACEOF
40976 #define HAVE__FABSF 1
40977 _ACEOF
40980 done
40989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40990 $as_echo_n "checking for fmodf declaration... " >&6; }
40991 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40992 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40993 $as_echo_n "(cached) " >&6
40994 else
40997 ac_ext=cpp
40998 ac_cpp='$CXXCPP $CPPFLAGS'
40999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41004 /* end confdefs.h. */
41005 #include <math.h>
41007 main ()
41009 fmodf(0, 0);
41011 return 0;
41013 _ACEOF
41014 if ac_fn_cxx_try_compile "$LINENO"; then :
41015 glibcxx_cv_func_fmodf_use=yes
41016 else
41017 glibcxx_cv_func_fmodf_use=no
41019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41020 ac_ext=c
41021 ac_cpp='$CPP $CPPFLAGS'
41022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
41031 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
41033 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
41034 for ac_func in fmodf
41035 do :
41036 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
41037 if test "x$ac_cv_func_fmodf" = x""yes; then :
41038 cat >>confdefs.h <<_ACEOF
41039 #define HAVE_FMODF 1
41040 _ACEOF
41043 done
41045 else
41047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
41048 $as_echo_n "checking for _fmodf declaration... " >&6; }
41049 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
41050 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
41051 $as_echo_n "(cached) " >&6
41052 else
41055 ac_ext=cpp
41056 ac_cpp='$CXXCPP $CPPFLAGS'
41057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41062 /* end confdefs.h. */
41063 #include <math.h>
41065 main ()
41067 _fmodf(0, 0);
41069 return 0;
41071 _ACEOF
41072 if ac_fn_cxx_try_compile "$LINENO"; then :
41073 glibcxx_cv_func__fmodf_use=yes
41074 else
41075 glibcxx_cv_func__fmodf_use=no
41077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41078 ac_ext=c
41079 ac_cpp='$CPP $CPPFLAGS'
41080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
41089 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
41091 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
41092 for ac_func in _fmodf
41093 do :
41094 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
41095 if test "x$ac_cv_func__fmodf" = x""yes; then :
41096 cat >>confdefs.h <<_ACEOF
41097 #define HAVE__FMODF 1
41098 _ACEOF
41101 done
41110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
41111 $as_echo_n "checking for frexpf declaration... " >&6; }
41112 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
41113 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
41114 $as_echo_n "(cached) " >&6
41115 else
41118 ac_ext=cpp
41119 ac_cpp='$CXXCPP $CPPFLAGS'
41120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41125 /* end confdefs.h. */
41126 #include <math.h>
41128 main ()
41130 frexpf(0, 0);
41132 return 0;
41134 _ACEOF
41135 if ac_fn_cxx_try_compile "$LINENO"; then :
41136 glibcxx_cv_func_frexpf_use=yes
41137 else
41138 glibcxx_cv_func_frexpf_use=no
41140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41141 ac_ext=c
41142 ac_cpp='$CPP $CPPFLAGS'
41143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
41152 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
41154 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
41155 for ac_func in frexpf
41156 do :
41157 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
41158 if test "x$ac_cv_func_frexpf" = x""yes; then :
41159 cat >>confdefs.h <<_ACEOF
41160 #define HAVE_FREXPF 1
41161 _ACEOF
41164 done
41166 else
41168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
41169 $as_echo_n "checking for _frexpf declaration... " >&6; }
41170 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
41171 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
41172 $as_echo_n "(cached) " >&6
41173 else
41176 ac_ext=cpp
41177 ac_cpp='$CXXCPP $CPPFLAGS'
41178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41183 /* end confdefs.h. */
41184 #include <math.h>
41186 main ()
41188 _frexpf(0, 0);
41190 return 0;
41192 _ACEOF
41193 if ac_fn_cxx_try_compile "$LINENO"; then :
41194 glibcxx_cv_func__frexpf_use=yes
41195 else
41196 glibcxx_cv_func__frexpf_use=no
41198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41199 ac_ext=c
41200 ac_cpp='$CPP $CPPFLAGS'
41201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
41210 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
41212 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
41213 for ac_func in _frexpf
41214 do :
41215 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
41216 if test "x$ac_cv_func__frexpf" = x""yes; then :
41217 cat >>confdefs.h <<_ACEOF
41218 #define HAVE__FREXPF 1
41219 _ACEOF
41222 done
41231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
41232 $as_echo_n "checking for hypotf declaration... " >&6; }
41233 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
41234 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
41235 $as_echo_n "(cached) " >&6
41236 else
41239 ac_ext=cpp
41240 ac_cpp='$CXXCPP $CPPFLAGS'
41241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41246 /* end confdefs.h. */
41247 #include <math.h>
41249 main ()
41251 hypotf(0, 0);
41253 return 0;
41255 _ACEOF
41256 if ac_fn_cxx_try_compile "$LINENO"; then :
41257 glibcxx_cv_func_hypotf_use=yes
41258 else
41259 glibcxx_cv_func_hypotf_use=no
41261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41262 ac_ext=c
41263 ac_cpp='$CPP $CPPFLAGS'
41264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
41273 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
41275 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
41276 for ac_func in hypotf
41277 do :
41278 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
41279 if test "x$ac_cv_func_hypotf" = x""yes; then :
41280 cat >>confdefs.h <<_ACEOF
41281 #define HAVE_HYPOTF 1
41282 _ACEOF
41285 done
41287 else
41289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
41290 $as_echo_n "checking for _hypotf declaration... " >&6; }
41291 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
41292 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
41293 $as_echo_n "(cached) " >&6
41294 else
41297 ac_ext=cpp
41298 ac_cpp='$CXXCPP $CPPFLAGS'
41299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41304 /* end confdefs.h. */
41305 #include <math.h>
41307 main ()
41309 _hypotf(0, 0);
41311 return 0;
41313 _ACEOF
41314 if ac_fn_cxx_try_compile "$LINENO"; then :
41315 glibcxx_cv_func__hypotf_use=yes
41316 else
41317 glibcxx_cv_func__hypotf_use=no
41319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41320 ac_ext=c
41321 ac_cpp='$CPP $CPPFLAGS'
41322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
41331 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
41333 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
41334 for ac_func in _hypotf
41335 do :
41336 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
41337 if test "x$ac_cv_func__hypotf" = x""yes; then :
41338 cat >>confdefs.h <<_ACEOF
41339 #define HAVE__HYPOTF 1
41340 _ACEOF
41343 done
41352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
41353 $as_echo_n "checking for ldexpf declaration... " >&6; }
41354 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
41355 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
41356 $as_echo_n "(cached) " >&6
41357 else
41360 ac_ext=cpp
41361 ac_cpp='$CXXCPP $CPPFLAGS'
41362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41367 /* end confdefs.h. */
41368 #include <math.h>
41370 main ()
41372 ldexpf(0, 0);
41374 return 0;
41376 _ACEOF
41377 if ac_fn_cxx_try_compile "$LINENO"; then :
41378 glibcxx_cv_func_ldexpf_use=yes
41379 else
41380 glibcxx_cv_func_ldexpf_use=no
41382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41383 ac_ext=c
41384 ac_cpp='$CPP $CPPFLAGS'
41385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
41394 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
41396 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
41397 for ac_func in ldexpf
41398 do :
41399 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
41400 if test "x$ac_cv_func_ldexpf" = x""yes; then :
41401 cat >>confdefs.h <<_ACEOF
41402 #define HAVE_LDEXPF 1
41403 _ACEOF
41406 done
41408 else
41410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
41411 $as_echo_n "checking for _ldexpf declaration... " >&6; }
41412 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
41413 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
41414 $as_echo_n "(cached) " >&6
41415 else
41418 ac_ext=cpp
41419 ac_cpp='$CXXCPP $CPPFLAGS'
41420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41425 /* end confdefs.h. */
41426 #include <math.h>
41428 main ()
41430 _ldexpf(0, 0);
41432 return 0;
41434 _ACEOF
41435 if ac_fn_cxx_try_compile "$LINENO"; then :
41436 glibcxx_cv_func__ldexpf_use=yes
41437 else
41438 glibcxx_cv_func__ldexpf_use=no
41440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41441 ac_ext=c
41442 ac_cpp='$CPP $CPPFLAGS'
41443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
41452 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
41454 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
41455 for ac_func in _ldexpf
41456 do :
41457 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
41458 if test "x$ac_cv_func__ldexpf" = x""yes; then :
41459 cat >>confdefs.h <<_ACEOF
41460 #define HAVE__LDEXPF 1
41461 _ACEOF
41464 done
41473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
41474 $as_echo_n "checking for logf declaration... " >&6; }
41475 if test x${glibcxx_cv_func_logf_use+set} != xset; then
41476 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
41477 $as_echo_n "(cached) " >&6
41478 else
41481 ac_ext=cpp
41482 ac_cpp='$CXXCPP $CPPFLAGS'
41483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41488 /* end confdefs.h. */
41489 #include <math.h>
41490 #ifdef HAVE_IEEEFP_H
41491 #include <ieeefp.h>
41492 #endif
41495 main ()
41497 logf(0);
41499 return 0;
41501 _ACEOF
41502 if ac_fn_cxx_try_compile "$LINENO"; then :
41503 glibcxx_cv_func_logf_use=yes
41504 else
41505 glibcxx_cv_func_logf_use=no
41507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41508 ac_ext=c
41509 ac_cpp='$CPP $CPPFLAGS'
41510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
41519 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
41521 if test x$glibcxx_cv_func_logf_use = x"yes"; then
41522 for ac_func in logf
41523 do :
41524 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
41525 if test "x$ac_cv_func_logf" = x""yes; then :
41526 cat >>confdefs.h <<_ACEOF
41527 #define HAVE_LOGF 1
41528 _ACEOF
41531 done
41533 else
41535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
41536 $as_echo_n "checking for _logf declaration... " >&6; }
41537 if test x${glibcxx_cv_func__logf_use+set} != xset; then
41538 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
41539 $as_echo_n "(cached) " >&6
41540 else
41543 ac_ext=cpp
41544 ac_cpp='$CXXCPP $CPPFLAGS'
41545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41550 /* end confdefs.h. */
41551 #include <math.h>
41552 #ifdef HAVE_IEEEFP_H
41553 #include <ieeefp.h>
41554 #endif
41557 main ()
41559 _logf(0);
41561 return 0;
41563 _ACEOF
41564 if ac_fn_cxx_try_compile "$LINENO"; then :
41565 glibcxx_cv_func__logf_use=yes
41566 else
41567 glibcxx_cv_func__logf_use=no
41569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41570 ac_ext=c
41571 ac_cpp='$CPP $CPPFLAGS'
41572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
41581 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
41583 if test x$glibcxx_cv_func__logf_use = x"yes"; then
41584 for ac_func in _logf
41585 do :
41586 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
41587 if test "x$ac_cv_func__logf" = x""yes; then :
41588 cat >>confdefs.h <<_ACEOF
41589 #define HAVE__LOGF 1
41590 _ACEOF
41593 done
41602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
41603 $as_echo_n "checking for log10f declaration... " >&6; }
41604 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
41605 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
41606 $as_echo_n "(cached) " >&6
41607 else
41610 ac_ext=cpp
41611 ac_cpp='$CXXCPP $CPPFLAGS'
41612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41617 /* end confdefs.h. */
41618 #include <math.h>
41619 #ifdef HAVE_IEEEFP_H
41620 #include <ieeefp.h>
41621 #endif
41624 main ()
41626 log10f(0);
41628 return 0;
41630 _ACEOF
41631 if ac_fn_cxx_try_compile "$LINENO"; then :
41632 glibcxx_cv_func_log10f_use=yes
41633 else
41634 glibcxx_cv_func_log10f_use=no
41636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41637 ac_ext=c
41638 ac_cpp='$CPP $CPPFLAGS'
41639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
41648 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
41650 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
41651 for ac_func in log10f
41652 do :
41653 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
41654 if test "x$ac_cv_func_log10f" = x""yes; then :
41655 cat >>confdefs.h <<_ACEOF
41656 #define HAVE_LOG10F 1
41657 _ACEOF
41660 done
41662 else
41664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
41665 $as_echo_n "checking for _log10f declaration... " >&6; }
41666 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
41667 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
41668 $as_echo_n "(cached) " >&6
41669 else
41672 ac_ext=cpp
41673 ac_cpp='$CXXCPP $CPPFLAGS'
41674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41679 /* end confdefs.h. */
41680 #include <math.h>
41681 #ifdef HAVE_IEEEFP_H
41682 #include <ieeefp.h>
41683 #endif
41686 main ()
41688 _log10f(0);
41690 return 0;
41692 _ACEOF
41693 if ac_fn_cxx_try_compile "$LINENO"; then :
41694 glibcxx_cv_func__log10f_use=yes
41695 else
41696 glibcxx_cv_func__log10f_use=no
41698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41699 ac_ext=c
41700 ac_cpp='$CPP $CPPFLAGS'
41701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
41710 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
41712 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
41713 for ac_func in _log10f
41714 do :
41715 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
41716 if test "x$ac_cv_func__log10f" = x""yes; then :
41717 cat >>confdefs.h <<_ACEOF
41718 #define HAVE__LOG10F 1
41719 _ACEOF
41722 done
41731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
41732 $as_echo_n "checking for modff declaration... " >&6; }
41733 if test x${glibcxx_cv_func_modff_use+set} != xset; then
41734 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
41735 $as_echo_n "(cached) " >&6
41736 else
41739 ac_ext=cpp
41740 ac_cpp='$CXXCPP $CPPFLAGS'
41741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41746 /* end confdefs.h. */
41747 #include <math.h>
41749 main ()
41751 modff(0, 0);
41753 return 0;
41755 _ACEOF
41756 if ac_fn_cxx_try_compile "$LINENO"; then :
41757 glibcxx_cv_func_modff_use=yes
41758 else
41759 glibcxx_cv_func_modff_use=no
41761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41762 ac_ext=c
41763 ac_cpp='$CPP $CPPFLAGS'
41764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
41773 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
41775 if test x$glibcxx_cv_func_modff_use = x"yes"; then
41776 for ac_func in modff
41777 do :
41778 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
41779 if test "x$ac_cv_func_modff" = x""yes; then :
41780 cat >>confdefs.h <<_ACEOF
41781 #define HAVE_MODFF 1
41782 _ACEOF
41785 done
41787 else
41789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
41790 $as_echo_n "checking for _modff declaration... " >&6; }
41791 if test x${glibcxx_cv_func__modff_use+set} != xset; then
41792 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
41793 $as_echo_n "(cached) " >&6
41794 else
41797 ac_ext=cpp
41798 ac_cpp='$CXXCPP $CPPFLAGS'
41799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41804 /* end confdefs.h. */
41805 #include <math.h>
41807 main ()
41809 _modff(0, 0);
41811 return 0;
41813 _ACEOF
41814 if ac_fn_cxx_try_compile "$LINENO"; then :
41815 glibcxx_cv_func__modff_use=yes
41816 else
41817 glibcxx_cv_func__modff_use=no
41819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41820 ac_ext=c
41821 ac_cpp='$CPP $CPPFLAGS'
41822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
41831 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
41833 if test x$glibcxx_cv_func__modff_use = x"yes"; then
41834 for ac_func in _modff
41835 do :
41836 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
41837 if test "x$ac_cv_func__modff" = x""yes; then :
41838 cat >>confdefs.h <<_ACEOF
41839 #define HAVE__MODFF 1
41840 _ACEOF
41843 done
41852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
41853 $as_echo_n "checking for modf declaration... " >&6; }
41854 if test x${glibcxx_cv_func_modf_use+set} != xset; then
41855 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
41856 $as_echo_n "(cached) " >&6
41857 else
41860 ac_ext=cpp
41861 ac_cpp='$CXXCPP $CPPFLAGS'
41862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41867 /* end confdefs.h. */
41868 #include <math.h>
41870 main ()
41872 modf(0, 0);
41874 return 0;
41876 _ACEOF
41877 if ac_fn_cxx_try_compile "$LINENO"; then :
41878 glibcxx_cv_func_modf_use=yes
41879 else
41880 glibcxx_cv_func_modf_use=no
41882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41883 ac_ext=c
41884 ac_cpp='$CPP $CPPFLAGS'
41885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41894 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41896 if test x$glibcxx_cv_func_modf_use = x"yes"; then
41897 for ac_func in modf
41898 do :
41899 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41900 if test "x$ac_cv_func_modf" = x""yes; then :
41901 cat >>confdefs.h <<_ACEOF
41902 #define HAVE_MODF 1
41903 _ACEOF
41906 done
41908 else
41910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41911 $as_echo_n "checking for _modf declaration... " >&6; }
41912 if test x${glibcxx_cv_func__modf_use+set} != xset; then
41913 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41914 $as_echo_n "(cached) " >&6
41915 else
41918 ac_ext=cpp
41919 ac_cpp='$CXXCPP $CPPFLAGS'
41920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41925 /* end confdefs.h. */
41926 #include <math.h>
41928 main ()
41930 _modf(0, 0);
41932 return 0;
41934 _ACEOF
41935 if ac_fn_cxx_try_compile "$LINENO"; then :
41936 glibcxx_cv_func__modf_use=yes
41937 else
41938 glibcxx_cv_func__modf_use=no
41940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41941 ac_ext=c
41942 ac_cpp='$CPP $CPPFLAGS'
41943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41952 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41954 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41955 for ac_func in _modf
41956 do :
41957 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41958 if test "x$ac_cv_func__modf" = x""yes; then :
41959 cat >>confdefs.h <<_ACEOF
41960 #define HAVE__MODF 1
41961 _ACEOF
41964 done
41973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41974 $as_echo_n "checking for powf declaration... " >&6; }
41975 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41976 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41977 $as_echo_n "(cached) " >&6
41978 else
41981 ac_ext=cpp
41982 ac_cpp='$CXXCPP $CPPFLAGS'
41983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41988 /* end confdefs.h. */
41989 #include <math.h>
41991 main ()
41993 powf(0, 0);
41995 return 0;
41997 _ACEOF
41998 if ac_fn_cxx_try_compile "$LINENO"; then :
41999 glibcxx_cv_func_powf_use=yes
42000 else
42001 glibcxx_cv_func_powf_use=no
42003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42004 ac_ext=c
42005 ac_cpp='$CPP $CPPFLAGS'
42006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
42015 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
42017 if test x$glibcxx_cv_func_powf_use = x"yes"; then
42018 for ac_func in powf
42019 do :
42020 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
42021 if test "x$ac_cv_func_powf" = x""yes; then :
42022 cat >>confdefs.h <<_ACEOF
42023 #define HAVE_POWF 1
42024 _ACEOF
42027 done
42029 else
42031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
42032 $as_echo_n "checking for _powf declaration... " >&6; }
42033 if test x${glibcxx_cv_func__powf_use+set} != xset; then
42034 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
42035 $as_echo_n "(cached) " >&6
42036 else
42039 ac_ext=cpp
42040 ac_cpp='$CXXCPP $CPPFLAGS'
42041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42046 /* end confdefs.h. */
42047 #include <math.h>
42049 main ()
42051 _powf(0, 0);
42053 return 0;
42055 _ACEOF
42056 if ac_fn_cxx_try_compile "$LINENO"; then :
42057 glibcxx_cv_func__powf_use=yes
42058 else
42059 glibcxx_cv_func__powf_use=no
42061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42062 ac_ext=c
42063 ac_cpp='$CPP $CPPFLAGS'
42064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
42073 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
42075 if test x$glibcxx_cv_func__powf_use = x"yes"; then
42076 for ac_func in _powf
42077 do :
42078 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
42079 if test "x$ac_cv_func__powf" = x""yes; then :
42080 cat >>confdefs.h <<_ACEOF
42081 #define HAVE__POWF 1
42082 _ACEOF
42085 done
42094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
42095 $as_echo_n "checking for sqrtf declaration... " >&6; }
42096 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
42097 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
42098 $as_echo_n "(cached) " >&6
42099 else
42102 ac_ext=cpp
42103 ac_cpp='$CXXCPP $CPPFLAGS'
42104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42109 /* end confdefs.h. */
42110 #include <math.h>
42111 #ifdef HAVE_IEEEFP_H
42112 #include <ieeefp.h>
42113 #endif
42116 main ()
42118 sqrtf(0);
42120 return 0;
42122 _ACEOF
42123 if ac_fn_cxx_try_compile "$LINENO"; then :
42124 glibcxx_cv_func_sqrtf_use=yes
42125 else
42126 glibcxx_cv_func_sqrtf_use=no
42128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42129 ac_ext=c
42130 ac_cpp='$CPP $CPPFLAGS'
42131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
42140 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
42142 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42143 for ac_func in sqrtf
42144 do :
42145 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
42146 if test "x$ac_cv_func_sqrtf" = x""yes; then :
42147 cat >>confdefs.h <<_ACEOF
42148 #define HAVE_SQRTF 1
42149 _ACEOF
42152 done
42154 else
42156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
42157 $as_echo_n "checking for _sqrtf declaration... " >&6; }
42158 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42159 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
42160 $as_echo_n "(cached) " >&6
42161 else
42164 ac_ext=cpp
42165 ac_cpp='$CXXCPP $CPPFLAGS'
42166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42171 /* end confdefs.h. */
42172 #include <math.h>
42173 #ifdef HAVE_IEEEFP_H
42174 #include <ieeefp.h>
42175 #endif
42178 main ()
42180 _sqrtf(0);
42182 return 0;
42184 _ACEOF
42185 if ac_fn_cxx_try_compile "$LINENO"; then :
42186 glibcxx_cv_func__sqrtf_use=yes
42187 else
42188 glibcxx_cv_func__sqrtf_use=no
42190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42191 ac_ext=c
42192 ac_cpp='$CPP $CPPFLAGS'
42193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
42202 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
42204 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42205 for ac_func in _sqrtf
42206 do :
42207 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
42208 if test "x$ac_cv_func__sqrtf" = x""yes; then :
42209 cat >>confdefs.h <<_ACEOF
42210 #define HAVE__SQRTF 1
42211 _ACEOF
42214 done
42223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
42224 $as_echo_n "checking for sincosf declaration... " >&6; }
42225 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42226 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
42227 $as_echo_n "(cached) " >&6
42228 else
42231 ac_ext=cpp
42232 ac_cpp='$CXXCPP $CPPFLAGS'
42233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42238 /* end confdefs.h. */
42239 #include <math.h>
42241 main ()
42243 sincosf(0, 0, 0);
42245 return 0;
42247 _ACEOF
42248 if ac_fn_cxx_try_compile "$LINENO"; then :
42249 glibcxx_cv_func_sincosf_use=yes
42250 else
42251 glibcxx_cv_func_sincosf_use=no
42253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42254 ac_ext=c
42255 ac_cpp='$CPP $CPPFLAGS'
42256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
42265 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
42267 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42268 for ac_func in sincosf
42269 do :
42270 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
42271 if test "x$ac_cv_func_sincosf" = x""yes; then :
42272 cat >>confdefs.h <<_ACEOF
42273 #define HAVE_SINCOSF 1
42274 _ACEOF
42277 done
42279 else
42281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
42282 $as_echo_n "checking for _sincosf declaration... " >&6; }
42283 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42284 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
42285 $as_echo_n "(cached) " >&6
42286 else
42289 ac_ext=cpp
42290 ac_cpp='$CXXCPP $CPPFLAGS'
42291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42296 /* end confdefs.h. */
42297 #include <math.h>
42299 main ()
42301 _sincosf(0, 0, 0);
42303 return 0;
42305 _ACEOF
42306 if ac_fn_cxx_try_compile "$LINENO"; then :
42307 glibcxx_cv_func__sincosf_use=yes
42308 else
42309 glibcxx_cv_func__sincosf_use=no
42311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42312 ac_ext=c
42313 ac_cpp='$CPP $CPPFLAGS'
42314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
42323 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
42325 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42326 for ac_func in _sincosf
42327 do :
42328 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
42329 if test "x$ac_cv_func__sincosf" = x""yes; then :
42330 cat >>confdefs.h <<_ACEOF
42331 #define HAVE__SINCOSF 1
42332 _ACEOF
42335 done
42344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
42345 $as_echo_n "checking for finitef declaration... " >&6; }
42346 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42347 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
42348 $as_echo_n "(cached) " >&6
42349 else
42352 ac_ext=cpp
42353 ac_cpp='$CXXCPP $CPPFLAGS'
42354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42359 /* end confdefs.h. */
42360 #include <math.h>
42361 #ifdef HAVE_IEEEFP_H
42362 #include <ieeefp.h>
42363 #endif
42366 main ()
42368 finitef(0);
42370 return 0;
42372 _ACEOF
42373 if ac_fn_cxx_try_compile "$LINENO"; then :
42374 glibcxx_cv_func_finitef_use=yes
42375 else
42376 glibcxx_cv_func_finitef_use=no
42378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42379 ac_ext=c
42380 ac_cpp='$CPP $CPPFLAGS'
42381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
42390 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
42392 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42393 for ac_func in finitef
42394 do :
42395 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
42396 if test "x$ac_cv_func_finitef" = x""yes; then :
42397 cat >>confdefs.h <<_ACEOF
42398 #define HAVE_FINITEF 1
42399 _ACEOF
42402 done
42404 else
42406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
42407 $as_echo_n "checking for _finitef declaration... " >&6; }
42408 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42409 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
42410 $as_echo_n "(cached) " >&6
42411 else
42414 ac_ext=cpp
42415 ac_cpp='$CXXCPP $CPPFLAGS'
42416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42421 /* end confdefs.h. */
42422 #include <math.h>
42423 #ifdef HAVE_IEEEFP_H
42424 #include <ieeefp.h>
42425 #endif
42428 main ()
42430 _finitef(0);
42432 return 0;
42434 _ACEOF
42435 if ac_fn_cxx_try_compile "$LINENO"; then :
42436 glibcxx_cv_func__finitef_use=yes
42437 else
42438 glibcxx_cv_func__finitef_use=no
42440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42441 ac_ext=c
42442 ac_cpp='$CPP $CPPFLAGS'
42443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
42452 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
42454 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42455 for ac_func in _finitef
42456 do :
42457 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
42458 if test "x$ac_cv_func__finitef" = x""yes; then :
42459 cat >>confdefs.h <<_ACEOF
42460 #define HAVE__FINITEF 1
42461 _ACEOF
42464 done
42473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
42474 $as_echo_n "checking for long double trig functions... " >&6; }
42475 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
42476 $as_echo_n "(cached) " >&6
42477 else
42480 ac_ext=cpp
42481 ac_cpp='$CXXCPP $CPPFLAGS'
42482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42487 /* end confdefs.h. */
42488 #include <math.h>
42490 main ()
42492 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
42494 return 0;
42496 _ACEOF
42497 if ac_fn_cxx_try_compile "$LINENO"; then :
42498 glibcxx_cv_func_long_double_trig_use=yes
42499 else
42500 glibcxx_cv_func_long_double_trig_use=no
42502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42503 ac_ext=c
42504 ac_cpp='$CPP $CPPFLAGS'
42505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
42512 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
42513 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
42514 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
42515 do :
42516 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42517 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42518 eval as_val=\$$as_ac_var
42519 if test "x$as_val" = x""yes; then :
42520 cat >>confdefs.h <<_ACEOF
42521 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42522 _ACEOF
42525 done
42527 else
42528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
42529 $as_echo_n "checking for _long double trig functions... " >&6; }
42530 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
42531 $as_echo_n "(cached) " >&6
42532 else
42535 ac_ext=cpp
42536 ac_cpp='$CXXCPP $CPPFLAGS'
42537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42542 /* end confdefs.h. */
42543 #include <math.h>
42545 main ()
42547 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
42549 return 0;
42551 _ACEOF
42552 if ac_fn_cxx_try_compile "$LINENO"; then :
42553 glibcxx_cv_func__long_double_trig_use=yes
42554 else
42555 glibcxx_cv_func__long_double_trig_use=no
42557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42558 ac_ext=c
42559 ac_cpp='$CPP $CPPFLAGS'
42560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
42567 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
42568 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
42569 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
42570 do :
42571 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42572 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42573 eval as_val=\$$as_ac_var
42574 if test "x$as_val" = x""yes; then :
42575 cat >>confdefs.h <<_ACEOF
42576 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42577 _ACEOF
42580 done
42589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
42590 $as_echo_n "checking for long double round functions... " >&6; }
42591 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
42592 $as_echo_n "(cached) " >&6
42593 else
42596 ac_ext=cpp
42597 ac_cpp='$CXXCPP $CPPFLAGS'
42598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42603 /* end confdefs.h. */
42604 #include <math.h>
42606 main ()
42608 ceill (0); floorl (0);
42610 return 0;
42612 _ACEOF
42613 if ac_fn_cxx_try_compile "$LINENO"; then :
42614 glibcxx_cv_func_long_double_round_use=yes
42615 else
42616 glibcxx_cv_func_long_double_round_use=no
42618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42619 ac_ext=c
42620 ac_cpp='$CPP $CPPFLAGS'
42621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
42628 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
42629 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
42630 for ac_func in ceill floorl
42631 do :
42632 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42633 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42634 eval as_val=\$$as_ac_var
42635 if test "x$as_val" = x""yes; then :
42636 cat >>confdefs.h <<_ACEOF
42637 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42638 _ACEOF
42641 done
42643 else
42644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
42645 $as_echo_n "checking for _long double round functions... " >&6; }
42646 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
42647 $as_echo_n "(cached) " >&6
42648 else
42651 ac_ext=cpp
42652 ac_cpp='$CXXCPP $CPPFLAGS'
42653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42658 /* end confdefs.h. */
42659 #include <math.h>
42661 main ()
42663 _ceill (0); _floorl (0);
42665 return 0;
42667 _ACEOF
42668 if ac_fn_cxx_try_compile "$LINENO"; then :
42669 glibcxx_cv_func__long_double_round_use=yes
42670 else
42671 glibcxx_cv_func__long_double_round_use=no
42673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42674 ac_ext=c
42675 ac_cpp='$CPP $CPPFLAGS'
42676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
42683 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
42684 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42685 for ac_func in _ceill _floorl
42686 do :
42687 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42688 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42689 eval as_val=\$$as_ac_var
42690 if test "x$as_val" = x""yes; then :
42691 cat >>confdefs.h <<_ACEOF
42692 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42693 _ACEOF
42696 done
42706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
42707 $as_echo_n "checking for isnanl declaration... " >&6; }
42708 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42709 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
42710 $as_echo_n "(cached) " >&6
42711 else
42714 ac_ext=cpp
42715 ac_cpp='$CXXCPP $CPPFLAGS'
42716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42721 /* end confdefs.h. */
42722 #include <math.h>
42723 #ifdef HAVE_IEEEFP_H
42724 #include <ieeefp.h>
42725 #endif
42728 main ()
42730 isnanl(0);
42732 return 0;
42734 _ACEOF
42735 if ac_fn_cxx_try_compile "$LINENO"; then :
42736 glibcxx_cv_func_isnanl_use=yes
42737 else
42738 glibcxx_cv_func_isnanl_use=no
42740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42741 ac_ext=c
42742 ac_cpp='$CPP $CPPFLAGS'
42743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
42752 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
42754 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42755 for ac_func in isnanl
42756 do :
42757 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
42758 if test "x$ac_cv_func_isnanl" = x""yes; then :
42759 cat >>confdefs.h <<_ACEOF
42760 #define HAVE_ISNANL 1
42761 _ACEOF
42764 done
42766 else
42768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
42769 $as_echo_n "checking for _isnanl declaration... " >&6; }
42770 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42771 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
42772 $as_echo_n "(cached) " >&6
42773 else
42776 ac_ext=cpp
42777 ac_cpp='$CXXCPP $CPPFLAGS'
42778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42783 /* end confdefs.h. */
42784 #include <math.h>
42785 #ifdef HAVE_IEEEFP_H
42786 #include <ieeefp.h>
42787 #endif
42790 main ()
42792 _isnanl(0);
42794 return 0;
42796 _ACEOF
42797 if ac_fn_cxx_try_compile "$LINENO"; then :
42798 glibcxx_cv_func__isnanl_use=yes
42799 else
42800 glibcxx_cv_func__isnanl_use=no
42802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42803 ac_ext=c
42804 ac_cpp='$CPP $CPPFLAGS'
42805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
42814 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
42816 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42817 for ac_func in _isnanl
42818 do :
42819 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
42820 if test "x$ac_cv_func__isnanl" = x""yes; then :
42821 cat >>confdefs.h <<_ACEOF
42822 #define HAVE__ISNANL 1
42823 _ACEOF
42826 done
42835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
42836 $as_echo_n "checking for isinfl declaration... " >&6; }
42837 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42838 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
42839 $as_echo_n "(cached) " >&6
42840 else
42843 ac_ext=cpp
42844 ac_cpp='$CXXCPP $CPPFLAGS'
42845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42850 /* end confdefs.h. */
42851 #include <math.h>
42852 #ifdef HAVE_IEEEFP_H
42853 #include <ieeefp.h>
42854 #endif
42857 main ()
42859 isinfl(0);
42861 return 0;
42863 _ACEOF
42864 if ac_fn_cxx_try_compile "$LINENO"; then :
42865 glibcxx_cv_func_isinfl_use=yes
42866 else
42867 glibcxx_cv_func_isinfl_use=no
42869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42870 ac_ext=c
42871 ac_cpp='$CPP $CPPFLAGS'
42872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
42881 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
42883 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42884 for ac_func in isinfl
42885 do :
42886 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
42887 if test "x$ac_cv_func_isinfl" = x""yes; then :
42888 cat >>confdefs.h <<_ACEOF
42889 #define HAVE_ISINFL 1
42890 _ACEOF
42893 done
42895 else
42897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42898 $as_echo_n "checking for _isinfl declaration... " >&6; }
42899 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42900 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42901 $as_echo_n "(cached) " >&6
42902 else
42905 ac_ext=cpp
42906 ac_cpp='$CXXCPP $CPPFLAGS'
42907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42912 /* end confdefs.h. */
42913 #include <math.h>
42914 #ifdef HAVE_IEEEFP_H
42915 #include <ieeefp.h>
42916 #endif
42919 main ()
42921 _isinfl(0);
42923 return 0;
42925 _ACEOF
42926 if ac_fn_cxx_try_compile "$LINENO"; then :
42927 glibcxx_cv_func__isinfl_use=yes
42928 else
42929 glibcxx_cv_func__isinfl_use=no
42931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42932 ac_ext=c
42933 ac_cpp='$CPP $CPPFLAGS'
42934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42943 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42945 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42946 for ac_func in _isinfl
42947 do :
42948 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42949 if test "x$ac_cv_func__isinfl" = x""yes; then :
42950 cat >>confdefs.h <<_ACEOF
42951 #define HAVE__ISINFL 1
42952 _ACEOF
42955 done
42964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42965 $as_echo_n "checking for atan2l declaration... " >&6; }
42966 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42967 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42968 $as_echo_n "(cached) " >&6
42969 else
42972 ac_ext=cpp
42973 ac_cpp='$CXXCPP $CPPFLAGS'
42974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42979 /* end confdefs.h. */
42980 #include <math.h>
42982 main ()
42984 atan2l(0, 0);
42986 return 0;
42988 _ACEOF
42989 if ac_fn_cxx_try_compile "$LINENO"; then :
42990 glibcxx_cv_func_atan2l_use=yes
42991 else
42992 glibcxx_cv_func_atan2l_use=no
42994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42995 ac_ext=c
42996 ac_cpp='$CPP $CPPFLAGS'
42997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
43006 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
43008 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43009 for ac_func in atan2l
43010 do :
43011 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
43012 if test "x$ac_cv_func_atan2l" = x""yes; then :
43013 cat >>confdefs.h <<_ACEOF
43014 #define HAVE_ATAN2L 1
43015 _ACEOF
43018 done
43020 else
43022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
43023 $as_echo_n "checking for _atan2l declaration... " >&6; }
43024 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43025 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
43026 $as_echo_n "(cached) " >&6
43027 else
43030 ac_ext=cpp
43031 ac_cpp='$CXXCPP $CPPFLAGS'
43032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43037 /* end confdefs.h. */
43038 #include <math.h>
43040 main ()
43042 _atan2l(0, 0);
43044 return 0;
43046 _ACEOF
43047 if ac_fn_cxx_try_compile "$LINENO"; then :
43048 glibcxx_cv_func__atan2l_use=yes
43049 else
43050 glibcxx_cv_func__atan2l_use=no
43052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43053 ac_ext=c
43054 ac_cpp='$CPP $CPPFLAGS'
43055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
43064 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
43066 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43067 for ac_func in _atan2l
43068 do :
43069 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
43070 if test "x$ac_cv_func__atan2l" = x""yes; then :
43071 cat >>confdefs.h <<_ACEOF
43072 #define HAVE__ATAN2L 1
43073 _ACEOF
43076 done
43085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
43086 $as_echo_n "checking for expl declaration... " >&6; }
43087 if test x${glibcxx_cv_func_expl_use+set} != xset; then
43088 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
43089 $as_echo_n "(cached) " >&6
43090 else
43093 ac_ext=cpp
43094 ac_cpp='$CXXCPP $CPPFLAGS'
43095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43100 /* end confdefs.h. */
43101 #include <math.h>
43102 #ifdef HAVE_IEEEFP_H
43103 #include <ieeefp.h>
43104 #endif
43107 main ()
43109 expl(0);
43111 return 0;
43113 _ACEOF
43114 if ac_fn_cxx_try_compile "$LINENO"; then :
43115 glibcxx_cv_func_expl_use=yes
43116 else
43117 glibcxx_cv_func_expl_use=no
43119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43120 ac_ext=c
43121 ac_cpp='$CPP $CPPFLAGS'
43122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
43131 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
43133 if test x$glibcxx_cv_func_expl_use = x"yes"; then
43134 for ac_func in expl
43135 do :
43136 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
43137 if test "x$ac_cv_func_expl" = x""yes; then :
43138 cat >>confdefs.h <<_ACEOF
43139 #define HAVE_EXPL 1
43140 _ACEOF
43143 done
43145 else
43147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
43148 $as_echo_n "checking for _expl declaration... " >&6; }
43149 if test x${glibcxx_cv_func__expl_use+set} != xset; then
43150 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
43151 $as_echo_n "(cached) " >&6
43152 else
43155 ac_ext=cpp
43156 ac_cpp='$CXXCPP $CPPFLAGS'
43157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43162 /* end confdefs.h. */
43163 #include <math.h>
43164 #ifdef HAVE_IEEEFP_H
43165 #include <ieeefp.h>
43166 #endif
43169 main ()
43171 _expl(0);
43173 return 0;
43175 _ACEOF
43176 if ac_fn_cxx_try_compile "$LINENO"; then :
43177 glibcxx_cv_func__expl_use=yes
43178 else
43179 glibcxx_cv_func__expl_use=no
43181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43182 ac_ext=c
43183 ac_cpp='$CPP $CPPFLAGS'
43184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
43193 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
43195 if test x$glibcxx_cv_func__expl_use = x"yes"; then
43196 for ac_func in _expl
43197 do :
43198 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
43199 if test "x$ac_cv_func__expl" = x""yes; then :
43200 cat >>confdefs.h <<_ACEOF
43201 #define HAVE__EXPL 1
43202 _ACEOF
43205 done
43214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
43215 $as_echo_n "checking for fabsl declaration... " >&6; }
43216 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43217 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
43218 $as_echo_n "(cached) " >&6
43219 else
43222 ac_ext=cpp
43223 ac_cpp='$CXXCPP $CPPFLAGS'
43224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43229 /* end confdefs.h. */
43230 #include <math.h>
43231 #ifdef HAVE_IEEEFP_H
43232 #include <ieeefp.h>
43233 #endif
43236 main ()
43238 fabsl(0);
43240 return 0;
43242 _ACEOF
43243 if ac_fn_cxx_try_compile "$LINENO"; then :
43244 glibcxx_cv_func_fabsl_use=yes
43245 else
43246 glibcxx_cv_func_fabsl_use=no
43248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43249 ac_ext=c
43250 ac_cpp='$CPP $CPPFLAGS'
43251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
43260 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
43262 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43263 for ac_func in fabsl
43264 do :
43265 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
43266 if test "x$ac_cv_func_fabsl" = x""yes; then :
43267 cat >>confdefs.h <<_ACEOF
43268 #define HAVE_FABSL 1
43269 _ACEOF
43272 done
43274 else
43276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
43277 $as_echo_n "checking for _fabsl declaration... " >&6; }
43278 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43279 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
43280 $as_echo_n "(cached) " >&6
43281 else
43284 ac_ext=cpp
43285 ac_cpp='$CXXCPP $CPPFLAGS'
43286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43291 /* end confdefs.h. */
43292 #include <math.h>
43293 #ifdef HAVE_IEEEFP_H
43294 #include <ieeefp.h>
43295 #endif
43298 main ()
43300 _fabsl(0);
43302 return 0;
43304 _ACEOF
43305 if ac_fn_cxx_try_compile "$LINENO"; then :
43306 glibcxx_cv_func__fabsl_use=yes
43307 else
43308 glibcxx_cv_func__fabsl_use=no
43310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43311 ac_ext=c
43312 ac_cpp='$CPP $CPPFLAGS'
43313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
43322 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
43324 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43325 for ac_func in _fabsl
43326 do :
43327 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
43328 if test "x$ac_cv_func__fabsl" = x""yes; then :
43329 cat >>confdefs.h <<_ACEOF
43330 #define HAVE__FABSL 1
43331 _ACEOF
43334 done
43343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
43344 $as_echo_n "checking for fmodl declaration... " >&6; }
43345 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43346 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
43347 $as_echo_n "(cached) " >&6
43348 else
43351 ac_ext=cpp
43352 ac_cpp='$CXXCPP $CPPFLAGS'
43353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43358 /* end confdefs.h. */
43359 #include <math.h>
43361 main ()
43363 fmodl(0, 0);
43365 return 0;
43367 _ACEOF
43368 if ac_fn_cxx_try_compile "$LINENO"; then :
43369 glibcxx_cv_func_fmodl_use=yes
43370 else
43371 glibcxx_cv_func_fmodl_use=no
43373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43374 ac_ext=c
43375 ac_cpp='$CPP $CPPFLAGS'
43376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
43385 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
43387 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43388 for ac_func in fmodl
43389 do :
43390 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
43391 if test "x$ac_cv_func_fmodl" = x""yes; then :
43392 cat >>confdefs.h <<_ACEOF
43393 #define HAVE_FMODL 1
43394 _ACEOF
43397 done
43399 else
43401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
43402 $as_echo_n "checking for _fmodl declaration... " >&6; }
43403 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43404 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
43405 $as_echo_n "(cached) " >&6
43406 else
43409 ac_ext=cpp
43410 ac_cpp='$CXXCPP $CPPFLAGS'
43411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43416 /* end confdefs.h. */
43417 #include <math.h>
43419 main ()
43421 _fmodl(0, 0);
43423 return 0;
43425 _ACEOF
43426 if ac_fn_cxx_try_compile "$LINENO"; then :
43427 glibcxx_cv_func__fmodl_use=yes
43428 else
43429 glibcxx_cv_func__fmodl_use=no
43431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43432 ac_ext=c
43433 ac_cpp='$CPP $CPPFLAGS'
43434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
43443 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
43445 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43446 for ac_func in _fmodl
43447 do :
43448 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
43449 if test "x$ac_cv_func__fmodl" = x""yes; then :
43450 cat >>confdefs.h <<_ACEOF
43451 #define HAVE__FMODL 1
43452 _ACEOF
43455 done
43464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
43465 $as_echo_n "checking for frexpl declaration... " >&6; }
43466 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43467 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
43468 $as_echo_n "(cached) " >&6
43469 else
43472 ac_ext=cpp
43473 ac_cpp='$CXXCPP $CPPFLAGS'
43474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43479 /* end confdefs.h. */
43480 #include <math.h>
43482 main ()
43484 frexpl(0, 0);
43486 return 0;
43488 _ACEOF
43489 if ac_fn_cxx_try_compile "$LINENO"; then :
43490 glibcxx_cv_func_frexpl_use=yes
43491 else
43492 glibcxx_cv_func_frexpl_use=no
43494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43495 ac_ext=c
43496 ac_cpp='$CPP $CPPFLAGS'
43497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
43506 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
43508 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43509 for ac_func in frexpl
43510 do :
43511 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
43512 if test "x$ac_cv_func_frexpl" = x""yes; then :
43513 cat >>confdefs.h <<_ACEOF
43514 #define HAVE_FREXPL 1
43515 _ACEOF
43518 done
43520 else
43522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
43523 $as_echo_n "checking for _frexpl declaration... " >&6; }
43524 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43525 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
43526 $as_echo_n "(cached) " >&6
43527 else
43530 ac_ext=cpp
43531 ac_cpp='$CXXCPP $CPPFLAGS'
43532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43537 /* end confdefs.h. */
43538 #include <math.h>
43540 main ()
43542 _frexpl(0, 0);
43544 return 0;
43546 _ACEOF
43547 if ac_fn_cxx_try_compile "$LINENO"; then :
43548 glibcxx_cv_func__frexpl_use=yes
43549 else
43550 glibcxx_cv_func__frexpl_use=no
43552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43553 ac_ext=c
43554 ac_cpp='$CPP $CPPFLAGS'
43555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
43564 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
43566 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
43567 for ac_func in _frexpl
43568 do :
43569 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
43570 if test "x$ac_cv_func__frexpl" = x""yes; then :
43571 cat >>confdefs.h <<_ACEOF
43572 #define HAVE__FREXPL 1
43573 _ACEOF
43576 done
43585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
43586 $as_echo_n "checking for hypotl declaration... " >&6; }
43587 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
43588 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
43589 $as_echo_n "(cached) " >&6
43590 else
43593 ac_ext=cpp
43594 ac_cpp='$CXXCPP $CPPFLAGS'
43595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43600 /* end confdefs.h. */
43601 #include <math.h>
43603 main ()
43605 hypotl(0, 0);
43607 return 0;
43609 _ACEOF
43610 if ac_fn_cxx_try_compile "$LINENO"; then :
43611 glibcxx_cv_func_hypotl_use=yes
43612 else
43613 glibcxx_cv_func_hypotl_use=no
43615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43616 ac_ext=c
43617 ac_cpp='$CPP $CPPFLAGS'
43618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
43627 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
43629 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
43630 for ac_func in hypotl
43631 do :
43632 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
43633 if test "x$ac_cv_func_hypotl" = x""yes; then :
43634 cat >>confdefs.h <<_ACEOF
43635 #define HAVE_HYPOTL 1
43636 _ACEOF
43639 done
43641 else
43643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
43644 $as_echo_n "checking for _hypotl declaration... " >&6; }
43645 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
43646 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
43647 $as_echo_n "(cached) " >&6
43648 else
43651 ac_ext=cpp
43652 ac_cpp='$CXXCPP $CPPFLAGS'
43653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43658 /* end confdefs.h. */
43659 #include <math.h>
43661 main ()
43663 _hypotl(0, 0);
43665 return 0;
43667 _ACEOF
43668 if ac_fn_cxx_try_compile "$LINENO"; then :
43669 glibcxx_cv_func__hypotl_use=yes
43670 else
43671 glibcxx_cv_func__hypotl_use=no
43673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43674 ac_ext=c
43675 ac_cpp='$CPP $CPPFLAGS'
43676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
43685 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
43687 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
43688 for ac_func in _hypotl
43689 do :
43690 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
43691 if test "x$ac_cv_func__hypotl" = x""yes; then :
43692 cat >>confdefs.h <<_ACEOF
43693 #define HAVE__HYPOTL 1
43694 _ACEOF
43697 done
43706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
43707 $as_echo_n "checking for ldexpl declaration... " >&6; }
43708 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
43709 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
43710 $as_echo_n "(cached) " >&6
43711 else
43714 ac_ext=cpp
43715 ac_cpp='$CXXCPP $CPPFLAGS'
43716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43721 /* end confdefs.h. */
43722 #include <math.h>
43724 main ()
43726 ldexpl(0, 0);
43728 return 0;
43730 _ACEOF
43731 if ac_fn_cxx_try_compile "$LINENO"; then :
43732 glibcxx_cv_func_ldexpl_use=yes
43733 else
43734 glibcxx_cv_func_ldexpl_use=no
43736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43737 ac_ext=c
43738 ac_cpp='$CPP $CPPFLAGS'
43739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
43748 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
43750 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
43751 for ac_func in ldexpl
43752 do :
43753 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
43754 if test "x$ac_cv_func_ldexpl" = x""yes; then :
43755 cat >>confdefs.h <<_ACEOF
43756 #define HAVE_LDEXPL 1
43757 _ACEOF
43760 done
43762 else
43764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
43765 $as_echo_n "checking for _ldexpl declaration... " >&6; }
43766 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
43767 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
43768 $as_echo_n "(cached) " >&6
43769 else
43772 ac_ext=cpp
43773 ac_cpp='$CXXCPP $CPPFLAGS'
43774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43779 /* end confdefs.h. */
43780 #include <math.h>
43782 main ()
43784 _ldexpl(0, 0);
43786 return 0;
43788 _ACEOF
43789 if ac_fn_cxx_try_compile "$LINENO"; then :
43790 glibcxx_cv_func__ldexpl_use=yes
43791 else
43792 glibcxx_cv_func__ldexpl_use=no
43794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43795 ac_ext=c
43796 ac_cpp='$CPP $CPPFLAGS'
43797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
43806 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
43808 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
43809 for ac_func in _ldexpl
43810 do :
43811 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
43812 if test "x$ac_cv_func__ldexpl" = x""yes; then :
43813 cat >>confdefs.h <<_ACEOF
43814 #define HAVE__LDEXPL 1
43815 _ACEOF
43818 done
43827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
43828 $as_echo_n "checking for logl declaration... " >&6; }
43829 if test x${glibcxx_cv_func_logl_use+set} != xset; then
43830 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
43831 $as_echo_n "(cached) " >&6
43832 else
43835 ac_ext=cpp
43836 ac_cpp='$CXXCPP $CPPFLAGS'
43837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43842 /* end confdefs.h. */
43843 #include <math.h>
43844 #ifdef HAVE_IEEEFP_H
43845 #include <ieeefp.h>
43846 #endif
43849 main ()
43851 logl(0);
43853 return 0;
43855 _ACEOF
43856 if ac_fn_cxx_try_compile "$LINENO"; then :
43857 glibcxx_cv_func_logl_use=yes
43858 else
43859 glibcxx_cv_func_logl_use=no
43861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43862 ac_ext=c
43863 ac_cpp='$CPP $CPPFLAGS'
43864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
43873 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
43875 if test x$glibcxx_cv_func_logl_use = x"yes"; then
43876 for ac_func in logl
43877 do :
43878 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
43879 if test "x$ac_cv_func_logl" = x""yes; then :
43880 cat >>confdefs.h <<_ACEOF
43881 #define HAVE_LOGL 1
43882 _ACEOF
43885 done
43887 else
43889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
43890 $as_echo_n "checking for _logl declaration... " >&6; }
43891 if test x${glibcxx_cv_func__logl_use+set} != xset; then
43892 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43893 $as_echo_n "(cached) " >&6
43894 else
43897 ac_ext=cpp
43898 ac_cpp='$CXXCPP $CPPFLAGS'
43899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43904 /* end confdefs.h. */
43905 #include <math.h>
43906 #ifdef HAVE_IEEEFP_H
43907 #include <ieeefp.h>
43908 #endif
43911 main ()
43913 _logl(0);
43915 return 0;
43917 _ACEOF
43918 if ac_fn_cxx_try_compile "$LINENO"; then :
43919 glibcxx_cv_func__logl_use=yes
43920 else
43921 glibcxx_cv_func__logl_use=no
43923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43924 ac_ext=c
43925 ac_cpp='$CPP $CPPFLAGS'
43926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43935 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43937 if test x$glibcxx_cv_func__logl_use = x"yes"; then
43938 for ac_func in _logl
43939 do :
43940 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43941 if test "x$ac_cv_func__logl" = x""yes; then :
43942 cat >>confdefs.h <<_ACEOF
43943 #define HAVE__LOGL 1
43944 _ACEOF
43947 done
43956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43957 $as_echo_n "checking for log10l declaration... " >&6; }
43958 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43959 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43960 $as_echo_n "(cached) " >&6
43961 else
43964 ac_ext=cpp
43965 ac_cpp='$CXXCPP $CPPFLAGS'
43966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43971 /* end confdefs.h. */
43972 #include <math.h>
43973 #ifdef HAVE_IEEEFP_H
43974 #include <ieeefp.h>
43975 #endif
43978 main ()
43980 log10l(0);
43982 return 0;
43984 _ACEOF
43985 if ac_fn_cxx_try_compile "$LINENO"; then :
43986 glibcxx_cv_func_log10l_use=yes
43987 else
43988 glibcxx_cv_func_log10l_use=no
43990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43991 ac_ext=c
43992 ac_cpp='$CPP $CPPFLAGS'
43993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
44002 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
44004 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44005 for ac_func in log10l
44006 do :
44007 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
44008 if test "x$ac_cv_func_log10l" = x""yes; then :
44009 cat >>confdefs.h <<_ACEOF
44010 #define HAVE_LOG10L 1
44011 _ACEOF
44014 done
44016 else
44018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
44019 $as_echo_n "checking for _log10l declaration... " >&6; }
44020 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
44021 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
44022 $as_echo_n "(cached) " >&6
44023 else
44026 ac_ext=cpp
44027 ac_cpp='$CXXCPP $CPPFLAGS'
44028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44033 /* end confdefs.h. */
44034 #include <math.h>
44035 #ifdef HAVE_IEEEFP_H
44036 #include <ieeefp.h>
44037 #endif
44040 main ()
44042 _log10l(0);
44044 return 0;
44046 _ACEOF
44047 if ac_fn_cxx_try_compile "$LINENO"; then :
44048 glibcxx_cv_func__log10l_use=yes
44049 else
44050 glibcxx_cv_func__log10l_use=no
44052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44053 ac_ext=c
44054 ac_cpp='$CPP $CPPFLAGS'
44055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
44064 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
44066 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
44067 for ac_func in _log10l
44068 do :
44069 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
44070 if test "x$ac_cv_func__log10l" = x""yes; then :
44071 cat >>confdefs.h <<_ACEOF
44072 #define HAVE__LOG10L 1
44073 _ACEOF
44076 done
44085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
44086 $as_echo_n "checking for modfl declaration... " >&6; }
44087 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
44088 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
44089 $as_echo_n "(cached) " >&6
44090 else
44093 ac_ext=cpp
44094 ac_cpp='$CXXCPP $CPPFLAGS'
44095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44100 /* end confdefs.h. */
44101 #include <math.h>
44103 main ()
44105 modfl(0, 0);
44107 return 0;
44109 _ACEOF
44110 if ac_fn_cxx_try_compile "$LINENO"; then :
44111 glibcxx_cv_func_modfl_use=yes
44112 else
44113 glibcxx_cv_func_modfl_use=no
44115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44116 ac_ext=c
44117 ac_cpp='$CPP $CPPFLAGS'
44118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
44127 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
44129 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
44130 for ac_func in modfl
44131 do :
44132 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
44133 if test "x$ac_cv_func_modfl" = x""yes; then :
44134 cat >>confdefs.h <<_ACEOF
44135 #define HAVE_MODFL 1
44136 _ACEOF
44139 done
44141 else
44143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
44144 $as_echo_n "checking for _modfl declaration... " >&6; }
44145 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
44146 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
44147 $as_echo_n "(cached) " >&6
44148 else
44151 ac_ext=cpp
44152 ac_cpp='$CXXCPP $CPPFLAGS'
44153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44158 /* end confdefs.h. */
44159 #include <math.h>
44161 main ()
44163 _modfl(0, 0);
44165 return 0;
44167 _ACEOF
44168 if ac_fn_cxx_try_compile "$LINENO"; then :
44169 glibcxx_cv_func__modfl_use=yes
44170 else
44171 glibcxx_cv_func__modfl_use=no
44173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44174 ac_ext=c
44175 ac_cpp='$CPP $CPPFLAGS'
44176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
44185 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
44187 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
44188 for ac_func in _modfl
44189 do :
44190 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
44191 if test "x$ac_cv_func__modfl" = x""yes; then :
44192 cat >>confdefs.h <<_ACEOF
44193 #define HAVE__MODFL 1
44194 _ACEOF
44197 done
44206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
44207 $as_echo_n "checking for powl declaration... " >&6; }
44208 if test x${glibcxx_cv_func_powl_use+set} != xset; then
44209 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
44210 $as_echo_n "(cached) " >&6
44211 else
44214 ac_ext=cpp
44215 ac_cpp='$CXXCPP $CPPFLAGS'
44216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44221 /* end confdefs.h. */
44222 #include <math.h>
44224 main ()
44226 powl(0, 0);
44228 return 0;
44230 _ACEOF
44231 if ac_fn_cxx_try_compile "$LINENO"; then :
44232 glibcxx_cv_func_powl_use=yes
44233 else
44234 glibcxx_cv_func_powl_use=no
44236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44237 ac_ext=c
44238 ac_cpp='$CPP $CPPFLAGS'
44239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
44248 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
44250 if test x$glibcxx_cv_func_powl_use = x"yes"; then
44251 for ac_func in powl
44252 do :
44253 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
44254 if test "x$ac_cv_func_powl" = x""yes; then :
44255 cat >>confdefs.h <<_ACEOF
44256 #define HAVE_POWL 1
44257 _ACEOF
44260 done
44262 else
44264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
44265 $as_echo_n "checking for _powl declaration... " >&6; }
44266 if test x${glibcxx_cv_func__powl_use+set} != xset; then
44267 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
44268 $as_echo_n "(cached) " >&6
44269 else
44272 ac_ext=cpp
44273 ac_cpp='$CXXCPP $CPPFLAGS'
44274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44279 /* end confdefs.h. */
44280 #include <math.h>
44282 main ()
44284 _powl(0, 0);
44286 return 0;
44288 _ACEOF
44289 if ac_fn_cxx_try_compile "$LINENO"; then :
44290 glibcxx_cv_func__powl_use=yes
44291 else
44292 glibcxx_cv_func__powl_use=no
44294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44295 ac_ext=c
44296 ac_cpp='$CPP $CPPFLAGS'
44297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
44306 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
44308 if test x$glibcxx_cv_func__powl_use = x"yes"; then
44309 for ac_func in _powl
44310 do :
44311 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
44312 if test "x$ac_cv_func__powl" = x""yes; then :
44313 cat >>confdefs.h <<_ACEOF
44314 #define HAVE__POWL 1
44315 _ACEOF
44318 done
44327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
44328 $as_echo_n "checking for sqrtl declaration... " >&6; }
44329 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
44330 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
44331 $as_echo_n "(cached) " >&6
44332 else
44335 ac_ext=cpp
44336 ac_cpp='$CXXCPP $CPPFLAGS'
44337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44342 /* end confdefs.h. */
44343 #include <math.h>
44344 #ifdef HAVE_IEEEFP_H
44345 #include <ieeefp.h>
44346 #endif
44349 main ()
44351 sqrtl(0);
44353 return 0;
44355 _ACEOF
44356 if ac_fn_cxx_try_compile "$LINENO"; then :
44357 glibcxx_cv_func_sqrtl_use=yes
44358 else
44359 glibcxx_cv_func_sqrtl_use=no
44361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44362 ac_ext=c
44363 ac_cpp='$CPP $CPPFLAGS'
44364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
44373 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
44375 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
44376 for ac_func in sqrtl
44377 do :
44378 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
44379 if test "x$ac_cv_func_sqrtl" = x""yes; then :
44380 cat >>confdefs.h <<_ACEOF
44381 #define HAVE_SQRTL 1
44382 _ACEOF
44385 done
44387 else
44389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
44390 $as_echo_n "checking for _sqrtl declaration... " >&6; }
44391 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
44392 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
44393 $as_echo_n "(cached) " >&6
44394 else
44397 ac_ext=cpp
44398 ac_cpp='$CXXCPP $CPPFLAGS'
44399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44404 /* end confdefs.h. */
44405 #include <math.h>
44406 #ifdef HAVE_IEEEFP_H
44407 #include <ieeefp.h>
44408 #endif
44411 main ()
44413 _sqrtl(0);
44415 return 0;
44417 _ACEOF
44418 if ac_fn_cxx_try_compile "$LINENO"; then :
44419 glibcxx_cv_func__sqrtl_use=yes
44420 else
44421 glibcxx_cv_func__sqrtl_use=no
44423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44424 ac_ext=c
44425 ac_cpp='$CPP $CPPFLAGS'
44426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
44435 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
44437 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
44438 for ac_func in _sqrtl
44439 do :
44440 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
44441 if test "x$ac_cv_func__sqrtl" = x""yes; then :
44442 cat >>confdefs.h <<_ACEOF
44443 #define HAVE__SQRTL 1
44444 _ACEOF
44447 done
44456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
44457 $as_echo_n "checking for sincosl declaration... " >&6; }
44458 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
44459 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
44460 $as_echo_n "(cached) " >&6
44461 else
44464 ac_ext=cpp
44465 ac_cpp='$CXXCPP $CPPFLAGS'
44466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44471 /* end confdefs.h. */
44472 #include <math.h>
44474 main ()
44476 sincosl(0, 0, 0);
44478 return 0;
44480 _ACEOF
44481 if ac_fn_cxx_try_compile "$LINENO"; then :
44482 glibcxx_cv_func_sincosl_use=yes
44483 else
44484 glibcxx_cv_func_sincosl_use=no
44486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44487 ac_ext=c
44488 ac_cpp='$CPP $CPPFLAGS'
44489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
44498 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
44500 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
44501 for ac_func in sincosl
44502 do :
44503 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
44504 if test "x$ac_cv_func_sincosl" = x""yes; then :
44505 cat >>confdefs.h <<_ACEOF
44506 #define HAVE_SINCOSL 1
44507 _ACEOF
44510 done
44512 else
44514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
44515 $as_echo_n "checking for _sincosl declaration... " >&6; }
44516 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
44517 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
44518 $as_echo_n "(cached) " >&6
44519 else
44522 ac_ext=cpp
44523 ac_cpp='$CXXCPP $CPPFLAGS'
44524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44529 /* end confdefs.h. */
44530 #include <math.h>
44532 main ()
44534 _sincosl(0, 0, 0);
44536 return 0;
44538 _ACEOF
44539 if ac_fn_cxx_try_compile "$LINENO"; then :
44540 glibcxx_cv_func__sincosl_use=yes
44541 else
44542 glibcxx_cv_func__sincosl_use=no
44544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44545 ac_ext=c
44546 ac_cpp='$CPP $CPPFLAGS'
44547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
44556 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
44558 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
44559 for ac_func in _sincosl
44560 do :
44561 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
44562 if test "x$ac_cv_func__sincosl" = x""yes; then :
44563 cat >>confdefs.h <<_ACEOF
44564 #define HAVE__SINCOSL 1
44565 _ACEOF
44568 done
44577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
44578 $as_echo_n "checking for finitel declaration... " >&6; }
44579 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
44580 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
44581 $as_echo_n "(cached) " >&6
44582 else
44585 ac_ext=cpp
44586 ac_cpp='$CXXCPP $CPPFLAGS'
44587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44592 /* end confdefs.h. */
44593 #include <math.h>
44594 #ifdef HAVE_IEEEFP_H
44595 #include <ieeefp.h>
44596 #endif
44599 main ()
44601 finitel(0);
44603 return 0;
44605 _ACEOF
44606 if ac_fn_cxx_try_compile "$LINENO"; then :
44607 glibcxx_cv_func_finitel_use=yes
44608 else
44609 glibcxx_cv_func_finitel_use=no
44611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44612 ac_ext=c
44613 ac_cpp='$CPP $CPPFLAGS'
44614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
44623 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
44625 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
44626 for ac_func in finitel
44627 do :
44628 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
44629 if test "x$ac_cv_func_finitel" = x""yes; then :
44630 cat >>confdefs.h <<_ACEOF
44631 #define HAVE_FINITEL 1
44632 _ACEOF
44635 done
44637 else
44639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
44640 $as_echo_n "checking for _finitel declaration... " >&6; }
44641 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
44642 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
44643 $as_echo_n "(cached) " >&6
44644 else
44647 ac_ext=cpp
44648 ac_cpp='$CXXCPP $CPPFLAGS'
44649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44654 /* end confdefs.h. */
44655 #include <math.h>
44656 #ifdef HAVE_IEEEFP_H
44657 #include <ieeefp.h>
44658 #endif
44661 main ()
44663 _finitel(0);
44665 return 0;
44667 _ACEOF
44668 if ac_fn_cxx_try_compile "$LINENO"; then :
44669 glibcxx_cv_func__finitel_use=yes
44670 else
44671 glibcxx_cv_func__finitel_use=no
44673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44674 ac_ext=c
44675 ac_cpp='$CPP $CPPFLAGS'
44676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
44685 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
44687 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
44688 for ac_func in _finitel
44689 do :
44690 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
44691 if test "x$ac_cv_func__finitel" = x""yes; then :
44692 cat >>confdefs.h <<_ACEOF
44693 #define HAVE__FINITEL 1
44694 _ACEOF
44697 done
44705 LIBS="$ac_save_LIBS"
44706 CXXFLAGS="$ac_save_CXXFLAGS"
44709 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44710 ac_save_CXXFLAGS="$CXXFLAGS"
44711 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
44715 $as_echo_n "checking for strtold declaration... " >&6; }
44716 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
44717 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
44718 $as_echo_n "(cached) " >&6
44719 else
44722 ac_ext=cpp
44723 ac_cpp='$CXXCPP $CPPFLAGS'
44724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44729 /* end confdefs.h. */
44730 #include <stdlib.h>
44732 main ()
44734 strtold(0, 0);
44736 return 0;
44738 _ACEOF
44739 if ac_fn_cxx_try_compile "$LINENO"; then :
44740 glibcxx_cv_func_strtold_use=yes
44741 else
44742 glibcxx_cv_func_strtold_use=no
44744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44745 ac_ext=c
44746 ac_cpp='$CPP $CPPFLAGS'
44747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
44756 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
44757 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
44758 for ac_func in strtold
44759 do :
44760 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
44761 if test "x$ac_cv_func_strtold" = x""yes; then :
44762 cat >>confdefs.h <<_ACEOF
44763 #define HAVE_STRTOLD 1
44764 _ACEOF
44767 done
44774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
44775 $as_echo_n "checking for strtof declaration... " >&6; }
44776 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
44777 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
44778 $as_echo_n "(cached) " >&6
44779 else
44782 ac_ext=cpp
44783 ac_cpp='$CXXCPP $CPPFLAGS'
44784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44789 /* end confdefs.h. */
44790 #include <stdlib.h>
44792 main ()
44794 strtof(0, 0);
44796 return 0;
44798 _ACEOF
44799 if ac_fn_cxx_try_compile "$LINENO"; then :
44800 glibcxx_cv_func_strtof_use=yes
44801 else
44802 glibcxx_cv_func_strtof_use=no
44804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44805 ac_ext=c
44806 ac_cpp='$CPP $CPPFLAGS'
44807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
44816 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
44817 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
44818 for ac_func in strtof
44819 do :
44820 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
44821 if test "x$ac_cv_func_strtof" = x""yes; then :
44822 cat >>confdefs.h <<_ACEOF
44823 #define HAVE_STRTOF 1
44824 _ACEOF
44827 done
44834 CXXFLAGS="$ac_save_CXXFLAGS"
44838 *djgpp)
44839 # GLIBCXX_CHECK_MATH_SUPPORT
44840 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44842 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44844 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44846 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
44848 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44852 *-freebsd*)
44853 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44856 # If we're not using GNU ld, then there's no point in even trying these
44857 # tests. Check for that first. We should have already tested for gld
44858 # by now (in libtool), but require it now just to be safe...
44859 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44860 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44864 # The name set by libtool depends on the version of libtool. Shame on us
44865 # for depending on an impl detail, but c'est la vie. Older versions used
44866 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44867 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44868 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44869 # set (hence we're using an older libtool), then set it.
44870 if test x${with_gnu_ld+set} != xset; then
44871 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44872 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44873 with_gnu_ld=no
44874 else
44875 with_gnu_ld=$ac_cv_prog_gnu_ld
44879 # Start by getting the version number. I think the libtool test already
44880 # does some of this, but throws away the result.
44881 glibcxx_ld_is_gold=no
44882 if test x"$with_gnu_ld" = x"yes"; then
44883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44884 $as_echo_n "checking for ld version... " >&6; }
44886 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44887 glibcxx_ld_is_gold=yes
44889 ldver=`$LD --version 2>/dev/null |
44890 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'`
44892 glibcxx_gnu_ld_version=`echo $ldver | \
44893 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44895 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44898 # Set --gc-sections.
44899 glibcxx_have_gc_sections=no
44900 if test "$glibcxx_ld_is_gold" = "yes"; then
44901 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44902 glibcxx_have_gc_sections=yes
44904 else
44905 glibcxx_gcsections_min_ld=21602
44906 if test x"$with_gnu_ld" = x"yes" &&
44907 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44908 glibcxx_have_gc_sections=yes
44911 if test "$glibcxx_have_gc_sections" = "yes"; then
44912 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44913 # NB: This flag only works reliably after 2.16.1. Configure tests
44914 # for this are difficult, so hard wire a value that should work.
44916 ac_test_CFLAGS="${CFLAGS+set}"
44917 ac_save_CFLAGS="$CFLAGS"
44918 CFLAGS='-Wl,--gc-sections'
44920 # Check for -Wl,--gc-sections
44921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44922 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44923 if test x$gcc_no_link = xyes; then
44924 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44927 /* end confdefs.h. */
44928 int one(void) { return 1; }
44929 int two(void) { return 2; }
44932 main ()
44934 two();
44936 return 0;
44938 _ACEOF
44939 if ac_fn_c_try_link "$LINENO"; then :
44940 ac_gcsections=yes
44941 else
44942 ac_gcsections=no
44944 rm -f core conftest.err conftest.$ac_objext \
44945 conftest$ac_exeext conftest.$ac_ext
44946 if test "$ac_gcsections" = "yes"; then
44947 rm -f conftest.c
44948 touch conftest.c
44949 if $CC -c conftest.c; then
44950 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44951 grep "Warning: gc-sections option ignored" > /dev/null; then
44952 ac_gcsections=no
44955 rm -f conftest.c conftest.o conftest
44957 if test "$ac_gcsections" = "yes"; then
44958 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44961 $as_echo "$ac_gcsections" >&6; }
44963 if test "$ac_test_CFLAGS" = set; then
44964 CFLAGS="$ac_save_CFLAGS"
44965 else
44966 # this is the suspicious part
44967 CFLAGS=''
44971 # Set -z,relro.
44972 # Note this is only for shared objects.
44973 ac_ld_relro=no
44974 if test x"$with_gnu_ld" = x"yes"; then
44975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44976 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44977 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44978 if test -n "$cxx_z_relo"; then
44979 OPT_LDFLAGS="-Wl,-z,relro"
44980 ac_ld_relro=yes
44982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44983 $as_echo "$ac_ld_relro" >&6; }
44986 # Set linker optimization flags.
44987 if test x"$with_gnu_ld" = x"yes"; then
44988 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44994 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44996 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44998 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45000 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45002 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45004 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
45006 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45008 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45010 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45013 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45015 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45017 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45019 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45021 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
45023 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45025 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45027 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45029 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45031 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
45033 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45035 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45037 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
45039 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45041 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45043 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
45045 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45047 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45049 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45051 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45053 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45055 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45057 if test x"long_double_math_on_this_cpu" = x"yes"; then
45058 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
45060 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
45062 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
45066 *-hpux*)
45067 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45070 # If we're not using GNU ld, then there's no point in even trying these
45071 # tests. Check for that first. We should have already tested for gld
45072 # by now (in libtool), but require it now just to be safe...
45073 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45074 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45078 # The name set by libtool depends on the version of libtool. Shame on us
45079 # for depending on an impl detail, but c'est la vie. Older versions used
45080 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45081 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45082 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45083 # set (hence we're using an older libtool), then set it.
45084 if test x${with_gnu_ld+set} != xset; then
45085 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45086 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45087 with_gnu_ld=no
45088 else
45089 with_gnu_ld=$ac_cv_prog_gnu_ld
45093 # Start by getting the version number. I think the libtool test already
45094 # does some of this, but throws away the result.
45095 glibcxx_ld_is_gold=no
45096 if test x"$with_gnu_ld" = x"yes"; then
45097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45098 $as_echo_n "checking for ld version... " >&6; }
45100 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45101 glibcxx_ld_is_gold=yes
45103 ldver=`$LD --version 2>/dev/null |
45104 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'`
45106 glibcxx_gnu_ld_version=`echo $ldver | \
45107 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45109 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45112 # Set --gc-sections.
45113 glibcxx_have_gc_sections=no
45114 if test "$glibcxx_ld_is_gold" = "yes"; then
45115 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45116 glibcxx_have_gc_sections=yes
45118 else
45119 glibcxx_gcsections_min_ld=21602
45120 if test x"$with_gnu_ld" = x"yes" &&
45121 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45122 glibcxx_have_gc_sections=yes
45125 if test "$glibcxx_have_gc_sections" = "yes"; then
45126 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45127 # NB: This flag only works reliably after 2.16.1. Configure tests
45128 # for this are difficult, so hard wire a value that should work.
45130 ac_test_CFLAGS="${CFLAGS+set}"
45131 ac_save_CFLAGS="$CFLAGS"
45132 CFLAGS='-Wl,--gc-sections'
45134 # Check for -Wl,--gc-sections
45135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45136 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45137 if test x$gcc_no_link = xyes; then
45138 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45141 /* end confdefs.h. */
45142 int one(void) { return 1; }
45143 int two(void) { return 2; }
45146 main ()
45148 two();
45150 return 0;
45152 _ACEOF
45153 if ac_fn_c_try_link "$LINENO"; then :
45154 ac_gcsections=yes
45155 else
45156 ac_gcsections=no
45158 rm -f core conftest.err conftest.$ac_objext \
45159 conftest$ac_exeext conftest.$ac_ext
45160 if test "$ac_gcsections" = "yes"; then
45161 rm -f conftest.c
45162 touch conftest.c
45163 if $CC -c conftest.c; then
45164 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45165 grep "Warning: gc-sections option ignored" > /dev/null; then
45166 ac_gcsections=no
45169 rm -f conftest.c conftest.o conftest
45171 if test "$ac_gcsections" = "yes"; then
45172 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45175 $as_echo "$ac_gcsections" >&6; }
45177 if test "$ac_test_CFLAGS" = set; then
45178 CFLAGS="$ac_save_CFLAGS"
45179 else
45180 # this is the suspicious part
45181 CFLAGS=''
45185 # Set -z,relro.
45186 # Note this is only for shared objects.
45187 ac_ld_relro=no
45188 if test x"$with_gnu_ld" = x"yes"; then
45189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45190 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45191 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45192 if test -n "$cxx_z_relo"; then
45193 OPT_LDFLAGS="-Wl,-z,relro"
45194 ac_ld_relro=yes
45196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45197 $as_echo "$ac_ld_relro" >&6; }
45200 # Set linker optimization flags.
45201 if test x"$with_gnu_ld" = x"yes"; then
45202 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45209 # GLIBCXX_CHECK_MATH_SUPPORT
45210 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45212 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45214 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45216 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45218 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45220 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45222 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45224 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45226 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45228 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45230 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45232 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45234 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45236 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45238 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45240 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45242 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45244 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45246 $as_echo "#define HAVE_MODF 1" >>confdefs.h
45248 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45250 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45253 # GLIBCXX_CHECK_STDLIB_SUPPORT
45254 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
45259 # Check whether --enable-tls was given.
45260 if test "${enable_tls+set}" = set; then :
45261 enableval=$enable_tls;
45262 case "$enableval" in
45263 yes|no) ;;
45264 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
45265 esac
45267 else
45268 enable_tls=yes
45272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
45273 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
45274 if test "${gcc_cv_have_tls+set}" = set; then :
45275 $as_echo_n "(cached) " >&6
45276 else
45278 if test "$cross_compiling" = yes; then :
45279 if test x$gcc_no_link = xyes; then
45280 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45283 /* end confdefs.h. */
45284 __thread int a; int b; int main() { return a = b; }
45285 _ACEOF
45286 if ac_fn_c_try_link "$LINENO"; then :
45287 chktls_save_LDFLAGS="$LDFLAGS"
45288 case $host in
45289 *-*-linux*)
45290 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
45292 esac
45293 chktls_save_CFLAGS="$CFLAGS"
45294 CFLAGS="-fPIC $CFLAGS"
45295 if test x$gcc_no_link = xyes; then
45296 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45299 /* end confdefs.h. */
45300 int f() { return 0; }
45301 _ACEOF
45302 if ac_fn_c_try_link "$LINENO"; then :
45303 if test x$gcc_no_link = xyes; then
45304 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45307 /* end confdefs.h. */
45308 __thread int a; int b; int f() { return a = b; }
45309 _ACEOF
45310 if ac_fn_c_try_link "$LINENO"; then :
45311 gcc_cv_have_tls=yes
45312 else
45313 gcc_cv_have_tls=no
45315 rm -f core conftest.err conftest.$ac_objext \
45316 conftest$ac_exeext conftest.$ac_ext
45317 else
45318 gcc_cv_have_tls=yes
45320 rm -f core conftest.err conftest.$ac_objext \
45321 conftest$ac_exeext conftest.$ac_ext
45322 CFLAGS="$chktls_save_CFLAGS"
45323 LDFLAGS="$chktls_save_LDFLAGS"
45324 else
45325 gcc_cv_have_tls=no
45327 rm -f core conftest.err conftest.$ac_objext \
45328 conftest$ac_exeext conftest.$ac_ext
45331 else
45332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45333 /* end confdefs.h. */
45334 __thread int a; int b; int main() { return a = b; }
45335 _ACEOF
45336 if ac_fn_c_try_run "$LINENO"; then :
45337 chktls_save_LDFLAGS="$LDFLAGS"
45338 LDFLAGS="-static $LDFLAGS"
45339 if test x$gcc_no_link = xyes; then
45340 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45343 /* end confdefs.h. */
45344 int main() { return 0; }
45345 _ACEOF
45346 if ac_fn_c_try_link "$LINENO"; then :
45347 if test "$cross_compiling" = yes; then :
45348 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45349 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45350 as_fn_error "cannot run test program while cross compiling
45351 See \`config.log' for more details." "$LINENO" 5; }
45352 else
45353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45354 /* end confdefs.h. */
45355 __thread int a; int b; int main() { return a = b; }
45356 _ACEOF
45357 if ac_fn_c_try_run "$LINENO"; then :
45358 gcc_cv_have_tls=yes
45359 else
45360 gcc_cv_have_tls=no
45362 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45363 conftest.$ac_objext conftest.beam conftest.$ac_ext
45366 else
45367 gcc_cv_have_tls=yes
45369 rm -f core conftest.err conftest.$ac_objext \
45370 conftest$ac_exeext conftest.$ac_ext
45371 LDFLAGS="$chktls_save_LDFLAGS"
45372 if test $gcc_cv_have_tls = yes; then
45373 chktls_save_CFLAGS="$CFLAGS"
45374 thread_CFLAGS=failed
45375 for flag in '' '-pthread' '-lpthread'; do
45376 CFLAGS="$flag $chktls_save_CFLAGS"
45377 if test x$gcc_no_link = xyes; then
45378 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45381 /* end confdefs.h. */
45382 #include <pthread.h>
45383 void *g(void *d) { return NULL; }
45385 main ()
45387 pthread_t t; pthread_create(&t,NULL,g,NULL);
45389 return 0;
45391 _ACEOF
45392 if ac_fn_c_try_link "$LINENO"; then :
45393 thread_CFLAGS="$flag"
45395 rm -f core conftest.err conftest.$ac_objext \
45396 conftest$ac_exeext conftest.$ac_ext
45397 if test "X$thread_CFLAGS" != Xfailed; then
45398 break
45400 done
45401 CFLAGS="$chktls_save_CFLAGS"
45402 if test "X$thread_CFLAGS" != Xfailed; then
45403 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
45404 if test "$cross_compiling" = yes; then :
45405 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45406 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45407 as_fn_error "cannot run test program while cross compiling
45408 See \`config.log' for more details." "$LINENO" 5; }
45409 else
45410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45411 /* end confdefs.h. */
45412 #include <pthread.h>
45413 __thread int a;
45414 static int *volatile a_in_other_thread;
45415 static void *
45416 thread_func (void *arg)
45418 a_in_other_thread = &a;
45419 return (void *)0;
45422 main ()
45424 pthread_t thread;
45425 void *thread_retval;
45426 int *volatile a_in_main_thread;
45427 a_in_main_thread = &a;
45428 if (pthread_create (&thread, (pthread_attr_t *)0,
45429 thread_func, (void *)0))
45430 return 0;
45431 if (pthread_join (thread, &thread_retval))
45432 return 0;
45433 return (a_in_other_thread == a_in_main_thread);
45435 return 0;
45437 _ACEOF
45438 if ac_fn_c_try_run "$LINENO"; then :
45439 gcc_cv_have_tls=yes
45440 else
45441 gcc_cv_have_tls=no
45443 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45444 conftest.$ac_objext conftest.beam conftest.$ac_ext
45447 CFLAGS="$chktls_save_CFLAGS"
45450 else
45451 gcc_cv_have_tls=no
45453 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45454 conftest.$ac_objext conftest.beam conftest.$ac_ext
45458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
45459 $as_echo "$gcc_cv_have_tls" >&6; }
45460 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
45462 $as_echo "#define HAVE_TLS 1" >>confdefs.h
45465 case "$target" in
45466 *-hpux10*)
45467 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45469 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
45471 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45473 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45475 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45478 esac
45480 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
45482 # All these tests are for C++; save the language and the compiler flags.
45483 # The CXXFLAGS thing is suspicious, but based on similar bits previously
45484 # found in GLIBCXX_CONFIGURE.
45486 ac_ext=cpp
45487 ac_cpp='$CXXCPP $CPPFLAGS'
45488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45492 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45493 ac_save_CXXFLAGS="$CXXFLAGS"
45495 # Check for maintainer-mode bits.
45496 if test x"$USE_MAINTAINER_MODE" = xno; then
45497 WERROR=''
45498 else
45499 WERROR='-Werror'
45502 # Check for -ffunction-sections -fdata-sections
45503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
45504 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
45505 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
45506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45507 /* end confdefs.h. */
45508 int foo; void bar() { };
45510 main ()
45514 return 0;
45516 _ACEOF
45517 if ac_fn_cxx_try_compile "$LINENO"; then :
45518 ac_fdsections=yes
45519 else
45520 ac_fdsections=no
45522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45523 if test "$ac_test_CXXFLAGS" = set; then
45524 CXXFLAGS="$ac_save_CXXFLAGS"
45525 else
45526 # this is the suspicious part
45527 CXXFLAGS=''
45529 if test x"$ac_fdsections" = x"yes"; then
45530 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
45533 $as_echo "$ac_fdsections" >&6; }
45535 ac_ext=c
45536 ac_cpp='$CPP $CPPFLAGS'
45537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45545 # If we're not using GNU ld, then there's no point in even trying these
45546 # tests. Check for that first. We should have already tested for gld
45547 # by now (in libtool), but require it now just to be safe...
45548 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45549 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45553 # The name set by libtool depends on the version of libtool. Shame on us
45554 # for depending on an impl detail, but c'est la vie. Older versions used
45555 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45556 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45557 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45558 # set (hence we're using an older libtool), then set it.
45559 if test x${with_gnu_ld+set} != xset; then
45560 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45561 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45562 with_gnu_ld=no
45563 else
45564 with_gnu_ld=$ac_cv_prog_gnu_ld
45568 # Start by getting the version number. I think the libtool test already
45569 # does some of this, but throws away the result.
45570 glibcxx_ld_is_gold=no
45571 if test x"$with_gnu_ld" = x"yes"; then
45572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45573 $as_echo_n "checking for ld version... " >&6; }
45575 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45576 glibcxx_ld_is_gold=yes
45578 ldver=`$LD --version 2>/dev/null |
45579 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'`
45581 glibcxx_gnu_ld_version=`echo $ldver | \
45582 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45584 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45587 # Set --gc-sections.
45588 glibcxx_have_gc_sections=no
45589 if test "$glibcxx_ld_is_gold" = "yes"; then
45590 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45591 glibcxx_have_gc_sections=yes
45593 else
45594 glibcxx_gcsections_min_ld=21602
45595 if test x"$with_gnu_ld" = x"yes" &&
45596 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45597 glibcxx_have_gc_sections=yes
45600 if test "$glibcxx_have_gc_sections" = "yes"; then
45601 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45602 # NB: This flag only works reliably after 2.16.1. Configure tests
45603 # for this are difficult, so hard wire a value that should work.
45605 ac_test_CFLAGS="${CFLAGS+set}"
45606 ac_save_CFLAGS="$CFLAGS"
45607 CFLAGS='-Wl,--gc-sections'
45609 # Check for -Wl,--gc-sections
45610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45611 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45612 if test x$gcc_no_link = xyes; then
45613 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45616 /* end confdefs.h. */
45617 int one(void) { return 1; }
45618 int two(void) { return 2; }
45621 main ()
45623 two();
45625 return 0;
45627 _ACEOF
45628 if ac_fn_c_try_link "$LINENO"; then :
45629 ac_gcsections=yes
45630 else
45631 ac_gcsections=no
45633 rm -f core conftest.err conftest.$ac_objext \
45634 conftest$ac_exeext conftest.$ac_ext
45635 if test "$ac_gcsections" = "yes"; then
45636 rm -f conftest.c
45637 touch conftest.c
45638 if $CC -c conftest.c; then
45639 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45640 grep "Warning: gc-sections option ignored" > /dev/null; then
45641 ac_gcsections=no
45644 rm -f conftest.c conftest.o conftest
45646 if test "$ac_gcsections" = "yes"; then
45647 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45650 $as_echo "$ac_gcsections" >&6; }
45652 if test "$ac_test_CFLAGS" = set; then
45653 CFLAGS="$ac_save_CFLAGS"
45654 else
45655 # this is the suspicious part
45656 CFLAGS=''
45660 # Set -z,relro.
45661 # Note this is only for shared objects.
45662 ac_ld_relro=no
45663 if test x"$with_gnu_ld" = x"yes"; then
45664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45665 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45666 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45667 if test -n "$cxx_z_relo"; then
45668 OPT_LDFLAGS="-Wl,-z,relro"
45669 ac_ld_relro=yes
45671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45672 $as_echo "$ac_ld_relro" >&6; }
45675 # Set linker optimization flags.
45676 if test x"$with_gnu_ld" = x"yes"; then
45677 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45684 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45685 ac_save_CXXFLAGS="$CXXFLAGS"
45686 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
45689 $as_echo_n "checking for sin in -lm... " >&6; }
45690 if test "${ac_cv_lib_m_sin+set}" = set; then :
45691 $as_echo_n "(cached) " >&6
45692 else
45693 ac_check_lib_save_LIBS=$LIBS
45694 LIBS="-lm $LIBS"
45695 if test x$gcc_no_link = xyes; then
45696 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45699 /* end confdefs.h. */
45701 /* Override any GCC internal prototype to avoid an error.
45702 Use char because int might match the return type of a GCC
45703 builtin and then its argument prototype would still apply. */
45704 #ifdef __cplusplus
45705 extern "C"
45706 #endif
45707 char sin ();
45709 main ()
45711 return sin ();
45713 return 0;
45715 _ACEOF
45716 if ac_fn_c_try_link "$LINENO"; then :
45717 ac_cv_lib_m_sin=yes
45718 else
45719 ac_cv_lib_m_sin=no
45721 rm -f core conftest.err conftest.$ac_objext \
45722 conftest$ac_exeext conftest.$ac_ext
45723 LIBS=$ac_check_lib_save_LIBS
45725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
45726 $as_echo "$ac_cv_lib_m_sin" >&6; }
45727 if test "x$ac_cv_lib_m_sin" = x""yes; then :
45728 libm="-lm"
45731 ac_save_LIBS="$LIBS"
45732 LIBS="$LIBS $libm"
45736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
45737 $as_echo_n "checking for isinf declaration... " >&6; }
45738 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
45739 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
45740 $as_echo_n "(cached) " >&6
45741 else
45744 ac_ext=cpp
45745 ac_cpp='$CXXCPP $CPPFLAGS'
45746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45751 /* end confdefs.h. */
45752 #include <math.h>
45753 #ifdef HAVE_IEEEFP_H
45754 #include <ieeefp.h>
45755 #endif
45758 main ()
45760 isinf(0);
45762 return 0;
45764 _ACEOF
45765 if ac_fn_cxx_try_compile "$LINENO"; then :
45766 glibcxx_cv_func_isinf_use=yes
45767 else
45768 glibcxx_cv_func_isinf_use=no
45770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45771 ac_ext=c
45772 ac_cpp='$CPP $CPPFLAGS'
45773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
45782 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
45784 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
45785 for ac_func in isinf
45786 do :
45787 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
45788 if test "x$ac_cv_func_isinf" = x""yes; then :
45789 cat >>confdefs.h <<_ACEOF
45790 #define HAVE_ISINF 1
45791 _ACEOF
45794 done
45796 else
45798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
45799 $as_echo_n "checking for _isinf declaration... " >&6; }
45800 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
45801 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
45802 $as_echo_n "(cached) " >&6
45803 else
45806 ac_ext=cpp
45807 ac_cpp='$CXXCPP $CPPFLAGS'
45808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45813 /* end confdefs.h. */
45814 #include <math.h>
45815 #ifdef HAVE_IEEEFP_H
45816 #include <ieeefp.h>
45817 #endif
45820 main ()
45822 _isinf(0);
45824 return 0;
45826 _ACEOF
45827 if ac_fn_cxx_try_compile "$LINENO"; then :
45828 glibcxx_cv_func__isinf_use=yes
45829 else
45830 glibcxx_cv_func__isinf_use=no
45832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45833 ac_ext=c
45834 ac_cpp='$CPP $CPPFLAGS'
45835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
45844 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
45846 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
45847 for ac_func in _isinf
45848 do :
45849 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
45850 if test "x$ac_cv_func__isinf" = x""yes; then :
45851 cat >>confdefs.h <<_ACEOF
45852 #define HAVE__ISINF 1
45853 _ACEOF
45856 done
45865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
45866 $as_echo_n "checking for isnan declaration... " >&6; }
45867 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
45868 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
45869 $as_echo_n "(cached) " >&6
45870 else
45873 ac_ext=cpp
45874 ac_cpp='$CXXCPP $CPPFLAGS'
45875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45880 /* end confdefs.h. */
45881 #include <math.h>
45882 #ifdef HAVE_IEEEFP_H
45883 #include <ieeefp.h>
45884 #endif
45887 main ()
45889 isnan(0);
45891 return 0;
45893 _ACEOF
45894 if ac_fn_cxx_try_compile "$LINENO"; then :
45895 glibcxx_cv_func_isnan_use=yes
45896 else
45897 glibcxx_cv_func_isnan_use=no
45899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45900 ac_ext=c
45901 ac_cpp='$CPP $CPPFLAGS'
45902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45911 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45913 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45914 for ac_func in isnan
45915 do :
45916 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45917 if test "x$ac_cv_func_isnan" = x""yes; then :
45918 cat >>confdefs.h <<_ACEOF
45919 #define HAVE_ISNAN 1
45920 _ACEOF
45923 done
45925 else
45927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45928 $as_echo_n "checking for _isnan declaration... " >&6; }
45929 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45930 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45931 $as_echo_n "(cached) " >&6
45932 else
45935 ac_ext=cpp
45936 ac_cpp='$CXXCPP $CPPFLAGS'
45937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45942 /* end confdefs.h. */
45943 #include <math.h>
45944 #ifdef HAVE_IEEEFP_H
45945 #include <ieeefp.h>
45946 #endif
45949 main ()
45951 _isnan(0);
45953 return 0;
45955 _ACEOF
45956 if ac_fn_cxx_try_compile "$LINENO"; then :
45957 glibcxx_cv_func__isnan_use=yes
45958 else
45959 glibcxx_cv_func__isnan_use=no
45961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45962 ac_ext=c
45963 ac_cpp='$CPP $CPPFLAGS'
45964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45973 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45975 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45976 for ac_func in _isnan
45977 do :
45978 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45979 if test "x$ac_cv_func__isnan" = x""yes; then :
45980 cat >>confdefs.h <<_ACEOF
45981 #define HAVE__ISNAN 1
45982 _ACEOF
45985 done
45994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45995 $as_echo_n "checking for finite declaration... " >&6; }
45996 if test x${glibcxx_cv_func_finite_use+set} != xset; then
45997 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45998 $as_echo_n "(cached) " >&6
45999 else
46002 ac_ext=cpp
46003 ac_cpp='$CXXCPP $CPPFLAGS'
46004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46009 /* end confdefs.h. */
46010 #include <math.h>
46011 #ifdef HAVE_IEEEFP_H
46012 #include <ieeefp.h>
46013 #endif
46016 main ()
46018 finite(0);
46020 return 0;
46022 _ACEOF
46023 if ac_fn_cxx_try_compile "$LINENO"; then :
46024 glibcxx_cv_func_finite_use=yes
46025 else
46026 glibcxx_cv_func_finite_use=no
46028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46029 ac_ext=c
46030 ac_cpp='$CPP $CPPFLAGS'
46031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46040 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46042 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46043 for ac_func in finite
46044 do :
46045 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46046 if test "x$ac_cv_func_finite" = x""yes; then :
46047 cat >>confdefs.h <<_ACEOF
46048 #define HAVE_FINITE 1
46049 _ACEOF
46052 done
46054 else
46056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46057 $as_echo_n "checking for _finite declaration... " >&6; }
46058 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46059 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46060 $as_echo_n "(cached) " >&6
46061 else
46064 ac_ext=cpp
46065 ac_cpp='$CXXCPP $CPPFLAGS'
46066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46071 /* end confdefs.h. */
46072 #include <math.h>
46073 #ifdef HAVE_IEEEFP_H
46074 #include <ieeefp.h>
46075 #endif
46078 main ()
46080 _finite(0);
46082 return 0;
46084 _ACEOF
46085 if ac_fn_cxx_try_compile "$LINENO"; then :
46086 glibcxx_cv_func__finite_use=yes
46087 else
46088 glibcxx_cv_func__finite_use=no
46090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46091 ac_ext=c
46092 ac_cpp='$CPP $CPPFLAGS'
46093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46102 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46104 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46105 for ac_func in _finite
46106 do :
46107 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46108 if test "x$ac_cv_func__finite" = x""yes; then :
46109 cat >>confdefs.h <<_ACEOF
46110 #define HAVE__FINITE 1
46111 _ACEOF
46114 done
46123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46124 $as_echo_n "checking for sincos declaration... " >&6; }
46125 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46126 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46127 $as_echo_n "(cached) " >&6
46128 else
46131 ac_ext=cpp
46132 ac_cpp='$CXXCPP $CPPFLAGS'
46133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46138 /* end confdefs.h. */
46139 #include <math.h>
46141 main ()
46143 sincos(0, 0, 0);
46145 return 0;
46147 _ACEOF
46148 if ac_fn_cxx_try_compile "$LINENO"; then :
46149 glibcxx_cv_func_sincos_use=yes
46150 else
46151 glibcxx_cv_func_sincos_use=no
46153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46154 ac_ext=c
46155 ac_cpp='$CPP $CPPFLAGS'
46156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46165 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46167 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46168 for ac_func in sincos
46169 do :
46170 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46171 if test "x$ac_cv_func_sincos" = x""yes; then :
46172 cat >>confdefs.h <<_ACEOF
46173 #define HAVE_SINCOS 1
46174 _ACEOF
46177 done
46179 else
46181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46182 $as_echo_n "checking for _sincos declaration... " >&6; }
46183 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46184 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46185 $as_echo_n "(cached) " >&6
46186 else
46189 ac_ext=cpp
46190 ac_cpp='$CXXCPP $CPPFLAGS'
46191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46196 /* end confdefs.h. */
46197 #include <math.h>
46199 main ()
46201 _sincos(0, 0, 0);
46203 return 0;
46205 _ACEOF
46206 if ac_fn_cxx_try_compile "$LINENO"; then :
46207 glibcxx_cv_func__sincos_use=yes
46208 else
46209 glibcxx_cv_func__sincos_use=no
46211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46212 ac_ext=c
46213 ac_cpp='$CPP $CPPFLAGS'
46214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46223 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46225 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46226 for ac_func in _sincos
46227 do :
46228 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46229 if test "x$ac_cv_func__sincos" = x""yes; then :
46230 cat >>confdefs.h <<_ACEOF
46231 #define HAVE__SINCOS 1
46232 _ACEOF
46235 done
46244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46245 $as_echo_n "checking for fpclass declaration... " >&6; }
46246 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46247 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46248 $as_echo_n "(cached) " >&6
46249 else
46252 ac_ext=cpp
46253 ac_cpp='$CXXCPP $CPPFLAGS'
46254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46259 /* end confdefs.h. */
46260 #include <math.h>
46261 #ifdef HAVE_IEEEFP_H
46262 #include <ieeefp.h>
46263 #endif
46266 main ()
46268 fpclass(0);
46270 return 0;
46272 _ACEOF
46273 if ac_fn_cxx_try_compile "$LINENO"; then :
46274 glibcxx_cv_func_fpclass_use=yes
46275 else
46276 glibcxx_cv_func_fpclass_use=no
46278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46279 ac_ext=c
46280 ac_cpp='$CPP $CPPFLAGS'
46281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46290 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46292 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46293 for ac_func in fpclass
46294 do :
46295 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46296 if test "x$ac_cv_func_fpclass" = x""yes; then :
46297 cat >>confdefs.h <<_ACEOF
46298 #define HAVE_FPCLASS 1
46299 _ACEOF
46302 done
46304 else
46306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46307 $as_echo_n "checking for _fpclass declaration... " >&6; }
46308 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46309 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46310 $as_echo_n "(cached) " >&6
46311 else
46314 ac_ext=cpp
46315 ac_cpp='$CXXCPP $CPPFLAGS'
46316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46321 /* end confdefs.h. */
46322 #include <math.h>
46323 #ifdef HAVE_IEEEFP_H
46324 #include <ieeefp.h>
46325 #endif
46328 main ()
46330 _fpclass(0);
46332 return 0;
46334 _ACEOF
46335 if ac_fn_cxx_try_compile "$LINENO"; then :
46336 glibcxx_cv_func__fpclass_use=yes
46337 else
46338 glibcxx_cv_func__fpclass_use=no
46340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46341 ac_ext=c
46342 ac_cpp='$CPP $CPPFLAGS'
46343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46352 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46354 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46355 for ac_func in _fpclass
46356 do :
46357 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46358 if test "x$ac_cv_func__fpclass" = x""yes; then :
46359 cat >>confdefs.h <<_ACEOF
46360 #define HAVE__FPCLASS 1
46361 _ACEOF
46364 done
46373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46374 $as_echo_n "checking for qfpclass declaration... " >&6; }
46375 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46376 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46377 $as_echo_n "(cached) " >&6
46378 else
46381 ac_ext=cpp
46382 ac_cpp='$CXXCPP $CPPFLAGS'
46383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46388 /* end confdefs.h. */
46389 #include <math.h>
46390 #ifdef HAVE_IEEEFP_H
46391 #include <ieeefp.h>
46392 #endif
46395 main ()
46397 qfpclass(0);
46399 return 0;
46401 _ACEOF
46402 if ac_fn_cxx_try_compile "$LINENO"; then :
46403 glibcxx_cv_func_qfpclass_use=yes
46404 else
46405 glibcxx_cv_func_qfpclass_use=no
46407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46408 ac_ext=c
46409 ac_cpp='$CPP $CPPFLAGS'
46410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46419 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46421 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46422 for ac_func in qfpclass
46423 do :
46424 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46425 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46426 cat >>confdefs.h <<_ACEOF
46427 #define HAVE_QFPCLASS 1
46428 _ACEOF
46431 done
46433 else
46435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46436 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46437 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46438 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46439 $as_echo_n "(cached) " >&6
46440 else
46443 ac_ext=cpp
46444 ac_cpp='$CXXCPP $CPPFLAGS'
46445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46450 /* end confdefs.h. */
46451 #include <math.h>
46452 #ifdef HAVE_IEEEFP_H
46453 #include <ieeefp.h>
46454 #endif
46457 main ()
46459 _qfpclass(0);
46461 return 0;
46463 _ACEOF
46464 if ac_fn_cxx_try_compile "$LINENO"; then :
46465 glibcxx_cv_func__qfpclass_use=yes
46466 else
46467 glibcxx_cv_func__qfpclass_use=no
46469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46470 ac_ext=c
46471 ac_cpp='$CPP $CPPFLAGS'
46472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46481 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46483 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46484 for ac_func in _qfpclass
46485 do :
46486 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46487 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46488 cat >>confdefs.h <<_ACEOF
46489 #define HAVE__QFPCLASS 1
46490 _ACEOF
46493 done
46502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46503 $as_echo_n "checking for hypot declaration... " >&6; }
46504 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46505 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46506 $as_echo_n "(cached) " >&6
46507 else
46510 ac_ext=cpp
46511 ac_cpp='$CXXCPP $CPPFLAGS'
46512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46517 /* end confdefs.h. */
46518 #include <math.h>
46520 main ()
46522 hypot(0, 0);
46524 return 0;
46526 _ACEOF
46527 if ac_fn_cxx_try_compile "$LINENO"; then :
46528 glibcxx_cv_func_hypot_use=yes
46529 else
46530 glibcxx_cv_func_hypot_use=no
46532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46533 ac_ext=c
46534 ac_cpp='$CPP $CPPFLAGS'
46535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46544 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46546 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46547 for ac_func in hypot
46548 do :
46549 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46550 if test "x$ac_cv_func_hypot" = x""yes; then :
46551 cat >>confdefs.h <<_ACEOF
46552 #define HAVE_HYPOT 1
46553 _ACEOF
46556 done
46558 else
46560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46561 $as_echo_n "checking for _hypot declaration... " >&6; }
46562 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46563 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46564 $as_echo_n "(cached) " >&6
46565 else
46568 ac_ext=cpp
46569 ac_cpp='$CXXCPP $CPPFLAGS'
46570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46575 /* end confdefs.h. */
46576 #include <math.h>
46578 main ()
46580 _hypot(0, 0);
46582 return 0;
46584 _ACEOF
46585 if ac_fn_cxx_try_compile "$LINENO"; then :
46586 glibcxx_cv_func__hypot_use=yes
46587 else
46588 glibcxx_cv_func__hypot_use=no
46590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46591 ac_ext=c
46592 ac_cpp='$CPP $CPPFLAGS'
46593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
46602 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
46604 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46605 for ac_func in _hypot
46606 do :
46607 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
46608 if test "x$ac_cv_func__hypot" = x""yes; then :
46609 cat >>confdefs.h <<_ACEOF
46610 #define HAVE__HYPOT 1
46611 _ACEOF
46614 done
46623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
46624 $as_echo_n "checking for float trig functions... " >&6; }
46625 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
46626 $as_echo_n "(cached) " >&6
46627 else
46630 ac_ext=cpp
46631 ac_cpp='$CXXCPP $CPPFLAGS'
46632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46637 /* end confdefs.h. */
46638 #include <math.h>
46640 main ()
46642 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46644 return 0;
46646 _ACEOF
46647 if ac_fn_cxx_try_compile "$LINENO"; then :
46648 glibcxx_cv_func_float_trig_use=yes
46649 else
46650 glibcxx_cv_func_float_trig_use=no
46652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46653 ac_ext=c
46654 ac_cpp='$CPP $CPPFLAGS'
46655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
46662 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
46663 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46664 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46665 do :
46666 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46667 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46668 eval as_val=\$$as_ac_var
46669 if test "x$as_val" = x""yes; then :
46670 cat >>confdefs.h <<_ACEOF
46671 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46672 _ACEOF
46675 done
46677 else
46678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
46679 $as_echo_n "checking for _float trig functions... " >&6; }
46680 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
46681 $as_echo_n "(cached) " >&6
46682 else
46685 ac_ext=cpp
46686 ac_cpp='$CXXCPP $CPPFLAGS'
46687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46692 /* end confdefs.h. */
46693 #include <math.h>
46695 main ()
46697 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46699 return 0;
46701 _ACEOF
46702 if ac_fn_cxx_try_compile "$LINENO"; then :
46703 glibcxx_cv_func__float_trig_use=yes
46704 else
46705 glibcxx_cv_func__float_trig_use=no
46707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46708 ac_ext=c
46709 ac_cpp='$CPP $CPPFLAGS'
46710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
46717 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
46718 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46719 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46720 do :
46721 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46722 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46723 eval as_val=\$$as_ac_var
46724 if test "x$as_val" = x""yes; then :
46725 cat >>confdefs.h <<_ACEOF
46726 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46727 _ACEOF
46730 done
46739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
46740 $as_echo_n "checking for float round functions... " >&6; }
46741 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
46742 $as_echo_n "(cached) " >&6
46743 else
46746 ac_ext=cpp
46747 ac_cpp='$CXXCPP $CPPFLAGS'
46748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46753 /* end confdefs.h. */
46754 #include <math.h>
46756 main ()
46758 ceilf (0); floorf (0);
46760 return 0;
46762 _ACEOF
46763 if ac_fn_cxx_try_compile "$LINENO"; then :
46764 glibcxx_cv_func_float_round_use=yes
46765 else
46766 glibcxx_cv_func_float_round_use=no
46768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46769 ac_ext=c
46770 ac_cpp='$CPP $CPPFLAGS'
46771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
46778 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
46779 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46780 for ac_func in ceilf floorf
46781 do :
46782 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46783 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46784 eval as_val=\$$as_ac_var
46785 if test "x$as_val" = x""yes; then :
46786 cat >>confdefs.h <<_ACEOF
46787 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46788 _ACEOF
46791 done
46793 else
46794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
46795 $as_echo_n "checking for _float round functions... " >&6; }
46796 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
46797 $as_echo_n "(cached) " >&6
46798 else
46801 ac_ext=cpp
46802 ac_cpp='$CXXCPP $CPPFLAGS'
46803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46808 /* end confdefs.h. */
46809 #include <math.h>
46811 main ()
46813 _ceilf (0); _floorf (0);
46815 return 0;
46817 _ACEOF
46818 if ac_fn_cxx_try_compile "$LINENO"; then :
46819 glibcxx_cv_func__float_round_use=yes
46820 else
46821 glibcxx_cv_func__float_round_use=no
46823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46824 ac_ext=c
46825 ac_cpp='$CPP $CPPFLAGS'
46826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
46833 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
46834 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46835 for ac_func in _ceilf _floorf
46836 do :
46837 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46838 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46839 eval as_val=\$$as_ac_var
46840 if test "x$as_val" = x""yes; then :
46841 cat >>confdefs.h <<_ACEOF
46842 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46843 _ACEOF
46846 done
46856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
46857 $as_echo_n "checking for expf declaration... " >&6; }
46858 if test x${glibcxx_cv_func_expf_use+set} != xset; then
46859 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
46860 $as_echo_n "(cached) " >&6
46861 else
46864 ac_ext=cpp
46865 ac_cpp='$CXXCPP $CPPFLAGS'
46866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46871 /* end confdefs.h. */
46872 #include <math.h>
46873 #ifdef HAVE_IEEEFP_H
46874 #include <ieeefp.h>
46875 #endif
46878 main ()
46880 expf(0);
46882 return 0;
46884 _ACEOF
46885 if ac_fn_cxx_try_compile "$LINENO"; then :
46886 glibcxx_cv_func_expf_use=yes
46887 else
46888 glibcxx_cv_func_expf_use=no
46890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46891 ac_ext=c
46892 ac_cpp='$CPP $CPPFLAGS'
46893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46902 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46904 if test x$glibcxx_cv_func_expf_use = x"yes"; then
46905 for ac_func in expf
46906 do :
46907 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46908 if test "x$ac_cv_func_expf" = x""yes; then :
46909 cat >>confdefs.h <<_ACEOF
46910 #define HAVE_EXPF 1
46911 _ACEOF
46914 done
46916 else
46918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46919 $as_echo_n "checking for _expf declaration... " >&6; }
46920 if test x${glibcxx_cv_func__expf_use+set} != xset; then
46921 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46922 $as_echo_n "(cached) " >&6
46923 else
46926 ac_ext=cpp
46927 ac_cpp='$CXXCPP $CPPFLAGS'
46928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46933 /* end confdefs.h. */
46934 #include <math.h>
46935 #ifdef HAVE_IEEEFP_H
46936 #include <ieeefp.h>
46937 #endif
46940 main ()
46942 _expf(0);
46944 return 0;
46946 _ACEOF
46947 if ac_fn_cxx_try_compile "$LINENO"; then :
46948 glibcxx_cv_func__expf_use=yes
46949 else
46950 glibcxx_cv_func__expf_use=no
46952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46953 ac_ext=c
46954 ac_cpp='$CPP $CPPFLAGS'
46955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46964 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46966 if test x$glibcxx_cv_func__expf_use = x"yes"; then
46967 for ac_func in _expf
46968 do :
46969 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46970 if test "x$ac_cv_func__expf" = x""yes; then :
46971 cat >>confdefs.h <<_ACEOF
46972 #define HAVE__EXPF 1
46973 _ACEOF
46976 done
46985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46986 $as_echo_n "checking for isnanf declaration... " >&6; }
46987 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46988 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46989 $as_echo_n "(cached) " >&6
46990 else
46993 ac_ext=cpp
46994 ac_cpp='$CXXCPP $CPPFLAGS'
46995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47000 /* end confdefs.h. */
47001 #include <math.h>
47002 #ifdef HAVE_IEEEFP_H
47003 #include <ieeefp.h>
47004 #endif
47007 main ()
47009 isnanf(0);
47011 return 0;
47013 _ACEOF
47014 if ac_fn_cxx_try_compile "$LINENO"; then :
47015 glibcxx_cv_func_isnanf_use=yes
47016 else
47017 glibcxx_cv_func_isnanf_use=no
47019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47020 ac_ext=c
47021 ac_cpp='$CPP $CPPFLAGS'
47022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47031 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47033 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47034 for ac_func in isnanf
47035 do :
47036 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47037 if test "x$ac_cv_func_isnanf" = x""yes; then :
47038 cat >>confdefs.h <<_ACEOF
47039 #define HAVE_ISNANF 1
47040 _ACEOF
47043 done
47045 else
47047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47048 $as_echo_n "checking for _isnanf declaration... " >&6; }
47049 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47050 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47051 $as_echo_n "(cached) " >&6
47052 else
47055 ac_ext=cpp
47056 ac_cpp='$CXXCPP $CPPFLAGS'
47057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47062 /* end confdefs.h. */
47063 #include <math.h>
47064 #ifdef HAVE_IEEEFP_H
47065 #include <ieeefp.h>
47066 #endif
47069 main ()
47071 _isnanf(0);
47073 return 0;
47075 _ACEOF
47076 if ac_fn_cxx_try_compile "$LINENO"; then :
47077 glibcxx_cv_func__isnanf_use=yes
47078 else
47079 glibcxx_cv_func__isnanf_use=no
47081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47082 ac_ext=c
47083 ac_cpp='$CPP $CPPFLAGS'
47084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47093 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47095 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47096 for ac_func in _isnanf
47097 do :
47098 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47099 if test "x$ac_cv_func__isnanf" = x""yes; then :
47100 cat >>confdefs.h <<_ACEOF
47101 #define HAVE__ISNANF 1
47102 _ACEOF
47105 done
47114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47115 $as_echo_n "checking for isinff declaration... " >&6; }
47116 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47117 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47118 $as_echo_n "(cached) " >&6
47119 else
47122 ac_ext=cpp
47123 ac_cpp='$CXXCPP $CPPFLAGS'
47124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47129 /* end confdefs.h. */
47130 #include <math.h>
47131 #ifdef HAVE_IEEEFP_H
47132 #include <ieeefp.h>
47133 #endif
47136 main ()
47138 isinff(0);
47140 return 0;
47142 _ACEOF
47143 if ac_fn_cxx_try_compile "$LINENO"; then :
47144 glibcxx_cv_func_isinff_use=yes
47145 else
47146 glibcxx_cv_func_isinff_use=no
47148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47149 ac_ext=c
47150 ac_cpp='$CPP $CPPFLAGS'
47151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47160 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47162 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47163 for ac_func in isinff
47164 do :
47165 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47166 if test "x$ac_cv_func_isinff" = x""yes; then :
47167 cat >>confdefs.h <<_ACEOF
47168 #define HAVE_ISINFF 1
47169 _ACEOF
47172 done
47174 else
47176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47177 $as_echo_n "checking for _isinff declaration... " >&6; }
47178 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47179 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47180 $as_echo_n "(cached) " >&6
47181 else
47184 ac_ext=cpp
47185 ac_cpp='$CXXCPP $CPPFLAGS'
47186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47191 /* end confdefs.h. */
47192 #include <math.h>
47193 #ifdef HAVE_IEEEFP_H
47194 #include <ieeefp.h>
47195 #endif
47198 main ()
47200 _isinff(0);
47202 return 0;
47204 _ACEOF
47205 if ac_fn_cxx_try_compile "$LINENO"; then :
47206 glibcxx_cv_func__isinff_use=yes
47207 else
47208 glibcxx_cv_func__isinff_use=no
47210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47211 ac_ext=c
47212 ac_cpp='$CPP $CPPFLAGS'
47213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47222 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47224 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47225 for ac_func in _isinff
47226 do :
47227 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47228 if test "x$ac_cv_func__isinff" = x""yes; then :
47229 cat >>confdefs.h <<_ACEOF
47230 #define HAVE__ISINFF 1
47231 _ACEOF
47234 done
47243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47244 $as_echo_n "checking for atan2f declaration... " >&6; }
47245 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47246 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47247 $as_echo_n "(cached) " >&6
47248 else
47251 ac_ext=cpp
47252 ac_cpp='$CXXCPP $CPPFLAGS'
47253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47258 /* end confdefs.h. */
47259 #include <math.h>
47261 main ()
47263 atan2f(0, 0);
47265 return 0;
47267 _ACEOF
47268 if ac_fn_cxx_try_compile "$LINENO"; then :
47269 glibcxx_cv_func_atan2f_use=yes
47270 else
47271 glibcxx_cv_func_atan2f_use=no
47273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47274 ac_ext=c
47275 ac_cpp='$CPP $CPPFLAGS'
47276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47285 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47287 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47288 for ac_func in atan2f
47289 do :
47290 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47291 if test "x$ac_cv_func_atan2f" = x""yes; then :
47292 cat >>confdefs.h <<_ACEOF
47293 #define HAVE_ATAN2F 1
47294 _ACEOF
47297 done
47299 else
47301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47302 $as_echo_n "checking for _atan2f declaration... " >&6; }
47303 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47304 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47305 $as_echo_n "(cached) " >&6
47306 else
47309 ac_ext=cpp
47310 ac_cpp='$CXXCPP $CPPFLAGS'
47311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47316 /* end confdefs.h. */
47317 #include <math.h>
47319 main ()
47321 _atan2f(0, 0);
47323 return 0;
47325 _ACEOF
47326 if ac_fn_cxx_try_compile "$LINENO"; then :
47327 glibcxx_cv_func__atan2f_use=yes
47328 else
47329 glibcxx_cv_func__atan2f_use=no
47331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47332 ac_ext=c
47333 ac_cpp='$CPP $CPPFLAGS'
47334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47343 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47345 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47346 for ac_func in _atan2f
47347 do :
47348 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47349 if test "x$ac_cv_func__atan2f" = x""yes; then :
47350 cat >>confdefs.h <<_ACEOF
47351 #define HAVE__ATAN2F 1
47352 _ACEOF
47355 done
47364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47365 $as_echo_n "checking for fabsf declaration... " >&6; }
47366 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47367 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47368 $as_echo_n "(cached) " >&6
47369 else
47372 ac_ext=cpp
47373 ac_cpp='$CXXCPP $CPPFLAGS'
47374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47379 /* end confdefs.h. */
47380 #include <math.h>
47381 #ifdef HAVE_IEEEFP_H
47382 #include <ieeefp.h>
47383 #endif
47386 main ()
47388 fabsf(0);
47390 return 0;
47392 _ACEOF
47393 if ac_fn_cxx_try_compile "$LINENO"; then :
47394 glibcxx_cv_func_fabsf_use=yes
47395 else
47396 glibcxx_cv_func_fabsf_use=no
47398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47399 ac_ext=c
47400 ac_cpp='$CPP $CPPFLAGS'
47401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47410 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47412 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47413 for ac_func in fabsf
47414 do :
47415 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47416 if test "x$ac_cv_func_fabsf" = x""yes; then :
47417 cat >>confdefs.h <<_ACEOF
47418 #define HAVE_FABSF 1
47419 _ACEOF
47422 done
47424 else
47426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47427 $as_echo_n "checking for _fabsf declaration... " >&6; }
47428 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47429 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47430 $as_echo_n "(cached) " >&6
47431 else
47434 ac_ext=cpp
47435 ac_cpp='$CXXCPP $CPPFLAGS'
47436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47441 /* end confdefs.h. */
47442 #include <math.h>
47443 #ifdef HAVE_IEEEFP_H
47444 #include <ieeefp.h>
47445 #endif
47448 main ()
47450 _fabsf(0);
47452 return 0;
47454 _ACEOF
47455 if ac_fn_cxx_try_compile "$LINENO"; then :
47456 glibcxx_cv_func__fabsf_use=yes
47457 else
47458 glibcxx_cv_func__fabsf_use=no
47460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47461 ac_ext=c
47462 ac_cpp='$CPP $CPPFLAGS'
47463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47472 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47474 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47475 for ac_func in _fabsf
47476 do :
47477 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47478 if test "x$ac_cv_func__fabsf" = x""yes; then :
47479 cat >>confdefs.h <<_ACEOF
47480 #define HAVE__FABSF 1
47481 _ACEOF
47484 done
47493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47494 $as_echo_n "checking for fmodf declaration... " >&6; }
47495 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47496 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47497 $as_echo_n "(cached) " >&6
47498 else
47501 ac_ext=cpp
47502 ac_cpp='$CXXCPP $CPPFLAGS'
47503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47508 /* end confdefs.h. */
47509 #include <math.h>
47511 main ()
47513 fmodf(0, 0);
47515 return 0;
47517 _ACEOF
47518 if ac_fn_cxx_try_compile "$LINENO"; then :
47519 glibcxx_cv_func_fmodf_use=yes
47520 else
47521 glibcxx_cv_func_fmodf_use=no
47523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47524 ac_ext=c
47525 ac_cpp='$CPP $CPPFLAGS'
47526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47535 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47537 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47538 for ac_func in fmodf
47539 do :
47540 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47541 if test "x$ac_cv_func_fmodf" = x""yes; then :
47542 cat >>confdefs.h <<_ACEOF
47543 #define HAVE_FMODF 1
47544 _ACEOF
47547 done
47549 else
47551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47552 $as_echo_n "checking for _fmodf declaration... " >&6; }
47553 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47554 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47555 $as_echo_n "(cached) " >&6
47556 else
47559 ac_ext=cpp
47560 ac_cpp='$CXXCPP $CPPFLAGS'
47561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47566 /* end confdefs.h. */
47567 #include <math.h>
47569 main ()
47571 _fmodf(0, 0);
47573 return 0;
47575 _ACEOF
47576 if ac_fn_cxx_try_compile "$LINENO"; then :
47577 glibcxx_cv_func__fmodf_use=yes
47578 else
47579 glibcxx_cv_func__fmodf_use=no
47581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47582 ac_ext=c
47583 ac_cpp='$CPP $CPPFLAGS'
47584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
47593 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
47595 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47596 for ac_func in _fmodf
47597 do :
47598 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
47599 if test "x$ac_cv_func__fmodf" = x""yes; then :
47600 cat >>confdefs.h <<_ACEOF
47601 #define HAVE__FMODF 1
47602 _ACEOF
47605 done
47614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
47615 $as_echo_n "checking for frexpf declaration... " >&6; }
47616 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
47617 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
47618 $as_echo_n "(cached) " >&6
47619 else
47622 ac_ext=cpp
47623 ac_cpp='$CXXCPP $CPPFLAGS'
47624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47629 /* end confdefs.h. */
47630 #include <math.h>
47632 main ()
47634 frexpf(0, 0);
47636 return 0;
47638 _ACEOF
47639 if ac_fn_cxx_try_compile "$LINENO"; then :
47640 glibcxx_cv_func_frexpf_use=yes
47641 else
47642 glibcxx_cv_func_frexpf_use=no
47644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47645 ac_ext=c
47646 ac_cpp='$CPP $CPPFLAGS'
47647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
47656 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
47658 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
47659 for ac_func in frexpf
47660 do :
47661 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
47662 if test "x$ac_cv_func_frexpf" = x""yes; then :
47663 cat >>confdefs.h <<_ACEOF
47664 #define HAVE_FREXPF 1
47665 _ACEOF
47668 done
47670 else
47672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
47673 $as_echo_n "checking for _frexpf declaration... " >&6; }
47674 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
47675 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
47676 $as_echo_n "(cached) " >&6
47677 else
47680 ac_ext=cpp
47681 ac_cpp='$CXXCPP $CPPFLAGS'
47682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47687 /* end confdefs.h. */
47688 #include <math.h>
47690 main ()
47692 _frexpf(0, 0);
47694 return 0;
47696 _ACEOF
47697 if ac_fn_cxx_try_compile "$LINENO"; then :
47698 glibcxx_cv_func__frexpf_use=yes
47699 else
47700 glibcxx_cv_func__frexpf_use=no
47702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47703 ac_ext=c
47704 ac_cpp='$CPP $CPPFLAGS'
47705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
47714 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
47716 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
47717 for ac_func in _frexpf
47718 do :
47719 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
47720 if test "x$ac_cv_func__frexpf" = x""yes; then :
47721 cat >>confdefs.h <<_ACEOF
47722 #define HAVE__FREXPF 1
47723 _ACEOF
47726 done
47735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
47736 $as_echo_n "checking for hypotf declaration... " >&6; }
47737 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
47738 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
47739 $as_echo_n "(cached) " >&6
47740 else
47743 ac_ext=cpp
47744 ac_cpp='$CXXCPP $CPPFLAGS'
47745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47750 /* end confdefs.h. */
47751 #include <math.h>
47753 main ()
47755 hypotf(0, 0);
47757 return 0;
47759 _ACEOF
47760 if ac_fn_cxx_try_compile "$LINENO"; then :
47761 glibcxx_cv_func_hypotf_use=yes
47762 else
47763 glibcxx_cv_func_hypotf_use=no
47765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47766 ac_ext=c
47767 ac_cpp='$CPP $CPPFLAGS'
47768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
47777 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
47779 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
47780 for ac_func in hypotf
47781 do :
47782 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
47783 if test "x$ac_cv_func_hypotf" = x""yes; then :
47784 cat >>confdefs.h <<_ACEOF
47785 #define HAVE_HYPOTF 1
47786 _ACEOF
47789 done
47791 else
47793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
47794 $as_echo_n "checking for _hypotf declaration... " >&6; }
47795 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
47796 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
47797 $as_echo_n "(cached) " >&6
47798 else
47801 ac_ext=cpp
47802 ac_cpp='$CXXCPP $CPPFLAGS'
47803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47808 /* end confdefs.h. */
47809 #include <math.h>
47811 main ()
47813 _hypotf(0, 0);
47815 return 0;
47817 _ACEOF
47818 if ac_fn_cxx_try_compile "$LINENO"; then :
47819 glibcxx_cv_func__hypotf_use=yes
47820 else
47821 glibcxx_cv_func__hypotf_use=no
47823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47824 ac_ext=c
47825 ac_cpp='$CPP $CPPFLAGS'
47826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
47835 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
47837 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
47838 for ac_func in _hypotf
47839 do :
47840 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
47841 if test "x$ac_cv_func__hypotf" = x""yes; then :
47842 cat >>confdefs.h <<_ACEOF
47843 #define HAVE__HYPOTF 1
47844 _ACEOF
47847 done
47856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
47857 $as_echo_n "checking for ldexpf declaration... " >&6; }
47858 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
47859 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
47860 $as_echo_n "(cached) " >&6
47861 else
47864 ac_ext=cpp
47865 ac_cpp='$CXXCPP $CPPFLAGS'
47866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47871 /* end confdefs.h. */
47872 #include <math.h>
47874 main ()
47876 ldexpf(0, 0);
47878 return 0;
47880 _ACEOF
47881 if ac_fn_cxx_try_compile "$LINENO"; then :
47882 glibcxx_cv_func_ldexpf_use=yes
47883 else
47884 glibcxx_cv_func_ldexpf_use=no
47886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47887 ac_ext=c
47888 ac_cpp='$CPP $CPPFLAGS'
47889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47898 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47900 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47901 for ac_func in ldexpf
47902 do :
47903 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47904 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47905 cat >>confdefs.h <<_ACEOF
47906 #define HAVE_LDEXPF 1
47907 _ACEOF
47910 done
47912 else
47914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47915 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47916 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47917 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47918 $as_echo_n "(cached) " >&6
47919 else
47922 ac_ext=cpp
47923 ac_cpp='$CXXCPP $CPPFLAGS'
47924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47929 /* end confdefs.h. */
47930 #include <math.h>
47932 main ()
47934 _ldexpf(0, 0);
47936 return 0;
47938 _ACEOF
47939 if ac_fn_cxx_try_compile "$LINENO"; then :
47940 glibcxx_cv_func__ldexpf_use=yes
47941 else
47942 glibcxx_cv_func__ldexpf_use=no
47944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47945 ac_ext=c
47946 ac_cpp='$CPP $CPPFLAGS'
47947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47956 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47958 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47959 for ac_func in _ldexpf
47960 do :
47961 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47962 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47963 cat >>confdefs.h <<_ACEOF
47964 #define HAVE__LDEXPF 1
47965 _ACEOF
47968 done
47977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47978 $as_echo_n "checking for logf declaration... " >&6; }
47979 if test x${glibcxx_cv_func_logf_use+set} != xset; then
47980 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47981 $as_echo_n "(cached) " >&6
47982 else
47985 ac_ext=cpp
47986 ac_cpp='$CXXCPP $CPPFLAGS'
47987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47992 /* end confdefs.h. */
47993 #include <math.h>
47994 #ifdef HAVE_IEEEFP_H
47995 #include <ieeefp.h>
47996 #endif
47999 main ()
48001 logf(0);
48003 return 0;
48005 _ACEOF
48006 if ac_fn_cxx_try_compile "$LINENO"; then :
48007 glibcxx_cv_func_logf_use=yes
48008 else
48009 glibcxx_cv_func_logf_use=no
48011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48012 ac_ext=c
48013 ac_cpp='$CPP $CPPFLAGS'
48014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48023 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48025 if test x$glibcxx_cv_func_logf_use = x"yes"; then
48026 for ac_func in logf
48027 do :
48028 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48029 if test "x$ac_cv_func_logf" = x""yes; then :
48030 cat >>confdefs.h <<_ACEOF
48031 #define HAVE_LOGF 1
48032 _ACEOF
48035 done
48037 else
48039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48040 $as_echo_n "checking for _logf declaration... " >&6; }
48041 if test x${glibcxx_cv_func__logf_use+set} != xset; then
48042 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48043 $as_echo_n "(cached) " >&6
48044 else
48047 ac_ext=cpp
48048 ac_cpp='$CXXCPP $CPPFLAGS'
48049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48054 /* end confdefs.h. */
48055 #include <math.h>
48056 #ifdef HAVE_IEEEFP_H
48057 #include <ieeefp.h>
48058 #endif
48061 main ()
48063 _logf(0);
48065 return 0;
48067 _ACEOF
48068 if ac_fn_cxx_try_compile "$LINENO"; then :
48069 glibcxx_cv_func__logf_use=yes
48070 else
48071 glibcxx_cv_func__logf_use=no
48073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48074 ac_ext=c
48075 ac_cpp='$CPP $CPPFLAGS'
48076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48085 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48087 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48088 for ac_func in _logf
48089 do :
48090 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48091 if test "x$ac_cv_func__logf" = x""yes; then :
48092 cat >>confdefs.h <<_ACEOF
48093 #define HAVE__LOGF 1
48094 _ACEOF
48097 done
48106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48107 $as_echo_n "checking for log10f declaration... " >&6; }
48108 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48109 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48110 $as_echo_n "(cached) " >&6
48111 else
48114 ac_ext=cpp
48115 ac_cpp='$CXXCPP $CPPFLAGS'
48116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48121 /* end confdefs.h. */
48122 #include <math.h>
48123 #ifdef HAVE_IEEEFP_H
48124 #include <ieeefp.h>
48125 #endif
48128 main ()
48130 log10f(0);
48132 return 0;
48134 _ACEOF
48135 if ac_fn_cxx_try_compile "$LINENO"; then :
48136 glibcxx_cv_func_log10f_use=yes
48137 else
48138 glibcxx_cv_func_log10f_use=no
48140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48141 ac_ext=c
48142 ac_cpp='$CPP $CPPFLAGS'
48143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48152 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48154 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48155 for ac_func in log10f
48156 do :
48157 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48158 if test "x$ac_cv_func_log10f" = x""yes; then :
48159 cat >>confdefs.h <<_ACEOF
48160 #define HAVE_LOG10F 1
48161 _ACEOF
48164 done
48166 else
48168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48169 $as_echo_n "checking for _log10f declaration... " >&6; }
48170 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48171 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48172 $as_echo_n "(cached) " >&6
48173 else
48176 ac_ext=cpp
48177 ac_cpp='$CXXCPP $CPPFLAGS'
48178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48183 /* end confdefs.h. */
48184 #include <math.h>
48185 #ifdef HAVE_IEEEFP_H
48186 #include <ieeefp.h>
48187 #endif
48190 main ()
48192 _log10f(0);
48194 return 0;
48196 _ACEOF
48197 if ac_fn_cxx_try_compile "$LINENO"; then :
48198 glibcxx_cv_func__log10f_use=yes
48199 else
48200 glibcxx_cv_func__log10f_use=no
48202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48203 ac_ext=c
48204 ac_cpp='$CPP $CPPFLAGS'
48205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48214 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48216 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48217 for ac_func in _log10f
48218 do :
48219 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48220 if test "x$ac_cv_func__log10f" = x""yes; then :
48221 cat >>confdefs.h <<_ACEOF
48222 #define HAVE__LOG10F 1
48223 _ACEOF
48226 done
48235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48236 $as_echo_n "checking for modff declaration... " >&6; }
48237 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48238 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48239 $as_echo_n "(cached) " >&6
48240 else
48243 ac_ext=cpp
48244 ac_cpp='$CXXCPP $CPPFLAGS'
48245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48250 /* end confdefs.h. */
48251 #include <math.h>
48253 main ()
48255 modff(0, 0);
48257 return 0;
48259 _ACEOF
48260 if ac_fn_cxx_try_compile "$LINENO"; then :
48261 glibcxx_cv_func_modff_use=yes
48262 else
48263 glibcxx_cv_func_modff_use=no
48265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48266 ac_ext=c
48267 ac_cpp='$CPP $CPPFLAGS'
48268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48277 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48279 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48280 for ac_func in modff
48281 do :
48282 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48283 if test "x$ac_cv_func_modff" = x""yes; then :
48284 cat >>confdefs.h <<_ACEOF
48285 #define HAVE_MODFF 1
48286 _ACEOF
48289 done
48291 else
48293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48294 $as_echo_n "checking for _modff declaration... " >&6; }
48295 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48296 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48297 $as_echo_n "(cached) " >&6
48298 else
48301 ac_ext=cpp
48302 ac_cpp='$CXXCPP $CPPFLAGS'
48303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48308 /* end confdefs.h. */
48309 #include <math.h>
48311 main ()
48313 _modff(0, 0);
48315 return 0;
48317 _ACEOF
48318 if ac_fn_cxx_try_compile "$LINENO"; then :
48319 glibcxx_cv_func__modff_use=yes
48320 else
48321 glibcxx_cv_func__modff_use=no
48323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48324 ac_ext=c
48325 ac_cpp='$CPP $CPPFLAGS'
48326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48335 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48337 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48338 for ac_func in _modff
48339 do :
48340 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48341 if test "x$ac_cv_func__modff" = x""yes; then :
48342 cat >>confdefs.h <<_ACEOF
48343 #define HAVE__MODFF 1
48344 _ACEOF
48347 done
48356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48357 $as_echo_n "checking for modf declaration... " >&6; }
48358 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48359 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48360 $as_echo_n "(cached) " >&6
48361 else
48364 ac_ext=cpp
48365 ac_cpp='$CXXCPP $CPPFLAGS'
48366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48371 /* end confdefs.h. */
48372 #include <math.h>
48374 main ()
48376 modf(0, 0);
48378 return 0;
48380 _ACEOF
48381 if ac_fn_cxx_try_compile "$LINENO"; then :
48382 glibcxx_cv_func_modf_use=yes
48383 else
48384 glibcxx_cv_func_modf_use=no
48386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48387 ac_ext=c
48388 ac_cpp='$CPP $CPPFLAGS'
48389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48398 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48400 if test x$glibcxx_cv_func_modf_use = x"yes"; then
48401 for ac_func in modf
48402 do :
48403 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48404 if test "x$ac_cv_func_modf" = x""yes; then :
48405 cat >>confdefs.h <<_ACEOF
48406 #define HAVE_MODF 1
48407 _ACEOF
48410 done
48412 else
48414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48415 $as_echo_n "checking for _modf declaration... " >&6; }
48416 if test x${glibcxx_cv_func__modf_use+set} != xset; then
48417 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48418 $as_echo_n "(cached) " >&6
48419 else
48422 ac_ext=cpp
48423 ac_cpp='$CXXCPP $CPPFLAGS'
48424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48429 /* end confdefs.h. */
48430 #include <math.h>
48432 main ()
48434 _modf(0, 0);
48436 return 0;
48438 _ACEOF
48439 if ac_fn_cxx_try_compile "$LINENO"; then :
48440 glibcxx_cv_func__modf_use=yes
48441 else
48442 glibcxx_cv_func__modf_use=no
48444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48445 ac_ext=c
48446 ac_cpp='$CPP $CPPFLAGS'
48447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48456 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48458 if test x$glibcxx_cv_func__modf_use = x"yes"; then
48459 for ac_func in _modf
48460 do :
48461 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48462 if test "x$ac_cv_func__modf" = x""yes; then :
48463 cat >>confdefs.h <<_ACEOF
48464 #define HAVE__MODF 1
48465 _ACEOF
48468 done
48477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48478 $as_echo_n "checking for powf declaration... " >&6; }
48479 if test x${glibcxx_cv_func_powf_use+set} != xset; then
48480 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48481 $as_echo_n "(cached) " >&6
48482 else
48485 ac_ext=cpp
48486 ac_cpp='$CXXCPP $CPPFLAGS'
48487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48492 /* end confdefs.h. */
48493 #include <math.h>
48495 main ()
48497 powf(0, 0);
48499 return 0;
48501 _ACEOF
48502 if ac_fn_cxx_try_compile "$LINENO"; then :
48503 glibcxx_cv_func_powf_use=yes
48504 else
48505 glibcxx_cv_func_powf_use=no
48507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48508 ac_ext=c
48509 ac_cpp='$CPP $CPPFLAGS'
48510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48519 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48521 if test x$glibcxx_cv_func_powf_use = x"yes"; then
48522 for ac_func in powf
48523 do :
48524 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48525 if test "x$ac_cv_func_powf" = x""yes; then :
48526 cat >>confdefs.h <<_ACEOF
48527 #define HAVE_POWF 1
48528 _ACEOF
48531 done
48533 else
48535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48536 $as_echo_n "checking for _powf declaration... " >&6; }
48537 if test x${glibcxx_cv_func__powf_use+set} != xset; then
48538 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
48539 $as_echo_n "(cached) " >&6
48540 else
48543 ac_ext=cpp
48544 ac_cpp='$CXXCPP $CPPFLAGS'
48545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48550 /* end confdefs.h. */
48551 #include <math.h>
48553 main ()
48555 _powf(0, 0);
48557 return 0;
48559 _ACEOF
48560 if ac_fn_cxx_try_compile "$LINENO"; then :
48561 glibcxx_cv_func__powf_use=yes
48562 else
48563 glibcxx_cv_func__powf_use=no
48565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48566 ac_ext=c
48567 ac_cpp='$CPP $CPPFLAGS'
48568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
48577 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
48579 if test x$glibcxx_cv_func__powf_use = x"yes"; then
48580 for ac_func in _powf
48581 do :
48582 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
48583 if test "x$ac_cv_func__powf" = x""yes; then :
48584 cat >>confdefs.h <<_ACEOF
48585 #define HAVE__POWF 1
48586 _ACEOF
48589 done
48598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
48599 $as_echo_n "checking for sqrtf declaration... " >&6; }
48600 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
48601 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
48602 $as_echo_n "(cached) " >&6
48603 else
48606 ac_ext=cpp
48607 ac_cpp='$CXXCPP $CPPFLAGS'
48608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48613 /* end confdefs.h. */
48614 #include <math.h>
48615 #ifdef HAVE_IEEEFP_H
48616 #include <ieeefp.h>
48617 #endif
48620 main ()
48622 sqrtf(0);
48624 return 0;
48626 _ACEOF
48627 if ac_fn_cxx_try_compile "$LINENO"; then :
48628 glibcxx_cv_func_sqrtf_use=yes
48629 else
48630 glibcxx_cv_func_sqrtf_use=no
48632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48633 ac_ext=c
48634 ac_cpp='$CPP $CPPFLAGS'
48635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
48644 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
48646 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
48647 for ac_func in sqrtf
48648 do :
48649 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
48650 if test "x$ac_cv_func_sqrtf" = x""yes; then :
48651 cat >>confdefs.h <<_ACEOF
48652 #define HAVE_SQRTF 1
48653 _ACEOF
48656 done
48658 else
48660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
48661 $as_echo_n "checking for _sqrtf declaration... " >&6; }
48662 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
48663 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
48664 $as_echo_n "(cached) " >&6
48665 else
48668 ac_ext=cpp
48669 ac_cpp='$CXXCPP $CPPFLAGS'
48670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48675 /* end confdefs.h. */
48676 #include <math.h>
48677 #ifdef HAVE_IEEEFP_H
48678 #include <ieeefp.h>
48679 #endif
48682 main ()
48684 _sqrtf(0);
48686 return 0;
48688 _ACEOF
48689 if ac_fn_cxx_try_compile "$LINENO"; then :
48690 glibcxx_cv_func__sqrtf_use=yes
48691 else
48692 glibcxx_cv_func__sqrtf_use=no
48694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48695 ac_ext=c
48696 ac_cpp='$CPP $CPPFLAGS'
48697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
48706 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
48708 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
48709 for ac_func in _sqrtf
48710 do :
48711 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
48712 if test "x$ac_cv_func__sqrtf" = x""yes; then :
48713 cat >>confdefs.h <<_ACEOF
48714 #define HAVE__SQRTF 1
48715 _ACEOF
48718 done
48727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
48728 $as_echo_n "checking for sincosf declaration... " >&6; }
48729 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
48730 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
48731 $as_echo_n "(cached) " >&6
48732 else
48735 ac_ext=cpp
48736 ac_cpp='$CXXCPP $CPPFLAGS'
48737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48742 /* end confdefs.h. */
48743 #include <math.h>
48745 main ()
48747 sincosf(0, 0, 0);
48749 return 0;
48751 _ACEOF
48752 if ac_fn_cxx_try_compile "$LINENO"; then :
48753 glibcxx_cv_func_sincosf_use=yes
48754 else
48755 glibcxx_cv_func_sincosf_use=no
48757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48758 ac_ext=c
48759 ac_cpp='$CPP $CPPFLAGS'
48760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
48769 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
48771 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
48772 for ac_func in sincosf
48773 do :
48774 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
48775 if test "x$ac_cv_func_sincosf" = x""yes; then :
48776 cat >>confdefs.h <<_ACEOF
48777 #define HAVE_SINCOSF 1
48778 _ACEOF
48781 done
48783 else
48785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
48786 $as_echo_n "checking for _sincosf declaration... " >&6; }
48787 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
48788 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
48789 $as_echo_n "(cached) " >&6
48790 else
48793 ac_ext=cpp
48794 ac_cpp='$CXXCPP $CPPFLAGS'
48795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48800 /* end confdefs.h. */
48801 #include <math.h>
48803 main ()
48805 _sincosf(0, 0, 0);
48807 return 0;
48809 _ACEOF
48810 if ac_fn_cxx_try_compile "$LINENO"; then :
48811 glibcxx_cv_func__sincosf_use=yes
48812 else
48813 glibcxx_cv_func__sincosf_use=no
48815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48816 ac_ext=c
48817 ac_cpp='$CPP $CPPFLAGS'
48818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
48827 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
48829 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
48830 for ac_func in _sincosf
48831 do :
48832 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
48833 if test "x$ac_cv_func__sincosf" = x""yes; then :
48834 cat >>confdefs.h <<_ACEOF
48835 #define HAVE__SINCOSF 1
48836 _ACEOF
48839 done
48848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
48849 $as_echo_n "checking for finitef declaration... " >&6; }
48850 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
48851 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
48852 $as_echo_n "(cached) " >&6
48853 else
48856 ac_ext=cpp
48857 ac_cpp='$CXXCPP $CPPFLAGS'
48858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48863 /* end confdefs.h. */
48864 #include <math.h>
48865 #ifdef HAVE_IEEEFP_H
48866 #include <ieeefp.h>
48867 #endif
48870 main ()
48872 finitef(0);
48874 return 0;
48876 _ACEOF
48877 if ac_fn_cxx_try_compile "$LINENO"; then :
48878 glibcxx_cv_func_finitef_use=yes
48879 else
48880 glibcxx_cv_func_finitef_use=no
48882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48883 ac_ext=c
48884 ac_cpp='$CPP $CPPFLAGS'
48885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48894 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48896 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48897 for ac_func in finitef
48898 do :
48899 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48900 if test "x$ac_cv_func_finitef" = x""yes; then :
48901 cat >>confdefs.h <<_ACEOF
48902 #define HAVE_FINITEF 1
48903 _ACEOF
48906 done
48908 else
48910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48911 $as_echo_n "checking for _finitef declaration... " >&6; }
48912 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48913 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48914 $as_echo_n "(cached) " >&6
48915 else
48918 ac_ext=cpp
48919 ac_cpp='$CXXCPP $CPPFLAGS'
48920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48925 /* end confdefs.h. */
48926 #include <math.h>
48927 #ifdef HAVE_IEEEFP_H
48928 #include <ieeefp.h>
48929 #endif
48932 main ()
48934 _finitef(0);
48936 return 0;
48938 _ACEOF
48939 if ac_fn_cxx_try_compile "$LINENO"; then :
48940 glibcxx_cv_func__finitef_use=yes
48941 else
48942 glibcxx_cv_func__finitef_use=no
48944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48945 ac_ext=c
48946 ac_cpp='$CPP $CPPFLAGS'
48947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48956 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48958 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48959 for ac_func in _finitef
48960 do :
48961 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48962 if test "x$ac_cv_func__finitef" = x""yes; then :
48963 cat >>confdefs.h <<_ACEOF
48964 #define HAVE__FINITEF 1
48965 _ACEOF
48968 done
48977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48978 $as_echo_n "checking for long double trig functions... " >&6; }
48979 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48980 $as_echo_n "(cached) " >&6
48981 else
48984 ac_ext=cpp
48985 ac_cpp='$CXXCPP $CPPFLAGS'
48986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48991 /* end confdefs.h. */
48992 #include <math.h>
48994 main ()
48996 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48998 return 0;
49000 _ACEOF
49001 if ac_fn_cxx_try_compile "$LINENO"; then :
49002 glibcxx_cv_func_long_double_trig_use=yes
49003 else
49004 glibcxx_cv_func_long_double_trig_use=no
49006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49007 ac_ext=c
49008 ac_cpp='$CPP $CPPFLAGS'
49009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49016 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49017 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49018 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49019 do :
49020 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49021 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49022 eval as_val=\$$as_ac_var
49023 if test "x$as_val" = x""yes; then :
49024 cat >>confdefs.h <<_ACEOF
49025 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49026 _ACEOF
49029 done
49031 else
49032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49033 $as_echo_n "checking for _long double trig functions... " >&6; }
49034 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49035 $as_echo_n "(cached) " >&6
49036 else
49039 ac_ext=cpp
49040 ac_cpp='$CXXCPP $CPPFLAGS'
49041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49046 /* end confdefs.h. */
49047 #include <math.h>
49049 main ()
49051 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49053 return 0;
49055 _ACEOF
49056 if ac_fn_cxx_try_compile "$LINENO"; then :
49057 glibcxx_cv_func__long_double_trig_use=yes
49058 else
49059 glibcxx_cv_func__long_double_trig_use=no
49061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49062 ac_ext=c
49063 ac_cpp='$CPP $CPPFLAGS'
49064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49071 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49072 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49073 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49074 do :
49075 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49076 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49077 eval as_val=\$$as_ac_var
49078 if test "x$as_val" = x""yes; then :
49079 cat >>confdefs.h <<_ACEOF
49080 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49081 _ACEOF
49084 done
49093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49094 $as_echo_n "checking for long double round functions... " >&6; }
49095 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49096 $as_echo_n "(cached) " >&6
49097 else
49100 ac_ext=cpp
49101 ac_cpp='$CXXCPP $CPPFLAGS'
49102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49107 /* end confdefs.h. */
49108 #include <math.h>
49110 main ()
49112 ceill (0); floorl (0);
49114 return 0;
49116 _ACEOF
49117 if ac_fn_cxx_try_compile "$LINENO"; then :
49118 glibcxx_cv_func_long_double_round_use=yes
49119 else
49120 glibcxx_cv_func_long_double_round_use=no
49122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49123 ac_ext=c
49124 ac_cpp='$CPP $CPPFLAGS'
49125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49132 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49133 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49134 for ac_func in ceill floorl
49135 do :
49136 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49137 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49138 eval as_val=\$$as_ac_var
49139 if test "x$as_val" = x""yes; then :
49140 cat >>confdefs.h <<_ACEOF
49141 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49142 _ACEOF
49145 done
49147 else
49148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49149 $as_echo_n "checking for _long double round functions... " >&6; }
49150 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49151 $as_echo_n "(cached) " >&6
49152 else
49155 ac_ext=cpp
49156 ac_cpp='$CXXCPP $CPPFLAGS'
49157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49162 /* end confdefs.h. */
49163 #include <math.h>
49165 main ()
49167 _ceill (0); _floorl (0);
49169 return 0;
49171 _ACEOF
49172 if ac_fn_cxx_try_compile "$LINENO"; then :
49173 glibcxx_cv_func__long_double_round_use=yes
49174 else
49175 glibcxx_cv_func__long_double_round_use=no
49177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49178 ac_ext=c
49179 ac_cpp='$CPP $CPPFLAGS'
49180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49187 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49188 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49189 for ac_func in _ceill _floorl
49190 do :
49191 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49192 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49193 eval as_val=\$$as_ac_var
49194 if test "x$as_val" = x""yes; then :
49195 cat >>confdefs.h <<_ACEOF
49196 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49197 _ACEOF
49200 done
49210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49211 $as_echo_n "checking for isnanl declaration... " >&6; }
49212 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49213 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49214 $as_echo_n "(cached) " >&6
49215 else
49218 ac_ext=cpp
49219 ac_cpp='$CXXCPP $CPPFLAGS'
49220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49225 /* end confdefs.h. */
49226 #include <math.h>
49227 #ifdef HAVE_IEEEFP_H
49228 #include <ieeefp.h>
49229 #endif
49232 main ()
49234 isnanl(0);
49236 return 0;
49238 _ACEOF
49239 if ac_fn_cxx_try_compile "$LINENO"; then :
49240 glibcxx_cv_func_isnanl_use=yes
49241 else
49242 glibcxx_cv_func_isnanl_use=no
49244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49245 ac_ext=c
49246 ac_cpp='$CPP $CPPFLAGS'
49247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49256 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49258 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49259 for ac_func in isnanl
49260 do :
49261 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49262 if test "x$ac_cv_func_isnanl" = x""yes; then :
49263 cat >>confdefs.h <<_ACEOF
49264 #define HAVE_ISNANL 1
49265 _ACEOF
49268 done
49270 else
49272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49273 $as_echo_n "checking for _isnanl declaration... " >&6; }
49274 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49275 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49276 $as_echo_n "(cached) " >&6
49277 else
49280 ac_ext=cpp
49281 ac_cpp='$CXXCPP $CPPFLAGS'
49282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49287 /* end confdefs.h. */
49288 #include <math.h>
49289 #ifdef HAVE_IEEEFP_H
49290 #include <ieeefp.h>
49291 #endif
49294 main ()
49296 _isnanl(0);
49298 return 0;
49300 _ACEOF
49301 if ac_fn_cxx_try_compile "$LINENO"; then :
49302 glibcxx_cv_func__isnanl_use=yes
49303 else
49304 glibcxx_cv_func__isnanl_use=no
49306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49307 ac_ext=c
49308 ac_cpp='$CPP $CPPFLAGS'
49309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49318 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49320 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49321 for ac_func in _isnanl
49322 do :
49323 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49324 if test "x$ac_cv_func__isnanl" = x""yes; then :
49325 cat >>confdefs.h <<_ACEOF
49326 #define HAVE__ISNANL 1
49327 _ACEOF
49330 done
49339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49340 $as_echo_n "checking for isinfl declaration... " >&6; }
49341 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49342 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49343 $as_echo_n "(cached) " >&6
49344 else
49347 ac_ext=cpp
49348 ac_cpp='$CXXCPP $CPPFLAGS'
49349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49354 /* end confdefs.h. */
49355 #include <math.h>
49356 #ifdef HAVE_IEEEFP_H
49357 #include <ieeefp.h>
49358 #endif
49361 main ()
49363 isinfl(0);
49365 return 0;
49367 _ACEOF
49368 if ac_fn_cxx_try_compile "$LINENO"; then :
49369 glibcxx_cv_func_isinfl_use=yes
49370 else
49371 glibcxx_cv_func_isinfl_use=no
49373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49374 ac_ext=c
49375 ac_cpp='$CPP $CPPFLAGS'
49376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49385 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49387 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49388 for ac_func in isinfl
49389 do :
49390 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49391 if test "x$ac_cv_func_isinfl" = x""yes; then :
49392 cat >>confdefs.h <<_ACEOF
49393 #define HAVE_ISINFL 1
49394 _ACEOF
49397 done
49399 else
49401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49402 $as_echo_n "checking for _isinfl declaration... " >&6; }
49403 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49404 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49405 $as_echo_n "(cached) " >&6
49406 else
49409 ac_ext=cpp
49410 ac_cpp='$CXXCPP $CPPFLAGS'
49411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49416 /* end confdefs.h. */
49417 #include <math.h>
49418 #ifdef HAVE_IEEEFP_H
49419 #include <ieeefp.h>
49420 #endif
49423 main ()
49425 _isinfl(0);
49427 return 0;
49429 _ACEOF
49430 if ac_fn_cxx_try_compile "$LINENO"; then :
49431 glibcxx_cv_func__isinfl_use=yes
49432 else
49433 glibcxx_cv_func__isinfl_use=no
49435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49436 ac_ext=c
49437 ac_cpp='$CPP $CPPFLAGS'
49438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49447 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49449 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49450 for ac_func in _isinfl
49451 do :
49452 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49453 if test "x$ac_cv_func__isinfl" = x""yes; then :
49454 cat >>confdefs.h <<_ACEOF
49455 #define HAVE__ISINFL 1
49456 _ACEOF
49459 done
49468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49469 $as_echo_n "checking for atan2l declaration... " >&6; }
49470 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49471 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49472 $as_echo_n "(cached) " >&6
49473 else
49476 ac_ext=cpp
49477 ac_cpp='$CXXCPP $CPPFLAGS'
49478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49483 /* end confdefs.h. */
49484 #include <math.h>
49486 main ()
49488 atan2l(0, 0);
49490 return 0;
49492 _ACEOF
49493 if ac_fn_cxx_try_compile "$LINENO"; then :
49494 glibcxx_cv_func_atan2l_use=yes
49495 else
49496 glibcxx_cv_func_atan2l_use=no
49498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49499 ac_ext=c
49500 ac_cpp='$CPP $CPPFLAGS'
49501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49510 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49512 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49513 for ac_func in atan2l
49514 do :
49515 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49516 if test "x$ac_cv_func_atan2l" = x""yes; then :
49517 cat >>confdefs.h <<_ACEOF
49518 #define HAVE_ATAN2L 1
49519 _ACEOF
49522 done
49524 else
49526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49527 $as_echo_n "checking for _atan2l declaration... " >&6; }
49528 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49529 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49530 $as_echo_n "(cached) " >&6
49531 else
49534 ac_ext=cpp
49535 ac_cpp='$CXXCPP $CPPFLAGS'
49536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49541 /* end confdefs.h. */
49542 #include <math.h>
49544 main ()
49546 _atan2l(0, 0);
49548 return 0;
49550 _ACEOF
49551 if ac_fn_cxx_try_compile "$LINENO"; then :
49552 glibcxx_cv_func__atan2l_use=yes
49553 else
49554 glibcxx_cv_func__atan2l_use=no
49556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49557 ac_ext=c
49558 ac_cpp='$CPP $CPPFLAGS'
49559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49568 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49570 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49571 for ac_func in _atan2l
49572 do :
49573 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49574 if test "x$ac_cv_func__atan2l" = x""yes; then :
49575 cat >>confdefs.h <<_ACEOF
49576 #define HAVE__ATAN2L 1
49577 _ACEOF
49580 done
49589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49590 $as_echo_n "checking for expl declaration... " >&6; }
49591 if test x${glibcxx_cv_func_expl_use+set} != xset; then
49592 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
49593 $as_echo_n "(cached) " >&6
49594 else
49597 ac_ext=cpp
49598 ac_cpp='$CXXCPP $CPPFLAGS'
49599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49604 /* end confdefs.h. */
49605 #include <math.h>
49606 #ifdef HAVE_IEEEFP_H
49607 #include <ieeefp.h>
49608 #endif
49611 main ()
49613 expl(0);
49615 return 0;
49617 _ACEOF
49618 if ac_fn_cxx_try_compile "$LINENO"; then :
49619 glibcxx_cv_func_expl_use=yes
49620 else
49621 glibcxx_cv_func_expl_use=no
49623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49624 ac_ext=c
49625 ac_cpp='$CPP $CPPFLAGS'
49626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
49635 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
49637 if test x$glibcxx_cv_func_expl_use = x"yes"; then
49638 for ac_func in expl
49639 do :
49640 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
49641 if test "x$ac_cv_func_expl" = x""yes; then :
49642 cat >>confdefs.h <<_ACEOF
49643 #define HAVE_EXPL 1
49644 _ACEOF
49647 done
49649 else
49651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
49652 $as_echo_n "checking for _expl declaration... " >&6; }
49653 if test x${glibcxx_cv_func__expl_use+set} != xset; then
49654 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
49655 $as_echo_n "(cached) " >&6
49656 else
49659 ac_ext=cpp
49660 ac_cpp='$CXXCPP $CPPFLAGS'
49661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49666 /* end confdefs.h. */
49667 #include <math.h>
49668 #ifdef HAVE_IEEEFP_H
49669 #include <ieeefp.h>
49670 #endif
49673 main ()
49675 _expl(0);
49677 return 0;
49679 _ACEOF
49680 if ac_fn_cxx_try_compile "$LINENO"; then :
49681 glibcxx_cv_func__expl_use=yes
49682 else
49683 glibcxx_cv_func__expl_use=no
49685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49686 ac_ext=c
49687 ac_cpp='$CPP $CPPFLAGS'
49688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
49697 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
49699 if test x$glibcxx_cv_func__expl_use = x"yes"; then
49700 for ac_func in _expl
49701 do :
49702 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
49703 if test "x$ac_cv_func__expl" = x""yes; then :
49704 cat >>confdefs.h <<_ACEOF
49705 #define HAVE__EXPL 1
49706 _ACEOF
49709 done
49718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
49719 $as_echo_n "checking for fabsl declaration... " >&6; }
49720 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
49721 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
49722 $as_echo_n "(cached) " >&6
49723 else
49726 ac_ext=cpp
49727 ac_cpp='$CXXCPP $CPPFLAGS'
49728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49733 /* end confdefs.h. */
49734 #include <math.h>
49735 #ifdef HAVE_IEEEFP_H
49736 #include <ieeefp.h>
49737 #endif
49740 main ()
49742 fabsl(0);
49744 return 0;
49746 _ACEOF
49747 if ac_fn_cxx_try_compile "$LINENO"; then :
49748 glibcxx_cv_func_fabsl_use=yes
49749 else
49750 glibcxx_cv_func_fabsl_use=no
49752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49753 ac_ext=c
49754 ac_cpp='$CPP $CPPFLAGS'
49755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
49764 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
49766 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
49767 for ac_func in fabsl
49768 do :
49769 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
49770 if test "x$ac_cv_func_fabsl" = x""yes; then :
49771 cat >>confdefs.h <<_ACEOF
49772 #define HAVE_FABSL 1
49773 _ACEOF
49776 done
49778 else
49780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
49781 $as_echo_n "checking for _fabsl declaration... " >&6; }
49782 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
49783 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
49784 $as_echo_n "(cached) " >&6
49785 else
49788 ac_ext=cpp
49789 ac_cpp='$CXXCPP $CPPFLAGS'
49790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49795 /* end confdefs.h. */
49796 #include <math.h>
49797 #ifdef HAVE_IEEEFP_H
49798 #include <ieeefp.h>
49799 #endif
49802 main ()
49804 _fabsl(0);
49806 return 0;
49808 _ACEOF
49809 if ac_fn_cxx_try_compile "$LINENO"; then :
49810 glibcxx_cv_func__fabsl_use=yes
49811 else
49812 glibcxx_cv_func__fabsl_use=no
49814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49815 ac_ext=c
49816 ac_cpp='$CPP $CPPFLAGS'
49817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
49826 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
49828 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
49829 for ac_func in _fabsl
49830 do :
49831 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
49832 if test "x$ac_cv_func__fabsl" = x""yes; then :
49833 cat >>confdefs.h <<_ACEOF
49834 #define HAVE__FABSL 1
49835 _ACEOF
49838 done
49847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
49848 $as_echo_n "checking for fmodl declaration... " >&6; }
49849 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
49850 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
49851 $as_echo_n "(cached) " >&6
49852 else
49855 ac_ext=cpp
49856 ac_cpp='$CXXCPP $CPPFLAGS'
49857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49862 /* end confdefs.h. */
49863 #include <math.h>
49865 main ()
49867 fmodl(0, 0);
49869 return 0;
49871 _ACEOF
49872 if ac_fn_cxx_try_compile "$LINENO"; then :
49873 glibcxx_cv_func_fmodl_use=yes
49874 else
49875 glibcxx_cv_func_fmodl_use=no
49877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49878 ac_ext=c
49879 ac_cpp='$CPP $CPPFLAGS'
49880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49889 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49891 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
49892 for ac_func in fmodl
49893 do :
49894 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49895 if test "x$ac_cv_func_fmodl" = x""yes; then :
49896 cat >>confdefs.h <<_ACEOF
49897 #define HAVE_FMODL 1
49898 _ACEOF
49901 done
49903 else
49905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49906 $as_echo_n "checking for _fmodl declaration... " >&6; }
49907 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49908 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49909 $as_echo_n "(cached) " >&6
49910 else
49913 ac_ext=cpp
49914 ac_cpp='$CXXCPP $CPPFLAGS'
49915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49920 /* end confdefs.h. */
49921 #include <math.h>
49923 main ()
49925 _fmodl(0, 0);
49927 return 0;
49929 _ACEOF
49930 if ac_fn_cxx_try_compile "$LINENO"; then :
49931 glibcxx_cv_func__fmodl_use=yes
49932 else
49933 glibcxx_cv_func__fmodl_use=no
49935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49936 ac_ext=c
49937 ac_cpp='$CPP $CPPFLAGS'
49938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49947 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49949 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49950 for ac_func in _fmodl
49951 do :
49952 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49953 if test "x$ac_cv_func__fmodl" = x""yes; then :
49954 cat >>confdefs.h <<_ACEOF
49955 #define HAVE__FMODL 1
49956 _ACEOF
49959 done
49968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49969 $as_echo_n "checking for frexpl declaration... " >&6; }
49970 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49971 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49972 $as_echo_n "(cached) " >&6
49973 else
49976 ac_ext=cpp
49977 ac_cpp='$CXXCPP $CPPFLAGS'
49978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49983 /* end confdefs.h. */
49984 #include <math.h>
49986 main ()
49988 frexpl(0, 0);
49990 return 0;
49992 _ACEOF
49993 if ac_fn_cxx_try_compile "$LINENO"; then :
49994 glibcxx_cv_func_frexpl_use=yes
49995 else
49996 glibcxx_cv_func_frexpl_use=no
49998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49999 ac_ext=c
50000 ac_cpp='$CPP $CPPFLAGS'
50001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50010 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50012 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50013 for ac_func in frexpl
50014 do :
50015 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50016 if test "x$ac_cv_func_frexpl" = x""yes; then :
50017 cat >>confdefs.h <<_ACEOF
50018 #define HAVE_FREXPL 1
50019 _ACEOF
50022 done
50024 else
50026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50027 $as_echo_n "checking for _frexpl declaration... " >&6; }
50028 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50029 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50030 $as_echo_n "(cached) " >&6
50031 else
50034 ac_ext=cpp
50035 ac_cpp='$CXXCPP $CPPFLAGS'
50036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50041 /* end confdefs.h. */
50042 #include <math.h>
50044 main ()
50046 _frexpl(0, 0);
50048 return 0;
50050 _ACEOF
50051 if ac_fn_cxx_try_compile "$LINENO"; then :
50052 glibcxx_cv_func__frexpl_use=yes
50053 else
50054 glibcxx_cv_func__frexpl_use=no
50056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50057 ac_ext=c
50058 ac_cpp='$CPP $CPPFLAGS'
50059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50068 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50070 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50071 for ac_func in _frexpl
50072 do :
50073 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50074 if test "x$ac_cv_func__frexpl" = x""yes; then :
50075 cat >>confdefs.h <<_ACEOF
50076 #define HAVE__FREXPL 1
50077 _ACEOF
50080 done
50089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50090 $as_echo_n "checking for hypotl declaration... " >&6; }
50091 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50092 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50093 $as_echo_n "(cached) " >&6
50094 else
50097 ac_ext=cpp
50098 ac_cpp='$CXXCPP $CPPFLAGS'
50099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50104 /* end confdefs.h. */
50105 #include <math.h>
50107 main ()
50109 hypotl(0, 0);
50111 return 0;
50113 _ACEOF
50114 if ac_fn_cxx_try_compile "$LINENO"; then :
50115 glibcxx_cv_func_hypotl_use=yes
50116 else
50117 glibcxx_cv_func_hypotl_use=no
50119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50120 ac_ext=c
50121 ac_cpp='$CPP $CPPFLAGS'
50122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50131 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50133 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50134 for ac_func in hypotl
50135 do :
50136 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50137 if test "x$ac_cv_func_hypotl" = x""yes; then :
50138 cat >>confdefs.h <<_ACEOF
50139 #define HAVE_HYPOTL 1
50140 _ACEOF
50143 done
50145 else
50147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50148 $as_echo_n "checking for _hypotl declaration... " >&6; }
50149 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50150 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50151 $as_echo_n "(cached) " >&6
50152 else
50155 ac_ext=cpp
50156 ac_cpp='$CXXCPP $CPPFLAGS'
50157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50162 /* end confdefs.h. */
50163 #include <math.h>
50165 main ()
50167 _hypotl(0, 0);
50169 return 0;
50171 _ACEOF
50172 if ac_fn_cxx_try_compile "$LINENO"; then :
50173 glibcxx_cv_func__hypotl_use=yes
50174 else
50175 glibcxx_cv_func__hypotl_use=no
50177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50178 ac_ext=c
50179 ac_cpp='$CPP $CPPFLAGS'
50180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50189 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50191 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50192 for ac_func in _hypotl
50193 do :
50194 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50195 if test "x$ac_cv_func__hypotl" = x""yes; then :
50196 cat >>confdefs.h <<_ACEOF
50197 #define HAVE__HYPOTL 1
50198 _ACEOF
50201 done
50210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50211 $as_echo_n "checking for ldexpl declaration... " >&6; }
50212 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50213 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50214 $as_echo_n "(cached) " >&6
50215 else
50218 ac_ext=cpp
50219 ac_cpp='$CXXCPP $CPPFLAGS'
50220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50225 /* end confdefs.h. */
50226 #include <math.h>
50228 main ()
50230 ldexpl(0, 0);
50232 return 0;
50234 _ACEOF
50235 if ac_fn_cxx_try_compile "$LINENO"; then :
50236 glibcxx_cv_func_ldexpl_use=yes
50237 else
50238 glibcxx_cv_func_ldexpl_use=no
50240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50241 ac_ext=c
50242 ac_cpp='$CPP $CPPFLAGS'
50243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50252 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50254 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50255 for ac_func in ldexpl
50256 do :
50257 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50258 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50259 cat >>confdefs.h <<_ACEOF
50260 #define HAVE_LDEXPL 1
50261 _ACEOF
50264 done
50266 else
50268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50269 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50270 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50271 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50272 $as_echo_n "(cached) " >&6
50273 else
50276 ac_ext=cpp
50277 ac_cpp='$CXXCPP $CPPFLAGS'
50278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50283 /* end confdefs.h. */
50284 #include <math.h>
50286 main ()
50288 _ldexpl(0, 0);
50290 return 0;
50292 _ACEOF
50293 if ac_fn_cxx_try_compile "$LINENO"; then :
50294 glibcxx_cv_func__ldexpl_use=yes
50295 else
50296 glibcxx_cv_func__ldexpl_use=no
50298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50299 ac_ext=c
50300 ac_cpp='$CPP $CPPFLAGS'
50301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50310 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50312 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50313 for ac_func in _ldexpl
50314 do :
50315 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50316 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50317 cat >>confdefs.h <<_ACEOF
50318 #define HAVE__LDEXPL 1
50319 _ACEOF
50322 done
50331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50332 $as_echo_n "checking for logl declaration... " >&6; }
50333 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50334 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50335 $as_echo_n "(cached) " >&6
50336 else
50339 ac_ext=cpp
50340 ac_cpp='$CXXCPP $CPPFLAGS'
50341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50346 /* end confdefs.h. */
50347 #include <math.h>
50348 #ifdef HAVE_IEEEFP_H
50349 #include <ieeefp.h>
50350 #endif
50353 main ()
50355 logl(0);
50357 return 0;
50359 _ACEOF
50360 if ac_fn_cxx_try_compile "$LINENO"; then :
50361 glibcxx_cv_func_logl_use=yes
50362 else
50363 glibcxx_cv_func_logl_use=no
50365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50366 ac_ext=c
50367 ac_cpp='$CPP $CPPFLAGS'
50368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50377 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50379 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50380 for ac_func in logl
50381 do :
50382 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50383 if test "x$ac_cv_func_logl" = x""yes; then :
50384 cat >>confdefs.h <<_ACEOF
50385 #define HAVE_LOGL 1
50386 _ACEOF
50389 done
50391 else
50393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50394 $as_echo_n "checking for _logl declaration... " >&6; }
50395 if test x${glibcxx_cv_func__logl_use+set} != xset; then
50396 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50397 $as_echo_n "(cached) " >&6
50398 else
50401 ac_ext=cpp
50402 ac_cpp='$CXXCPP $CPPFLAGS'
50403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50408 /* end confdefs.h. */
50409 #include <math.h>
50410 #ifdef HAVE_IEEEFP_H
50411 #include <ieeefp.h>
50412 #endif
50415 main ()
50417 _logl(0);
50419 return 0;
50421 _ACEOF
50422 if ac_fn_cxx_try_compile "$LINENO"; then :
50423 glibcxx_cv_func__logl_use=yes
50424 else
50425 glibcxx_cv_func__logl_use=no
50427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50428 ac_ext=c
50429 ac_cpp='$CPP $CPPFLAGS'
50430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50439 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50441 if test x$glibcxx_cv_func__logl_use = x"yes"; then
50442 for ac_func in _logl
50443 do :
50444 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50445 if test "x$ac_cv_func__logl" = x""yes; then :
50446 cat >>confdefs.h <<_ACEOF
50447 #define HAVE__LOGL 1
50448 _ACEOF
50451 done
50460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50461 $as_echo_n "checking for log10l declaration... " >&6; }
50462 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50463 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50464 $as_echo_n "(cached) " >&6
50465 else
50468 ac_ext=cpp
50469 ac_cpp='$CXXCPP $CPPFLAGS'
50470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50475 /* end confdefs.h. */
50476 #include <math.h>
50477 #ifdef HAVE_IEEEFP_H
50478 #include <ieeefp.h>
50479 #endif
50482 main ()
50484 log10l(0);
50486 return 0;
50488 _ACEOF
50489 if ac_fn_cxx_try_compile "$LINENO"; then :
50490 glibcxx_cv_func_log10l_use=yes
50491 else
50492 glibcxx_cv_func_log10l_use=no
50494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50495 ac_ext=c
50496 ac_cpp='$CPP $CPPFLAGS'
50497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50506 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50508 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50509 for ac_func in log10l
50510 do :
50511 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50512 if test "x$ac_cv_func_log10l" = x""yes; then :
50513 cat >>confdefs.h <<_ACEOF
50514 #define HAVE_LOG10L 1
50515 _ACEOF
50518 done
50520 else
50522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50523 $as_echo_n "checking for _log10l declaration... " >&6; }
50524 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50525 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50526 $as_echo_n "(cached) " >&6
50527 else
50530 ac_ext=cpp
50531 ac_cpp='$CXXCPP $CPPFLAGS'
50532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50537 /* end confdefs.h. */
50538 #include <math.h>
50539 #ifdef HAVE_IEEEFP_H
50540 #include <ieeefp.h>
50541 #endif
50544 main ()
50546 _log10l(0);
50548 return 0;
50550 _ACEOF
50551 if ac_fn_cxx_try_compile "$LINENO"; then :
50552 glibcxx_cv_func__log10l_use=yes
50553 else
50554 glibcxx_cv_func__log10l_use=no
50556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50557 ac_ext=c
50558 ac_cpp='$CPP $CPPFLAGS'
50559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50568 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50570 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50571 for ac_func in _log10l
50572 do :
50573 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50574 if test "x$ac_cv_func__log10l" = x""yes; then :
50575 cat >>confdefs.h <<_ACEOF
50576 #define HAVE__LOG10L 1
50577 _ACEOF
50580 done
50589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
50590 $as_echo_n "checking for modfl declaration... " >&6; }
50591 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
50592 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
50593 $as_echo_n "(cached) " >&6
50594 else
50597 ac_ext=cpp
50598 ac_cpp='$CXXCPP $CPPFLAGS'
50599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50604 /* end confdefs.h. */
50605 #include <math.h>
50607 main ()
50609 modfl(0, 0);
50611 return 0;
50613 _ACEOF
50614 if ac_fn_cxx_try_compile "$LINENO"; then :
50615 glibcxx_cv_func_modfl_use=yes
50616 else
50617 glibcxx_cv_func_modfl_use=no
50619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50620 ac_ext=c
50621 ac_cpp='$CPP $CPPFLAGS'
50622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
50631 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
50633 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
50634 for ac_func in modfl
50635 do :
50636 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
50637 if test "x$ac_cv_func_modfl" = x""yes; then :
50638 cat >>confdefs.h <<_ACEOF
50639 #define HAVE_MODFL 1
50640 _ACEOF
50643 done
50645 else
50647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
50648 $as_echo_n "checking for _modfl declaration... " >&6; }
50649 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
50650 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
50651 $as_echo_n "(cached) " >&6
50652 else
50655 ac_ext=cpp
50656 ac_cpp='$CXXCPP $CPPFLAGS'
50657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50662 /* end confdefs.h. */
50663 #include <math.h>
50665 main ()
50667 _modfl(0, 0);
50669 return 0;
50671 _ACEOF
50672 if ac_fn_cxx_try_compile "$LINENO"; then :
50673 glibcxx_cv_func__modfl_use=yes
50674 else
50675 glibcxx_cv_func__modfl_use=no
50677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50678 ac_ext=c
50679 ac_cpp='$CPP $CPPFLAGS'
50680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
50689 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
50691 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
50692 for ac_func in _modfl
50693 do :
50694 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
50695 if test "x$ac_cv_func__modfl" = x""yes; then :
50696 cat >>confdefs.h <<_ACEOF
50697 #define HAVE__MODFL 1
50698 _ACEOF
50701 done
50710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
50711 $as_echo_n "checking for powl declaration... " >&6; }
50712 if test x${glibcxx_cv_func_powl_use+set} != xset; then
50713 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
50714 $as_echo_n "(cached) " >&6
50715 else
50718 ac_ext=cpp
50719 ac_cpp='$CXXCPP $CPPFLAGS'
50720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50725 /* end confdefs.h. */
50726 #include <math.h>
50728 main ()
50730 powl(0, 0);
50732 return 0;
50734 _ACEOF
50735 if ac_fn_cxx_try_compile "$LINENO"; then :
50736 glibcxx_cv_func_powl_use=yes
50737 else
50738 glibcxx_cv_func_powl_use=no
50740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50741 ac_ext=c
50742 ac_cpp='$CPP $CPPFLAGS'
50743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
50752 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
50754 if test x$glibcxx_cv_func_powl_use = x"yes"; then
50755 for ac_func in powl
50756 do :
50757 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
50758 if test "x$ac_cv_func_powl" = x""yes; then :
50759 cat >>confdefs.h <<_ACEOF
50760 #define HAVE_POWL 1
50761 _ACEOF
50764 done
50766 else
50768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
50769 $as_echo_n "checking for _powl declaration... " >&6; }
50770 if test x${glibcxx_cv_func__powl_use+set} != xset; then
50771 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
50772 $as_echo_n "(cached) " >&6
50773 else
50776 ac_ext=cpp
50777 ac_cpp='$CXXCPP $CPPFLAGS'
50778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50783 /* end confdefs.h. */
50784 #include <math.h>
50786 main ()
50788 _powl(0, 0);
50790 return 0;
50792 _ACEOF
50793 if ac_fn_cxx_try_compile "$LINENO"; then :
50794 glibcxx_cv_func__powl_use=yes
50795 else
50796 glibcxx_cv_func__powl_use=no
50798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50799 ac_ext=c
50800 ac_cpp='$CPP $CPPFLAGS'
50801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
50810 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
50812 if test x$glibcxx_cv_func__powl_use = x"yes"; then
50813 for ac_func in _powl
50814 do :
50815 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
50816 if test "x$ac_cv_func__powl" = x""yes; then :
50817 cat >>confdefs.h <<_ACEOF
50818 #define HAVE__POWL 1
50819 _ACEOF
50822 done
50831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
50832 $as_echo_n "checking for sqrtl declaration... " >&6; }
50833 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
50834 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
50835 $as_echo_n "(cached) " >&6
50836 else
50839 ac_ext=cpp
50840 ac_cpp='$CXXCPP $CPPFLAGS'
50841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50846 /* end confdefs.h. */
50847 #include <math.h>
50848 #ifdef HAVE_IEEEFP_H
50849 #include <ieeefp.h>
50850 #endif
50853 main ()
50855 sqrtl(0);
50857 return 0;
50859 _ACEOF
50860 if ac_fn_cxx_try_compile "$LINENO"; then :
50861 glibcxx_cv_func_sqrtl_use=yes
50862 else
50863 glibcxx_cv_func_sqrtl_use=no
50865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50866 ac_ext=c
50867 ac_cpp='$CPP $CPPFLAGS'
50868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
50877 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
50879 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
50880 for ac_func in sqrtl
50881 do :
50882 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
50883 if test "x$ac_cv_func_sqrtl" = x""yes; then :
50884 cat >>confdefs.h <<_ACEOF
50885 #define HAVE_SQRTL 1
50886 _ACEOF
50889 done
50891 else
50893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50894 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50895 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50896 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50897 $as_echo_n "(cached) " >&6
50898 else
50901 ac_ext=cpp
50902 ac_cpp='$CXXCPP $CPPFLAGS'
50903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50908 /* end confdefs.h. */
50909 #include <math.h>
50910 #ifdef HAVE_IEEEFP_H
50911 #include <ieeefp.h>
50912 #endif
50915 main ()
50917 _sqrtl(0);
50919 return 0;
50921 _ACEOF
50922 if ac_fn_cxx_try_compile "$LINENO"; then :
50923 glibcxx_cv_func__sqrtl_use=yes
50924 else
50925 glibcxx_cv_func__sqrtl_use=no
50927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50928 ac_ext=c
50929 ac_cpp='$CPP $CPPFLAGS'
50930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50939 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50941 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50942 for ac_func in _sqrtl
50943 do :
50944 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50945 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50946 cat >>confdefs.h <<_ACEOF
50947 #define HAVE__SQRTL 1
50948 _ACEOF
50951 done
50960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50961 $as_echo_n "checking for sincosl declaration... " >&6; }
50962 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50963 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50964 $as_echo_n "(cached) " >&6
50965 else
50968 ac_ext=cpp
50969 ac_cpp='$CXXCPP $CPPFLAGS'
50970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50975 /* end confdefs.h. */
50976 #include <math.h>
50978 main ()
50980 sincosl(0, 0, 0);
50982 return 0;
50984 _ACEOF
50985 if ac_fn_cxx_try_compile "$LINENO"; then :
50986 glibcxx_cv_func_sincosl_use=yes
50987 else
50988 glibcxx_cv_func_sincosl_use=no
50990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50991 ac_ext=c
50992 ac_cpp='$CPP $CPPFLAGS'
50993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51002 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51004 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51005 for ac_func in sincosl
51006 do :
51007 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51008 if test "x$ac_cv_func_sincosl" = x""yes; then :
51009 cat >>confdefs.h <<_ACEOF
51010 #define HAVE_SINCOSL 1
51011 _ACEOF
51014 done
51016 else
51018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51019 $as_echo_n "checking for _sincosl declaration... " >&6; }
51020 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51021 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51022 $as_echo_n "(cached) " >&6
51023 else
51026 ac_ext=cpp
51027 ac_cpp='$CXXCPP $CPPFLAGS'
51028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51033 /* end confdefs.h. */
51034 #include <math.h>
51036 main ()
51038 _sincosl(0, 0, 0);
51040 return 0;
51042 _ACEOF
51043 if ac_fn_cxx_try_compile "$LINENO"; then :
51044 glibcxx_cv_func__sincosl_use=yes
51045 else
51046 glibcxx_cv_func__sincosl_use=no
51048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51049 ac_ext=c
51050 ac_cpp='$CPP $CPPFLAGS'
51051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51060 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51062 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51063 for ac_func in _sincosl
51064 do :
51065 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51066 if test "x$ac_cv_func__sincosl" = x""yes; then :
51067 cat >>confdefs.h <<_ACEOF
51068 #define HAVE__SINCOSL 1
51069 _ACEOF
51072 done
51081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51082 $as_echo_n "checking for finitel declaration... " >&6; }
51083 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51084 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51085 $as_echo_n "(cached) " >&6
51086 else
51089 ac_ext=cpp
51090 ac_cpp='$CXXCPP $CPPFLAGS'
51091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51096 /* end confdefs.h. */
51097 #include <math.h>
51098 #ifdef HAVE_IEEEFP_H
51099 #include <ieeefp.h>
51100 #endif
51103 main ()
51105 finitel(0);
51107 return 0;
51109 _ACEOF
51110 if ac_fn_cxx_try_compile "$LINENO"; then :
51111 glibcxx_cv_func_finitel_use=yes
51112 else
51113 glibcxx_cv_func_finitel_use=no
51115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51116 ac_ext=c
51117 ac_cpp='$CPP $CPPFLAGS'
51118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51127 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51129 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51130 for ac_func in finitel
51131 do :
51132 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51133 if test "x$ac_cv_func_finitel" = x""yes; then :
51134 cat >>confdefs.h <<_ACEOF
51135 #define HAVE_FINITEL 1
51136 _ACEOF
51139 done
51141 else
51143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51144 $as_echo_n "checking for _finitel declaration... " >&6; }
51145 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51146 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51147 $as_echo_n "(cached) " >&6
51148 else
51151 ac_ext=cpp
51152 ac_cpp='$CXXCPP $CPPFLAGS'
51153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51158 /* end confdefs.h. */
51159 #include <math.h>
51160 #ifdef HAVE_IEEEFP_H
51161 #include <ieeefp.h>
51162 #endif
51165 main ()
51167 _finitel(0);
51169 return 0;
51171 _ACEOF
51172 if ac_fn_cxx_try_compile "$LINENO"; then :
51173 glibcxx_cv_func__finitel_use=yes
51174 else
51175 glibcxx_cv_func__finitel_use=no
51177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51178 ac_ext=c
51179 ac_cpp='$CPP $CPPFLAGS'
51180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51189 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51191 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51192 for ac_func in _finitel
51193 do :
51194 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51195 if test "x$ac_cv_func__finitel" = x""yes; then :
51196 cat >>confdefs.h <<_ACEOF
51197 #define HAVE__FINITEL 1
51198 _ACEOF
51201 done
51209 LIBS="$ac_save_LIBS"
51210 CXXFLAGS="$ac_save_CXXFLAGS"
51213 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51214 ac_save_CXXFLAGS="$CXXFLAGS"
51215 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51219 $as_echo_n "checking for strtold declaration... " >&6; }
51220 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51221 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51222 $as_echo_n "(cached) " >&6
51223 else
51226 ac_ext=cpp
51227 ac_cpp='$CXXCPP $CPPFLAGS'
51228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51233 /* end confdefs.h. */
51234 #include <stdlib.h>
51236 main ()
51238 strtold(0, 0);
51240 return 0;
51242 _ACEOF
51243 if ac_fn_cxx_try_compile "$LINENO"; then :
51244 glibcxx_cv_func_strtold_use=yes
51245 else
51246 glibcxx_cv_func_strtold_use=no
51248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51249 ac_ext=c
51250 ac_cpp='$CPP $CPPFLAGS'
51251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51260 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51261 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51262 for ac_func in strtold
51263 do :
51264 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51265 if test "x$ac_cv_func_strtold" = x""yes; then :
51266 cat >>confdefs.h <<_ACEOF
51267 #define HAVE_STRTOLD 1
51268 _ACEOF
51271 done
51278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51279 $as_echo_n "checking for strtof declaration... " >&6; }
51280 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51281 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51282 $as_echo_n "(cached) " >&6
51283 else
51286 ac_ext=cpp
51287 ac_cpp='$CXXCPP $CPPFLAGS'
51288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51293 /* end confdefs.h. */
51294 #include <stdlib.h>
51296 main ()
51298 strtof(0, 0);
51300 return 0;
51302 _ACEOF
51303 if ac_fn_cxx_try_compile "$LINENO"; then :
51304 glibcxx_cv_func_strtof_use=yes
51305 else
51306 glibcxx_cv_func_strtof_use=no
51308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51309 ac_ext=c
51310 ac_cpp='$CPP $CPPFLAGS'
51311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51320 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51321 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51322 for ac_func in strtof
51323 do :
51324 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51325 if test "x$ac_cv_func_strtof" = x""yes; then :
51326 cat >>confdefs.h <<_ACEOF
51327 #define HAVE_STRTOF 1
51328 _ACEOF
51331 done
51338 CXXFLAGS="$ac_save_CXXFLAGS"
51340 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
51344 # Check whether --enable-tls was given.
51345 if test "${enable_tls+set}" = set; then :
51346 enableval=$enable_tls;
51347 case "$enableval" in
51348 yes|no) ;;
51349 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
51350 esac
51352 else
51353 enable_tls=yes
51357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
51358 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
51359 if test "${gcc_cv_have_tls+set}" = set; then :
51360 $as_echo_n "(cached) " >&6
51361 else
51363 if test "$cross_compiling" = yes; then :
51364 if test x$gcc_no_link = xyes; then
51365 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51368 /* end confdefs.h. */
51369 __thread int a; int b; int main() { return a = b; }
51370 _ACEOF
51371 if ac_fn_c_try_link "$LINENO"; then :
51372 chktls_save_LDFLAGS="$LDFLAGS"
51373 case $host in
51374 *-*-linux*)
51375 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
51377 esac
51378 chktls_save_CFLAGS="$CFLAGS"
51379 CFLAGS="-fPIC $CFLAGS"
51380 if test x$gcc_no_link = xyes; then
51381 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51384 /* end confdefs.h. */
51385 int f() { return 0; }
51386 _ACEOF
51387 if ac_fn_c_try_link "$LINENO"; then :
51388 if test x$gcc_no_link = xyes; then
51389 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51392 /* end confdefs.h. */
51393 __thread int a; int b; int f() { return a = b; }
51394 _ACEOF
51395 if ac_fn_c_try_link "$LINENO"; then :
51396 gcc_cv_have_tls=yes
51397 else
51398 gcc_cv_have_tls=no
51400 rm -f core conftest.err conftest.$ac_objext \
51401 conftest$ac_exeext conftest.$ac_ext
51402 else
51403 gcc_cv_have_tls=yes
51405 rm -f core conftest.err conftest.$ac_objext \
51406 conftest$ac_exeext conftest.$ac_ext
51407 CFLAGS="$chktls_save_CFLAGS"
51408 LDFLAGS="$chktls_save_LDFLAGS"
51409 else
51410 gcc_cv_have_tls=no
51412 rm -f core conftest.err conftest.$ac_objext \
51413 conftest$ac_exeext conftest.$ac_ext
51416 else
51417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51418 /* end confdefs.h. */
51419 __thread int a; int b; int main() { return a = b; }
51420 _ACEOF
51421 if ac_fn_c_try_run "$LINENO"; then :
51422 chktls_save_LDFLAGS="$LDFLAGS"
51423 LDFLAGS="-static $LDFLAGS"
51424 if test x$gcc_no_link = xyes; then
51425 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51428 /* end confdefs.h. */
51429 int main() { return 0; }
51430 _ACEOF
51431 if ac_fn_c_try_link "$LINENO"; then :
51432 if test "$cross_compiling" = yes; then :
51433 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51434 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51435 as_fn_error "cannot run test program while cross compiling
51436 See \`config.log' for more details." "$LINENO" 5; }
51437 else
51438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51439 /* end confdefs.h. */
51440 __thread int a; int b; int main() { return a = b; }
51441 _ACEOF
51442 if ac_fn_c_try_run "$LINENO"; then :
51443 gcc_cv_have_tls=yes
51444 else
51445 gcc_cv_have_tls=no
51447 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51448 conftest.$ac_objext conftest.beam conftest.$ac_ext
51451 else
51452 gcc_cv_have_tls=yes
51454 rm -f core conftest.err conftest.$ac_objext \
51455 conftest$ac_exeext conftest.$ac_ext
51456 LDFLAGS="$chktls_save_LDFLAGS"
51457 if test $gcc_cv_have_tls = yes; then
51458 chktls_save_CFLAGS="$CFLAGS"
51459 thread_CFLAGS=failed
51460 for flag in '' '-pthread' '-lpthread'; do
51461 CFLAGS="$flag $chktls_save_CFLAGS"
51462 if test x$gcc_no_link = xyes; then
51463 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51466 /* end confdefs.h. */
51467 #include <pthread.h>
51468 void *g(void *d) { return NULL; }
51470 main ()
51472 pthread_t t; pthread_create(&t,NULL,g,NULL);
51474 return 0;
51476 _ACEOF
51477 if ac_fn_c_try_link "$LINENO"; then :
51478 thread_CFLAGS="$flag"
51480 rm -f core conftest.err conftest.$ac_objext \
51481 conftest$ac_exeext conftest.$ac_ext
51482 if test "X$thread_CFLAGS" != Xfailed; then
51483 break
51485 done
51486 CFLAGS="$chktls_save_CFLAGS"
51487 if test "X$thread_CFLAGS" != Xfailed; then
51488 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
51489 if test "$cross_compiling" = yes; then :
51490 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51491 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51492 as_fn_error "cannot run test program while cross compiling
51493 See \`config.log' for more details." "$LINENO" 5; }
51494 else
51495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51496 /* end confdefs.h. */
51497 #include <pthread.h>
51498 __thread int a;
51499 static int *volatile a_in_other_thread;
51500 static void *
51501 thread_func (void *arg)
51503 a_in_other_thread = &a;
51504 return (void *)0;
51507 main ()
51509 pthread_t thread;
51510 void *thread_retval;
51511 int *volatile a_in_main_thread;
51512 a_in_main_thread = &a;
51513 if (pthread_create (&thread, (pthread_attr_t *)0,
51514 thread_func, (void *)0))
51515 return 0;
51516 if (pthread_join (thread, &thread_retval))
51517 return 0;
51518 return (a_in_other_thread == a_in_main_thread);
51520 return 0;
51522 _ACEOF
51523 if ac_fn_c_try_run "$LINENO"; then :
51524 gcc_cv_have_tls=yes
51525 else
51526 gcc_cv_have_tls=no
51528 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51529 conftest.$ac_objext conftest.beam conftest.$ac_ext
51532 CFLAGS="$chktls_save_CFLAGS"
51535 else
51536 gcc_cv_have_tls=no
51538 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51539 conftest.$ac_objext conftest.beam conftest.$ac_ext
51543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
51544 $as_echo "$gcc_cv_have_tls" >&6; }
51545 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
51547 $as_echo "#define HAVE_TLS 1" >>confdefs.h
51555 am_save_CPPFLAGS="$CPPFLAGS"
51557 for element in $INCICONV; do
51558 haveit=
51559 for x in $CPPFLAGS; do
51561 acl_save_prefix="$prefix"
51562 prefix="$acl_final_prefix"
51563 acl_save_exec_prefix="$exec_prefix"
51564 exec_prefix="$acl_final_exec_prefix"
51565 eval x=\"$x\"
51566 exec_prefix="$acl_save_exec_prefix"
51567 prefix="$acl_save_prefix"
51569 if test "X$x" = "X$element"; then
51570 haveit=yes
51571 break
51573 done
51574 if test -z "$haveit"; then
51575 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
51577 done
51580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
51581 $as_echo_n "checking for iconv... " >&6; }
51582 if test "${am_cv_func_iconv+set}" = set; then :
51583 $as_echo_n "(cached) " >&6
51584 else
51586 am_cv_func_iconv="no, consider installing GNU libiconv"
51587 am_cv_lib_iconv=no
51588 if test x$gcc_no_link = xyes; then
51589 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51592 /* end confdefs.h. */
51593 #include <stdlib.h>
51594 #include <iconv.h>
51596 main ()
51598 iconv_t cd = iconv_open("","");
51599 iconv(cd,NULL,NULL,NULL,NULL);
51600 iconv_close(cd);
51602 return 0;
51604 _ACEOF
51605 if ac_fn_c_try_link "$LINENO"; then :
51606 am_cv_func_iconv=yes
51608 rm -f core conftest.err conftest.$ac_objext \
51609 conftest$ac_exeext conftest.$ac_ext
51610 if test "$am_cv_func_iconv" != yes; then
51611 am_save_LIBS="$LIBS"
51612 LIBS="$LIBS $LIBICONV"
51613 if test x$gcc_no_link = xyes; then
51614 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51617 /* end confdefs.h. */
51618 #include <stdlib.h>
51619 #include <iconv.h>
51621 main ()
51623 iconv_t cd = iconv_open("","");
51624 iconv(cd,NULL,NULL,NULL,NULL);
51625 iconv_close(cd);
51627 return 0;
51629 _ACEOF
51630 if ac_fn_c_try_link "$LINENO"; then :
51631 am_cv_lib_iconv=yes
51632 am_cv_func_iconv=yes
51634 rm -f core conftest.err conftest.$ac_objext \
51635 conftest$ac_exeext conftest.$ac_ext
51636 LIBS="$am_save_LIBS"
51640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
51641 $as_echo "$am_cv_func_iconv" >&6; }
51642 if test "$am_cv_func_iconv" = yes; then
51644 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
51647 if test "$am_cv_lib_iconv" = yes; then
51648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
51649 $as_echo_n "checking how to link with libiconv... " >&6; }
51650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
51651 $as_echo "$LIBICONV" >&6; }
51652 else
51653 CPPFLAGS="$am_save_CPPFLAGS"
51654 LIBICONV=
51655 LTLIBICONV=
51660 if test "$am_cv_func_iconv" = yes; then
51661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
51662 $as_echo_n "checking for iconv declaration... " >&6; }
51663 if test "${am_cv_proto_iconv+set}" = set; then :
51664 $as_echo_n "(cached) " >&6
51665 else
51667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51668 /* end confdefs.h. */
51670 #include <stdlib.h>
51671 #include <iconv.h>
51672 extern
51673 #ifdef __cplusplus
51675 #endif
51676 #if defined(__STDC__) || defined(__cplusplus)
51677 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
51678 #else
51679 size_t iconv();
51680 #endif
51683 main ()
51687 return 0;
51689 _ACEOF
51690 if ac_fn_c_try_compile "$LINENO"; then :
51691 am_cv_proto_iconv_arg1=""
51692 else
51693 am_cv_proto_iconv_arg1="const"
51695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51696 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);"
51699 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
51700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
51701 }$am_cv_proto_iconv" >&5
51702 $as_echo "${ac_t:-
51703 }$am_cv_proto_iconv" >&6; }
51705 cat >>confdefs.h <<_ACEOF
51706 #define ICONV_CONST $am_cv_proto_iconv_arg1
51707 _ACEOF
51712 *-mingw32*)
51714 # If we're not using GNU ld, then there's no point in even trying these
51715 # tests. Check for that first. We should have already tested for gld
51716 # by now (in libtool), but require it now just to be safe...
51717 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51718 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51722 # The name set by libtool depends on the version of libtool. Shame on us
51723 # for depending on an impl detail, but c'est la vie. Older versions used
51724 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51725 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51726 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51727 # set (hence we're using an older libtool), then set it.
51728 if test x${with_gnu_ld+set} != xset; then
51729 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51730 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51731 with_gnu_ld=no
51732 else
51733 with_gnu_ld=$ac_cv_prog_gnu_ld
51737 # Start by getting the version number. I think the libtool test already
51738 # does some of this, but throws away the result.
51739 glibcxx_ld_is_gold=no
51740 if test x"$with_gnu_ld" = x"yes"; then
51741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51742 $as_echo_n "checking for ld version... " >&6; }
51744 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51745 glibcxx_ld_is_gold=yes
51747 ldver=`$LD --version 2>/dev/null |
51748 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'`
51750 glibcxx_gnu_ld_version=`echo $ldver | \
51751 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51753 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51756 # Set --gc-sections.
51757 glibcxx_have_gc_sections=no
51758 if test "$glibcxx_ld_is_gold" = "yes"; then
51759 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51760 glibcxx_have_gc_sections=yes
51762 else
51763 glibcxx_gcsections_min_ld=21602
51764 if test x"$with_gnu_ld" = x"yes" &&
51765 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51766 glibcxx_have_gc_sections=yes
51769 if test "$glibcxx_have_gc_sections" = "yes"; then
51770 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
51771 # NB: This flag only works reliably after 2.16.1. Configure tests
51772 # for this are difficult, so hard wire a value that should work.
51774 ac_test_CFLAGS="${CFLAGS+set}"
51775 ac_save_CFLAGS="$CFLAGS"
51776 CFLAGS='-Wl,--gc-sections'
51778 # Check for -Wl,--gc-sections
51779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51780 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51781 if test x$gcc_no_link = xyes; then
51782 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51785 /* end confdefs.h. */
51786 int one(void) { return 1; }
51787 int two(void) { return 2; }
51790 main ()
51792 two();
51794 return 0;
51796 _ACEOF
51797 if ac_fn_c_try_link "$LINENO"; then :
51798 ac_gcsections=yes
51799 else
51800 ac_gcsections=no
51802 rm -f core conftest.err conftest.$ac_objext \
51803 conftest$ac_exeext conftest.$ac_ext
51804 if test "$ac_gcsections" = "yes"; then
51805 rm -f conftest.c
51806 touch conftest.c
51807 if $CC -c conftest.c; then
51808 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51809 grep "Warning: gc-sections option ignored" > /dev/null; then
51810 ac_gcsections=no
51813 rm -f conftest.c conftest.o conftest
51815 if test "$ac_gcsections" = "yes"; then
51816 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51819 $as_echo "$ac_gcsections" >&6; }
51821 if test "$ac_test_CFLAGS" = set; then
51822 CFLAGS="$ac_save_CFLAGS"
51823 else
51824 # this is the suspicious part
51825 CFLAGS=''
51829 # Set -z,relro.
51830 # Note this is only for shared objects.
51831 ac_ld_relro=no
51832 if test x"$with_gnu_ld" = x"yes"; then
51833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51834 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51835 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51836 if test -n "$cxx_z_relo"; then
51837 OPT_LDFLAGS="-Wl,-z,relro"
51838 ac_ld_relro=yes
51840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51841 $as_echo "$ac_ld_relro" >&6; }
51844 # Set linker optimization flags.
51845 if test x"$with_gnu_ld" = x"yes"; then
51846 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51853 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51854 ac_save_CXXFLAGS="$CXXFLAGS"
51855 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
51858 $as_echo_n "checking for sin in -lm... " >&6; }
51859 if test "${ac_cv_lib_m_sin+set}" = set; then :
51860 $as_echo_n "(cached) " >&6
51861 else
51862 ac_check_lib_save_LIBS=$LIBS
51863 LIBS="-lm $LIBS"
51864 if test x$gcc_no_link = xyes; then
51865 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51868 /* end confdefs.h. */
51870 /* Override any GCC internal prototype to avoid an error.
51871 Use char because int might match the return type of a GCC
51872 builtin and then its argument prototype would still apply. */
51873 #ifdef __cplusplus
51874 extern "C"
51875 #endif
51876 char sin ();
51878 main ()
51880 return sin ();
51882 return 0;
51884 _ACEOF
51885 if ac_fn_c_try_link "$LINENO"; then :
51886 ac_cv_lib_m_sin=yes
51887 else
51888 ac_cv_lib_m_sin=no
51890 rm -f core conftest.err conftest.$ac_objext \
51891 conftest$ac_exeext conftest.$ac_ext
51892 LIBS=$ac_check_lib_save_LIBS
51894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51895 $as_echo "$ac_cv_lib_m_sin" >&6; }
51896 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51897 libm="-lm"
51900 ac_save_LIBS="$LIBS"
51901 LIBS="$LIBS $libm"
51905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51906 $as_echo_n "checking for isinf declaration... " >&6; }
51907 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51908 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51909 $as_echo_n "(cached) " >&6
51910 else
51913 ac_ext=cpp
51914 ac_cpp='$CXXCPP $CPPFLAGS'
51915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51920 /* end confdefs.h. */
51921 #include <math.h>
51922 #ifdef HAVE_IEEEFP_H
51923 #include <ieeefp.h>
51924 #endif
51927 main ()
51929 isinf(0);
51931 return 0;
51933 _ACEOF
51934 if ac_fn_cxx_try_compile "$LINENO"; then :
51935 glibcxx_cv_func_isinf_use=yes
51936 else
51937 glibcxx_cv_func_isinf_use=no
51939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51940 ac_ext=c
51941 ac_cpp='$CPP $CPPFLAGS'
51942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51951 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51953 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51954 for ac_func in isinf
51955 do :
51956 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51957 if test "x$ac_cv_func_isinf" = x""yes; then :
51958 cat >>confdefs.h <<_ACEOF
51959 #define HAVE_ISINF 1
51960 _ACEOF
51963 done
51965 else
51967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51968 $as_echo_n "checking for _isinf declaration... " >&6; }
51969 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51970 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51971 $as_echo_n "(cached) " >&6
51972 else
51975 ac_ext=cpp
51976 ac_cpp='$CXXCPP $CPPFLAGS'
51977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51982 /* end confdefs.h. */
51983 #include <math.h>
51984 #ifdef HAVE_IEEEFP_H
51985 #include <ieeefp.h>
51986 #endif
51989 main ()
51991 _isinf(0);
51993 return 0;
51995 _ACEOF
51996 if ac_fn_cxx_try_compile "$LINENO"; then :
51997 glibcxx_cv_func__isinf_use=yes
51998 else
51999 glibcxx_cv_func__isinf_use=no
52001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52002 ac_ext=c
52003 ac_cpp='$CPP $CPPFLAGS'
52004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52013 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52015 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52016 for ac_func in _isinf
52017 do :
52018 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52019 if test "x$ac_cv_func__isinf" = x""yes; then :
52020 cat >>confdefs.h <<_ACEOF
52021 #define HAVE__ISINF 1
52022 _ACEOF
52025 done
52034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52035 $as_echo_n "checking for isnan declaration... " >&6; }
52036 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52037 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
52038 $as_echo_n "(cached) " >&6
52039 else
52042 ac_ext=cpp
52043 ac_cpp='$CXXCPP $CPPFLAGS'
52044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52049 /* end confdefs.h. */
52050 #include <math.h>
52051 #ifdef HAVE_IEEEFP_H
52052 #include <ieeefp.h>
52053 #endif
52056 main ()
52058 isnan(0);
52060 return 0;
52062 _ACEOF
52063 if ac_fn_cxx_try_compile "$LINENO"; then :
52064 glibcxx_cv_func_isnan_use=yes
52065 else
52066 glibcxx_cv_func_isnan_use=no
52068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52069 ac_ext=c
52070 ac_cpp='$CPP $CPPFLAGS'
52071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52080 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52082 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52083 for ac_func in isnan
52084 do :
52085 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52086 if test "x$ac_cv_func_isnan" = x""yes; then :
52087 cat >>confdefs.h <<_ACEOF
52088 #define HAVE_ISNAN 1
52089 _ACEOF
52092 done
52094 else
52096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52097 $as_echo_n "checking for _isnan declaration... " >&6; }
52098 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52099 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52100 $as_echo_n "(cached) " >&6
52101 else
52104 ac_ext=cpp
52105 ac_cpp='$CXXCPP $CPPFLAGS'
52106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52111 /* end confdefs.h. */
52112 #include <math.h>
52113 #ifdef HAVE_IEEEFP_H
52114 #include <ieeefp.h>
52115 #endif
52118 main ()
52120 _isnan(0);
52122 return 0;
52124 _ACEOF
52125 if ac_fn_cxx_try_compile "$LINENO"; then :
52126 glibcxx_cv_func__isnan_use=yes
52127 else
52128 glibcxx_cv_func__isnan_use=no
52130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52131 ac_ext=c
52132 ac_cpp='$CPP $CPPFLAGS'
52133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52142 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52144 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52145 for ac_func in _isnan
52146 do :
52147 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
52148 if test "x$ac_cv_func__isnan" = x""yes; then :
52149 cat >>confdefs.h <<_ACEOF
52150 #define HAVE__ISNAN 1
52151 _ACEOF
52154 done
52163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
52164 $as_echo_n "checking for finite declaration... " >&6; }
52165 if test x${glibcxx_cv_func_finite_use+set} != xset; then
52166 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
52167 $as_echo_n "(cached) " >&6
52168 else
52171 ac_ext=cpp
52172 ac_cpp='$CXXCPP $CPPFLAGS'
52173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52178 /* end confdefs.h. */
52179 #include <math.h>
52180 #ifdef HAVE_IEEEFP_H
52181 #include <ieeefp.h>
52182 #endif
52185 main ()
52187 finite(0);
52189 return 0;
52191 _ACEOF
52192 if ac_fn_cxx_try_compile "$LINENO"; then :
52193 glibcxx_cv_func_finite_use=yes
52194 else
52195 glibcxx_cv_func_finite_use=no
52197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52198 ac_ext=c
52199 ac_cpp='$CPP $CPPFLAGS'
52200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
52209 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
52211 if test x$glibcxx_cv_func_finite_use = x"yes"; then
52212 for ac_func in finite
52213 do :
52214 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
52215 if test "x$ac_cv_func_finite" = x""yes; then :
52216 cat >>confdefs.h <<_ACEOF
52217 #define HAVE_FINITE 1
52218 _ACEOF
52221 done
52223 else
52225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
52226 $as_echo_n "checking for _finite declaration... " >&6; }
52227 if test x${glibcxx_cv_func__finite_use+set} != xset; then
52228 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
52229 $as_echo_n "(cached) " >&6
52230 else
52233 ac_ext=cpp
52234 ac_cpp='$CXXCPP $CPPFLAGS'
52235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52240 /* end confdefs.h. */
52241 #include <math.h>
52242 #ifdef HAVE_IEEEFP_H
52243 #include <ieeefp.h>
52244 #endif
52247 main ()
52249 _finite(0);
52251 return 0;
52253 _ACEOF
52254 if ac_fn_cxx_try_compile "$LINENO"; then :
52255 glibcxx_cv_func__finite_use=yes
52256 else
52257 glibcxx_cv_func__finite_use=no
52259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52260 ac_ext=c
52261 ac_cpp='$CPP $CPPFLAGS'
52262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
52271 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
52273 if test x$glibcxx_cv_func__finite_use = x"yes"; then
52274 for ac_func in _finite
52275 do :
52276 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
52277 if test "x$ac_cv_func__finite" = x""yes; then :
52278 cat >>confdefs.h <<_ACEOF
52279 #define HAVE__FINITE 1
52280 _ACEOF
52283 done
52292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
52293 $as_echo_n "checking for sincos declaration... " >&6; }
52294 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
52295 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
52296 $as_echo_n "(cached) " >&6
52297 else
52300 ac_ext=cpp
52301 ac_cpp='$CXXCPP $CPPFLAGS'
52302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52307 /* end confdefs.h. */
52308 #include <math.h>
52310 main ()
52312 sincos(0, 0, 0);
52314 return 0;
52316 _ACEOF
52317 if ac_fn_cxx_try_compile "$LINENO"; then :
52318 glibcxx_cv_func_sincos_use=yes
52319 else
52320 glibcxx_cv_func_sincos_use=no
52322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52323 ac_ext=c
52324 ac_cpp='$CPP $CPPFLAGS'
52325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
52334 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
52336 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
52337 for ac_func in sincos
52338 do :
52339 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
52340 if test "x$ac_cv_func_sincos" = x""yes; then :
52341 cat >>confdefs.h <<_ACEOF
52342 #define HAVE_SINCOS 1
52343 _ACEOF
52346 done
52348 else
52350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
52351 $as_echo_n "checking for _sincos declaration... " >&6; }
52352 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
52353 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
52354 $as_echo_n "(cached) " >&6
52355 else
52358 ac_ext=cpp
52359 ac_cpp='$CXXCPP $CPPFLAGS'
52360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52365 /* end confdefs.h. */
52366 #include <math.h>
52368 main ()
52370 _sincos(0, 0, 0);
52372 return 0;
52374 _ACEOF
52375 if ac_fn_cxx_try_compile "$LINENO"; then :
52376 glibcxx_cv_func__sincos_use=yes
52377 else
52378 glibcxx_cv_func__sincos_use=no
52380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52381 ac_ext=c
52382 ac_cpp='$CPP $CPPFLAGS'
52383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
52392 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
52394 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
52395 for ac_func in _sincos
52396 do :
52397 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
52398 if test "x$ac_cv_func__sincos" = x""yes; then :
52399 cat >>confdefs.h <<_ACEOF
52400 #define HAVE__SINCOS 1
52401 _ACEOF
52404 done
52413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
52414 $as_echo_n "checking for fpclass declaration... " >&6; }
52415 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
52416 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
52417 $as_echo_n "(cached) " >&6
52418 else
52421 ac_ext=cpp
52422 ac_cpp='$CXXCPP $CPPFLAGS'
52423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52428 /* end confdefs.h. */
52429 #include <math.h>
52430 #ifdef HAVE_IEEEFP_H
52431 #include <ieeefp.h>
52432 #endif
52435 main ()
52437 fpclass(0);
52439 return 0;
52441 _ACEOF
52442 if ac_fn_cxx_try_compile "$LINENO"; then :
52443 glibcxx_cv_func_fpclass_use=yes
52444 else
52445 glibcxx_cv_func_fpclass_use=no
52447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52448 ac_ext=c
52449 ac_cpp='$CPP $CPPFLAGS'
52450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
52459 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
52461 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
52462 for ac_func in fpclass
52463 do :
52464 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
52465 if test "x$ac_cv_func_fpclass" = x""yes; then :
52466 cat >>confdefs.h <<_ACEOF
52467 #define HAVE_FPCLASS 1
52468 _ACEOF
52471 done
52473 else
52475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
52476 $as_echo_n "checking for _fpclass declaration... " >&6; }
52477 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
52478 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
52479 $as_echo_n "(cached) " >&6
52480 else
52483 ac_ext=cpp
52484 ac_cpp='$CXXCPP $CPPFLAGS'
52485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52490 /* end confdefs.h. */
52491 #include <math.h>
52492 #ifdef HAVE_IEEEFP_H
52493 #include <ieeefp.h>
52494 #endif
52497 main ()
52499 _fpclass(0);
52501 return 0;
52503 _ACEOF
52504 if ac_fn_cxx_try_compile "$LINENO"; then :
52505 glibcxx_cv_func__fpclass_use=yes
52506 else
52507 glibcxx_cv_func__fpclass_use=no
52509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52510 ac_ext=c
52511 ac_cpp='$CPP $CPPFLAGS'
52512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
52521 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
52523 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
52524 for ac_func in _fpclass
52525 do :
52526 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
52527 if test "x$ac_cv_func__fpclass" = x""yes; then :
52528 cat >>confdefs.h <<_ACEOF
52529 #define HAVE__FPCLASS 1
52530 _ACEOF
52533 done
52542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
52543 $as_echo_n "checking for qfpclass declaration... " >&6; }
52544 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
52545 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
52546 $as_echo_n "(cached) " >&6
52547 else
52550 ac_ext=cpp
52551 ac_cpp='$CXXCPP $CPPFLAGS'
52552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52557 /* end confdefs.h. */
52558 #include <math.h>
52559 #ifdef HAVE_IEEEFP_H
52560 #include <ieeefp.h>
52561 #endif
52564 main ()
52566 qfpclass(0);
52568 return 0;
52570 _ACEOF
52571 if ac_fn_cxx_try_compile "$LINENO"; then :
52572 glibcxx_cv_func_qfpclass_use=yes
52573 else
52574 glibcxx_cv_func_qfpclass_use=no
52576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52577 ac_ext=c
52578 ac_cpp='$CPP $CPPFLAGS'
52579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
52588 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
52590 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
52591 for ac_func in qfpclass
52592 do :
52593 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
52594 if test "x$ac_cv_func_qfpclass" = x""yes; then :
52595 cat >>confdefs.h <<_ACEOF
52596 #define HAVE_QFPCLASS 1
52597 _ACEOF
52600 done
52602 else
52604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
52605 $as_echo_n "checking for _qfpclass declaration... " >&6; }
52606 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
52607 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
52608 $as_echo_n "(cached) " >&6
52609 else
52612 ac_ext=cpp
52613 ac_cpp='$CXXCPP $CPPFLAGS'
52614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52619 /* end confdefs.h. */
52620 #include <math.h>
52621 #ifdef HAVE_IEEEFP_H
52622 #include <ieeefp.h>
52623 #endif
52626 main ()
52628 _qfpclass(0);
52630 return 0;
52632 _ACEOF
52633 if ac_fn_cxx_try_compile "$LINENO"; then :
52634 glibcxx_cv_func__qfpclass_use=yes
52635 else
52636 glibcxx_cv_func__qfpclass_use=no
52638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52639 ac_ext=c
52640 ac_cpp='$CPP $CPPFLAGS'
52641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
52650 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
52652 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
52653 for ac_func in _qfpclass
52654 do :
52655 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
52656 if test "x$ac_cv_func__qfpclass" = x""yes; then :
52657 cat >>confdefs.h <<_ACEOF
52658 #define HAVE__QFPCLASS 1
52659 _ACEOF
52662 done
52671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
52672 $as_echo_n "checking for hypot declaration... " >&6; }
52673 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
52674 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
52675 $as_echo_n "(cached) " >&6
52676 else
52679 ac_ext=cpp
52680 ac_cpp='$CXXCPP $CPPFLAGS'
52681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52686 /* end confdefs.h. */
52687 #include <math.h>
52689 main ()
52691 hypot(0, 0);
52693 return 0;
52695 _ACEOF
52696 if ac_fn_cxx_try_compile "$LINENO"; then :
52697 glibcxx_cv_func_hypot_use=yes
52698 else
52699 glibcxx_cv_func_hypot_use=no
52701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52702 ac_ext=c
52703 ac_cpp='$CPP $CPPFLAGS'
52704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
52713 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
52715 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
52716 for ac_func in hypot
52717 do :
52718 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
52719 if test "x$ac_cv_func_hypot" = x""yes; then :
52720 cat >>confdefs.h <<_ACEOF
52721 #define HAVE_HYPOT 1
52722 _ACEOF
52725 done
52727 else
52729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
52730 $as_echo_n "checking for _hypot declaration... " >&6; }
52731 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
52732 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
52733 $as_echo_n "(cached) " >&6
52734 else
52737 ac_ext=cpp
52738 ac_cpp='$CXXCPP $CPPFLAGS'
52739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52744 /* end confdefs.h. */
52745 #include <math.h>
52747 main ()
52749 _hypot(0, 0);
52751 return 0;
52753 _ACEOF
52754 if ac_fn_cxx_try_compile "$LINENO"; then :
52755 glibcxx_cv_func__hypot_use=yes
52756 else
52757 glibcxx_cv_func__hypot_use=no
52759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52760 ac_ext=c
52761 ac_cpp='$CPP $CPPFLAGS'
52762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
52771 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
52773 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
52774 for ac_func in _hypot
52775 do :
52776 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
52777 if test "x$ac_cv_func__hypot" = x""yes; then :
52778 cat >>confdefs.h <<_ACEOF
52779 #define HAVE__HYPOT 1
52780 _ACEOF
52783 done
52792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
52793 $as_echo_n "checking for float trig functions... " >&6; }
52794 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
52795 $as_echo_n "(cached) " >&6
52796 else
52799 ac_ext=cpp
52800 ac_cpp='$CXXCPP $CPPFLAGS'
52801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52806 /* end confdefs.h. */
52807 #include <math.h>
52809 main ()
52811 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
52813 return 0;
52815 _ACEOF
52816 if ac_fn_cxx_try_compile "$LINENO"; then :
52817 glibcxx_cv_func_float_trig_use=yes
52818 else
52819 glibcxx_cv_func_float_trig_use=no
52821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52822 ac_ext=c
52823 ac_cpp='$CPP $CPPFLAGS'
52824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
52831 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
52832 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
52833 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
52834 do :
52835 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52836 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52837 eval as_val=\$$as_ac_var
52838 if test "x$as_val" = x""yes; then :
52839 cat >>confdefs.h <<_ACEOF
52840 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52841 _ACEOF
52844 done
52846 else
52847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
52848 $as_echo_n "checking for _float trig functions... " >&6; }
52849 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
52850 $as_echo_n "(cached) " >&6
52851 else
52854 ac_ext=cpp
52855 ac_cpp='$CXXCPP $CPPFLAGS'
52856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52861 /* end confdefs.h. */
52862 #include <math.h>
52864 main ()
52866 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
52868 return 0;
52870 _ACEOF
52871 if ac_fn_cxx_try_compile "$LINENO"; then :
52872 glibcxx_cv_func__float_trig_use=yes
52873 else
52874 glibcxx_cv_func__float_trig_use=no
52876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52877 ac_ext=c
52878 ac_cpp='$CPP $CPPFLAGS'
52879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
52886 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
52887 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
52888 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
52889 do :
52890 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52891 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52892 eval as_val=\$$as_ac_var
52893 if test "x$as_val" = x""yes; then :
52894 cat >>confdefs.h <<_ACEOF
52895 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52896 _ACEOF
52899 done
52908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52909 $as_echo_n "checking for float round functions... " >&6; }
52910 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52911 $as_echo_n "(cached) " >&6
52912 else
52915 ac_ext=cpp
52916 ac_cpp='$CXXCPP $CPPFLAGS'
52917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52922 /* end confdefs.h. */
52923 #include <math.h>
52925 main ()
52927 ceilf (0); floorf (0);
52929 return 0;
52931 _ACEOF
52932 if ac_fn_cxx_try_compile "$LINENO"; then :
52933 glibcxx_cv_func_float_round_use=yes
52934 else
52935 glibcxx_cv_func_float_round_use=no
52937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52938 ac_ext=c
52939 ac_cpp='$CPP $CPPFLAGS'
52940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52947 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52948 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52949 for ac_func in ceilf floorf
52950 do :
52951 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52952 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52953 eval as_val=\$$as_ac_var
52954 if test "x$as_val" = x""yes; then :
52955 cat >>confdefs.h <<_ACEOF
52956 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52957 _ACEOF
52960 done
52962 else
52963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52964 $as_echo_n "checking for _float round functions... " >&6; }
52965 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52966 $as_echo_n "(cached) " >&6
52967 else
52970 ac_ext=cpp
52971 ac_cpp='$CXXCPP $CPPFLAGS'
52972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52977 /* end confdefs.h. */
52978 #include <math.h>
52980 main ()
52982 _ceilf (0); _floorf (0);
52984 return 0;
52986 _ACEOF
52987 if ac_fn_cxx_try_compile "$LINENO"; then :
52988 glibcxx_cv_func__float_round_use=yes
52989 else
52990 glibcxx_cv_func__float_round_use=no
52992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52993 ac_ext=c
52994 ac_cpp='$CPP $CPPFLAGS'
52995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53002 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53003 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53004 for ac_func in _ceilf _floorf
53005 do :
53006 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53007 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53008 eval as_val=\$$as_ac_var
53009 if test "x$as_val" = x""yes; then :
53010 cat >>confdefs.h <<_ACEOF
53011 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53012 _ACEOF
53015 done
53025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53026 $as_echo_n "checking for expf declaration... " >&6; }
53027 if test x${glibcxx_cv_func_expf_use+set} != xset; then
53028 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53029 $as_echo_n "(cached) " >&6
53030 else
53033 ac_ext=cpp
53034 ac_cpp='$CXXCPP $CPPFLAGS'
53035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53040 /* end confdefs.h. */
53041 #include <math.h>
53042 #ifdef HAVE_IEEEFP_H
53043 #include <ieeefp.h>
53044 #endif
53047 main ()
53049 expf(0);
53051 return 0;
53053 _ACEOF
53054 if ac_fn_cxx_try_compile "$LINENO"; then :
53055 glibcxx_cv_func_expf_use=yes
53056 else
53057 glibcxx_cv_func_expf_use=no
53059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53060 ac_ext=c
53061 ac_cpp='$CPP $CPPFLAGS'
53062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53071 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53073 if test x$glibcxx_cv_func_expf_use = x"yes"; then
53074 for ac_func in expf
53075 do :
53076 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53077 if test "x$ac_cv_func_expf" = x""yes; then :
53078 cat >>confdefs.h <<_ACEOF
53079 #define HAVE_EXPF 1
53080 _ACEOF
53083 done
53085 else
53087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53088 $as_echo_n "checking for _expf declaration... " >&6; }
53089 if test x${glibcxx_cv_func__expf_use+set} != xset; then
53090 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53091 $as_echo_n "(cached) " >&6
53092 else
53095 ac_ext=cpp
53096 ac_cpp='$CXXCPP $CPPFLAGS'
53097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53102 /* end confdefs.h. */
53103 #include <math.h>
53104 #ifdef HAVE_IEEEFP_H
53105 #include <ieeefp.h>
53106 #endif
53109 main ()
53111 _expf(0);
53113 return 0;
53115 _ACEOF
53116 if ac_fn_cxx_try_compile "$LINENO"; then :
53117 glibcxx_cv_func__expf_use=yes
53118 else
53119 glibcxx_cv_func__expf_use=no
53121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53122 ac_ext=c
53123 ac_cpp='$CPP $CPPFLAGS'
53124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53133 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53135 if test x$glibcxx_cv_func__expf_use = x"yes"; then
53136 for ac_func in _expf
53137 do :
53138 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53139 if test "x$ac_cv_func__expf" = x""yes; then :
53140 cat >>confdefs.h <<_ACEOF
53141 #define HAVE__EXPF 1
53142 _ACEOF
53145 done
53154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
53155 $as_echo_n "checking for isnanf declaration... " >&6; }
53156 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
53157 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
53158 $as_echo_n "(cached) " >&6
53159 else
53162 ac_ext=cpp
53163 ac_cpp='$CXXCPP $CPPFLAGS'
53164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53169 /* end confdefs.h. */
53170 #include <math.h>
53171 #ifdef HAVE_IEEEFP_H
53172 #include <ieeefp.h>
53173 #endif
53176 main ()
53178 isnanf(0);
53180 return 0;
53182 _ACEOF
53183 if ac_fn_cxx_try_compile "$LINENO"; then :
53184 glibcxx_cv_func_isnanf_use=yes
53185 else
53186 glibcxx_cv_func_isnanf_use=no
53188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53189 ac_ext=c
53190 ac_cpp='$CPP $CPPFLAGS'
53191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
53200 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
53202 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
53203 for ac_func in isnanf
53204 do :
53205 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
53206 if test "x$ac_cv_func_isnanf" = x""yes; then :
53207 cat >>confdefs.h <<_ACEOF
53208 #define HAVE_ISNANF 1
53209 _ACEOF
53212 done
53214 else
53216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
53217 $as_echo_n "checking for _isnanf declaration... " >&6; }
53218 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
53219 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
53220 $as_echo_n "(cached) " >&6
53221 else
53224 ac_ext=cpp
53225 ac_cpp='$CXXCPP $CPPFLAGS'
53226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53231 /* end confdefs.h. */
53232 #include <math.h>
53233 #ifdef HAVE_IEEEFP_H
53234 #include <ieeefp.h>
53235 #endif
53238 main ()
53240 _isnanf(0);
53242 return 0;
53244 _ACEOF
53245 if ac_fn_cxx_try_compile "$LINENO"; then :
53246 glibcxx_cv_func__isnanf_use=yes
53247 else
53248 glibcxx_cv_func__isnanf_use=no
53250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53251 ac_ext=c
53252 ac_cpp='$CPP $CPPFLAGS'
53253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
53262 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
53264 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
53265 for ac_func in _isnanf
53266 do :
53267 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
53268 if test "x$ac_cv_func__isnanf" = x""yes; then :
53269 cat >>confdefs.h <<_ACEOF
53270 #define HAVE__ISNANF 1
53271 _ACEOF
53274 done
53283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
53284 $as_echo_n "checking for isinff declaration... " >&6; }
53285 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
53286 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
53287 $as_echo_n "(cached) " >&6
53288 else
53291 ac_ext=cpp
53292 ac_cpp='$CXXCPP $CPPFLAGS'
53293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53298 /* end confdefs.h. */
53299 #include <math.h>
53300 #ifdef HAVE_IEEEFP_H
53301 #include <ieeefp.h>
53302 #endif
53305 main ()
53307 isinff(0);
53309 return 0;
53311 _ACEOF
53312 if ac_fn_cxx_try_compile "$LINENO"; then :
53313 glibcxx_cv_func_isinff_use=yes
53314 else
53315 glibcxx_cv_func_isinff_use=no
53317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53318 ac_ext=c
53319 ac_cpp='$CPP $CPPFLAGS'
53320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
53329 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
53331 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
53332 for ac_func in isinff
53333 do :
53334 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
53335 if test "x$ac_cv_func_isinff" = x""yes; then :
53336 cat >>confdefs.h <<_ACEOF
53337 #define HAVE_ISINFF 1
53338 _ACEOF
53341 done
53343 else
53345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
53346 $as_echo_n "checking for _isinff declaration... " >&6; }
53347 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
53348 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
53349 $as_echo_n "(cached) " >&6
53350 else
53353 ac_ext=cpp
53354 ac_cpp='$CXXCPP $CPPFLAGS'
53355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53360 /* end confdefs.h. */
53361 #include <math.h>
53362 #ifdef HAVE_IEEEFP_H
53363 #include <ieeefp.h>
53364 #endif
53367 main ()
53369 _isinff(0);
53371 return 0;
53373 _ACEOF
53374 if ac_fn_cxx_try_compile "$LINENO"; then :
53375 glibcxx_cv_func__isinff_use=yes
53376 else
53377 glibcxx_cv_func__isinff_use=no
53379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53380 ac_ext=c
53381 ac_cpp='$CPP $CPPFLAGS'
53382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
53391 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
53393 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
53394 for ac_func in _isinff
53395 do :
53396 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
53397 if test "x$ac_cv_func__isinff" = x""yes; then :
53398 cat >>confdefs.h <<_ACEOF
53399 #define HAVE__ISINFF 1
53400 _ACEOF
53403 done
53412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
53413 $as_echo_n "checking for atan2f declaration... " >&6; }
53414 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
53415 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
53416 $as_echo_n "(cached) " >&6
53417 else
53420 ac_ext=cpp
53421 ac_cpp='$CXXCPP $CPPFLAGS'
53422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53427 /* end confdefs.h. */
53428 #include <math.h>
53430 main ()
53432 atan2f(0, 0);
53434 return 0;
53436 _ACEOF
53437 if ac_fn_cxx_try_compile "$LINENO"; then :
53438 glibcxx_cv_func_atan2f_use=yes
53439 else
53440 glibcxx_cv_func_atan2f_use=no
53442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53443 ac_ext=c
53444 ac_cpp='$CPP $CPPFLAGS'
53445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
53454 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
53456 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
53457 for ac_func in atan2f
53458 do :
53459 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
53460 if test "x$ac_cv_func_atan2f" = x""yes; then :
53461 cat >>confdefs.h <<_ACEOF
53462 #define HAVE_ATAN2F 1
53463 _ACEOF
53466 done
53468 else
53470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
53471 $as_echo_n "checking for _atan2f declaration... " >&6; }
53472 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
53473 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
53474 $as_echo_n "(cached) " >&6
53475 else
53478 ac_ext=cpp
53479 ac_cpp='$CXXCPP $CPPFLAGS'
53480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53485 /* end confdefs.h. */
53486 #include <math.h>
53488 main ()
53490 _atan2f(0, 0);
53492 return 0;
53494 _ACEOF
53495 if ac_fn_cxx_try_compile "$LINENO"; then :
53496 glibcxx_cv_func__atan2f_use=yes
53497 else
53498 glibcxx_cv_func__atan2f_use=no
53500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53501 ac_ext=c
53502 ac_cpp='$CPP $CPPFLAGS'
53503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
53512 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
53514 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
53515 for ac_func in _atan2f
53516 do :
53517 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
53518 if test "x$ac_cv_func__atan2f" = x""yes; then :
53519 cat >>confdefs.h <<_ACEOF
53520 #define HAVE__ATAN2F 1
53521 _ACEOF
53524 done
53533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
53534 $as_echo_n "checking for fabsf declaration... " >&6; }
53535 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
53536 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
53537 $as_echo_n "(cached) " >&6
53538 else
53541 ac_ext=cpp
53542 ac_cpp='$CXXCPP $CPPFLAGS'
53543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53548 /* end confdefs.h. */
53549 #include <math.h>
53550 #ifdef HAVE_IEEEFP_H
53551 #include <ieeefp.h>
53552 #endif
53555 main ()
53557 fabsf(0);
53559 return 0;
53561 _ACEOF
53562 if ac_fn_cxx_try_compile "$LINENO"; then :
53563 glibcxx_cv_func_fabsf_use=yes
53564 else
53565 glibcxx_cv_func_fabsf_use=no
53567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53568 ac_ext=c
53569 ac_cpp='$CPP $CPPFLAGS'
53570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
53579 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
53581 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
53582 for ac_func in fabsf
53583 do :
53584 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
53585 if test "x$ac_cv_func_fabsf" = x""yes; then :
53586 cat >>confdefs.h <<_ACEOF
53587 #define HAVE_FABSF 1
53588 _ACEOF
53591 done
53593 else
53595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
53596 $as_echo_n "checking for _fabsf declaration... " >&6; }
53597 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
53598 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
53599 $as_echo_n "(cached) " >&6
53600 else
53603 ac_ext=cpp
53604 ac_cpp='$CXXCPP $CPPFLAGS'
53605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53610 /* end confdefs.h. */
53611 #include <math.h>
53612 #ifdef HAVE_IEEEFP_H
53613 #include <ieeefp.h>
53614 #endif
53617 main ()
53619 _fabsf(0);
53621 return 0;
53623 _ACEOF
53624 if ac_fn_cxx_try_compile "$LINENO"; then :
53625 glibcxx_cv_func__fabsf_use=yes
53626 else
53627 glibcxx_cv_func__fabsf_use=no
53629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53630 ac_ext=c
53631 ac_cpp='$CPP $CPPFLAGS'
53632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
53641 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
53643 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
53644 for ac_func in _fabsf
53645 do :
53646 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
53647 if test "x$ac_cv_func__fabsf" = x""yes; then :
53648 cat >>confdefs.h <<_ACEOF
53649 #define HAVE__FABSF 1
53650 _ACEOF
53653 done
53662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
53663 $as_echo_n "checking for fmodf declaration... " >&6; }
53664 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
53665 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
53666 $as_echo_n "(cached) " >&6
53667 else
53670 ac_ext=cpp
53671 ac_cpp='$CXXCPP $CPPFLAGS'
53672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53677 /* end confdefs.h. */
53678 #include <math.h>
53680 main ()
53682 fmodf(0, 0);
53684 return 0;
53686 _ACEOF
53687 if ac_fn_cxx_try_compile "$LINENO"; then :
53688 glibcxx_cv_func_fmodf_use=yes
53689 else
53690 glibcxx_cv_func_fmodf_use=no
53692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53693 ac_ext=c
53694 ac_cpp='$CPP $CPPFLAGS'
53695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
53704 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
53706 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
53707 for ac_func in fmodf
53708 do :
53709 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
53710 if test "x$ac_cv_func_fmodf" = x""yes; then :
53711 cat >>confdefs.h <<_ACEOF
53712 #define HAVE_FMODF 1
53713 _ACEOF
53716 done
53718 else
53720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
53721 $as_echo_n "checking for _fmodf declaration... " >&6; }
53722 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
53723 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
53724 $as_echo_n "(cached) " >&6
53725 else
53728 ac_ext=cpp
53729 ac_cpp='$CXXCPP $CPPFLAGS'
53730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53735 /* end confdefs.h. */
53736 #include <math.h>
53738 main ()
53740 _fmodf(0, 0);
53742 return 0;
53744 _ACEOF
53745 if ac_fn_cxx_try_compile "$LINENO"; then :
53746 glibcxx_cv_func__fmodf_use=yes
53747 else
53748 glibcxx_cv_func__fmodf_use=no
53750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53751 ac_ext=c
53752 ac_cpp='$CPP $CPPFLAGS'
53753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
53762 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
53764 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
53765 for ac_func in _fmodf
53766 do :
53767 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
53768 if test "x$ac_cv_func__fmodf" = x""yes; then :
53769 cat >>confdefs.h <<_ACEOF
53770 #define HAVE__FMODF 1
53771 _ACEOF
53774 done
53783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
53784 $as_echo_n "checking for frexpf declaration... " >&6; }
53785 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
53786 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
53787 $as_echo_n "(cached) " >&6
53788 else
53791 ac_ext=cpp
53792 ac_cpp='$CXXCPP $CPPFLAGS'
53793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53798 /* end confdefs.h. */
53799 #include <math.h>
53801 main ()
53803 frexpf(0, 0);
53805 return 0;
53807 _ACEOF
53808 if ac_fn_cxx_try_compile "$LINENO"; then :
53809 glibcxx_cv_func_frexpf_use=yes
53810 else
53811 glibcxx_cv_func_frexpf_use=no
53813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53814 ac_ext=c
53815 ac_cpp='$CPP $CPPFLAGS'
53816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
53825 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
53827 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
53828 for ac_func in frexpf
53829 do :
53830 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
53831 if test "x$ac_cv_func_frexpf" = x""yes; then :
53832 cat >>confdefs.h <<_ACEOF
53833 #define HAVE_FREXPF 1
53834 _ACEOF
53837 done
53839 else
53841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
53842 $as_echo_n "checking for _frexpf declaration... " >&6; }
53843 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
53844 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
53845 $as_echo_n "(cached) " >&6
53846 else
53849 ac_ext=cpp
53850 ac_cpp='$CXXCPP $CPPFLAGS'
53851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53856 /* end confdefs.h. */
53857 #include <math.h>
53859 main ()
53861 _frexpf(0, 0);
53863 return 0;
53865 _ACEOF
53866 if ac_fn_cxx_try_compile "$LINENO"; then :
53867 glibcxx_cv_func__frexpf_use=yes
53868 else
53869 glibcxx_cv_func__frexpf_use=no
53871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53872 ac_ext=c
53873 ac_cpp='$CPP $CPPFLAGS'
53874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
53883 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
53885 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
53886 for ac_func in _frexpf
53887 do :
53888 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
53889 if test "x$ac_cv_func__frexpf" = x""yes; then :
53890 cat >>confdefs.h <<_ACEOF
53891 #define HAVE__FREXPF 1
53892 _ACEOF
53895 done
53904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53905 $as_echo_n "checking for hypotf declaration... " >&6; }
53906 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53907 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53908 $as_echo_n "(cached) " >&6
53909 else
53912 ac_ext=cpp
53913 ac_cpp='$CXXCPP $CPPFLAGS'
53914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53919 /* end confdefs.h. */
53920 #include <math.h>
53922 main ()
53924 hypotf(0, 0);
53926 return 0;
53928 _ACEOF
53929 if ac_fn_cxx_try_compile "$LINENO"; then :
53930 glibcxx_cv_func_hypotf_use=yes
53931 else
53932 glibcxx_cv_func_hypotf_use=no
53934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53935 ac_ext=c
53936 ac_cpp='$CPP $CPPFLAGS'
53937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53946 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53948 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53949 for ac_func in hypotf
53950 do :
53951 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53952 if test "x$ac_cv_func_hypotf" = x""yes; then :
53953 cat >>confdefs.h <<_ACEOF
53954 #define HAVE_HYPOTF 1
53955 _ACEOF
53958 done
53960 else
53962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53963 $as_echo_n "checking for _hypotf declaration... " >&6; }
53964 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53965 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53966 $as_echo_n "(cached) " >&6
53967 else
53970 ac_ext=cpp
53971 ac_cpp='$CXXCPP $CPPFLAGS'
53972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53977 /* end confdefs.h. */
53978 #include <math.h>
53980 main ()
53982 _hypotf(0, 0);
53984 return 0;
53986 _ACEOF
53987 if ac_fn_cxx_try_compile "$LINENO"; then :
53988 glibcxx_cv_func__hypotf_use=yes
53989 else
53990 glibcxx_cv_func__hypotf_use=no
53992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53993 ac_ext=c
53994 ac_cpp='$CPP $CPPFLAGS'
53995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54004 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54006 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54007 for ac_func in _hypotf
54008 do :
54009 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54010 if test "x$ac_cv_func__hypotf" = x""yes; then :
54011 cat >>confdefs.h <<_ACEOF
54012 #define HAVE__HYPOTF 1
54013 _ACEOF
54016 done
54025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54026 $as_echo_n "checking for ldexpf declaration... " >&6; }
54027 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54028 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54029 $as_echo_n "(cached) " >&6
54030 else
54033 ac_ext=cpp
54034 ac_cpp='$CXXCPP $CPPFLAGS'
54035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54040 /* end confdefs.h. */
54041 #include <math.h>
54043 main ()
54045 ldexpf(0, 0);
54047 return 0;
54049 _ACEOF
54050 if ac_fn_cxx_try_compile "$LINENO"; then :
54051 glibcxx_cv_func_ldexpf_use=yes
54052 else
54053 glibcxx_cv_func_ldexpf_use=no
54055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54056 ac_ext=c
54057 ac_cpp='$CPP $CPPFLAGS'
54058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54067 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54069 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54070 for ac_func in ldexpf
54071 do :
54072 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54073 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54074 cat >>confdefs.h <<_ACEOF
54075 #define HAVE_LDEXPF 1
54076 _ACEOF
54079 done
54081 else
54083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54084 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54085 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54086 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54087 $as_echo_n "(cached) " >&6
54088 else
54091 ac_ext=cpp
54092 ac_cpp='$CXXCPP $CPPFLAGS'
54093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54098 /* end confdefs.h. */
54099 #include <math.h>
54101 main ()
54103 _ldexpf(0, 0);
54105 return 0;
54107 _ACEOF
54108 if ac_fn_cxx_try_compile "$LINENO"; then :
54109 glibcxx_cv_func__ldexpf_use=yes
54110 else
54111 glibcxx_cv_func__ldexpf_use=no
54113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54114 ac_ext=c
54115 ac_cpp='$CPP $CPPFLAGS'
54116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54125 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54127 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54128 for ac_func in _ldexpf
54129 do :
54130 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54131 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54132 cat >>confdefs.h <<_ACEOF
54133 #define HAVE__LDEXPF 1
54134 _ACEOF
54137 done
54146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
54147 $as_echo_n "checking for logf declaration... " >&6; }
54148 if test x${glibcxx_cv_func_logf_use+set} != xset; then
54149 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
54150 $as_echo_n "(cached) " >&6
54151 else
54154 ac_ext=cpp
54155 ac_cpp='$CXXCPP $CPPFLAGS'
54156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54161 /* end confdefs.h. */
54162 #include <math.h>
54163 #ifdef HAVE_IEEEFP_H
54164 #include <ieeefp.h>
54165 #endif
54168 main ()
54170 logf(0);
54172 return 0;
54174 _ACEOF
54175 if ac_fn_cxx_try_compile "$LINENO"; then :
54176 glibcxx_cv_func_logf_use=yes
54177 else
54178 glibcxx_cv_func_logf_use=no
54180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54181 ac_ext=c
54182 ac_cpp='$CPP $CPPFLAGS'
54183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
54192 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
54194 if test x$glibcxx_cv_func_logf_use = x"yes"; then
54195 for ac_func in logf
54196 do :
54197 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
54198 if test "x$ac_cv_func_logf" = x""yes; then :
54199 cat >>confdefs.h <<_ACEOF
54200 #define HAVE_LOGF 1
54201 _ACEOF
54204 done
54206 else
54208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
54209 $as_echo_n "checking for _logf declaration... " >&6; }
54210 if test x${glibcxx_cv_func__logf_use+set} != xset; then
54211 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
54212 $as_echo_n "(cached) " >&6
54213 else
54216 ac_ext=cpp
54217 ac_cpp='$CXXCPP $CPPFLAGS'
54218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54223 /* end confdefs.h. */
54224 #include <math.h>
54225 #ifdef HAVE_IEEEFP_H
54226 #include <ieeefp.h>
54227 #endif
54230 main ()
54232 _logf(0);
54234 return 0;
54236 _ACEOF
54237 if ac_fn_cxx_try_compile "$LINENO"; then :
54238 glibcxx_cv_func__logf_use=yes
54239 else
54240 glibcxx_cv_func__logf_use=no
54242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54243 ac_ext=c
54244 ac_cpp='$CPP $CPPFLAGS'
54245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
54254 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
54256 if test x$glibcxx_cv_func__logf_use = x"yes"; then
54257 for ac_func in _logf
54258 do :
54259 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
54260 if test "x$ac_cv_func__logf" = x""yes; then :
54261 cat >>confdefs.h <<_ACEOF
54262 #define HAVE__LOGF 1
54263 _ACEOF
54266 done
54275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
54276 $as_echo_n "checking for log10f declaration... " >&6; }
54277 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
54278 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
54279 $as_echo_n "(cached) " >&6
54280 else
54283 ac_ext=cpp
54284 ac_cpp='$CXXCPP $CPPFLAGS'
54285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54290 /* end confdefs.h. */
54291 #include <math.h>
54292 #ifdef HAVE_IEEEFP_H
54293 #include <ieeefp.h>
54294 #endif
54297 main ()
54299 log10f(0);
54301 return 0;
54303 _ACEOF
54304 if ac_fn_cxx_try_compile "$LINENO"; then :
54305 glibcxx_cv_func_log10f_use=yes
54306 else
54307 glibcxx_cv_func_log10f_use=no
54309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54310 ac_ext=c
54311 ac_cpp='$CPP $CPPFLAGS'
54312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
54321 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
54323 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
54324 for ac_func in log10f
54325 do :
54326 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
54327 if test "x$ac_cv_func_log10f" = x""yes; then :
54328 cat >>confdefs.h <<_ACEOF
54329 #define HAVE_LOG10F 1
54330 _ACEOF
54333 done
54335 else
54337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
54338 $as_echo_n "checking for _log10f declaration... " >&6; }
54339 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
54340 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
54341 $as_echo_n "(cached) " >&6
54342 else
54345 ac_ext=cpp
54346 ac_cpp='$CXXCPP $CPPFLAGS'
54347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54352 /* end confdefs.h. */
54353 #include <math.h>
54354 #ifdef HAVE_IEEEFP_H
54355 #include <ieeefp.h>
54356 #endif
54359 main ()
54361 _log10f(0);
54363 return 0;
54365 _ACEOF
54366 if ac_fn_cxx_try_compile "$LINENO"; then :
54367 glibcxx_cv_func__log10f_use=yes
54368 else
54369 glibcxx_cv_func__log10f_use=no
54371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54372 ac_ext=c
54373 ac_cpp='$CPP $CPPFLAGS'
54374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
54383 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
54385 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
54386 for ac_func in _log10f
54387 do :
54388 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
54389 if test "x$ac_cv_func__log10f" = x""yes; then :
54390 cat >>confdefs.h <<_ACEOF
54391 #define HAVE__LOG10F 1
54392 _ACEOF
54395 done
54404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
54405 $as_echo_n "checking for modff declaration... " >&6; }
54406 if test x${glibcxx_cv_func_modff_use+set} != xset; then
54407 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
54408 $as_echo_n "(cached) " >&6
54409 else
54412 ac_ext=cpp
54413 ac_cpp='$CXXCPP $CPPFLAGS'
54414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54419 /* end confdefs.h. */
54420 #include <math.h>
54422 main ()
54424 modff(0, 0);
54426 return 0;
54428 _ACEOF
54429 if ac_fn_cxx_try_compile "$LINENO"; then :
54430 glibcxx_cv_func_modff_use=yes
54431 else
54432 glibcxx_cv_func_modff_use=no
54434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54435 ac_ext=c
54436 ac_cpp='$CPP $CPPFLAGS'
54437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
54446 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
54448 if test x$glibcxx_cv_func_modff_use = x"yes"; then
54449 for ac_func in modff
54450 do :
54451 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
54452 if test "x$ac_cv_func_modff" = x""yes; then :
54453 cat >>confdefs.h <<_ACEOF
54454 #define HAVE_MODFF 1
54455 _ACEOF
54458 done
54460 else
54462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
54463 $as_echo_n "checking for _modff declaration... " >&6; }
54464 if test x${glibcxx_cv_func__modff_use+set} != xset; then
54465 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
54466 $as_echo_n "(cached) " >&6
54467 else
54470 ac_ext=cpp
54471 ac_cpp='$CXXCPP $CPPFLAGS'
54472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54477 /* end confdefs.h. */
54478 #include <math.h>
54480 main ()
54482 _modff(0, 0);
54484 return 0;
54486 _ACEOF
54487 if ac_fn_cxx_try_compile "$LINENO"; then :
54488 glibcxx_cv_func__modff_use=yes
54489 else
54490 glibcxx_cv_func__modff_use=no
54492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54493 ac_ext=c
54494 ac_cpp='$CPP $CPPFLAGS'
54495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
54504 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
54506 if test x$glibcxx_cv_func__modff_use = x"yes"; then
54507 for ac_func in _modff
54508 do :
54509 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
54510 if test "x$ac_cv_func__modff" = x""yes; then :
54511 cat >>confdefs.h <<_ACEOF
54512 #define HAVE__MODFF 1
54513 _ACEOF
54516 done
54525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
54526 $as_echo_n "checking for modf declaration... " >&6; }
54527 if test x${glibcxx_cv_func_modf_use+set} != xset; then
54528 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
54529 $as_echo_n "(cached) " >&6
54530 else
54533 ac_ext=cpp
54534 ac_cpp='$CXXCPP $CPPFLAGS'
54535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54540 /* end confdefs.h. */
54541 #include <math.h>
54543 main ()
54545 modf(0, 0);
54547 return 0;
54549 _ACEOF
54550 if ac_fn_cxx_try_compile "$LINENO"; then :
54551 glibcxx_cv_func_modf_use=yes
54552 else
54553 glibcxx_cv_func_modf_use=no
54555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54556 ac_ext=c
54557 ac_cpp='$CPP $CPPFLAGS'
54558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
54567 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
54569 if test x$glibcxx_cv_func_modf_use = x"yes"; then
54570 for ac_func in modf
54571 do :
54572 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
54573 if test "x$ac_cv_func_modf" = x""yes; then :
54574 cat >>confdefs.h <<_ACEOF
54575 #define HAVE_MODF 1
54576 _ACEOF
54579 done
54581 else
54583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
54584 $as_echo_n "checking for _modf declaration... " >&6; }
54585 if test x${glibcxx_cv_func__modf_use+set} != xset; then
54586 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
54587 $as_echo_n "(cached) " >&6
54588 else
54591 ac_ext=cpp
54592 ac_cpp='$CXXCPP $CPPFLAGS'
54593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54598 /* end confdefs.h. */
54599 #include <math.h>
54601 main ()
54603 _modf(0, 0);
54605 return 0;
54607 _ACEOF
54608 if ac_fn_cxx_try_compile "$LINENO"; then :
54609 glibcxx_cv_func__modf_use=yes
54610 else
54611 glibcxx_cv_func__modf_use=no
54613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54614 ac_ext=c
54615 ac_cpp='$CPP $CPPFLAGS'
54616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
54625 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
54627 if test x$glibcxx_cv_func__modf_use = x"yes"; then
54628 for ac_func in _modf
54629 do :
54630 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
54631 if test "x$ac_cv_func__modf" = x""yes; then :
54632 cat >>confdefs.h <<_ACEOF
54633 #define HAVE__MODF 1
54634 _ACEOF
54637 done
54646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
54647 $as_echo_n "checking for powf declaration... " >&6; }
54648 if test x${glibcxx_cv_func_powf_use+set} != xset; then
54649 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
54650 $as_echo_n "(cached) " >&6
54651 else
54654 ac_ext=cpp
54655 ac_cpp='$CXXCPP $CPPFLAGS'
54656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54661 /* end confdefs.h. */
54662 #include <math.h>
54664 main ()
54666 powf(0, 0);
54668 return 0;
54670 _ACEOF
54671 if ac_fn_cxx_try_compile "$LINENO"; then :
54672 glibcxx_cv_func_powf_use=yes
54673 else
54674 glibcxx_cv_func_powf_use=no
54676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54677 ac_ext=c
54678 ac_cpp='$CPP $CPPFLAGS'
54679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
54688 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
54690 if test x$glibcxx_cv_func_powf_use = x"yes"; then
54691 for ac_func in powf
54692 do :
54693 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
54694 if test "x$ac_cv_func_powf" = x""yes; then :
54695 cat >>confdefs.h <<_ACEOF
54696 #define HAVE_POWF 1
54697 _ACEOF
54700 done
54702 else
54704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
54705 $as_echo_n "checking for _powf declaration... " >&6; }
54706 if test x${glibcxx_cv_func__powf_use+set} != xset; then
54707 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
54708 $as_echo_n "(cached) " >&6
54709 else
54712 ac_ext=cpp
54713 ac_cpp='$CXXCPP $CPPFLAGS'
54714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54719 /* end confdefs.h. */
54720 #include <math.h>
54722 main ()
54724 _powf(0, 0);
54726 return 0;
54728 _ACEOF
54729 if ac_fn_cxx_try_compile "$LINENO"; then :
54730 glibcxx_cv_func__powf_use=yes
54731 else
54732 glibcxx_cv_func__powf_use=no
54734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54735 ac_ext=c
54736 ac_cpp='$CPP $CPPFLAGS'
54737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
54746 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
54748 if test x$glibcxx_cv_func__powf_use = x"yes"; then
54749 for ac_func in _powf
54750 do :
54751 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
54752 if test "x$ac_cv_func__powf" = x""yes; then :
54753 cat >>confdefs.h <<_ACEOF
54754 #define HAVE__POWF 1
54755 _ACEOF
54758 done
54767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
54768 $as_echo_n "checking for sqrtf declaration... " >&6; }
54769 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
54770 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
54771 $as_echo_n "(cached) " >&6
54772 else
54775 ac_ext=cpp
54776 ac_cpp='$CXXCPP $CPPFLAGS'
54777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54782 /* end confdefs.h. */
54783 #include <math.h>
54784 #ifdef HAVE_IEEEFP_H
54785 #include <ieeefp.h>
54786 #endif
54789 main ()
54791 sqrtf(0);
54793 return 0;
54795 _ACEOF
54796 if ac_fn_cxx_try_compile "$LINENO"; then :
54797 glibcxx_cv_func_sqrtf_use=yes
54798 else
54799 glibcxx_cv_func_sqrtf_use=no
54801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54802 ac_ext=c
54803 ac_cpp='$CPP $CPPFLAGS'
54804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
54813 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
54815 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
54816 for ac_func in sqrtf
54817 do :
54818 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
54819 if test "x$ac_cv_func_sqrtf" = x""yes; then :
54820 cat >>confdefs.h <<_ACEOF
54821 #define HAVE_SQRTF 1
54822 _ACEOF
54825 done
54827 else
54829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
54830 $as_echo_n "checking for _sqrtf declaration... " >&6; }
54831 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
54832 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
54833 $as_echo_n "(cached) " >&6
54834 else
54837 ac_ext=cpp
54838 ac_cpp='$CXXCPP $CPPFLAGS'
54839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54844 /* end confdefs.h. */
54845 #include <math.h>
54846 #ifdef HAVE_IEEEFP_H
54847 #include <ieeefp.h>
54848 #endif
54851 main ()
54853 _sqrtf(0);
54855 return 0;
54857 _ACEOF
54858 if ac_fn_cxx_try_compile "$LINENO"; then :
54859 glibcxx_cv_func__sqrtf_use=yes
54860 else
54861 glibcxx_cv_func__sqrtf_use=no
54863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54864 ac_ext=c
54865 ac_cpp='$CPP $CPPFLAGS'
54866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
54875 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
54877 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
54878 for ac_func in _sqrtf
54879 do :
54880 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
54881 if test "x$ac_cv_func__sqrtf" = x""yes; then :
54882 cat >>confdefs.h <<_ACEOF
54883 #define HAVE__SQRTF 1
54884 _ACEOF
54887 done
54896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54897 $as_echo_n "checking for sincosf declaration... " >&6; }
54898 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54899 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54900 $as_echo_n "(cached) " >&6
54901 else
54904 ac_ext=cpp
54905 ac_cpp='$CXXCPP $CPPFLAGS'
54906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54911 /* end confdefs.h. */
54912 #include <math.h>
54914 main ()
54916 sincosf(0, 0, 0);
54918 return 0;
54920 _ACEOF
54921 if ac_fn_cxx_try_compile "$LINENO"; then :
54922 glibcxx_cv_func_sincosf_use=yes
54923 else
54924 glibcxx_cv_func_sincosf_use=no
54926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54927 ac_ext=c
54928 ac_cpp='$CPP $CPPFLAGS'
54929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54938 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54940 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54941 for ac_func in sincosf
54942 do :
54943 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54944 if test "x$ac_cv_func_sincosf" = x""yes; then :
54945 cat >>confdefs.h <<_ACEOF
54946 #define HAVE_SINCOSF 1
54947 _ACEOF
54950 done
54952 else
54954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54955 $as_echo_n "checking for _sincosf declaration... " >&6; }
54956 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54957 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54958 $as_echo_n "(cached) " >&6
54959 else
54962 ac_ext=cpp
54963 ac_cpp='$CXXCPP $CPPFLAGS'
54964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54969 /* end confdefs.h. */
54970 #include <math.h>
54972 main ()
54974 _sincosf(0, 0, 0);
54976 return 0;
54978 _ACEOF
54979 if ac_fn_cxx_try_compile "$LINENO"; then :
54980 glibcxx_cv_func__sincosf_use=yes
54981 else
54982 glibcxx_cv_func__sincosf_use=no
54984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54985 ac_ext=c
54986 ac_cpp='$CPP $CPPFLAGS'
54987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54996 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54998 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54999 for ac_func in _sincosf
55000 do :
55001 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55002 if test "x$ac_cv_func__sincosf" = x""yes; then :
55003 cat >>confdefs.h <<_ACEOF
55004 #define HAVE__SINCOSF 1
55005 _ACEOF
55008 done
55017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55018 $as_echo_n "checking for finitef declaration... " >&6; }
55019 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
55020 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
55021 $as_echo_n "(cached) " >&6
55022 else
55025 ac_ext=cpp
55026 ac_cpp='$CXXCPP $CPPFLAGS'
55027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55032 /* end confdefs.h. */
55033 #include <math.h>
55034 #ifdef HAVE_IEEEFP_H
55035 #include <ieeefp.h>
55036 #endif
55039 main ()
55041 finitef(0);
55043 return 0;
55045 _ACEOF
55046 if ac_fn_cxx_try_compile "$LINENO"; then :
55047 glibcxx_cv_func_finitef_use=yes
55048 else
55049 glibcxx_cv_func_finitef_use=no
55051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55052 ac_ext=c
55053 ac_cpp='$CPP $CPPFLAGS'
55054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55063 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55065 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55066 for ac_func in finitef
55067 do :
55068 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55069 if test "x$ac_cv_func_finitef" = x""yes; then :
55070 cat >>confdefs.h <<_ACEOF
55071 #define HAVE_FINITEF 1
55072 _ACEOF
55075 done
55077 else
55079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55080 $as_echo_n "checking for _finitef declaration... " >&6; }
55081 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55082 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55083 $as_echo_n "(cached) " >&6
55084 else
55087 ac_ext=cpp
55088 ac_cpp='$CXXCPP $CPPFLAGS'
55089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55094 /* end confdefs.h. */
55095 #include <math.h>
55096 #ifdef HAVE_IEEEFP_H
55097 #include <ieeefp.h>
55098 #endif
55101 main ()
55103 _finitef(0);
55105 return 0;
55107 _ACEOF
55108 if ac_fn_cxx_try_compile "$LINENO"; then :
55109 glibcxx_cv_func__finitef_use=yes
55110 else
55111 glibcxx_cv_func__finitef_use=no
55113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55114 ac_ext=c
55115 ac_cpp='$CPP $CPPFLAGS'
55116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55125 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55127 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55128 for ac_func in _finitef
55129 do :
55130 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55131 if test "x$ac_cv_func__finitef" = x""yes; then :
55132 cat >>confdefs.h <<_ACEOF
55133 #define HAVE__FINITEF 1
55134 _ACEOF
55137 done
55146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
55147 $as_echo_n "checking for long double trig functions... " >&6; }
55148 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
55149 $as_echo_n "(cached) " >&6
55150 else
55153 ac_ext=cpp
55154 ac_cpp='$CXXCPP $CPPFLAGS'
55155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55160 /* end confdefs.h. */
55161 #include <math.h>
55163 main ()
55165 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
55167 return 0;
55169 _ACEOF
55170 if ac_fn_cxx_try_compile "$LINENO"; then :
55171 glibcxx_cv_func_long_double_trig_use=yes
55172 else
55173 glibcxx_cv_func_long_double_trig_use=no
55175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55176 ac_ext=c
55177 ac_cpp='$CPP $CPPFLAGS'
55178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
55185 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
55186 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
55187 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
55188 do :
55189 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55190 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55191 eval as_val=\$$as_ac_var
55192 if test "x$as_val" = x""yes; then :
55193 cat >>confdefs.h <<_ACEOF
55194 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55195 _ACEOF
55198 done
55200 else
55201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
55202 $as_echo_n "checking for _long double trig functions... " >&6; }
55203 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
55204 $as_echo_n "(cached) " >&6
55205 else
55208 ac_ext=cpp
55209 ac_cpp='$CXXCPP $CPPFLAGS'
55210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55215 /* end confdefs.h. */
55216 #include <math.h>
55218 main ()
55220 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
55222 return 0;
55224 _ACEOF
55225 if ac_fn_cxx_try_compile "$LINENO"; then :
55226 glibcxx_cv_func__long_double_trig_use=yes
55227 else
55228 glibcxx_cv_func__long_double_trig_use=no
55230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55231 ac_ext=c
55232 ac_cpp='$CPP $CPPFLAGS'
55233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
55240 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
55241 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
55242 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
55243 do :
55244 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55245 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55246 eval as_val=\$$as_ac_var
55247 if test "x$as_val" = x""yes; then :
55248 cat >>confdefs.h <<_ACEOF
55249 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55250 _ACEOF
55253 done
55262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
55263 $as_echo_n "checking for long double round functions... " >&6; }
55264 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
55265 $as_echo_n "(cached) " >&6
55266 else
55269 ac_ext=cpp
55270 ac_cpp='$CXXCPP $CPPFLAGS'
55271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55276 /* end confdefs.h. */
55277 #include <math.h>
55279 main ()
55281 ceill (0); floorl (0);
55283 return 0;
55285 _ACEOF
55286 if ac_fn_cxx_try_compile "$LINENO"; then :
55287 glibcxx_cv_func_long_double_round_use=yes
55288 else
55289 glibcxx_cv_func_long_double_round_use=no
55291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55292 ac_ext=c
55293 ac_cpp='$CPP $CPPFLAGS'
55294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
55301 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
55302 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
55303 for ac_func in ceill floorl
55304 do :
55305 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55306 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55307 eval as_val=\$$as_ac_var
55308 if test "x$as_val" = x""yes; then :
55309 cat >>confdefs.h <<_ACEOF
55310 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55311 _ACEOF
55314 done
55316 else
55317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
55318 $as_echo_n "checking for _long double round functions... " >&6; }
55319 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
55320 $as_echo_n "(cached) " >&6
55321 else
55324 ac_ext=cpp
55325 ac_cpp='$CXXCPP $CPPFLAGS'
55326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55331 /* end confdefs.h. */
55332 #include <math.h>
55334 main ()
55336 _ceill (0); _floorl (0);
55338 return 0;
55340 _ACEOF
55341 if ac_fn_cxx_try_compile "$LINENO"; then :
55342 glibcxx_cv_func__long_double_round_use=yes
55343 else
55344 glibcxx_cv_func__long_double_round_use=no
55346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55347 ac_ext=c
55348 ac_cpp='$CPP $CPPFLAGS'
55349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
55356 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
55357 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
55358 for ac_func in _ceill _floorl
55359 do :
55360 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55361 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55362 eval as_val=\$$as_ac_var
55363 if test "x$as_val" = x""yes; then :
55364 cat >>confdefs.h <<_ACEOF
55365 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55366 _ACEOF
55369 done
55379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
55380 $as_echo_n "checking for isnanl declaration... " >&6; }
55381 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
55382 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
55383 $as_echo_n "(cached) " >&6
55384 else
55387 ac_ext=cpp
55388 ac_cpp='$CXXCPP $CPPFLAGS'
55389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55394 /* end confdefs.h. */
55395 #include <math.h>
55396 #ifdef HAVE_IEEEFP_H
55397 #include <ieeefp.h>
55398 #endif
55401 main ()
55403 isnanl(0);
55405 return 0;
55407 _ACEOF
55408 if ac_fn_cxx_try_compile "$LINENO"; then :
55409 glibcxx_cv_func_isnanl_use=yes
55410 else
55411 glibcxx_cv_func_isnanl_use=no
55413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55414 ac_ext=c
55415 ac_cpp='$CPP $CPPFLAGS'
55416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
55425 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
55427 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
55428 for ac_func in isnanl
55429 do :
55430 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
55431 if test "x$ac_cv_func_isnanl" = x""yes; then :
55432 cat >>confdefs.h <<_ACEOF
55433 #define HAVE_ISNANL 1
55434 _ACEOF
55437 done
55439 else
55441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
55442 $as_echo_n "checking for _isnanl declaration... " >&6; }
55443 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
55444 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
55445 $as_echo_n "(cached) " >&6
55446 else
55449 ac_ext=cpp
55450 ac_cpp='$CXXCPP $CPPFLAGS'
55451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55456 /* end confdefs.h. */
55457 #include <math.h>
55458 #ifdef HAVE_IEEEFP_H
55459 #include <ieeefp.h>
55460 #endif
55463 main ()
55465 _isnanl(0);
55467 return 0;
55469 _ACEOF
55470 if ac_fn_cxx_try_compile "$LINENO"; then :
55471 glibcxx_cv_func__isnanl_use=yes
55472 else
55473 glibcxx_cv_func__isnanl_use=no
55475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55476 ac_ext=c
55477 ac_cpp='$CPP $CPPFLAGS'
55478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
55487 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
55489 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
55490 for ac_func in _isnanl
55491 do :
55492 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
55493 if test "x$ac_cv_func__isnanl" = x""yes; then :
55494 cat >>confdefs.h <<_ACEOF
55495 #define HAVE__ISNANL 1
55496 _ACEOF
55499 done
55508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
55509 $as_echo_n "checking for isinfl declaration... " >&6; }
55510 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
55511 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
55512 $as_echo_n "(cached) " >&6
55513 else
55516 ac_ext=cpp
55517 ac_cpp='$CXXCPP $CPPFLAGS'
55518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55523 /* end confdefs.h. */
55524 #include <math.h>
55525 #ifdef HAVE_IEEEFP_H
55526 #include <ieeefp.h>
55527 #endif
55530 main ()
55532 isinfl(0);
55534 return 0;
55536 _ACEOF
55537 if ac_fn_cxx_try_compile "$LINENO"; then :
55538 glibcxx_cv_func_isinfl_use=yes
55539 else
55540 glibcxx_cv_func_isinfl_use=no
55542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55543 ac_ext=c
55544 ac_cpp='$CPP $CPPFLAGS'
55545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
55554 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
55556 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
55557 for ac_func in isinfl
55558 do :
55559 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
55560 if test "x$ac_cv_func_isinfl" = x""yes; then :
55561 cat >>confdefs.h <<_ACEOF
55562 #define HAVE_ISINFL 1
55563 _ACEOF
55566 done
55568 else
55570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
55571 $as_echo_n "checking for _isinfl declaration... " >&6; }
55572 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
55573 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
55574 $as_echo_n "(cached) " >&6
55575 else
55578 ac_ext=cpp
55579 ac_cpp='$CXXCPP $CPPFLAGS'
55580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55585 /* end confdefs.h. */
55586 #include <math.h>
55587 #ifdef HAVE_IEEEFP_H
55588 #include <ieeefp.h>
55589 #endif
55592 main ()
55594 _isinfl(0);
55596 return 0;
55598 _ACEOF
55599 if ac_fn_cxx_try_compile "$LINENO"; then :
55600 glibcxx_cv_func__isinfl_use=yes
55601 else
55602 glibcxx_cv_func__isinfl_use=no
55604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55605 ac_ext=c
55606 ac_cpp='$CPP $CPPFLAGS'
55607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
55616 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
55618 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
55619 for ac_func in _isinfl
55620 do :
55621 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
55622 if test "x$ac_cv_func__isinfl" = x""yes; then :
55623 cat >>confdefs.h <<_ACEOF
55624 #define HAVE__ISINFL 1
55625 _ACEOF
55628 done
55637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
55638 $as_echo_n "checking for atan2l declaration... " >&6; }
55639 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55640 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
55641 $as_echo_n "(cached) " >&6
55642 else
55645 ac_ext=cpp
55646 ac_cpp='$CXXCPP $CPPFLAGS'
55647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55652 /* end confdefs.h. */
55653 #include <math.h>
55655 main ()
55657 atan2l(0, 0);
55659 return 0;
55661 _ACEOF
55662 if ac_fn_cxx_try_compile "$LINENO"; then :
55663 glibcxx_cv_func_atan2l_use=yes
55664 else
55665 glibcxx_cv_func_atan2l_use=no
55667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55668 ac_ext=c
55669 ac_cpp='$CPP $CPPFLAGS'
55670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
55679 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
55681 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55682 for ac_func in atan2l
55683 do :
55684 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
55685 if test "x$ac_cv_func_atan2l" = x""yes; then :
55686 cat >>confdefs.h <<_ACEOF
55687 #define HAVE_ATAN2L 1
55688 _ACEOF
55691 done
55693 else
55695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
55696 $as_echo_n "checking for _atan2l declaration... " >&6; }
55697 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55698 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
55699 $as_echo_n "(cached) " >&6
55700 else
55703 ac_ext=cpp
55704 ac_cpp='$CXXCPP $CPPFLAGS'
55705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55710 /* end confdefs.h. */
55711 #include <math.h>
55713 main ()
55715 _atan2l(0, 0);
55717 return 0;
55719 _ACEOF
55720 if ac_fn_cxx_try_compile "$LINENO"; then :
55721 glibcxx_cv_func__atan2l_use=yes
55722 else
55723 glibcxx_cv_func__atan2l_use=no
55725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55726 ac_ext=c
55727 ac_cpp='$CPP $CPPFLAGS'
55728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
55737 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
55739 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55740 for ac_func in _atan2l
55741 do :
55742 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
55743 if test "x$ac_cv_func__atan2l" = x""yes; then :
55744 cat >>confdefs.h <<_ACEOF
55745 #define HAVE__ATAN2L 1
55746 _ACEOF
55749 done
55758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
55759 $as_echo_n "checking for expl declaration... " >&6; }
55760 if test x${glibcxx_cv_func_expl_use+set} != xset; then
55761 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
55762 $as_echo_n "(cached) " >&6
55763 else
55766 ac_ext=cpp
55767 ac_cpp='$CXXCPP $CPPFLAGS'
55768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55773 /* end confdefs.h. */
55774 #include <math.h>
55775 #ifdef HAVE_IEEEFP_H
55776 #include <ieeefp.h>
55777 #endif
55780 main ()
55782 expl(0);
55784 return 0;
55786 _ACEOF
55787 if ac_fn_cxx_try_compile "$LINENO"; then :
55788 glibcxx_cv_func_expl_use=yes
55789 else
55790 glibcxx_cv_func_expl_use=no
55792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55793 ac_ext=c
55794 ac_cpp='$CPP $CPPFLAGS'
55795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
55804 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
55806 if test x$glibcxx_cv_func_expl_use = x"yes"; then
55807 for ac_func in expl
55808 do :
55809 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
55810 if test "x$ac_cv_func_expl" = x""yes; then :
55811 cat >>confdefs.h <<_ACEOF
55812 #define HAVE_EXPL 1
55813 _ACEOF
55816 done
55818 else
55820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
55821 $as_echo_n "checking for _expl declaration... " >&6; }
55822 if test x${glibcxx_cv_func__expl_use+set} != xset; then
55823 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
55824 $as_echo_n "(cached) " >&6
55825 else
55828 ac_ext=cpp
55829 ac_cpp='$CXXCPP $CPPFLAGS'
55830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55835 /* end confdefs.h. */
55836 #include <math.h>
55837 #ifdef HAVE_IEEEFP_H
55838 #include <ieeefp.h>
55839 #endif
55842 main ()
55844 _expl(0);
55846 return 0;
55848 _ACEOF
55849 if ac_fn_cxx_try_compile "$LINENO"; then :
55850 glibcxx_cv_func__expl_use=yes
55851 else
55852 glibcxx_cv_func__expl_use=no
55854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55855 ac_ext=c
55856 ac_cpp='$CPP $CPPFLAGS'
55857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
55866 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
55868 if test x$glibcxx_cv_func__expl_use = x"yes"; then
55869 for ac_func in _expl
55870 do :
55871 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
55872 if test "x$ac_cv_func__expl" = x""yes; then :
55873 cat >>confdefs.h <<_ACEOF
55874 #define HAVE__EXPL 1
55875 _ACEOF
55878 done
55887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
55888 $as_echo_n "checking for fabsl declaration... " >&6; }
55889 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55890 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
55891 $as_echo_n "(cached) " >&6
55892 else
55895 ac_ext=cpp
55896 ac_cpp='$CXXCPP $CPPFLAGS'
55897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55902 /* end confdefs.h. */
55903 #include <math.h>
55904 #ifdef HAVE_IEEEFP_H
55905 #include <ieeefp.h>
55906 #endif
55909 main ()
55911 fabsl(0);
55913 return 0;
55915 _ACEOF
55916 if ac_fn_cxx_try_compile "$LINENO"; then :
55917 glibcxx_cv_func_fabsl_use=yes
55918 else
55919 glibcxx_cv_func_fabsl_use=no
55921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55922 ac_ext=c
55923 ac_cpp='$CPP $CPPFLAGS'
55924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55933 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55935 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55936 for ac_func in fabsl
55937 do :
55938 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55939 if test "x$ac_cv_func_fabsl" = x""yes; then :
55940 cat >>confdefs.h <<_ACEOF
55941 #define HAVE_FABSL 1
55942 _ACEOF
55945 done
55947 else
55949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55950 $as_echo_n "checking for _fabsl declaration... " >&6; }
55951 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55952 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55953 $as_echo_n "(cached) " >&6
55954 else
55957 ac_ext=cpp
55958 ac_cpp='$CXXCPP $CPPFLAGS'
55959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55964 /* end confdefs.h. */
55965 #include <math.h>
55966 #ifdef HAVE_IEEEFP_H
55967 #include <ieeefp.h>
55968 #endif
55971 main ()
55973 _fabsl(0);
55975 return 0;
55977 _ACEOF
55978 if ac_fn_cxx_try_compile "$LINENO"; then :
55979 glibcxx_cv_func__fabsl_use=yes
55980 else
55981 glibcxx_cv_func__fabsl_use=no
55983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55984 ac_ext=c
55985 ac_cpp='$CPP $CPPFLAGS'
55986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55995 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55997 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55998 for ac_func in _fabsl
55999 do :
56000 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56001 if test "x$ac_cv_func__fabsl" = x""yes; then :
56002 cat >>confdefs.h <<_ACEOF
56003 #define HAVE__FABSL 1
56004 _ACEOF
56007 done
56016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56017 $as_echo_n "checking for fmodl declaration... " >&6; }
56018 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56019 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
56020 $as_echo_n "(cached) " >&6
56021 else
56024 ac_ext=cpp
56025 ac_cpp='$CXXCPP $CPPFLAGS'
56026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56031 /* end confdefs.h. */
56032 #include <math.h>
56034 main ()
56036 fmodl(0, 0);
56038 return 0;
56040 _ACEOF
56041 if ac_fn_cxx_try_compile "$LINENO"; then :
56042 glibcxx_cv_func_fmodl_use=yes
56043 else
56044 glibcxx_cv_func_fmodl_use=no
56046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56047 ac_ext=c
56048 ac_cpp='$CPP $CPPFLAGS'
56049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56058 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56060 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56061 for ac_func in fmodl
56062 do :
56063 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56064 if test "x$ac_cv_func_fmodl" = x""yes; then :
56065 cat >>confdefs.h <<_ACEOF
56066 #define HAVE_FMODL 1
56067 _ACEOF
56070 done
56072 else
56074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56075 $as_echo_n "checking for _fmodl declaration... " >&6; }
56076 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56077 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56078 $as_echo_n "(cached) " >&6
56079 else
56082 ac_ext=cpp
56083 ac_cpp='$CXXCPP $CPPFLAGS'
56084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56089 /* end confdefs.h. */
56090 #include <math.h>
56092 main ()
56094 _fmodl(0, 0);
56096 return 0;
56098 _ACEOF
56099 if ac_fn_cxx_try_compile "$LINENO"; then :
56100 glibcxx_cv_func__fmodl_use=yes
56101 else
56102 glibcxx_cv_func__fmodl_use=no
56104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56105 ac_ext=c
56106 ac_cpp='$CPP $CPPFLAGS'
56107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56116 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56118 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56119 for ac_func in _fmodl
56120 do :
56121 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56122 if test "x$ac_cv_func__fmodl" = x""yes; then :
56123 cat >>confdefs.h <<_ACEOF
56124 #define HAVE__FMODL 1
56125 _ACEOF
56128 done
56137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56138 $as_echo_n "checking for frexpl declaration... " >&6; }
56139 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56140 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56141 $as_echo_n "(cached) " >&6
56142 else
56145 ac_ext=cpp
56146 ac_cpp='$CXXCPP $CPPFLAGS'
56147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56152 /* end confdefs.h. */
56153 #include <math.h>
56155 main ()
56157 frexpl(0, 0);
56159 return 0;
56161 _ACEOF
56162 if ac_fn_cxx_try_compile "$LINENO"; then :
56163 glibcxx_cv_func_frexpl_use=yes
56164 else
56165 glibcxx_cv_func_frexpl_use=no
56167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56168 ac_ext=c
56169 ac_cpp='$CPP $CPPFLAGS'
56170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
56179 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
56181 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
56182 for ac_func in frexpl
56183 do :
56184 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
56185 if test "x$ac_cv_func_frexpl" = x""yes; then :
56186 cat >>confdefs.h <<_ACEOF
56187 #define HAVE_FREXPL 1
56188 _ACEOF
56191 done
56193 else
56195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
56196 $as_echo_n "checking for _frexpl declaration... " >&6; }
56197 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
56198 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
56199 $as_echo_n "(cached) " >&6
56200 else
56203 ac_ext=cpp
56204 ac_cpp='$CXXCPP $CPPFLAGS'
56205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56210 /* end confdefs.h. */
56211 #include <math.h>
56213 main ()
56215 _frexpl(0, 0);
56217 return 0;
56219 _ACEOF
56220 if ac_fn_cxx_try_compile "$LINENO"; then :
56221 glibcxx_cv_func__frexpl_use=yes
56222 else
56223 glibcxx_cv_func__frexpl_use=no
56225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56226 ac_ext=c
56227 ac_cpp='$CPP $CPPFLAGS'
56228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
56237 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
56239 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
56240 for ac_func in _frexpl
56241 do :
56242 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
56243 if test "x$ac_cv_func__frexpl" = x""yes; then :
56244 cat >>confdefs.h <<_ACEOF
56245 #define HAVE__FREXPL 1
56246 _ACEOF
56249 done
56258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
56259 $as_echo_n "checking for hypotl declaration... " >&6; }
56260 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
56261 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
56262 $as_echo_n "(cached) " >&6
56263 else
56266 ac_ext=cpp
56267 ac_cpp='$CXXCPP $CPPFLAGS'
56268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56273 /* end confdefs.h. */
56274 #include <math.h>
56276 main ()
56278 hypotl(0, 0);
56280 return 0;
56282 _ACEOF
56283 if ac_fn_cxx_try_compile "$LINENO"; then :
56284 glibcxx_cv_func_hypotl_use=yes
56285 else
56286 glibcxx_cv_func_hypotl_use=no
56288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56289 ac_ext=c
56290 ac_cpp='$CPP $CPPFLAGS'
56291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
56300 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
56302 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
56303 for ac_func in hypotl
56304 do :
56305 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
56306 if test "x$ac_cv_func_hypotl" = x""yes; then :
56307 cat >>confdefs.h <<_ACEOF
56308 #define HAVE_HYPOTL 1
56309 _ACEOF
56312 done
56314 else
56316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
56317 $as_echo_n "checking for _hypotl declaration... " >&6; }
56318 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
56319 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
56320 $as_echo_n "(cached) " >&6
56321 else
56324 ac_ext=cpp
56325 ac_cpp='$CXXCPP $CPPFLAGS'
56326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56331 /* end confdefs.h. */
56332 #include <math.h>
56334 main ()
56336 _hypotl(0, 0);
56338 return 0;
56340 _ACEOF
56341 if ac_fn_cxx_try_compile "$LINENO"; then :
56342 glibcxx_cv_func__hypotl_use=yes
56343 else
56344 glibcxx_cv_func__hypotl_use=no
56346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56347 ac_ext=c
56348 ac_cpp='$CPP $CPPFLAGS'
56349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
56358 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
56360 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
56361 for ac_func in _hypotl
56362 do :
56363 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
56364 if test "x$ac_cv_func__hypotl" = x""yes; then :
56365 cat >>confdefs.h <<_ACEOF
56366 #define HAVE__HYPOTL 1
56367 _ACEOF
56370 done
56379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
56380 $as_echo_n "checking for ldexpl declaration... " >&6; }
56381 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
56382 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
56383 $as_echo_n "(cached) " >&6
56384 else
56387 ac_ext=cpp
56388 ac_cpp='$CXXCPP $CPPFLAGS'
56389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56394 /* end confdefs.h. */
56395 #include <math.h>
56397 main ()
56399 ldexpl(0, 0);
56401 return 0;
56403 _ACEOF
56404 if ac_fn_cxx_try_compile "$LINENO"; then :
56405 glibcxx_cv_func_ldexpl_use=yes
56406 else
56407 glibcxx_cv_func_ldexpl_use=no
56409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56410 ac_ext=c
56411 ac_cpp='$CPP $CPPFLAGS'
56412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
56421 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
56423 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
56424 for ac_func in ldexpl
56425 do :
56426 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
56427 if test "x$ac_cv_func_ldexpl" = x""yes; then :
56428 cat >>confdefs.h <<_ACEOF
56429 #define HAVE_LDEXPL 1
56430 _ACEOF
56433 done
56435 else
56437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
56438 $as_echo_n "checking for _ldexpl declaration... " >&6; }
56439 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
56440 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
56441 $as_echo_n "(cached) " >&6
56442 else
56445 ac_ext=cpp
56446 ac_cpp='$CXXCPP $CPPFLAGS'
56447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56452 /* end confdefs.h. */
56453 #include <math.h>
56455 main ()
56457 _ldexpl(0, 0);
56459 return 0;
56461 _ACEOF
56462 if ac_fn_cxx_try_compile "$LINENO"; then :
56463 glibcxx_cv_func__ldexpl_use=yes
56464 else
56465 glibcxx_cv_func__ldexpl_use=no
56467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56468 ac_ext=c
56469 ac_cpp='$CPP $CPPFLAGS'
56470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
56479 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
56481 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
56482 for ac_func in _ldexpl
56483 do :
56484 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
56485 if test "x$ac_cv_func__ldexpl" = x""yes; then :
56486 cat >>confdefs.h <<_ACEOF
56487 #define HAVE__LDEXPL 1
56488 _ACEOF
56491 done
56500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
56501 $as_echo_n "checking for logl declaration... " >&6; }
56502 if test x${glibcxx_cv_func_logl_use+set} != xset; then
56503 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
56504 $as_echo_n "(cached) " >&6
56505 else
56508 ac_ext=cpp
56509 ac_cpp='$CXXCPP $CPPFLAGS'
56510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56515 /* end confdefs.h. */
56516 #include <math.h>
56517 #ifdef HAVE_IEEEFP_H
56518 #include <ieeefp.h>
56519 #endif
56522 main ()
56524 logl(0);
56526 return 0;
56528 _ACEOF
56529 if ac_fn_cxx_try_compile "$LINENO"; then :
56530 glibcxx_cv_func_logl_use=yes
56531 else
56532 glibcxx_cv_func_logl_use=no
56534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56535 ac_ext=c
56536 ac_cpp='$CPP $CPPFLAGS'
56537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
56546 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
56548 if test x$glibcxx_cv_func_logl_use = x"yes"; then
56549 for ac_func in logl
56550 do :
56551 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
56552 if test "x$ac_cv_func_logl" = x""yes; then :
56553 cat >>confdefs.h <<_ACEOF
56554 #define HAVE_LOGL 1
56555 _ACEOF
56558 done
56560 else
56562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
56563 $as_echo_n "checking for _logl declaration... " >&6; }
56564 if test x${glibcxx_cv_func__logl_use+set} != xset; then
56565 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
56566 $as_echo_n "(cached) " >&6
56567 else
56570 ac_ext=cpp
56571 ac_cpp='$CXXCPP $CPPFLAGS'
56572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56577 /* end confdefs.h. */
56578 #include <math.h>
56579 #ifdef HAVE_IEEEFP_H
56580 #include <ieeefp.h>
56581 #endif
56584 main ()
56586 _logl(0);
56588 return 0;
56590 _ACEOF
56591 if ac_fn_cxx_try_compile "$LINENO"; then :
56592 glibcxx_cv_func__logl_use=yes
56593 else
56594 glibcxx_cv_func__logl_use=no
56596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56597 ac_ext=c
56598 ac_cpp='$CPP $CPPFLAGS'
56599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
56608 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
56610 if test x$glibcxx_cv_func__logl_use = x"yes"; then
56611 for ac_func in _logl
56612 do :
56613 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
56614 if test "x$ac_cv_func__logl" = x""yes; then :
56615 cat >>confdefs.h <<_ACEOF
56616 #define HAVE__LOGL 1
56617 _ACEOF
56620 done
56629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
56630 $as_echo_n "checking for log10l declaration... " >&6; }
56631 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
56632 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
56633 $as_echo_n "(cached) " >&6
56634 else
56637 ac_ext=cpp
56638 ac_cpp='$CXXCPP $CPPFLAGS'
56639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56644 /* end confdefs.h. */
56645 #include <math.h>
56646 #ifdef HAVE_IEEEFP_H
56647 #include <ieeefp.h>
56648 #endif
56651 main ()
56653 log10l(0);
56655 return 0;
56657 _ACEOF
56658 if ac_fn_cxx_try_compile "$LINENO"; then :
56659 glibcxx_cv_func_log10l_use=yes
56660 else
56661 glibcxx_cv_func_log10l_use=no
56663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56664 ac_ext=c
56665 ac_cpp='$CPP $CPPFLAGS'
56666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
56675 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
56677 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
56678 for ac_func in log10l
56679 do :
56680 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
56681 if test "x$ac_cv_func_log10l" = x""yes; then :
56682 cat >>confdefs.h <<_ACEOF
56683 #define HAVE_LOG10L 1
56684 _ACEOF
56687 done
56689 else
56691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
56692 $as_echo_n "checking for _log10l declaration... " >&6; }
56693 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
56694 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
56695 $as_echo_n "(cached) " >&6
56696 else
56699 ac_ext=cpp
56700 ac_cpp='$CXXCPP $CPPFLAGS'
56701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56706 /* end confdefs.h. */
56707 #include <math.h>
56708 #ifdef HAVE_IEEEFP_H
56709 #include <ieeefp.h>
56710 #endif
56713 main ()
56715 _log10l(0);
56717 return 0;
56719 _ACEOF
56720 if ac_fn_cxx_try_compile "$LINENO"; then :
56721 glibcxx_cv_func__log10l_use=yes
56722 else
56723 glibcxx_cv_func__log10l_use=no
56725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56726 ac_ext=c
56727 ac_cpp='$CPP $CPPFLAGS'
56728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
56737 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
56739 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
56740 for ac_func in _log10l
56741 do :
56742 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
56743 if test "x$ac_cv_func__log10l" = x""yes; then :
56744 cat >>confdefs.h <<_ACEOF
56745 #define HAVE__LOG10L 1
56746 _ACEOF
56749 done
56758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
56759 $as_echo_n "checking for modfl declaration... " >&6; }
56760 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
56761 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
56762 $as_echo_n "(cached) " >&6
56763 else
56766 ac_ext=cpp
56767 ac_cpp='$CXXCPP $CPPFLAGS'
56768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56773 /* end confdefs.h. */
56774 #include <math.h>
56776 main ()
56778 modfl(0, 0);
56780 return 0;
56782 _ACEOF
56783 if ac_fn_cxx_try_compile "$LINENO"; then :
56784 glibcxx_cv_func_modfl_use=yes
56785 else
56786 glibcxx_cv_func_modfl_use=no
56788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56789 ac_ext=c
56790 ac_cpp='$CPP $CPPFLAGS'
56791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
56800 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
56802 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
56803 for ac_func in modfl
56804 do :
56805 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
56806 if test "x$ac_cv_func_modfl" = x""yes; then :
56807 cat >>confdefs.h <<_ACEOF
56808 #define HAVE_MODFL 1
56809 _ACEOF
56812 done
56814 else
56816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
56817 $as_echo_n "checking for _modfl declaration... " >&6; }
56818 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
56819 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
56820 $as_echo_n "(cached) " >&6
56821 else
56824 ac_ext=cpp
56825 ac_cpp='$CXXCPP $CPPFLAGS'
56826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56831 /* end confdefs.h. */
56832 #include <math.h>
56834 main ()
56836 _modfl(0, 0);
56838 return 0;
56840 _ACEOF
56841 if ac_fn_cxx_try_compile "$LINENO"; then :
56842 glibcxx_cv_func__modfl_use=yes
56843 else
56844 glibcxx_cv_func__modfl_use=no
56846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56847 ac_ext=c
56848 ac_cpp='$CPP $CPPFLAGS'
56849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
56858 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
56860 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
56861 for ac_func in _modfl
56862 do :
56863 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
56864 if test "x$ac_cv_func__modfl" = x""yes; then :
56865 cat >>confdefs.h <<_ACEOF
56866 #define HAVE__MODFL 1
56867 _ACEOF
56870 done
56879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
56880 $as_echo_n "checking for powl declaration... " >&6; }
56881 if test x${glibcxx_cv_func_powl_use+set} != xset; then
56882 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
56883 $as_echo_n "(cached) " >&6
56884 else
56887 ac_ext=cpp
56888 ac_cpp='$CXXCPP $CPPFLAGS'
56889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56894 /* end confdefs.h. */
56895 #include <math.h>
56897 main ()
56899 powl(0, 0);
56901 return 0;
56903 _ACEOF
56904 if ac_fn_cxx_try_compile "$LINENO"; then :
56905 glibcxx_cv_func_powl_use=yes
56906 else
56907 glibcxx_cv_func_powl_use=no
56909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56910 ac_ext=c
56911 ac_cpp='$CPP $CPPFLAGS'
56912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56921 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56923 if test x$glibcxx_cv_func_powl_use = x"yes"; then
56924 for ac_func in powl
56925 do :
56926 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56927 if test "x$ac_cv_func_powl" = x""yes; then :
56928 cat >>confdefs.h <<_ACEOF
56929 #define HAVE_POWL 1
56930 _ACEOF
56933 done
56935 else
56937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56938 $as_echo_n "checking for _powl declaration... " >&6; }
56939 if test x${glibcxx_cv_func__powl_use+set} != xset; then
56940 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56941 $as_echo_n "(cached) " >&6
56942 else
56945 ac_ext=cpp
56946 ac_cpp='$CXXCPP $CPPFLAGS'
56947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56952 /* end confdefs.h. */
56953 #include <math.h>
56955 main ()
56957 _powl(0, 0);
56959 return 0;
56961 _ACEOF
56962 if ac_fn_cxx_try_compile "$LINENO"; then :
56963 glibcxx_cv_func__powl_use=yes
56964 else
56965 glibcxx_cv_func__powl_use=no
56967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56968 ac_ext=c
56969 ac_cpp='$CPP $CPPFLAGS'
56970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56979 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56981 if test x$glibcxx_cv_func__powl_use = x"yes"; then
56982 for ac_func in _powl
56983 do :
56984 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56985 if test "x$ac_cv_func__powl" = x""yes; then :
56986 cat >>confdefs.h <<_ACEOF
56987 #define HAVE__POWL 1
56988 _ACEOF
56991 done
57000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57001 $as_echo_n "checking for sqrtl declaration... " >&6; }
57002 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57003 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57004 $as_echo_n "(cached) " >&6
57005 else
57008 ac_ext=cpp
57009 ac_cpp='$CXXCPP $CPPFLAGS'
57010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57015 /* end confdefs.h. */
57016 #include <math.h>
57017 #ifdef HAVE_IEEEFP_H
57018 #include <ieeefp.h>
57019 #endif
57022 main ()
57024 sqrtl(0);
57026 return 0;
57028 _ACEOF
57029 if ac_fn_cxx_try_compile "$LINENO"; then :
57030 glibcxx_cv_func_sqrtl_use=yes
57031 else
57032 glibcxx_cv_func_sqrtl_use=no
57034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57035 ac_ext=c
57036 ac_cpp='$CPP $CPPFLAGS'
57037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57046 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57048 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57049 for ac_func in sqrtl
57050 do :
57051 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57052 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57053 cat >>confdefs.h <<_ACEOF
57054 #define HAVE_SQRTL 1
57055 _ACEOF
57058 done
57060 else
57062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57063 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57064 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57065 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57066 $as_echo_n "(cached) " >&6
57067 else
57070 ac_ext=cpp
57071 ac_cpp='$CXXCPP $CPPFLAGS'
57072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57077 /* end confdefs.h. */
57078 #include <math.h>
57079 #ifdef HAVE_IEEEFP_H
57080 #include <ieeefp.h>
57081 #endif
57084 main ()
57086 _sqrtl(0);
57088 return 0;
57090 _ACEOF
57091 if ac_fn_cxx_try_compile "$LINENO"; then :
57092 glibcxx_cv_func__sqrtl_use=yes
57093 else
57094 glibcxx_cv_func__sqrtl_use=no
57096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57097 ac_ext=c
57098 ac_cpp='$CPP $CPPFLAGS'
57099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57108 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57110 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57111 for ac_func in _sqrtl
57112 do :
57113 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57114 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57115 cat >>confdefs.h <<_ACEOF
57116 #define HAVE__SQRTL 1
57117 _ACEOF
57120 done
57129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57130 $as_echo_n "checking for sincosl declaration... " >&6; }
57131 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57132 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57133 $as_echo_n "(cached) " >&6
57134 else
57137 ac_ext=cpp
57138 ac_cpp='$CXXCPP $CPPFLAGS'
57139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57144 /* end confdefs.h. */
57145 #include <math.h>
57147 main ()
57149 sincosl(0, 0, 0);
57151 return 0;
57153 _ACEOF
57154 if ac_fn_cxx_try_compile "$LINENO"; then :
57155 glibcxx_cv_func_sincosl_use=yes
57156 else
57157 glibcxx_cv_func_sincosl_use=no
57159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57160 ac_ext=c
57161 ac_cpp='$CPP $CPPFLAGS'
57162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
57171 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
57173 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
57174 for ac_func in sincosl
57175 do :
57176 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
57177 if test "x$ac_cv_func_sincosl" = x""yes; then :
57178 cat >>confdefs.h <<_ACEOF
57179 #define HAVE_SINCOSL 1
57180 _ACEOF
57183 done
57185 else
57187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
57188 $as_echo_n "checking for _sincosl declaration... " >&6; }
57189 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
57190 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
57191 $as_echo_n "(cached) " >&6
57192 else
57195 ac_ext=cpp
57196 ac_cpp='$CXXCPP $CPPFLAGS'
57197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57202 /* end confdefs.h. */
57203 #include <math.h>
57205 main ()
57207 _sincosl(0, 0, 0);
57209 return 0;
57211 _ACEOF
57212 if ac_fn_cxx_try_compile "$LINENO"; then :
57213 glibcxx_cv_func__sincosl_use=yes
57214 else
57215 glibcxx_cv_func__sincosl_use=no
57217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57218 ac_ext=c
57219 ac_cpp='$CPP $CPPFLAGS'
57220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
57229 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
57231 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
57232 for ac_func in _sincosl
57233 do :
57234 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
57235 if test "x$ac_cv_func__sincosl" = x""yes; then :
57236 cat >>confdefs.h <<_ACEOF
57237 #define HAVE__SINCOSL 1
57238 _ACEOF
57241 done
57250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
57251 $as_echo_n "checking for finitel declaration... " >&6; }
57252 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
57253 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
57254 $as_echo_n "(cached) " >&6
57255 else
57258 ac_ext=cpp
57259 ac_cpp='$CXXCPP $CPPFLAGS'
57260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57265 /* end confdefs.h. */
57266 #include <math.h>
57267 #ifdef HAVE_IEEEFP_H
57268 #include <ieeefp.h>
57269 #endif
57272 main ()
57274 finitel(0);
57276 return 0;
57278 _ACEOF
57279 if ac_fn_cxx_try_compile "$LINENO"; then :
57280 glibcxx_cv_func_finitel_use=yes
57281 else
57282 glibcxx_cv_func_finitel_use=no
57284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57285 ac_ext=c
57286 ac_cpp='$CPP $CPPFLAGS'
57287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
57296 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
57298 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
57299 for ac_func in finitel
57300 do :
57301 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
57302 if test "x$ac_cv_func_finitel" = x""yes; then :
57303 cat >>confdefs.h <<_ACEOF
57304 #define HAVE_FINITEL 1
57305 _ACEOF
57308 done
57310 else
57312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
57313 $as_echo_n "checking for _finitel declaration... " >&6; }
57314 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
57315 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
57316 $as_echo_n "(cached) " >&6
57317 else
57320 ac_ext=cpp
57321 ac_cpp='$CXXCPP $CPPFLAGS'
57322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57327 /* end confdefs.h. */
57328 #include <math.h>
57329 #ifdef HAVE_IEEEFP_H
57330 #include <ieeefp.h>
57331 #endif
57334 main ()
57336 _finitel(0);
57338 return 0;
57340 _ACEOF
57341 if ac_fn_cxx_try_compile "$LINENO"; then :
57342 glibcxx_cv_func__finitel_use=yes
57343 else
57344 glibcxx_cv_func__finitel_use=no
57346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57347 ac_ext=c
57348 ac_cpp='$CPP $CPPFLAGS'
57349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
57358 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
57360 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
57361 for ac_func in _finitel
57362 do :
57363 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
57364 if test "x$ac_cv_func__finitel" = x""yes; then :
57365 cat >>confdefs.h <<_ACEOF
57366 #define HAVE__FINITEL 1
57367 _ACEOF
57370 done
57378 LIBS="$ac_save_LIBS"
57379 CXXFLAGS="$ac_save_CXXFLAGS"
57382 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57383 ac_save_CXXFLAGS="$CXXFLAGS"
57384 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
57388 $as_echo_n "checking for strtold declaration... " >&6; }
57389 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
57390 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
57391 $as_echo_n "(cached) " >&6
57392 else
57395 ac_ext=cpp
57396 ac_cpp='$CXXCPP $CPPFLAGS'
57397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57402 /* end confdefs.h. */
57403 #include <stdlib.h>
57405 main ()
57407 strtold(0, 0);
57409 return 0;
57411 _ACEOF
57412 if ac_fn_cxx_try_compile "$LINENO"; then :
57413 glibcxx_cv_func_strtold_use=yes
57414 else
57415 glibcxx_cv_func_strtold_use=no
57417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57418 ac_ext=c
57419 ac_cpp='$CPP $CPPFLAGS'
57420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
57429 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
57430 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
57431 for ac_func in strtold
57432 do :
57433 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
57434 if test "x$ac_cv_func_strtold" = x""yes; then :
57435 cat >>confdefs.h <<_ACEOF
57436 #define HAVE_STRTOLD 1
57437 _ACEOF
57440 done
57447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
57448 $as_echo_n "checking for strtof declaration... " >&6; }
57449 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
57450 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
57451 $as_echo_n "(cached) " >&6
57452 else
57455 ac_ext=cpp
57456 ac_cpp='$CXXCPP $CPPFLAGS'
57457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57462 /* end confdefs.h. */
57463 #include <stdlib.h>
57465 main ()
57467 strtof(0, 0);
57469 return 0;
57471 _ACEOF
57472 if ac_fn_cxx_try_compile "$LINENO"; then :
57473 glibcxx_cv_func_strtof_use=yes
57474 else
57475 glibcxx_cv_func_strtof_use=no
57477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57478 ac_ext=c
57479 ac_cpp='$CPP $CPPFLAGS'
57480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
57489 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
57490 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
57491 for ac_func in strtof
57492 do :
57493 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
57494 if test "x$ac_cv_func_strtof" = x""yes; then :
57495 cat >>confdefs.h <<_ACEOF
57496 #define HAVE_STRTOF 1
57497 _ACEOF
57500 done
57507 CXXFLAGS="$ac_save_CXXFLAGS"
57510 *-netbsd*)
57511 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57514 # If we're not using GNU ld, then there's no point in even trying these
57515 # tests. Check for that first. We should have already tested for gld
57516 # by now (in libtool), but require it now just to be safe...
57517 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57518 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57522 # The name set by libtool depends on the version of libtool. Shame on us
57523 # for depending on an impl detail, but c'est la vie. Older versions used
57524 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57525 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57526 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57527 # set (hence we're using an older libtool), then set it.
57528 if test x${with_gnu_ld+set} != xset; then
57529 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57530 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57531 with_gnu_ld=no
57532 else
57533 with_gnu_ld=$ac_cv_prog_gnu_ld
57537 # Start by getting the version number. I think the libtool test already
57538 # does some of this, but throws away the result.
57539 glibcxx_ld_is_gold=no
57540 if test x"$with_gnu_ld" = x"yes"; then
57541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57542 $as_echo_n "checking for ld version... " >&6; }
57544 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57545 glibcxx_ld_is_gold=yes
57547 ldver=`$LD --version 2>/dev/null |
57548 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'`
57550 glibcxx_gnu_ld_version=`echo $ldver | \
57551 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57553 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57556 # Set --gc-sections.
57557 glibcxx_have_gc_sections=no
57558 if test "$glibcxx_ld_is_gold" = "yes"; then
57559 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57560 glibcxx_have_gc_sections=yes
57562 else
57563 glibcxx_gcsections_min_ld=21602
57564 if test x"$with_gnu_ld" = x"yes" &&
57565 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57566 glibcxx_have_gc_sections=yes
57569 if test "$glibcxx_have_gc_sections" = "yes"; then
57570 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57571 # NB: This flag only works reliably after 2.16.1. Configure tests
57572 # for this are difficult, so hard wire a value that should work.
57574 ac_test_CFLAGS="${CFLAGS+set}"
57575 ac_save_CFLAGS="$CFLAGS"
57576 CFLAGS='-Wl,--gc-sections'
57578 # Check for -Wl,--gc-sections
57579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57580 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57581 if test x$gcc_no_link = xyes; then
57582 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57585 /* end confdefs.h. */
57586 int one(void) { return 1; }
57587 int two(void) { return 2; }
57590 main ()
57592 two();
57594 return 0;
57596 _ACEOF
57597 if ac_fn_c_try_link "$LINENO"; then :
57598 ac_gcsections=yes
57599 else
57600 ac_gcsections=no
57602 rm -f core conftest.err conftest.$ac_objext \
57603 conftest$ac_exeext conftest.$ac_ext
57604 if test "$ac_gcsections" = "yes"; then
57605 rm -f conftest.c
57606 touch conftest.c
57607 if $CC -c conftest.c; then
57608 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57609 grep "Warning: gc-sections option ignored" > /dev/null; then
57610 ac_gcsections=no
57613 rm -f conftest.c conftest.o conftest
57615 if test "$ac_gcsections" = "yes"; then
57616 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57619 $as_echo "$ac_gcsections" >&6; }
57621 if test "$ac_test_CFLAGS" = set; then
57622 CFLAGS="$ac_save_CFLAGS"
57623 else
57624 # this is the suspicious part
57625 CFLAGS=''
57629 # Set -z,relro.
57630 # Note this is only for shared objects.
57631 ac_ld_relro=no
57632 if test x"$with_gnu_ld" = x"yes"; then
57633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57634 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57635 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57636 if test -n "$cxx_z_relo"; then
57637 OPT_LDFLAGS="-Wl,-z,relro"
57638 ac_ld_relro=yes
57640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57641 $as_echo "$ac_ld_relro" >&6; }
57644 # Set linker optimization flags.
57645 if test x"$with_gnu_ld" = x"yes"; then
57646 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57652 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57654 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57656 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57658 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57660 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57662 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57664 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57666 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57668 if test x"long_double_math_on_this_cpu" = x"yes"; then
57669 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57671 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57673 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57677 *-qnx6.1* | *-qnx6.2*)
57678 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57681 # If we're not using GNU ld, then there's no point in even trying these
57682 # tests. Check for that first. We should have already tested for gld
57683 # by now (in libtool), but require it now just to be safe...
57684 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57685 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57689 # The name set by libtool depends on the version of libtool. Shame on us
57690 # for depending on an impl detail, but c'est la vie. Older versions used
57691 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57692 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57693 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57694 # set (hence we're using an older libtool), then set it.
57695 if test x${with_gnu_ld+set} != xset; then
57696 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57697 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57698 with_gnu_ld=no
57699 else
57700 with_gnu_ld=$ac_cv_prog_gnu_ld
57704 # Start by getting the version number. I think the libtool test already
57705 # does some of this, but throws away the result.
57706 glibcxx_ld_is_gold=no
57707 if test x"$with_gnu_ld" = x"yes"; then
57708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57709 $as_echo_n "checking for ld version... " >&6; }
57711 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57712 glibcxx_ld_is_gold=yes
57714 ldver=`$LD --version 2>/dev/null |
57715 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'`
57717 glibcxx_gnu_ld_version=`echo $ldver | \
57718 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57720 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57723 # Set --gc-sections.
57724 glibcxx_have_gc_sections=no
57725 if test "$glibcxx_ld_is_gold" = "yes"; then
57726 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57727 glibcxx_have_gc_sections=yes
57729 else
57730 glibcxx_gcsections_min_ld=21602
57731 if test x"$with_gnu_ld" = x"yes" &&
57732 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57733 glibcxx_have_gc_sections=yes
57736 if test "$glibcxx_have_gc_sections" = "yes"; then
57737 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57738 # NB: This flag only works reliably after 2.16.1. Configure tests
57739 # for this are difficult, so hard wire a value that should work.
57741 ac_test_CFLAGS="${CFLAGS+set}"
57742 ac_save_CFLAGS="$CFLAGS"
57743 CFLAGS='-Wl,--gc-sections'
57745 # Check for -Wl,--gc-sections
57746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57747 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57748 if test x$gcc_no_link = xyes; then
57749 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57752 /* end confdefs.h. */
57753 int one(void) { return 1; }
57754 int two(void) { return 2; }
57757 main ()
57759 two();
57761 return 0;
57763 _ACEOF
57764 if ac_fn_c_try_link "$LINENO"; then :
57765 ac_gcsections=yes
57766 else
57767 ac_gcsections=no
57769 rm -f core conftest.err conftest.$ac_objext \
57770 conftest$ac_exeext conftest.$ac_ext
57771 if test "$ac_gcsections" = "yes"; then
57772 rm -f conftest.c
57773 touch conftest.c
57774 if $CC -c conftest.c; then
57775 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57776 grep "Warning: gc-sections option ignored" > /dev/null; then
57777 ac_gcsections=no
57780 rm -f conftest.c conftest.o conftest
57782 if test "$ac_gcsections" = "yes"; then
57783 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57786 $as_echo "$ac_gcsections" >&6; }
57788 if test "$ac_test_CFLAGS" = set; then
57789 CFLAGS="$ac_save_CFLAGS"
57790 else
57791 # this is the suspicious part
57792 CFLAGS=''
57796 # Set -z,relro.
57797 # Note this is only for shared objects.
57798 ac_ld_relro=no
57799 if test x"$with_gnu_ld" = x"yes"; then
57800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57801 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57802 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57803 if test -n "$cxx_z_relo"; then
57804 OPT_LDFLAGS="-Wl,-z,relro"
57805 ac_ld_relro=yes
57807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57808 $as_echo "$ac_ld_relro" >&6; }
57811 # Set linker optimization flags.
57812 if test x"$with_gnu_ld" = x"yes"; then
57813 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57819 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57821 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57823 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57825 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57827 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57829 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57831 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57833 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57835 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57837 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57839 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57841 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57844 *-rtems*)
57846 # All these tests are for C++; save the language and the compiler flags.
57847 # The CXXFLAGS thing is suspicious, but based on similar bits previously
57848 # found in GLIBCXX_CONFIGURE.
57850 ac_ext=cpp
57851 ac_cpp='$CXXCPP $CPPFLAGS'
57852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57856 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57857 ac_save_CXXFLAGS="$CXXFLAGS"
57859 # Check for maintainer-mode bits.
57860 if test x"$USE_MAINTAINER_MODE" = xno; then
57861 WERROR=''
57862 else
57863 WERROR='-Werror'
57866 # Check for -ffunction-sections -fdata-sections
57867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
57868 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
57869 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
57870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57871 /* end confdefs.h. */
57872 int foo; void bar() { };
57874 main ()
57878 return 0;
57880 _ACEOF
57881 if ac_fn_cxx_try_compile "$LINENO"; then :
57882 ac_fdsections=yes
57883 else
57884 ac_fdsections=no
57886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57887 if test "$ac_test_CXXFLAGS" = set; then
57888 CXXFLAGS="$ac_save_CXXFLAGS"
57889 else
57890 # this is the suspicious part
57891 CXXFLAGS=''
57893 if test x"$ac_fdsections" = x"yes"; then
57894 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
57897 $as_echo "$ac_fdsections" >&6; }
57899 ac_ext=c
57900 ac_cpp='$CPP $CPPFLAGS'
57901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57909 # If we're not using GNU ld, then there's no point in even trying these
57910 # tests. Check for that first. We should have already tested for gld
57911 # by now (in libtool), but require it now just to be safe...
57912 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57913 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57917 # The name set by libtool depends on the version of libtool. Shame on us
57918 # for depending on an impl detail, but c'est la vie. Older versions used
57919 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57920 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57921 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57922 # set (hence we're using an older libtool), then set it.
57923 if test x${with_gnu_ld+set} != xset; then
57924 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57925 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57926 with_gnu_ld=no
57927 else
57928 with_gnu_ld=$ac_cv_prog_gnu_ld
57932 # Start by getting the version number. I think the libtool test already
57933 # does some of this, but throws away the result.
57934 glibcxx_ld_is_gold=no
57935 if test x"$with_gnu_ld" = x"yes"; then
57936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57937 $as_echo_n "checking for ld version... " >&6; }
57939 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57940 glibcxx_ld_is_gold=yes
57942 ldver=`$LD --version 2>/dev/null |
57943 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'`
57945 glibcxx_gnu_ld_version=`echo $ldver | \
57946 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57948 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57951 # Set --gc-sections.
57952 glibcxx_have_gc_sections=no
57953 if test "$glibcxx_ld_is_gold" = "yes"; then
57954 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57955 glibcxx_have_gc_sections=yes
57957 else
57958 glibcxx_gcsections_min_ld=21602
57959 if test x"$with_gnu_ld" = x"yes" &&
57960 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57961 glibcxx_have_gc_sections=yes
57964 if test "$glibcxx_have_gc_sections" = "yes"; then
57965 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57966 # NB: This flag only works reliably after 2.16.1. Configure tests
57967 # for this are difficult, so hard wire a value that should work.
57969 ac_test_CFLAGS="${CFLAGS+set}"
57970 ac_save_CFLAGS="$CFLAGS"
57971 CFLAGS='-Wl,--gc-sections'
57973 # Check for -Wl,--gc-sections
57974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57975 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57976 if test x$gcc_no_link = xyes; then
57977 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57980 /* end confdefs.h. */
57981 int one(void) { return 1; }
57982 int two(void) { return 2; }
57985 main ()
57987 two();
57989 return 0;
57991 _ACEOF
57992 if ac_fn_c_try_link "$LINENO"; then :
57993 ac_gcsections=yes
57994 else
57995 ac_gcsections=no
57997 rm -f core conftest.err conftest.$ac_objext \
57998 conftest$ac_exeext conftest.$ac_ext
57999 if test "$ac_gcsections" = "yes"; then
58000 rm -f conftest.c
58001 touch conftest.c
58002 if $CC -c conftest.c; then
58003 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58004 grep "Warning: gc-sections option ignored" > /dev/null; then
58005 ac_gcsections=no
58008 rm -f conftest.c conftest.o conftest
58010 if test "$ac_gcsections" = "yes"; then
58011 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58014 $as_echo "$ac_gcsections" >&6; }
58016 if test "$ac_test_CFLAGS" = set; then
58017 CFLAGS="$ac_save_CFLAGS"
58018 else
58019 # this is the suspicious part
58020 CFLAGS=''
58024 # Set -z,relro.
58025 # Note this is only for shared objects.
58026 ac_ld_relro=no
58027 if test x"$with_gnu_ld" = x"yes"; then
58028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58029 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58030 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58031 if test -n "$cxx_z_relo"; then
58032 OPT_LDFLAGS="-Wl,-z,relro"
58033 ac_ld_relro=yes
58035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58036 $as_echo "$ac_ld_relro" >&6; }
58039 # Set linker optimization flags.
58040 if test x"$with_gnu_ld" = x"yes"; then
58041 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58048 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58049 ac_save_CXXFLAGS="$CXXFLAGS"
58050 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
58053 $as_echo_n "checking for sin in -lm... " >&6; }
58054 if test "${ac_cv_lib_m_sin+set}" = set; then :
58055 $as_echo_n "(cached) " >&6
58056 else
58057 ac_check_lib_save_LIBS=$LIBS
58058 LIBS="-lm $LIBS"
58059 if test x$gcc_no_link = xyes; then
58060 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58063 /* end confdefs.h. */
58065 /* Override any GCC internal prototype to avoid an error.
58066 Use char because int might match the return type of a GCC
58067 builtin and then its argument prototype would still apply. */
58068 #ifdef __cplusplus
58069 extern "C"
58070 #endif
58071 char sin ();
58073 main ()
58075 return sin ();
58077 return 0;
58079 _ACEOF
58080 if ac_fn_c_try_link "$LINENO"; then :
58081 ac_cv_lib_m_sin=yes
58082 else
58083 ac_cv_lib_m_sin=no
58085 rm -f core conftest.err conftest.$ac_objext \
58086 conftest$ac_exeext conftest.$ac_ext
58087 LIBS=$ac_check_lib_save_LIBS
58089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
58090 $as_echo "$ac_cv_lib_m_sin" >&6; }
58091 if test "x$ac_cv_lib_m_sin" = x""yes; then :
58092 libm="-lm"
58095 ac_save_LIBS="$LIBS"
58096 LIBS="$LIBS $libm"
58100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
58101 $as_echo_n "checking for isinf declaration... " >&6; }
58102 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
58103 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
58104 $as_echo_n "(cached) " >&6
58105 else
58108 ac_ext=cpp
58109 ac_cpp='$CXXCPP $CPPFLAGS'
58110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58115 /* end confdefs.h. */
58116 #include <math.h>
58117 #ifdef HAVE_IEEEFP_H
58118 #include <ieeefp.h>
58119 #endif
58122 main ()
58124 isinf(0);
58126 return 0;
58128 _ACEOF
58129 if ac_fn_cxx_try_compile "$LINENO"; then :
58130 glibcxx_cv_func_isinf_use=yes
58131 else
58132 glibcxx_cv_func_isinf_use=no
58134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58135 ac_ext=c
58136 ac_cpp='$CPP $CPPFLAGS'
58137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
58146 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
58148 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
58149 for ac_func in isinf
58150 do :
58151 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
58152 if test "x$ac_cv_func_isinf" = x""yes; then :
58153 cat >>confdefs.h <<_ACEOF
58154 #define HAVE_ISINF 1
58155 _ACEOF
58158 done
58160 else
58162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
58163 $as_echo_n "checking for _isinf declaration... " >&6; }
58164 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
58165 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
58166 $as_echo_n "(cached) " >&6
58167 else
58170 ac_ext=cpp
58171 ac_cpp='$CXXCPP $CPPFLAGS'
58172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58177 /* end confdefs.h. */
58178 #include <math.h>
58179 #ifdef HAVE_IEEEFP_H
58180 #include <ieeefp.h>
58181 #endif
58184 main ()
58186 _isinf(0);
58188 return 0;
58190 _ACEOF
58191 if ac_fn_cxx_try_compile "$LINENO"; then :
58192 glibcxx_cv_func__isinf_use=yes
58193 else
58194 glibcxx_cv_func__isinf_use=no
58196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58197 ac_ext=c
58198 ac_cpp='$CPP $CPPFLAGS'
58199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
58208 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
58210 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
58211 for ac_func in _isinf
58212 do :
58213 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
58214 if test "x$ac_cv_func__isinf" = x""yes; then :
58215 cat >>confdefs.h <<_ACEOF
58216 #define HAVE__ISINF 1
58217 _ACEOF
58220 done
58229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
58230 $as_echo_n "checking for isnan declaration... " >&6; }
58231 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
58232 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
58233 $as_echo_n "(cached) " >&6
58234 else
58237 ac_ext=cpp
58238 ac_cpp='$CXXCPP $CPPFLAGS'
58239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58244 /* end confdefs.h. */
58245 #include <math.h>
58246 #ifdef HAVE_IEEEFP_H
58247 #include <ieeefp.h>
58248 #endif
58251 main ()
58253 isnan(0);
58255 return 0;
58257 _ACEOF
58258 if ac_fn_cxx_try_compile "$LINENO"; then :
58259 glibcxx_cv_func_isnan_use=yes
58260 else
58261 glibcxx_cv_func_isnan_use=no
58263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58264 ac_ext=c
58265 ac_cpp='$CPP $CPPFLAGS'
58266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
58275 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
58277 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
58278 for ac_func in isnan
58279 do :
58280 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
58281 if test "x$ac_cv_func_isnan" = x""yes; then :
58282 cat >>confdefs.h <<_ACEOF
58283 #define HAVE_ISNAN 1
58284 _ACEOF
58287 done
58289 else
58291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
58292 $as_echo_n "checking for _isnan declaration... " >&6; }
58293 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
58294 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
58295 $as_echo_n "(cached) " >&6
58296 else
58299 ac_ext=cpp
58300 ac_cpp='$CXXCPP $CPPFLAGS'
58301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58306 /* end confdefs.h. */
58307 #include <math.h>
58308 #ifdef HAVE_IEEEFP_H
58309 #include <ieeefp.h>
58310 #endif
58313 main ()
58315 _isnan(0);
58317 return 0;
58319 _ACEOF
58320 if ac_fn_cxx_try_compile "$LINENO"; then :
58321 glibcxx_cv_func__isnan_use=yes
58322 else
58323 glibcxx_cv_func__isnan_use=no
58325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58326 ac_ext=c
58327 ac_cpp='$CPP $CPPFLAGS'
58328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
58337 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
58339 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
58340 for ac_func in _isnan
58341 do :
58342 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
58343 if test "x$ac_cv_func__isnan" = x""yes; then :
58344 cat >>confdefs.h <<_ACEOF
58345 #define HAVE__ISNAN 1
58346 _ACEOF
58349 done
58358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
58359 $as_echo_n "checking for finite declaration... " >&6; }
58360 if test x${glibcxx_cv_func_finite_use+set} != xset; then
58361 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
58362 $as_echo_n "(cached) " >&6
58363 else
58366 ac_ext=cpp
58367 ac_cpp='$CXXCPP $CPPFLAGS'
58368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58373 /* end confdefs.h. */
58374 #include <math.h>
58375 #ifdef HAVE_IEEEFP_H
58376 #include <ieeefp.h>
58377 #endif
58380 main ()
58382 finite(0);
58384 return 0;
58386 _ACEOF
58387 if ac_fn_cxx_try_compile "$LINENO"; then :
58388 glibcxx_cv_func_finite_use=yes
58389 else
58390 glibcxx_cv_func_finite_use=no
58392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58393 ac_ext=c
58394 ac_cpp='$CPP $CPPFLAGS'
58395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
58404 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
58406 if test x$glibcxx_cv_func_finite_use = x"yes"; then
58407 for ac_func in finite
58408 do :
58409 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
58410 if test "x$ac_cv_func_finite" = x""yes; then :
58411 cat >>confdefs.h <<_ACEOF
58412 #define HAVE_FINITE 1
58413 _ACEOF
58416 done
58418 else
58420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
58421 $as_echo_n "checking for _finite declaration... " >&6; }
58422 if test x${glibcxx_cv_func__finite_use+set} != xset; then
58423 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
58424 $as_echo_n "(cached) " >&6
58425 else
58428 ac_ext=cpp
58429 ac_cpp='$CXXCPP $CPPFLAGS'
58430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58435 /* end confdefs.h. */
58436 #include <math.h>
58437 #ifdef HAVE_IEEEFP_H
58438 #include <ieeefp.h>
58439 #endif
58442 main ()
58444 _finite(0);
58446 return 0;
58448 _ACEOF
58449 if ac_fn_cxx_try_compile "$LINENO"; then :
58450 glibcxx_cv_func__finite_use=yes
58451 else
58452 glibcxx_cv_func__finite_use=no
58454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58455 ac_ext=c
58456 ac_cpp='$CPP $CPPFLAGS'
58457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
58466 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
58468 if test x$glibcxx_cv_func__finite_use = x"yes"; then
58469 for ac_func in _finite
58470 do :
58471 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
58472 if test "x$ac_cv_func__finite" = x""yes; then :
58473 cat >>confdefs.h <<_ACEOF
58474 #define HAVE__FINITE 1
58475 _ACEOF
58478 done
58487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
58488 $as_echo_n "checking for sincos declaration... " >&6; }
58489 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
58490 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
58491 $as_echo_n "(cached) " >&6
58492 else
58495 ac_ext=cpp
58496 ac_cpp='$CXXCPP $CPPFLAGS'
58497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58502 /* end confdefs.h. */
58503 #include <math.h>
58505 main ()
58507 sincos(0, 0, 0);
58509 return 0;
58511 _ACEOF
58512 if ac_fn_cxx_try_compile "$LINENO"; then :
58513 glibcxx_cv_func_sincos_use=yes
58514 else
58515 glibcxx_cv_func_sincos_use=no
58517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58518 ac_ext=c
58519 ac_cpp='$CPP $CPPFLAGS'
58520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
58529 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
58531 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
58532 for ac_func in sincos
58533 do :
58534 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
58535 if test "x$ac_cv_func_sincos" = x""yes; then :
58536 cat >>confdefs.h <<_ACEOF
58537 #define HAVE_SINCOS 1
58538 _ACEOF
58541 done
58543 else
58545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
58546 $as_echo_n "checking for _sincos declaration... " >&6; }
58547 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
58548 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
58549 $as_echo_n "(cached) " >&6
58550 else
58553 ac_ext=cpp
58554 ac_cpp='$CXXCPP $CPPFLAGS'
58555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58560 /* end confdefs.h. */
58561 #include <math.h>
58563 main ()
58565 _sincos(0, 0, 0);
58567 return 0;
58569 _ACEOF
58570 if ac_fn_cxx_try_compile "$LINENO"; then :
58571 glibcxx_cv_func__sincos_use=yes
58572 else
58573 glibcxx_cv_func__sincos_use=no
58575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58576 ac_ext=c
58577 ac_cpp='$CPP $CPPFLAGS'
58578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
58587 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
58589 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
58590 for ac_func in _sincos
58591 do :
58592 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
58593 if test "x$ac_cv_func__sincos" = x""yes; then :
58594 cat >>confdefs.h <<_ACEOF
58595 #define HAVE__SINCOS 1
58596 _ACEOF
58599 done
58608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
58609 $as_echo_n "checking for fpclass declaration... " >&6; }
58610 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
58611 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
58612 $as_echo_n "(cached) " >&6
58613 else
58616 ac_ext=cpp
58617 ac_cpp='$CXXCPP $CPPFLAGS'
58618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58623 /* end confdefs.h. */
58624 #include <math.h>
58625 #ifdef HAVE_IEEEFP_H
58626 #include <ieeefp.h>
58627 #endif
58630 main ()
58632 fpclass(0);
58634 return 0;
58636 _ACEOF
58637 if ac_fn_cxx_try_compile "$LINENO"; then :
58638 glibcxx_cv_func_fpclass_use=yes
58639 else
58640 glibcxx_cv_func_fpclass_use=no
58642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58643 ac_ext=c
58644 ac_cpp='$CPP $CPPFLAGS'
58645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
58654 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
58656 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
58657 for ac_func in fpclass
58658 do :
58659 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
58660 if test "x$ac_cv_func_fpclass" = x""yes; then :
58661 cat >>confdefs.h <<_ACEOF
58662 #define HAVE_FPCLASS 1
58663 _ACEOF
58666 done
58668 else
58670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
58671 $as_echo_n "checking for _fpclass declaration... " >&6; }
58672 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
58673 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
58674 $as_echo_n "(cached) " >&6
58675 else
58678 ac_ext=cpp
58679 ac_cpp='$CXXCPP $CPPFLAGS'
58680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58685 /* end confdefs.h. */
58686 #include <math.h>
58687 #ifdef HAVE_IEEEFP_H
58688 #include <ieeefp.h>
58689 #endif
58692 main ()
58694 _fpclass(0);
58696 return 0;
58698 _ACEOF
58699 if ac_fn_cxx_try_compile "$LINENO"; then :
58700 glibcxx_cv_func__fpclass_use=yes
58701 else
58702 glibcxx_cv_func__fpclass_use=no
58704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58705 ac_ext=c
58706 ac_cpp='$CPP $CPPFLAGS'
58707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
58716 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
58718 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
58719 for ac_func in _fpclass
58720 do :
58721 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
58722 if test "x$ac_cv_func__fpclass" = x""yes; then :
58723 cat >>confdefs.h <<_ACEOF
58724 #define HAVE__FPCLASS 1
58725 _ACEOF
58728 done
58737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
58738 $as_echo_n "checking for qfpclass declaration... " >&6; }
58739 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
58740 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
58741 $as_echo_n "(cached) " >&6
58742 else
58745 ac_ext=cpp
58746 ac_cpp='$CXXCPP $CPPFLAGS'
58747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58752 /* end confdefs.h. */
58753 #include <math.h>
58754 #ifdef HAVE_IEEEFP_H
58755 #include <ieeefp.h>
58756 #endif
58759 main ()
58761 qfpclass(0);
58763 return 0;
58765 _ACEOF
58766 if ac_fn_cxx_try_compile "$LINENO"; then :
58767 glibcxx_cv_func_qfpclass_use=yes
58768 else
58769 glibcxx_cv_func_qfpclass_use=no
58771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58772 ac_ext=c
58773 ac_cpp='$CPP $CPPFLAGS'
58774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
58783 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
58785 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
58786 for ac_func in qfpclass
58787 do :
58788 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
58789 if test "x$ac_cv_func_qfpclass" = x""yes; then :
58790 cat >>confdefs.h <<_ACEOF
58791 #define HAVE_QFPCLASS 1
58792 _ACEOF
58795 done
58797 else
58799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
58800 $as_echo_n "checking for _qfpclass declaration... " >&6; }
58801 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
58802 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
58803 $as_echo_n "(cached) " >&6
58804 else
58807 ac_ext=cpp
58808 ac_cpp='$CXXCPP $CPPFLAGS'
58809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58814 /* end confdefs.h. */
58815 #include <math.h>
58816 #ifdef HAVE_IEEEFP_H
58817 #include <ieeefp.h>
58818 #endif
58821 main ()
58823 _qfpclass(0);
58825 return 0;
58827 _ACEOF
58828 if ac_fn_cxx_try_compile "$LINENO"; then :
58829 glibcxx_cv_func__qfpclass_use=yes
58830 else
58831 glibcxx_cv_func__qfpclass_use=no
58833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58834 ac_ext=c
58835 ac_cpp='$CPP $CPPFLAGS'
58836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
58845 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
58847 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
58848 for ac_func in _qfpclass
58849 do :
58850 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
58851 if test "x$ac_cv_func__qfpclass" = x""yes; then :
58852 cat >>confdefs.h <<_ACEOF
58853 #define HAVE__QFPCLASS 1
58854 _ACEOF
58857 done
58866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
58867 $as_echo_n "checking for hypot declaration... " >&6; }
58868 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
58869 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
58870 $as_echo_n "(cached) " >&6
58871 else
58874 ac_ext=cpp
58875 ac_cpp='$CXXCPP $CPPFLAGS'
58876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58881 /* end confdefs.h. */
58882 #include <math.h>
58884 main ()
58886 hypot(0, 0);
58888 return 0;
58890 _ACEOF
58891 if ac_fn_cxx_try_compile "$LINENO"; then :
58892 glibcxx_cv_func_hypot_use=yes
58893 else
58894 glibcxx_cv_func_hypot_use=no
58896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58897 ac_ext=c
58898 ac_cpp='$CPP $CPPFLAGS'
58899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
58908 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
58910 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
58911 for ac_func in hypot
58912 do :
58913 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
58914 if test "x$ac_cv_func_hypot" = x""yes; then :
58915 cat >>confdefs.h <<_ACEOF
58916 #define HAVE_HYPOT 1
58917 _ACEOF
58920 done
58922 else
58924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
58925 $as_echo_n "checking for _hypot declaration... " >&6; }
58926 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
58927 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
58928 $as_echo_n "(cached) " >&6
58929 else
58932 ac_ext=cpp
58933 ac_cpp='$CXXCPP $CPPFLAGS'
58934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58939 /* end confdefs.h. */
58940 #include <math.h>
58942 main ()
58944 _hypot(0, 0);
58946 return 0;
58948 _ACEOF
58949 if ac_fn_cxx_try_compile "$LINENO"; then :
58950 glibcxx_cv_func__hypot_use=yes
58951 else
58952 glibcxx_cv_func__hypot_use=no
58954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58955 ac_ext=c
58956 ac_cpp='$CPP $CPPFLAGS'
58957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
58966 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
58968 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
58969 for ac_func in _hypot
58970 do :
58971 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
58972 if test "x$ac_cv_func__hypot" = x""yes; then :
58973 cat >>confdefs.h <<_ACEOF
58974 #define HAVE__HYPOT 1
58975 _ACEOF
58978 done
58987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
58988 $as_echo_n "checking for float trig functions... " >&6; }
58989 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
58990 $as_echo_n "(cached) " >&6
58991 else
58994 ac_ext=cpp
58995 ac_cpp='$CXXCPP $CPPFLAGS'
58996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59001 /* end confdefs.h. */
59002 #include <math.h>
59004 main ()
59006 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
59008 return 0;
59010 _ACEOF
59011 if ac_fn_cxx_try_compile "$LINENO"; then :
59012 glibcxx_cv_func_float_trig_use=yes
59013 else
59014 glibcxx_cv_func_float_trig_use=no
59016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59017 ac_ext=c
59018 ac_cpp='$CPP $CPPFLAGS'
59019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
59026 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
59027 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
59028 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
59029 do :
59030 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59031 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59032 eval as_val=\$$as_ac_var
59033 if test "x$as_val" = x""yes; then :
59034 cat >>confdefs.h <<_ACEOF
59035 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59036 _ACEOF
59039 done
59041 else
59042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
59043 $as_echo_n "checking for _float trig functions... " >&6; }
59044 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
59045 $as_echo_n "(cached) " >&6
59046 else
59049 ac_ext=cpp
59050 ac_cpp='$CXXCPP $CPPFLAGS'
59051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59056 /* end confdefs.h. */
59057 #include <math.h>
59059 main ()
59061 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
59063 return 0;
59065 _ACEOF
59066 if ac_fn_cxx_try_compile "$LINENO"; then :
59067 glibcxx_cv_func__float_trig_use=yes
59068 else
59069 glibcxx_cv_func__float_trig_use=no
59071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59072 ac_ext=c
59073 ac_cpp='$CPP $CPPFLAGS'
59074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
59081 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
59082 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
59083 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
59084 do :
59085 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59086 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59087 eval as_val=\$$as_ac_var
59088 if test "x$as_val" = x""yes; then :
59089 cat >>confdefs.h <<_ACEOF
59090 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59091 _ACEOF
59094 done
59103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
59104 $as_echo_n "checking for float round functions... " >&6; }
59105 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
59106 $as_echo_n "(cached) " >&6
59107 else
59110 ac_ext=cpp
59111 ac_cpp='$CXXCPP $CPPFLAGS'
59112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59117 /* end confdefs.h. */
59118 #include <math.h>
59120 main ()
59122 ceilf (0); floorf (0);
59124 return 0;
59126 _ACEOF
59127 if ac_fn_cxx_try_compile "$LINENO"; then :
59128 glibcxx_cv_func_float_round_use=yes
59129 else
59130 glibcxx_cv_func_float_round_use=no
59132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59133 ac_ext=c
59134 ac_cpp='$CPP $CPPFLAGS'
59135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
59142 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
59143 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
59144 for ac_func in ceilf floorf
59145 do :
59146 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59147 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59148 eval as_val=\$$as_ac_var
59149 if test "x$as_val" = x""yes; then :
59150 cat >>confdefs.h <<_ACEOF
59151 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59152 _ACEOF
59155 done
59157 else
59158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
59159 $as_echo_n "checking for _float round functions... " >&6; }
59160 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
59161 $as_echo_n "(cached) " >&6
59162 else
59165 ac_ext=cpp
59166 ac_cpp='$CXXCPP $CPPFLAGS'
59167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59172 /* end confdefs.h. */
59173 #include <math.h>
59175 main ()
59177 _ceilf (0); _floorf (0);
59179 return 0;
59181 _ACEOF
59182 if ac_fn_cxx_try_compile "$LINENO"; then :
59183 glibcxx_cv_func__float_round_use=yes
59184 else
59185 glibcxx_cv_func__float_round_use=no
59187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59188 ac_ext=c
59189 ac_cpp='$CPP $CPPFLAGS'
59190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
59197 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
59198 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
59199 for ac_func in _ceilf _floorf
59200 do :
59201 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59202 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59203 eval as_val=\$$as_ac_var
59204 if test "x$as_val" = x""yes; then :
59205 cat >>confdefs.h <<_ACEOF
59206 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59207 _ACEOF
59210 done
59220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
59221 $as_echo_n "checking for expf declaration... " >&6; }
59222 if test x${glibcxx_cv_func_expf_use+set} != xset; then
59223 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
59224 $as_echo_n "(cached) " >&6
59225 else
59228 ac_ext=cpp
59229 ac_cpp='$CXXCPP $CPPFLAGS'
59230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59235 /* end confdefs.h. */
59236 #include <math.h>
59237 #ifdef HAVE_IEEEFP_H
59238 #include <ieeefp.h>
59239 #endif
59242 main ()
59244 expf(0);
59246 return 0;
59248 _ACEOF
59249 if ac_fn_cxx_try_compile "$LINENO"; then :
59250 glibcxx_cv_func_expf_use=yes
59251 else
59252 glibcxx_cv_func_expf_use=no
59254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59255 ac_ext=c
59256 ac_cpp='$CPP $CPPFLAGS'
59257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
59266 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
59268 if test x$glibcxx_cv_func_expf_use = x"yes"; then
59269 for ac_func in expf
59270 do :
59271 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
59272 if test "x$ac_cv_func_expf" = x""yes; then :
59273 cat >>confdefs.h <<_ACEOF
59274 #define HAVE_EXPF 1
59275 _ACEOF
59278 done
59280 else
59282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
59283 $as_echo_n "checking for _expf declaration... " >&6; }
59284 if test x${glibcxx_cv_func__expf_use+set} != xset; then
59285 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
59286 $as_echo_n "(cached) " >&6
59287 else
59290 ac_ext=cpp
59291 ac_cpp='$CXXCPP $CPPFLAGS'
59292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59297 /* end confdefs.h. */
59298 #include <math.h>
59299 #ifdef HAVE_IEEEFP_H
59300 #include <ieeefp.h>
59301 #endif
59304 main ()
59306 _expf(0);
59308 return 0;
59310 _ACEOF
59311 if ac_fn_cxx_try_compile "$LINENO"; then :
59312 glibcxx_cv_func__expf_use=yes
59313 else
59314 glibcxx_cv_func__expf_use=no
59316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59317 ac_ext=c
59318 ac_cpp='$CPP $CPPFLAGS'
59319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
59328 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
59330 if test x$glibcxx_cv_func__expf_use = x"yes"; then
59331 for ac_func in _expf
59332 do :
59333 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
59334 if test "x$ac_cv_func__expf" = x""yes; then :
59335 cat >>confdefs.h <<_ACEOF
59336 #define HAVE__EXPF 1
59337 _ACEOF
59340 done
59349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
59350 $as_echo_n "checking for isnanf declaration... " >&6; }
59351 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
59352 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
59353 $as_echo_n "(cached) " >&6
59354 else
59357 ac_ext=cpp
59358 ac_cpp='$CXXCPP $CPPFLAGS'
59359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59364 /* end confdefs.h. */
59365 #include <math.h>
59366 #ifdef HAVE_IEEEFP_H
59367 #include <ieeefp.h>
59368 #endif
59371 main ()
59373 isnanf(0);
59375 return 0;
59377 _ACEOF
59378 if ac_fn_cxx_try_compile "$LINENO"; then :
59379 glibcxx_cv_func_isnanf_use=yes
59380 else
59381 glibcxx_cv_func_isnanf_use=no
59383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59384 ac_ext=c
59385 ac_cpp='$CPP $CPPFLAGS'
59386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
59395 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
59397 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
59398 for ac_func in isnanf
59399 do :
59400 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
59401 if test "x$ac_cv_func_isnanf" = x""yes; then :
59402 cat >>confdefs.h <<_ACEOF
59403 #define HAVE_ISNANF 1
59404 _ACEOF
59407 done
59409 else
59411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
59412 $as_echo_n "checking for _isnanf declaration... " >&6; }
59413 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
59414 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
59415 $as_echo_n "(cached) " >&6
59416 else
59419 ac_ext=cpp
59420 ac_cpp='$CXXCPP $CPPFLAGS'
59421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59426 /* end confdefs.h. */
59427 #include <math.h>
59428 #ifdef HAVE_IEEEFP_H
59429 #include <ieeefp.h>
59430 #endif
59433 main ()
59435 _isnanf(0);
59437 return 0;
59439 _ACEOF
59440 if ac_fn_cxx_try_compile "$LINENO"; then :
59441 glibcxx_cv_func__isnanf_use=yes
59442 else
59443 glibcxx_cv_func__isnanf_use=no
59445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59446 ac_ext=c
59447 ac_cpp='$CPP $CPPFLAGS'
59448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
59457 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
59459 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
59460 for ac_func in _isnanf
59461 do :
59462 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
59463 if test "x$ac_cv_func__isnanf" = x""yes; then :
59464 cat >>confdefs.h <<_ACEOF
59465 #define HAVE__ISNANF 1
59466 _ACEOF
59469 done
59478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
59479 $as_echo_n "checking for isinff declaration... " >&6; }
59480 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
59481 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
59482 $as_echo_n "(cached) " >&6
59483 else
59486 ac_ext=cpp
59487 ac_cpp='$CXXCPP $CPPFLAGS'
59488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59493 /* end confdefs.h. */
59494 #include <math.h>
59495 #ifdef HAVE_IEEEFP_H
59496 #include <ieeefp.h>
59497 #endif
59500 main ()
59502 isinff(0);
59504 return 0;
59506 _ACEOF
59507 if ac_fn_cxx_try_compile "$LINENO"; then :
59508 glibcxx_cv_func_isinff_use=yes
59509 else
59510 glibcxx_cv_func_isinff_use=no
59512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59513 ac_ext=c
59514 ac_cpp='$CPP $CPPFLAGS'
59515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
59524 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
59526 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
59527 for ac_func in isinff
59528 do :
59529 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
59530 if test "x$ac_cv_func_isinff" = x""yes; then :
59531 cat >>confdefs.h <<_ACEOF
59532 #define HAVE_ISINFF 1
59533 _ACEOF
59536 done
59538 else
59540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
59541 $as_echo_n "checking for _isinff declaration... " >&6; }
59542 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
59543 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
59544 $as_echo_n "(cached) " >&6
59545 else
59548 ac_ext=cpp
59549 ac_cpp='$CXXCPP $CPPFLAGS'
59550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59555 /* end confdefs.h. */
59556 #include <math.h>
59557 #ifdef HAVE_IEEEFP_H
59558 #include <ieeefp.h>
59559 #endif
59562 main ()
59564 _isinff(0);
59566 return 0;
59568 _ACEOF
59569 if ac_fn_cxx_try_compile "$LINENO"; then :
59570 glibcxx_cv_func__isinff_use=yes
59571 else
59572 glibcxx_cv_func__isinff_use=no
59574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59575 ac_ext=c
59576 ac_cpp='$CPP $CPPFLAGS'
59577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
59586 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
59588 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
59589 for ac_func in _isinff
59590 do :
59591 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
59592 if test "x$ac_cv_func__isinff" = x""yes; then :
59593 cat >>confdefs.h <<_ACEOF
59594 #define HAVE__ISINFF 1
59595 _ACEOF
59598 done
59607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
59608 $as_echo_n "checking for atan2f declaration... " >&6; }
59609 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59610 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
59611 $as_echo_n "(cached) " >&6
59612 else
59615 ac_ext=cpp
59616 ac_cpp='$CXXCPP $CPPFLAGS'
59617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59622 /* end confdefs.h. */
59623 #include <math.h>
59625 main ()
59627 atan2f(0, 0);
59629 return 0;
59631 _ACEOF
59632 if ac_fn_cxx_try_compile "$LINENO"; then :
59633 glibcxx_cv_func_atan2f_use=yes
59634 else
59635 glibcxx_cv_func_atan2f_use=no
59637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59638 ac_ext=c
59639 ac_cpp='$CPP $CPPFLAGS'
59640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
59649 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
59651 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59652 for ac_func in atan2f
59653 do :
59654 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
59655 if test "x$ac_cv_func_atan2f" = x""yes; then :
59656 cat >>confdefs.h <<_ACEOF
59657 #define HAVE_ATAN2F 1
59658 _ACEOF
59661 done
59663 else
59665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
59666 $as_echo_n "checking for _atan2f declaration... " >&6; }
59667 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59668 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
59669 $as_echo_n "(cached) " >&6
59670 else
59673 ac_ext=cpp
59674 ac_cpp='$CXXCPP $CPPFLAGS'
59675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59680 /* end confdefs.h. */
59681 #include <math.h>
59683 main ()
59685 _atan2f(0, 0);
59687 return 0;
59689 _ACEOF
59690 if ac_fn_cxx_try_compile "$LINENO"; then :
59691 glibcxx_cv_func__atan2f_use=yes
59692 else
59693 glibcxx_cv_func__atan2f_use=no
59695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59696 ac_ext=c
59697 ac_cpp='$CPP $CPPFLAGS'
59698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
59707 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
59709 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59710 for ac_func in _atan2f
59711 do :
59712 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
59713 if test "x$ac_cv_func__atan2f" = x""yes; then :
59714 cat >>confdefs.h <<_ACEOF
59715 #define HAVE__ATAN2F 1
59716 _ACEOF
59719 done
59728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
59729 $as_echo_n "checking for fabsf declaration... " >&6; }
59730 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59731 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
59732 $as_echo_n "(cached) " >&6
59733 else
59736 ac_ext=cpp
59737 ac_cpp='$CXXCPP $CPPFLAGS'
59738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59743 /* end confdefs.h. */
59744 #include <math.h>
59745 #ifdef HAVE_IEEEFP_H
59746 #include <ieeefp.h>
59747 #endif
59750 main ()
59752 fabsf(0);
59754 return 0;
59756 _ACEOF
59757 if ac_fn_cxx_try_compile "$LINENO"; then :
59758 glibcxx_cv_func_fabsf_use=yes
59759 else
59760 glibcxx_cv_func_fabsf_use=no
59762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59763 ac_ext=c
59764 ac_cpp='$CPP $CPPFLAGS'
59765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
59774 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
59776 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59777 for ac_func in fabsf
59778 do :
59779 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
59780 if test "x$ac_cv_func_fabsf" = x""yes; then :
59781 cat >>confdefs.h <<_ACEOF
59782 #define HAVE_FABSF 1
59783 _ACEOF
59786 done
59788 else
59790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
59791 $as_echo_n "checking for _fabsf declaration... " >&6; }
59792 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59793 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
59794 $as_echo_n "(cached) " >&6
59795 else
59798 ac_ext=cpp
59799 ac_cpp='$CXXCPP $CPPFLAGS'
59800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59805 /* end confdefs.h. */
59806 #include <math.h>
59807 #ifdef HAVE_IEEEFP_H
59808 #include <ieeefp.h>
59809 #endif
59812 main ()
59814 _fabsf(0);
59816 return 0;
59818 _ACEOF
59819 if ac_fn_cxx_try_compile "$LINENO"; then :
59820 glibcxx_cv_func__fabsf_use=yes
59821 else
59822 glibcxx_cv_func__fabsf_use=no
59824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59825 ac_ext=c
59826 ac_cpp='$CPP $CPPFLAGS'
59827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
59836 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
59838 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59839 for ac_func in _fabsf
59840 do :
59841 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
59842 if test "x$ac_cv_func__fabsf" = x""yes; then :
59843 cat >>confdefs.h <<_ACEOF
59844 #define HAVE__FABSF 1
59845 _ACEOF
59848 done
59857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
59858 $as_echo_n "checking for fmodf declaration... " >&6; }
59859 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
59860 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
59861 $as_echo_n "(cached) " >&6
59862 else
59865 ac_ext=cpp
59866 ac_cpp='$CXXCPP $CPPFLAGS'
59867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59872 /* end confdefs.h. */
59873 #include <math.h>
59875 main ()
59877 fmodf(0, 0);
59879 return 0;
59881 _ACEOF
59882 if ac_fn_cxx_try_compile "$LINENO"; then :
59883 glibcxx_cv_func_fmodf_use=yes
59884 else
59885 glibcxx_cv_func_fmodf_use=no
59887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59888 ac_ext=c
59889 ac_cpp='$CPP $CPPFLAGS'
59890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
59899 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
59901 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59902 for ac_func in fmodf
59903 do :
59904 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
59905 if test "x$ac_cv_func_fmodf" = x""yes; then :
59906 cat >>confdefs.h <<_ACEOF
59907 #define HAVE_FMODF 1
59908 _ACEOF
59911 done
59913 else
59915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
59916 $as_echo_n "checking for _fmodf declaration... " >&6; }
59917 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59918 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
59919 $as_echo_n "(cached) " >&6
59920 else
59923 ac_ext=cpp
59924 ac_cpp='$CXXCPP $CPPFLAGS'
59925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59930 /* end confdefs.h. */
59931 #include <math.h>
59933 main ()
59935 _fmodf(0, 0);
59937 return 0;
59939 _ACEOF
59940 if ac_fn_cxx_try_compile "$LINENO"; then :
59941 glibcxx_cv_func__fmodf_use=yes
59942 else
59943 glibcxx_cv_func__fmodf_use=no
59945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59946 ac_ext=c
59947 ac_cpp='$CPP $CPPFLAGS'
59948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
59957 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
59959 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59960 for ac_func in _fmodf
59961 do :
59962 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
59963 if test "x$ac_cv_func__fmodf" = x""yes; then :
59964 cat >>confdefs.h <<_ACEOF
59965 #define HAVE__FMODF 1
59966 _ACEOF
59969 done
59978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
59979 $as_echo_n "checking for frexpf declaration... " >&6; }
59980 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59981 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
59982 $as_echo_n "(cached) " >&6
59983 else
59986 ac_ext=cpp
59987 ac_cpp='$CXXCPP $CPPFLAGS'
59988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59993 /* end confdefs.h. */
59994 #include <math.h>
59996 main ()
59998 frexpf(0, 0);
60000 return 0;
60002 _ACEOF
60003 if ac_fn_cxx_try_compile "$LINENO"; then :
60004 glibcxx_cv_func_frexpf_use=yes
60005 else
60006 glibcxx_cv_func_frexpf_use=no
60008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60009 ac_ext=c
60010 ac_cpp='$CPP $CPPFLAGS'
60011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
60020 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
60022 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60023 for ac_func in frexpf
60024 do :
60025 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
60026 if test "x$ac_cv_func_frexpf" = x""yes; then :
60027 cat >>confdefs.h <<_ACEOF
60028 #define HAVE_FREXPF 1
60029 _ACEOF
60032 done
60034 else
60036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
60037 $as_echo_n "checking for _frexpf declaration... " >&6; }
60038 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60039 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
60040 $as_echo_n "(cached) " >&6
60041 else
60044 ac_ext=cpp
60045 ac_cpp='$CXXCPP $CPPFLAGS'
60046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60051 /* end confdefs.h. */
60052 #include <math.h>
60054 main ()
60056 _frexpf(0, 0);
60058 return 0;
60060 _ACEOF
60061 if ac_fn_cxx_try_compile "$LINENO"; then :
60062 glibcxx_cv_func__frexpf_use=yes
60063 else
60064 glibcxx_cv_func__frexpf_use=no
60066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60067 ac_ext=c
60068 ac_cpp='$CPP $CPPFLAGS'
60069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
60078 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
60080 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
60081 for ac_func in _frexpf
60082 do :
60083 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
60084 if test "x$ac_cv_func__frexpf" = x""yes; then :
60085 cat >>confdefs.h <<_ACEOF
60086 #define HAVE__FREXPF 1
60087 _ACEOF
60090 done
60099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
60100 $as_echo_n "checking for hypotf declaration... " >&6; }
60101 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
60102 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
60103 $as_echo_n "(cached) " >&6
60104 else
60107 ac_ext=cpp
60108 ac_cpp='$CXXCPP $CPPFLAGS'
60109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60114 /* end confdefs.h. */
60115 #include <math.h>
60117 main ()
60119 hypotf(0, 0);
60121 return 0;
60123 _ACEOF
60124 if ac_fn_cxx_try_compile "$LINENO"; then :
60125 glibcxx_cv_func_hypotf_use=yes
60126 else
60127 glibcxx_cv_func_hypotf_use=no
60129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60130 ac_ext=c
60131 ac_cpp='$CPP $CPPFLAGS'
60132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
60141 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
60143 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
60144 for ac_func in hypotf
60145 do :
60146 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
60147 if test "x$ac_cv_func_hypotf" = x""yes; then :
60148 cat >>confdefs.h <<_ACEOF
60149 #define HAVE_HYPOTF 1
60150 _ACEOF
60153 done
60155 else
60157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
60158 $as_echo_n "checking for _hypotf declaration... " >&6; }
60159 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
60160 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
60161 $as_echo_n "(cached) " >&6
60162 else
60165 ac_ext=cpp
60166 ac_cpp='$CXXCPP $CPPFLAGS'
60167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60172 /* end confdefs.h. */
60173 #include <math.h>
60175 main ()
60177 _hypotf(0, 0);
60179 return 0;
60181 _ACEOF
60182 if ac_fn_cxx_try_compile "$LINENO"; then :
60183 glibcxx_cv_func__hypotf_use=yes
60184 else
60185 glibcxx_cv_func__hypotf_use=no
60187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60188 ac_ext=c
60189 ac_cpp='$CPP $CPPFLAGS'
60190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
60199 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
60201 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
60202 for ac_func in _hypotf
60203 do :
60204 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
60205 if test "x$ac_cv_func__hypotf" = x""yes; then :
60206 cat >>confdefs.h <<_ACEOF
60207 #define HAVE__HYPOTF 1
60208 _ACEOF
60211 done
60220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
60221 $as_echo_n "checking for ldexpf declaration... " >&6; }
60222 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60223 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
60224 $as_echo_n "(cached) " >&6
60225 else
60228 ac_ext=cpp
60229 ac_cpp='$CXXCPP $CPPFLAGS'
60230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60235 /* end confdefs.h. */
60236 #include <math.h>
60238 main ()
60240 ldexpf(0, 0);
60242 return 0;
60244 _ACEOF
60245 if ac_fn_cxx_try_compile "$LINENO"; then :
60246 glibcxx_cv_func_ldexpf_use=yes
60247 else
60248 glibcxx_cv_func_ldexpf_use=no
60250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60251 ac_ext=c
60252 ac_cpp='$CPP $CPPFLAGS'
60253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
60262 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
60264 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60265 for ac_func in ldexpf
60266 do :
60267 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
60268 if test "x$ac_cv_func_ldexpf" = x""yes; then :
60269 cat >>confdefs.h <<_ACEOF
60270 #define HAVE_LDEXPF 1
60271 _ACEOF
60274 done
60276 else
60278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
60279 $as_echo_n "checking for _ldexpf declaration... " >&6; }
60280 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60281 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
60282 $as_echo_n "(cached) " >&6
60283 else
60286 ac_ext=cpp
60287 ac_cpp='$CXXCPP $CPPFLAGS'
60288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60293 /* end confdefs.h. */
60294 #include <math.h>
60296 main ()
60298 _ldexpf(0, 0);
60300 return 0;
60302 _ACEOF
60303 if ac_fn_cxx_try_compile "$LINENO"; then :
60304 glibcxx_cv_func__ldexpf_use=yes
60305 else
60306 glibcxx_cv_func__ldexpf_use=no
60308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60309 ac_ext=c
60310 ac_cpp='$CPP $CPPFLAGS'
60311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
60320 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
60322 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60323 for ac_func in _ldexpf
60324 do :
60325 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
60326 if test "x$ac_cv_func__ldexpf" = x""yes; then :
60327 cat >>confdefs.h <<_ACEOF
60328 #define HAVE__LDEXPF 1
60329 _ACEOF
60332 done
60341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
60342 $as_echo_n "checking for logf declaration... " >&6; }
60343 if test x${glibcxx_cv_func_logf_use+set} != xset; then
60344 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
60345 $as_echo_n "(cached) " >&6
60346 else
60349 ac_ext=cpp
60350 ac_cpp='$CXXCPP $CPPFLAGS'
60351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60356 /* end confdefs.h. */
60357 #include <math.h>
60358 #ifdef HAVE_IEEEFP_H
60359 #include <ieeefp.h>
60360 #endif
60363 main ()
60365 logf(0);
60367 return 0;
60369 _ACEOF
60370 if ac_fn_cxx_try_compile "$LINENO"; then :
60371 glibcxx_cv_func_logf_use=yes
60372 else
60373 glibcxx_cv_func_logf_use=no
60375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60376 ac_ext=c
60377 ac_cpp='$CPP $CPPFLAGS'
60378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
60387 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
60389 if test x$glibcxx_cv_func_logf_use = x"yes"; then
60390 for ac_func in logf
60391 do :
60392 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
60393 if test "x$ac_cv_func_logf" = x""yes; then :
60394 cat >>confdefs.h <<_ACEOF
60395 #define HAVE_LOGF 1
60396 _ACEOF
60399 done
60401 else
60403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
60404 $as_echo_n "checking for _logf declaration... " >&6; }
60405 if test x${glibcxx_cv_func__logf_use+set} != xset; then
60406 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
60407 $as_echo_n "(cached) " >&6
60408 else
60411 ac_ext=cpp
60412 ac_cpp='$CXXCPP $CPPFLAGS'
60413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60418 /* end confdefs.h. */
60419 #include <math.h>
60420 #ifdef HAVE_IEEEFP_H
60421 #include <ieeefp.h>
60422 #endif
60425 main ()
60427 _logf(0);
60429 return 0;
60431 _ACEOF
60432 if ac_fn_cxx_try_compile "$LINENO"; then :
60433 glibcxx_cv_func__logf_use=yes
60434 else
60435 glibcxx_cv_func__logf_use=no
60437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60438 ac_ext=c
60439 ac_cpp='$CPP $CPPFLAGS'
60440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
60449 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
60451 if test x$glibcxx_cv_func__logf_use = x"yes"; then
60452 for ac_func in _logf
60453 do :
60454 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
60455 if test "x$ac_cv_func__logf" = x""yes; then :
60456 cat >>confdefs.h <<_ACEOF
60457 #define HAVE__LOGF 1
60458 _ACEOF
60461 done
60470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
60471 $as_echo_n "checking for log10f declaration... " >&6; }
60472 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60473 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
60474 $as_echo_n "(cached) " >&6
60475 else
60478 ac_ext=cpp
60479 ac_cpp='$CXXCPP $CPPFLAGS'
60480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60485 /* end confdefs.h. */
60486 #include <math.h>
60487 #ifdef HAVE_IEEEFP_H
60488 #include <ieeefp.h>
60489 #endif
60492 main ()
60494 log10f(0);
60496 return 0;
60498 _ACEOF
60499 if ac_fn_cxx_try_compile "$LINENO"; then :
60500 glibcxx_cv_func_log10f_use=yes
60501 else
60502 glibcxx_cv_func_log10f_use=no
60504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60505 ac_ext=c
60506 ac_cpp='$CPP $CPPFLAGS'
60507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
60516 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
60518 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60519 for ac_func in log10f
60520 do :
60521 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
60522 if test "x$ac_cv_func_log10f" = x""yes; then :
60523 cat >>confdefs.h <<_ACEOF
60524 #define HAVE_LOG10F 1
60525 _ACEOF
60528 done
60530 else
60532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
60533 $as_echo_n "checking for _log10f declaration... " >&6; }
60534 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60535 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
60536 $as_echo_n "(cached) " >&6
60537 else
60540 ac_ext=cpp
60541 ac_cpp='$CXXCPP $CPPFLAGS'
60542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60547 /* end confdefs.h. */
60548 #include <math.h>
60549 #ifdef HAVE_IEEEFP_H
60550 #include <ieeefp.h>
60551 #endif
60554 main ()
60556 _log10f(0);
60558 return 0;
60560 _ACEOF
60561 if ac_fn_cxx_try_compile "$LINENO"; then :
60562 glibcxx_cv_func__log10f_use=yes
60563 else
60564 glibcxx_cv_func__log10f_use=no
60566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60567 ac_ext=c
60568 ac_cpp='$CPP $CPPFLAGS'
60569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
60578 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
60580 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
60581 for ac_func in _log10f
60582 do :
60583 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
60584 if test "x$ac_cv_func__log10f" = x""yes; then :
60585 cat >>confdefs.h <<_ACEOF
60586 #define HAVE__LOG10F 1
60587 _ACEOF
60590 done
60599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
60600 $as_echo_n "checking for modff declaration... " >&6; }
60601 if test x${glibcxx_cv_func_modff_use+set} != xset; then
60602 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
60603 $as_echo_n "(cached) " >&6
60604 else
60607 ac_ext=cpp
60608 ac_cpp='$CXXCPP $CPPFLAGS'
60609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60614 /* end confdefs.h. */
60615 #include <math.h>
60617 main ()
60619 modff(0, 0);
60621 return 0;
60623 _ACEOF
60624 if ac_fn_cxx_try_compile "$LINENO"; then :
60625 glibcxx_cv_func_modff_use=yes
60626 else
60627 glibcxx_cv_func_modff_use=no
60629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60630 ac_ext=c
60631 ac_cpp='$CPP $CPPFLAGS'
60632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
60641 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
60643 if test x$glibcxx_cv_func_modff_use = x"yes"; then
60644 for ac_func in modff
60645 do :
60646 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
60647 if test "x$ac_cv_func_modff" = x""yes; then :
60648 cat >>confdefs.h <<_ACEOF
60649 #define HAVE_MODFF 1
60650 _ACEOF
60653 done
60655 else
60657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
60658 $as_echo_n "checking for _modff declaration... " >&6; }
60659 if test x${glibcxx_cv_func__modff_use+set} != xset; then
60660 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
60661 $as_echo_n "(cached) " >&6
60662 else
60665 ac_ext=cpp
60666 ac_cpp='$CXXCPP $CPPFLAGS'
60667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60672 /* end confdefs.h. */
60673 #include <math.h>
60675 main ()
60677 _modff(0, 0);
60679 return 0;
60681 _ACEOF
60682 if ac_fn_cxx_try_compile "$LINENO"; then :
60683 glibcxx_cv_func__modff_use=yes
60684 else
60685 glibcxx_cv_func__modff_use=no
60687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60688 ac_ext=c
60689 ac_cpp='$CPP $CPPFLAGS'
60690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
60699 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
60701 if test x$glibcxx_cv_func__modff_use = x"yes"; then
60702 for ac_func in _modff
60703 do :
60704 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
60705 if test "x$ac_cv_func__modff" = x""yes; then :
60706 cat >>confdefs.h <<_ACEOF
60707 #define HAVE__MODFF 1
60708 _ACEOF
60711 done
60720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
60721 $as_echo_n "checking for modf declaration... " >&6; }
60722 if test x${glibcxx_cv_func_modf_use+set} != xset; then
60723 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
60724 $as_echo_n "(cached) " >&6
60725 else
60728 ac_ext=cpp
60729 ac_cpp='$CXXCPP $CPPFLAGS'
60730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60735 /* end confdefs.h. */
60736 #include <math.h>
60738 main ()
60740 modf(0, 0);
60742 return 0;
60744 _ACEOF
60745 if ac_fn_cxx_try_compile "$LINENO"; then :
60746 glibcxx_cv_func_modf_use=yes
60747 else
60748 glibcxx_cv_func_modf_use=no
60750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60751 ac_ext=c
60752 ac_cpp='$CPP $CPPFLAGS'
60753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
60762 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
60764 if test x$glibcxx_cv_func_modf_use = x"yes"; then
60765 for ac_func in modf
60766 do :
60767 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
60768 if test "x$ac_cv_func_modf" = x""yes; then :
60769 cat >>confdefs.h <<_ACEOF
60770 #define HAVE_MODF 1
60771 _ACEOF
60774 done
60776 else
60778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
60779 $as_echo_n "checking for _modf declaration... " >&6; }
60780 if test x${glibcxx_cv_func__modf_use+set} != xset; then
60781 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
60782 $as_echo_n "(cached) " >&6
60783 else
60786 ac_ext=cpp
60787 ac_cpp='$CXXCPP $CPPFLAGS'
60788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60793 /* end confdefs.h. */
60794 #include <math.h>
60796 main ()
60798 _modf(0, 0);
60800 return 0;
60802 _ACEOF
60803 if ac_fn_cxx_try_compile "$LINENO"; then :
60804 glibcxx_cv_func__modf_use=yes
60805 else
60806 glibcxx_cv_func__modf_use=no
60808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60809 ac_ext=c
60810 ac_cpp='$CPP $CPPFLAGS'
60811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
60820 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
60822 if test x$glibcxx_cv_func__modf_use = x"yes"; then
60823 for ac_func in _modf
60824 do :
60825 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
60826 if test "x$ac_cv_func__modf" = x""yes; then :
60827 cat >>confdefs.h <<_ACEOF
60828 #define HAVE__MODF 1
60829 _ACEOF
60832 done
60841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
60842 $as_echo_n "checking for powf declaration... " >&6; }
60843 if test x${glibcxx_cv_func_powf_use+set} != xset; then
60844 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
60845 $as_echo_n "(cached) " >&6
60846 else
60849 ac_ext=cpp
60850 ac_cpp='$CXXCPP $CPPFLAGS'
60851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60856 /* end confdefs.h. */
60857 #include <math.h>
60859 main ()
60861 powf(0, 0);
60863 return 0;
60865 _ACEOF
60866 if ac_fn_cxx_try_compile "$LINENO"; then :
60867 glibcxx_cv_func_powf_use=yes
60868 else
60869 glibcxx_cv_func_powf_use=no
60871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60872 ac_ext=c
60873 ac_cpp='$CPP $CPPFLAGS'
60874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
60883 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
60885 if test x$glibcxx_cv_func_powf_use = x"yes"; then
60886 for ac_func in powf
60887 do :
60888 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
60889 if test "x$ac_cv_func_powf" = x""yes; then :
60890 cat >>confdefs.h <<_ACEOF
60891 #define HAVE_POWF 1
60892 _ACEOF
60895 done
60897 else
60899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
60900 $as_echo_n "checking for _powf declaration... " >&6; }
60901 if test x${glibcxx_cv_func__powf_use+set} != xset; then
60902 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
60903 $as_echo_n "(cached) " >&6
60904 else
60907 ac_ext=cpp
60908 ac_cpp='$CXXCPP $CPPFLAGS'
60909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60914 /* end confdefs.h. */
60915 #include <math.h>
60917 main ()
60919 _powf(0, 0);
60921 return 0;
60923 _ACEOF
60924 if ac_fn_cxx_try_compile "$LINENO"; then :
60925 glibcxx_cv_func__powf_use=yes
60926 else
60927 glibcxx_cv_func__powf_use=no
60929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60930 ac_ext=c
60931 ac_cpp='$CPP $CPPFLAGS'
60932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
60941 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
60943 if test x$glibcxx_cv_func__powf_use = x"yes"; then
60944 for ac_func in _powf
60945 do :
60946 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
60947 if test "x$ac_cv_func__powf" = x""yes; then :
60948 cat >>confdefs.h <<_ACEOF
60949 #define HAVE__POWF 1
60950 _ACEOF
60953 done
60962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
60963 $as_echo_n "checking for sqrtf declaration... " >&6; }
60964 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
60965 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
60966 $as_echo_n "(cached) " >&6
60967 else
60970 ac_ext=cpp
60971 ac_cpp='$CXXCPP $CPPFLAGS'
60972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60977 /* end confdefs.h. */
60978 #include <math.h>
60979 #ifdef HAVE_IEEEFP_H
60980 #include <ieeefp.h>
60981 #endif
60984 main ()
60986 sqrtf(0);
60988 return 0;
60990 _ACEOF
60991 if ac_fn_cxx_try_compile "$LINENO"; then :
60992 glibcxx_cv_func_sqrtf_use=yes
60993 else
60994 glibcxx_cv_func_sqrtf_use=no
60996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60997 ac_ext=c
60998 ac_cpp='$CPP $CPPFLAGS'
60999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
61008 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
61010 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61011 for ac_func in sqrtf
61012 do :
61013 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
61014 if test "x$ac_cv_func_sqrtf" = x""yes; then :
61015 cat >>confdefs.h <<_ACEOF
61016 #define HAVE_SQRTF 1
61017 _ACEOF
61020 done
61022 else
61024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
61025 $as_echo_n "checking for _sqrtf declaration... " >&6; }
61026 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
61027 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
61028 $as_echo_n "(cached) " >&6
61029 else
61032 ac_ext=cpp
61033 ac_cpp='$CXXCPP $CPPFLAGS'
61034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61039 /* end confdefs.h. */
61040 #include <math.h>
61041 #ifdef HAVE_IEEEFP_H
61042 #include <ieeefp.h>
61043 #endif
61046 main ()
61048 _sqrtf(0);
61050 return 0;
61052 _ACEOF
61053 if ac_fn_cxx_try_compile "$LINENO"; then :
61054 glibcxx_cv_func__sqrtf_use=yes
61055 else
61056 glibcxx_cv_func__sqrtf_use=no
61058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61059 ac_ext=c
61060 ac_cpp='$CPP $CPPFLAGS'
61061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
61070 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
61072 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
61073 for ac_func in _sqrtf
61074 do :
61075 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
61076 if test "x$ac_cv_func__sqrtf" = x""yes; then :
61077 cat >>confdefs.h <<_ACEOF
61078 #define HAVE__SQRTF 1
61079 _ACEOF
61082 done
61091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
61092 $as_echo_n "checking for sincosf declaration... " >&6; }
61093 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
61094 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
61095 $as_echo_n "(cached) " >&6
61096 else
61099 ac_ext=cpp
61100 ac_cpp='$CXXCPP $CPPFLAGS'
61101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61106 /* end confdefs.h. */
61107 #include <math.h>
61109 main ()
61111 sincosf(0, 0, 0);
61113 return 0;
61115 _ACEOF
61116 if ac_fn_cxx_try_compile "$LINENO"; then :
61117 glibcxx_cv_func_sincosf_use=yes
61118 else
61119 glibcxx_cv_func_sincosf_use=no
61121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61122 ac_ext=c
61123 ac_cpp='$CPP $CPPFLAGS'
61124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
61133 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
61135 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
61136 for ac_func in sincosf
61137 do :
61138 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
61139 if test "x$ac_cv_func_sincosf" = x""yes; then :
61140 cat >>confdefs.h <<_ACEOF
61141 #define HAVE_SINCOSF 1
61142 _ACEOF
61145 done
61147 else
61149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
61150 $as_echo_n "checking for _sincosf declaration... " >&6; }
61151 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
61152 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
61153 $as_echo_n "(cached) " >&6
61154 else
61157 ac_ext=cpp
61158 ac_cpp='$CXXCPP $CPPFLAGS'
61159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61164 /* end confdefs.h. */
61165 #include <math.h>
61167 main ()
61169 _sincosf(0, 0, 0);
61171 return 0;
61173 _ACEOF
61174 if ac_fn_cxx_try_compile "$LINENO"; then :
61175 glibcxx_cv_func__sincosf_use=yes
61176 else
61177 glibcxx_cv_func__sincosf_use=no
61179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61180 ac_ext=c
61181 ac_cpp='$CPP $CPPFLAGS'
61182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
61191 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
61193 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
61194 for ac_func in _sincosf
61195 do :
61196 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
61197 if test "x$ac_cv_func__sincosf" = x""yes; then :
61198 cat >>confdefs.h <<_ACEOF
61199 #define HAVE__SINCOSF 1
61200 _ACEOF
61203 done
61212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
61213 $as_echo_n "checking for finitef declaration... " >&6; }
61214 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
61215 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
61216 $as_echo_n "(cached) " >&6
61217 else
61220 ac_ext=cpp
61221 ac_cpp='$CXXCPP $CPPFLAGS'
61222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61227 /* end confdefs.h. */
61228 #include <math.h>
61229 #ifdef HAVE_IEEEFP_H
61230 #include <ieeefp.h>
61231 #endif
61234 main ()
61236 finitef(0);
61238 return 0;
61240 _ACEOF
61241 if ac_fn_cxx_try_compile "$LINENO"; then :
61242 glibcxx_cv_func_finitef_use=yes
61243 else
61244 glibcxx_cv_func_finitef_use=no
61246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61247 ac_ext=c
61248 ac_cpp='$CPP $CPPFLAGS'
61249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
61258 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
61260 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
61261 for ac_func in finitef
61262 do :
61263 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
61264 if test "x$ac_cv_func_finitef" = x""yes; then :
61265 cat >>confdefs.h <<_ACEOF
61266 #define HAVE_FINITEF 1
61267 _ACEOF
61270 done
61272 else
61274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
61275 $as_echo_n "checking for _finitef declaration... " >&6; }
61276 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
61277 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
61278 $as_echo_n "(cached) " >&6
61279 else
61282 ac_ext=cpp
61283 ac_cpp='$CXXCPP $CPPFLAGS'
61284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61289 /* end confdefs.h. */
61290 #include <math.h>
61291 #ifdef HAVE_IEEEFP_H
61292 #include <ieeefp.h>
61293 #endif
61296 main ()
61298 _finitef(0);
61300 return 0;
61302 _ACEOF
61303 if ac_fn_cxx_try_compile "$LINENO"; then :
61304 glibcxx_cv_func__finitef_use=yes
61305 else
61306 glibcxx_cv_func__finitef_use=no
61308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61309 ac_ext=c
61310 ac_cpp='$CPP $CPPFLAGS'
61311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
61320 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
61322 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
61323 for ac_func in _finitef
61324 do :
61325 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
61326 if test "x$ac_cv_func__finitef" = x""yes; then :
61327 cat >>confdefs.h <<_ACEOF
61328 #define HAVE__FINITEF 1
61329 _ACEOF
61332 done
61341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
61342 $as_echo_n "checking for long double trig functions... " >&6; }
61343 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
61344 $as_echo_n "(cached) " >&6
61345 else
61348 ac_ext=cpp
61349 ac_cpp='$CXXCPP $CPPFLAGS'
61350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61355 /* end confdefs.h. */
61356 #include <math.h>
61358 main ()
61360 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
61362 return 0;
61364 _ACEOF
61365 if ac_fn_cxx_try_compile "$LINENO"; then :
61366 glibcxx_cv_func_long_double_trig_use=yes
61367 else
61368 glibcxx_cv_func_long_double_trig_use=no
61370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61371 ac_ext=c
61372 ac_cpp='$CPP $CPPFLAGS'
61373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
61380 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
61381 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
61382 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
61383 do :
61384 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61385 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61386 eval as_val=\$$as_ac_var
61387 if test "x$as_val" = x""yes; then :
61388 cat >>confdefs.h <<_ACEOF
61389 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61390 _ACEOF
61393 done
61395 else
61396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
61397 $as_echo_n "checking for _long double trig functions... " >&6; }
61398 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
61399 $as_echo_n "(cached) " >&6
61400 else
61403 ac_ext=cpp
61404 ac_cpp='$CXXCPP $CPPFLAGS'
61405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61410 /* end confdefs.h. */
61411 #include <math.h>
61413 main ()
61415 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
61417 return 0;
61419 _ACEOF
61420 if ac_fn_cxx_try_compile "$LINENO"; then :
61421 glibcxx_cv_func__long_double_trig_use=yes
61422 else
61423 glibcxx_cv_func__long_double_trig_use=no
61425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61426 ac_ext=c
61427 ac_cpp='$CPP $CPPFLAGS'
61428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
61435 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
61436 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
61437 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
61438 do :
61439 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61440 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61441 eval as_val=\$$as_ac_var
61442 if test "x$as_val" = x""yes; then :
61443 cat >>confdefs.h <<_ACEOF
61444 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61445 _ACEOF
61448 done
61457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
61458 $as_echo_n "checking for long double round functions... " >&6; }
61459 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
61460 $as_echo_n "(cached) " >&6
61461 else
61464 ac_ext=cpp
61465 ac_cpp='$CXXCPP $CPPFLAGS'
61466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61471 /* end confdefs.h. */
61472 #include <math.h>
61474 main ()
61476 ceill (0); floorl (0);
61478 return 0;
61480 _ACEOF
61481 if ac_fn_cxx_try_compile "$LINENO"; then :
61482 glibcxx_cv_func_long_double_round_use=yes
61483 else
61484 glibcxx_cv_func_long_double_round_use=no
61486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61487 ac_ext=c
61488 ac_cpp='$CPP $CPPFLAGS'
61489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
61496 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
61497 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
61498 for ac_func in ceill floorl
61499 do :
61500 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61501 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61502 eval as_val=\$$as_ac_var
61503 if test "x$as_val" = x""yes; then :
61504 cat >>confdefs.h <<_ACEOF
61505 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61506 _ACEOF
61509 done
61511 else
61512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
61513 $as_echo_n "checking for _long double round functions... " >&6; }
61514 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
61515 $as_echo_n "(cached) " >&6
61516 else
61519 ac_ext=cpp
61520 ac_cpp='$CXXCPP $CPPFLAGS'
61521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61526 /* end confdefs.h. */
61527 #include <math.h>
61529 main ()
61531 _ceill (0); _floorl (0);
61533 return 0;
61535 _ACEOF
61536 if ac_fn_cxx_try_compile "$LINENO"; then :
61537 glibcxx_cv_func__long_double_round_use=yes
61538 else
61539 glibcxx_cv_func__long_double_round_use=no
61541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61542 ac_ext=c
61543 ac_cpp='$CPP $CPPFLAGS'
61544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
61551 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
61552 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
61553 for ac_func in _ceill _floorl
61554 do :
61555 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61556 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61557 eval as_val=\$$as_ac_var
61558 if test "x$as_val" = x""yes; then :
61559 cat >>confdefs.h <<_ACEOF
61560 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61561 _ACEOF
61564 done
61574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
61575 $as_echo_n "checking for isnanl declaration... " >&6; }
61576 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
61577 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
61578 $as_echo_n "(cached) " >&6
61579 else
61582 ac_ext=cpp
61583 ac_cpp='$CXXCPP $CPPFLAGS'
61584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61589 /* end confdefs.h. */
61590 #include <math.h>
61591 #ifdef HAVE_IEEEFP_H
61592 #include <ieeefp.h>
61593 #endif
61596 main ()
61598 isnanl(0);
61600 return 0;
61602 _ACEOF
61603 if ac_fn_cxx_try_compile "$LINENO"; then :
61604 glibcxx_cv_func_isnanl_use=yes
61605 else
61606 glibcxx_cv_func_isnanl_use=no
61608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61609 ac_ext=c
61610 ac_cpp='$CPP $CPPFLAGS'
61611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
61620 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
61622 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
61623 for ac_func in isnanl
61624 do :
61625 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
61626 if test "x$ac_cv_func_isnanl" = x""yes; then :
61627 cat >>confdefs.h <<_ACEOF
61628 #define HAVE_ISNANL 1
61629 _ACEOF
61632 done
61634 else
61636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
61637 $as_echo_n "checking for _isnanl declaration... " >&6; }
61638 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
61639 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
61640 $as_echo_n "(cached) " >&6
61641 else
61644 ac_ext=cpp
61645 ac_cpp='$CXXCPP $CPPFLAGS'
61646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61651 /* end confdefs.h. */
61652 #include <math.h>
61653 #ifdef HAVE_IEEEFP_H
61654 #include <ieeefp.h>
61655 #endif
61658 main ()
61660 _isnanl(0);
61662 return 0;
61664 _ACEOF
61665 if ac_fn_cxx_try_compile "$LINENO"; then :
61666 glibcxx_cv_func__isnanl_use=yes
61667 else
61668 glibcxx_cv_func__isnanl_use=no
61670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61671 ac_ext=c
61672 ac_cpp='$CPP $CPPFLAGS'
61673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
61682 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
61684 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
61685 for ac_func in _isnanl
61686 do :
61687 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
61688 if test "x$ac_cv_func__isnanl" = x""yes; then :
61689 cat >>confdefs.h <<_ACEOF
61690 #define HAVE__ISNANL 1
61691 _ACEOF
61694 done
61703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
61704 $as_echo_n "checking for isinfl declaration... " >&6; }
61705 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
61706 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
61707 $as_echo_n "(cached) " >&6
61708 else
61711 ac_ext=cpp
61712 ac_cpp='$CXXCPP $CPPFLAGS'
61713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61718 /* end confdefs.h. */
61719 #include <math.h>
61720 #ifdef HAVE_IEEEFP_H
61721 #include <ieeefp.h>
61722 #endif
61725 main ()
61727 isinfl(0);
61729 return 0;
61731 _ACEOF
61732 if ac_fn_cxx_try_compile "$LINENO"; then :
61733 glibcxx_cv_func_isinfl_use=yes
61734 else
61735 glibcxx_cv_func_isinfl_use=no
61737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61738 ac_ext=c
61739 ac_cpp='$CPP $CPPFLAGS'
61740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
61749 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
61751 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
61752 for ac_func in isinfl
61753 do :
61754 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
61755 if test "x$ac_cv_func_isinfl" = x""yes; then :
61756 cat >>confdefs.h <<_ACEOF
61757 #define HAVE_ISINFL 1
61758 _ACEOF
61761 done
61763 else
61765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
61766 $as_echo_n "checking for _isinfl declaration... " >&6; }
61767 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
61768 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
61769 $as_echo_n "(cached) " >&6
61770 else
61773 ac_ext=cpp
61774 ac_cpp='$CXXCPP $CPPFLAGS'
61775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61780 /* end confdefs.h. */
61781 #include <math.h>
61782 #ifdef HAVE_IEEEFP_H
61783 #include <ieeefp.h>
61784 #endif
61787 main ()
61789 _isinfl(0);
61791 return 0;
61793 _ACEOF
61794 if ac_fn_cxx_try_compile "$LINENO"; then :
61795 glibcxx_cv_func__isinfl_use=yes
61796 else
61797 glibcxx_cv_func__isinfl_use=no
61799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61800 ac_ext=c
61801 ac_cpp='$CPP $CPPFLAGS'
61802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
61811 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
61813 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
61814 for ac_func in _isinfl
61815 do :
61816 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
61817 if test "x$ac_cv_func__isinfl" = x""yes; then :
61818 cat >>confdefs.h <<_ACEOF
61819 #define HAVE__ISINFL 1
61820 _ACEOF
61823 done
61832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
61833 $as_echo_n "checking for atan2l declaration... " >&6; }
61834 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
61835 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
61836 $as_echo_n "(cached) " >&6
61837 else
61840 ac_ext=cpp
61841 ac_cpp='$CXXCPP $CPPFLAGS'
61842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61847 /* end confdefs.h. */
61848 #include <math.h>
61850 main ()
61852 atan2l(0, 0);
61854 return 0;
61856 _ACEOF
61857 if ac_fn_cxx_try_compile "$LINENO"; then :
61858 glibcxx_cv_func_atan2l_use=yes
61859 else
61860 glibcxx_cv_func_atan2l_use=no
61862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61863 ac_ext=c
61864 ac_cpp='$CPP $CPPFLAGS'
61865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
61874 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
61876 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
61877 for ac_func in atan2l
61878 do :
61879 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
61880 if test "x$ac_cv_func_atan2l" = x""yes; then :
61881 cat >>confdefs.h <<_ACEOF
61882 #define HAVE_ATAN2L 1
61883 _ACEOF
61886 done
61888 else
61890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
61891 $as_echo_n "checking for _atan2l declaration... " >&6; }
61892 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
61893 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
61894 $as_echo_n "(cached) " >&6
61895 else
61898 ac_ext=cpp
61899 ac_cpp='$CXXCPP $CPPFLAGS'
61900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61905 /* end confdefs.h. */
61906 #include <math.h>
61908 main ()
61910 _atan2l(0, 0);
61912 return 0;
61914 _ACEOF
61915 if ac_fn_cxx_try_compile "$LINENO"; then :
61916 glibcxx_cv_func__atan2l_use=yes
61917 else
61918 glibcxx_cv_func__atan2l_use=no
61920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61921 ac_ext=c
61922 ac_cpp='$CPP $CPPFLAGS'
61923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
61932 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
61934 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
61935 for ac_func in _atan2l
61936 do :
61937 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
61938 if test "x$ac_cv_func__atan2l" = x""yes; then :
61939 cat >>confdefs.h <<_ACEOF
61940 #define HAVE__ATAN2L 1
61941 _ACEOF
61944 done
61953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
61954 $as_echo_n "checking for expl declaration... " >&6; }
61955 if test x${glibcxx_cv_func_expl_use+set} != xset; then
61956 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
61957 $as_echo_n "(cached) " >&6
61958 else
61961 ac_ext=cpp
61962 ac_cpp='$CXXCPP $CPPFLAGS'
61963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61968 /* end confdefs.h. */
61969 #include <math.h>
61970 #ifdef HAVE_IEEEFP_H
61971 #include <ieeefp.h>
61972 #endif
61975 main ()
61977 expl(0);
61979 return 0;
61981 _ACEOF
61982 if ac_fn_cxx_try_compile "$LINENO"; then :
61983 glibcxx_cv_func_expl_use=yes
61984 else
61985 glibcxx_cv_func_expl_use=no
61987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61988 ac_ext=c
61989 ac_cpp='$CPP $CPPFLAGS'
61990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
61999 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
62001 if test x$glibcxx_cv_func_expl_use = x"yes"; then
62002 for ac_func in expl
62003 do :
62004 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
62005 if test "x$ac_cv_func_expl" = x""yes; then :
62006 cat >>confdefs.h <<_ACEOF
62007 #define HAVE_EXPL 1
62008 _ACEOF
62011 done
62013 else
62015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
62016 $as_echo_n "checking for _expl declaration... " >&6; }
62017 if test x${glibcxx_cv_func__expl_use+set} != xset; then
62018 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
62019 $as_echo_n "(cached) " >&6
62020 else
62023 ac_ext=cpp
62024 ac_cpp='$CXXCPP $CPPFLAGS'
62025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62030 /* end confdefs.h. */
62031 #include <math.h>
62032 #ifdef HAVE_IEEEFP_H
62033 #include <ieeefp.h>
62034 #endif
62037 main ()
62039 _expl(0);
62041 return 0;
62043 _ACEOF
62044 if ac_fn_cxx_try_compile "$LINENO"; then :
62045 glibcxx_cv_func__expl_use=yes
62046 else
62047 glibcxx_cv_func__expl_use=no
62049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62050 ac_ext=c
62051 ac_cpp='$CPP $CPPFLAGS'
62052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
62061 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
62063 if test x$glibcxx_cv_func__expl_use = x"yes"; then
62064 for ac_func in _expl
62065 do :
62066 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
62067 if test "x$ac_cv_func__expl" = x""yes; then :
62068 cat >>confdefs.h <<_ACEOF
62069 #define HAVE__EXPL 1
62070 _ACEOF
62073 done
62082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
62083 $as_echo_n "checking for fabsl declaration... " >&6; }
62084 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
62085 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
62086 $as_echo_n "(cached) " >&6
62087 else
62090 ac_ext=cpp
62091 ac_cpp='$CXXCPP $CPPFLAGS'
62092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62097 /* end confdefs.h. */
62098 #include <math.h>
62099 #ifdef HAVE_IEEEFP_H
62100 #include <ieeefp.h>
62101 #endif
62104 main ()
62106 fabsl(0);
62108 return 0;
62110 _ACEOF
62111 if ac_fn_cxx_try_compile "$LINENO"; then :
62112 glibcxx_cv_func_fabsl_use=yes
62113 else
62114 glibcxx_cv_func_fabsl_use=no
62116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62117 ac_ext=c
62118 ac_cpp='$CPP $CPPFLAGS'
62119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
62128 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
62130 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
62131 for ac_func in fabsl
62132 do :
62133 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
62134 if test "x$ac_cv_func_fabsl" = x""yes; then :
62135 cat >>confdefs.h <<_ACEOF
62136 #define HAVE_FABSL 1
62137 _ACEOF
62140 done
62142 else
62144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
62145 $as_echo_n "checking for _fabsl declaration... " >&6; }
62146 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
62147 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
62148 $as_echo_n "(cached) " >&6
62149 else
62152 ac_ext=cpp
62153 ac_cpp='$CXXCPP $CPPFLAGS'
62154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62159 /* end confdefs.h. */
62160 #include <math.h>
62161 #ifdef HAVE_IEEEFP_H
62162 #include <ieeefp.h>
62163 #endif
62166 main ()
62168 _fabsl(0);
62170 return 0;
62172 _ACEOF
62173 if ac_fn_cxx_try_compile "$LINENO"; then :
62174 glibcxx_cv_func__fabsl_use=yes
62175 else
62176 glibcxx_cv_func__fabsl_use=no
62178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62179 ac_ext=c
62180 ac_cpp='$CPP $CPPFLAGS'
62181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
62190 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
62192 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
62193 for ac_func in _fabsl
62194 do :
62195 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
62196 if test "x$ac_cv_func__fabsl" = x""yes; then :
62197 cat >>confdefs.h <<_ACEOF
62198 #define HAVE__FABSL 1
62199 _ACEOF
62202 done
62211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
62212 $as_echo_n "checking for fmodl declaration... " >&6; }
62213 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
62214 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
62215 $as_echo_n "(cached) " >&6
62216 else
62219 ac_ext=cpp
62220 ac_cpp='$CXXCPP $CPPFLAGS'
62221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62226 /* end confdefs.h. */
62227 #include <math.h>
62229 main ()
62231 fmodl(0, 0);
62233 return 0;
62235 _ACEOF
62236 if ac_fn_cxx_try_compile "$LINENO"; then :
62237 glibcxx_cv_func_fmodl_use=yes
62238 else
62239 glibcxx_cv_func_fmodl_use=no
62241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62242 ac_ext=c
62243 ac_cpp='$CPP $CPPFLAGS'
62244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
62253 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
62255 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
62256 for ac_func in fmodl
62257 do :
62258 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
62259 if test "x$ac_cv_func_fmodl" = x""yes; then :
62260 cat >>confdefs.h <<_ACEOF
62261 #define HAVE_FMODL 1
62262 _ACEOF
62265 done
62267 else
62269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
62270 $as_echo_n "checking for _fmodl declaration... " >&6; }
62271 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
62272 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
62273 $as_echo_n "(cached) " >&6
62274 else
62277 ac_ext=cpp
62278 ac_cpp='$CXXCPP $CPPFLAGS'
62279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62284 /* end confdefs.h. */
62285 #include <math.h>
62287 main ()
62289 _fmodl(0, 0);
62291 return 0;
62293 _ACEOF
62294 if ac_fn_cxx_try_compile "$LINENO"; then :
62295 glibcxx_cv_func__fmodl_use=yes
62296 else
62297 glibcxx_cv_func__fmodl_use=no
62299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62300 ac_ext=c
62301 ac_cpp='$CPP $CPPFLAGS'
62302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
62311 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
62313 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
62314 for ac_func in _fmodl
62315 do :
62316 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
62317 if test "x$ac_cv_func__fmodl" = x""yes; then :
62318 cat >>confdefs.h <<_ACEOF
62319 #define HAVE__FMODL 1
62320 _ACEOF
62323 done
62332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
62333 $as_echo_n "checking for frexpl declaration... " >&6; }
62334 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
62335 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
62336 $as_echo_n "(cached) " >&6
62337 else
62340 ac_ext=cpp
62341 ac_cpp='$CXXCPP $CPPFLAGS'
62342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62347 /* end confdefs.h. */
62348 #include <math.h>
62350 main ()
62352 frexpl(0, 0);
62354 return 0;
62356 _ACEOF
62357 if ac_fn_cxx_try_compile "$LINENO"; then :
62358 glibcxx_cv_func_frexpl_use=yes
62359 else
62360 glibcxx_cv_func_frexpl_use=no
62362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62363 ac_ext=c
62364 ac_cpp='$CPP $CPPFLAGS'
62365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
62374 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
62376 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
62377 for ac_func in frexpl
62378 do :
62379 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
62380 if test "x$ac_cv_func_frexpl" = x""yes; then :
62381 cat >>confdefs.h <<_ACEOF
62382 #define HAVE_FREXPL 1
62383 _ACEOF
62386 done
62388 else
62390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
62391 $as_echo_n "checking for _frexpl declaration... " >&6; }
62392 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
62393 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
62394 $as_echo_n "(cached) " >&6
62395 else
62398 ac_ext=cpp
62399 ac_cpp='$CXXCPP $CPPFLAGS'
62400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62405 /* end confdefs.h. */
62406 #include <math.h>
62408 main ()
62410 _frexpl(0, 0);
62412 return 0;
62414 _ACEOF
62415 if ac_fn_cxx_try_compile "$LINENO"; then :
62416 glibcxx_cv_func__frexpl_use=yes
62417 else
62418 glibcxx_cv_func__frexpl_use=no
62420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62421 ac_ext=c
62422 ac_cpp='$CPP $CPPFLAGS'
62423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
62432 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
62434 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
62435 for ac_func in _frexpl
62436 do :
62437 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
62438 if test "x$ac_cv_func__frexpl" = x""yes; then :
62439 cat >>confdefs.h <<_ACEOF
62440 #define HAVE__FREXPL 1
62441 _ACEOF
62444 done
62453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
62454 $as_echo_n "checking for hypotl declaration... " >&6; }
62455 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
62456 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
62457 $as_echo_n "(cached) " >&6
62458 else
62461 ac_ext=cpp
62462 ac_cpp='$CXXCPP $CPPFLAGS'
62463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62468 /* end confdefs.h. */
62469 #include <math.h>
62471 main ()
62473 hypotl(0, 0);
62475 return 0;
62477 _ACEOF
62478 if ac_fn_cxx_try_compile "$LINENO"; then :
62479 glibcxx_cv_func_hypotl_use=yes
62480 else
62481 glibcxx_cv_func_hypotl_use=no
62483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62484 ac_ext=c
62485 ac_cpp='$CPP $CPPFLAGS'
62486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
62495 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
62497 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
62498 for ac_func in hypotl
62499 do :
62500 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
62501 if test "x$ac_cv_func_hypotl" = x""yes; then :
62502 cat >>confdefs.h <<_ACEOF
62503 #define HAVE_HYPOTL 1
62504 _ACEOF
62507 done
62509 else
62511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
62512 $as_echo_n "checking for _hypotl declaration... " >&6; }
62513 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
62514 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
62515 $as_echo_n "(cached) " >&6
62516 else
62519 ac_ext=cpp
62520 ac_cpp='$CXXCPP $CPPFLAGS'
62521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62526 /* end confdefs.h. */
62527 #include <math.h>
62529 main ()
62531 _hypotl(0, 0);
62533 return 0;
62535 _ACEOF
62536 if ac_fn_cxx_try_compile "$LINENO"; then :
62537 glibcxx_cv_func__hypotl_use=yes
62538 else
62539 glibcxx_cv_func__hypotl_use=no
62541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62542 ac_ext=c
62543 ac_cpp='$CPP $CPPFLAGS'
62544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
62553 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
62555 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
62556 for ac_func in _hypotl
62557 do :
62558 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
62559 if test "x$ac_cv_func__hypotl" = x""yes; then :
62560 cat >>confdefs.h <<_ACEOF
62561 #define HAVE__HYPOTL 1
62562 _ACEOF
62565 done
62574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
62575 $as_echo_n "checking for ldexpl declaration... " >&6; }
62576 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
62577 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
62578 $as_echo_n "(cached) " >&6
62579 else
62582 ac_ext=cpp
62583 ac_cpp='$CXXCPP $CPPFLAGS'
62584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62589 /* end confdefs.h. */
62590 #include <math.h>
62592 main ()
62594 ldexpl(0, 0);
62596 return 0;
62598 _ACEOF
62599 if ac_fn_cxx_try_compile "$LINENO"; then :
62600 glibcxx_cv_func_ldexpl_use=yes
62601 else
62602 glibcxx_cv_func_ldexpl_use=no
62604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62605 ac_ext=c
62606 ac_cpp='$CPP $CPPFLAGS'
62607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
62616 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
62618 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
62619 for ac_func in ldexpl
62620 do :
62621 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
62622 if test "x$ac_cv_func_ldexpl" = x""yes; then :
62623 cat >>confdefs.h <<_ACEOF
62624 #define HAVE_LDEXPL 1
62625 _ACEOF
62628 done
62630 else
62632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
62633 $as_echo_n "checking for _ldexpl declaration... " >&6; }
62634 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
62635 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
62636 $as_echo_n "(cached) " >&6
62637 else
62640 ac_ext=cpp
62641 ac_cpp='$CXXCPP $CPPFLAGS'
62642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62647 /* end confdefs.h. */
62648 #include <math.h>
62650 main ()
62652 _ldexpl(0, 0);
62654 return 0;
62656 _ACEOF
62657 if ac_fn_cxx_try_compile "$LINENO"; then :
62658 glibcxx_cv_func__ldexpl_use=yes
62659 else
62660 glibcxx_cv_func__ldexpl_use=no
62662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62663 ac_ext=c
62664 ac_cpp='$CPP $CPPFLAGS'
62665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
62674 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
62676 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
62677 for ac_func in _ldexpl
62678 do :
62679 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
62680 if test "x$ac_cv_func__ldexpl" = x""yes; then :
62681 cat >>confdefs.h <<_ACEOF
62682 #define HAVE__LDEXPL 1
62683 _ACEOF
62686 done
62695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
62696 $as_echo_n "checking for logl declaration... " >&6; }
62697 if test x${glibcxx_cv_func_logl_use+set} != xset; then
62698 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
62699 $as_echo_n "(cached) " >&6
62700 else
62703 ac_ext=cpp
62704 ac_cpp='$CXXCPP $CPPFLAGS'
62705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62710 /* end confdefs.h. */
62711 #include <math.h>
62712 #ifdef HAVE_IEEEFP_H
62713 #include <ieeefp.h>
62714 #endif
62717 main ()
62719 logl(0);
62721 return 0;
62723 _ACEOF
62724 if ac_fn_cxx_try_compile "$LINENO"; then :
62725 glibcxx_cv_func_logl_use=yes
62726 else
62727 glibcxx_cv_func_logl_use=no
62729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62730 ac_ext=c
62731 ac_cpp='$CPP $CPPFLAGS'
62732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
62741 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
62743 if test x$glibcxx_cv_func_logl_use = x"yes"; then
62744 for ac_func in logl
62745 do :
62746 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
62747 if test "x$ac_cv_func_logl" = x""yes; then :
62748 cat >>confdefs.h <<_ACEOF
62749 #define HAVE_LOGL 1
62750 _ACEOF
62753 done
62755 else
62757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
62758 $as_echo_n "checking for _logl declaration... " >&6; }
62759 if test x${glibcxx_cv_func__logl_use+set} != xset; then
62760 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
62761 $as_echo_n "(cached) " >&6
62762 else
62765 ac_ext=cpp
62766 ac_cpp='$CXXCPP $CPPFLAGS'
62767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62772 /* end confdefs.h. */
62773 #include <math.h>
62774 #ifdef HAVE_IEEEFP_H
62775 #include <ieeefp.h>
62776 #endif
62779 main ()
62781 _logl(0);
62783 return 0;
62785 _ACEOF
62786 if ac_fn_cxx_try_compile "$LINENO"; then :
62787 glibcxx_cv_func__logl_use=yes
62788 else
62789 glibcxx_cv_func__logl_use=no
62791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62792 ac_ext=c
62793 ac_cpp='$CPP $CPPFLAGS'
62794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
62803 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
62805 if test x$glibcxx_cv_func__logl_use = x"yes"; then
62806 for ac_func in _logl
62807 do :
62808 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
62809 if test "x$ac_cv_func__logl" = x""yes; then :
62810 cat >>confdefs.h <<_ACEOF
62811 #define HAVE__LOGL 1
62812 _ACEOF
62815 done
62824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
62825 $as_echo_n "checking for log10l declaration... " >&6; }
62826 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
62827 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
62828 $as_echo_n "(cached) " >&6
62829 else
62832 ac_ext=cpp
62833 ac_cpp='$CXXCPP $CPPFLAGS'
62834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62839 /* end confdefs.h. */
62840 #include <math.h>
62841 #ifdef HAVE_IEEEFP_H
62842 #include <ieeefp.h>
62843 #endif
62846 main ()
62848 log10l(0);
62850 return 0;
62852 _ACEOF
62853 if ac_fn_cxx_try_compile "$LINENO"; then :
62854 glibcxx_cv_func_log10l_use=yes
62855 else
62856 glibcxx_cv_func_log10l_use=no
62858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62859 ac_ext=c
62860 ac_cpp='$CPP $CPPFLAGS'
62861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
62870 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
62872 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
62873 for ac_func in log10l
62874 do :
62875 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
62876 if test "x$ac_cv_func_log10l" = x""yes; then :
62877 cat >>confdefs.h <<_ACEOF
62878 #define HAVE_LOG10L 1
62879 _ACEOF
62882 done
62884 else
62886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
62887 $as_echo_n "checking for _log10l declaration... " >&6; }
62888 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
62889 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
62890 $as_echo_n "(cached) " >&6
62891 else
62894 ac_ext=cpp
62895 ac_cpp='$CXXCPP $CPPFLAGS'
62896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62901 /* end confdefs.h. */
62902 #include <math.h>
62903 #ifdef HAVE_IEEEFP_H
62904 #include <ieeefp.h>
62905 #endif
62908 main ()
62910 _log10l(0);
62912 return 0;
62914 _ACEOF
62915 if ac_fn_cxx_try_compile "$LINENO"; then :
62916 glibcxx_cv_func__log10l_use=yes
62917 else
62918 glibcxx_cv_func__log10l_use=no
62920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62921 ac_ext=c
62922 ac_cpp='$CPP $CPPFLAGS'
62923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
62932 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
62934 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
62935 for ac_func in _log10l
62936 do :
62937 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
62938 if test "x$ac_cv_func__log10l" = x""yes; then :
62939 cat >>confdefs.h <<_ACEOF
62940 #define HAVE__LOG10L 1
62941 _ACEOF
62944 done
62953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
62954 $as_echo_n "checking for modfl declaration... " >&6; }
62955 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
62956 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
62957 $as_echo_n "(cached) " >&6
62958 else
62961 ac_ext=cpp
62962 ac_cpp='$CXXCPP $CPPFLAGS'
62963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62968 /* end confdefs.h. */
62969 #include <math.h>
62971 main ()
62973 modfl(0, 0);
62975 return 0;
62977 _ACEOF
62978 if ac_fn_cxx_try_compile "$LINENO"; then :
62979 glibcxx_cv_func_modfl_use=yes
62980 else
62981 glibcxx_cv_func_modfl_use=no
62983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62984 ac_ext=c
62985 ac_cpp='$CPP $CPPFLAGS'
62986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
62995 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
62997 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
62998 for ac_func in modfl
62999 do :
63000 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
63001 if test "x$ac_cv_func_modfl" = x""yes; then :
63002 cat >>confdefs.h <<_ACEOF
63003 #define HAVE_MODFL 1
63004 _ACEOF
63007 done
63009 else
63011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
63012 $as_echo_n "checking for _modfl declaration... " >&6; }
63013 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
63014 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
63015 $as_echo_n "(cached) " >&6
63016 else
63019 ac_ext=cpp
63020 ac_cpp='$CXXCPP $CPPFLAGS'
63021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63026 /* end confdefs.h. */
63027 #include <math.h>
63029 main ()
63031 _modfl(0, 0);
63033 return 0;
63035 _ACEOF
63036 if ac_fn_cxx_try_compile "$LINENO"; then :
63037 glibcxx_cv_func__modfl_use=yes
63038 else
63039 glibcxx_cv_func__modfl_use=no
63041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63042 ac_ext=c
63043 ac_cpp='$CPP $CPPFLAGS'
63044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
63053 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
63055 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
63056 for ac_func in _modfl
63057 do :
63058 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
63059 if test "x$ac_cv_func__modfl" = x""yes; then :
63060 cat >>confdefs.h <<_ACEOF
63061 #define HAVE__MODFL 1
63062 _ACEOF
63065 done
63074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
63075 $as_echo_n "checking for powl declaration... " >&6; }
63076 if test x${glibcxx_cv_func_powl_use+set} != xset; then
63077 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
63078 $as_echo_n "(cached) " >&6
63079 else
63082 ac_ext=cpp
63083 ac_cpp='$CXXCPP $CPPFLAGS'
63084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63089 /* end confdefs.h. */
63090 #include <math.h>
63092 main ()
63094 powl(0, 0);
63096 return 0;
63098 _ACEOF
63099 if ac_fn_cxx_try_compile "$LINENO"; then :
63100 glibcxx_cv_func_powl_use=yes
63101 else
63102 glibcxx_cv_func_powl_use=no
63104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63105 ac_ext=c
63106 ac_cpp='$CPP $CPPFLAGS'
63107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
63116 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
63118 if test x$glibcxx_cv_func_powl_use = x"yes"; then
63119 for ac_func in powl
63120 do :
63121 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
63122 if test "x$ac_cv_func_powl" = x""yes; then :
63123 cat >>confdefs.h <<_ACEOF
63124 #define HAVE_POWL 1
63125 _ACEOF
63128 done
63130 else
63132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
63133 $as_echo_n "checking for _powl declaration... " >&6; }
63134 if test x${glibcxx_cv_func__powl_use+set} != xset; then
63135 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
63136 $as_echo_n "(cached) " >&6
63137 else
63140 ac_ext=cpp
63141 ac_cpp='$CXXCPP $CPPFLAGS'
63142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63147 /* end confdefs.h. */
63148 #include <math.h>
63150 main ()
63152 _powl(0, 0);
63154 return 0;
63156 _ACEOF
63157 if ac_fn_cxx_try_compile "$LINENO"; then :
63158 glibcxx_cv_func__powl_use=yes
63159 else
63160 glibcxx_cv_func__powl_use=no
63162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63163 ac_ext=c
63164 ac_cpp='$CPP $CPPFLAGS'
63165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
63174 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
63176 if test x$glibcxx_cv_func__powl_use = x"yes"; then
63177 for ac_func in _powl
63178 do :
63179 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
63180 if test "x$ac_cv_func__powl" = x""yes; then :
63181 cat >>confdefs.h <<_ACEOF
63182 #define HAVE__POWL 1
63183 _ACEOF
63186 done
63195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
63196 $as_echo_n "checking for sqrtl declaration... " >&6; }
63197 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
63198 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
63199 $as_echo_n "(cached) " >&6
63200 else
63203 ac_ext=cpp
63204 ac_cpp='$CXXCPP $CPPFLAGS'
63205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63210 /* end confdefs.h. */
63211 #include <math.h>
63212 #ifdef HAVE_IEEEFP_H
63213 #include <ieeefp.h>
63214 #endif
63217 main ()
63219 sqrtl(0);
63221 return 0;
63223 _ACEOF
63224 if ac_fn_cxx_try_compile "$LINENO"; then :
63225 glibcxx_cv_func_sqrtl_use=yes
63226 else
63227 glibcxx_cv_func_sqrtl_use=no
63229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63230 ac_ext=c
63231 ac_cpp='$CPP $CPPFLAGS'
63232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
63241 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
63243 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
63244 for ac_func in sqrtl
63245 do :
63246 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
63247 if test "x$ac_cv_func_sqrtl" = x""yes; then :
63248 cat >>confdefs.h <<_ACEOF
63249 #define HAVE_SQRTL 1
63250 _ACEOF
63253 done
63255 else
63257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
63258 $as_echo_n "checking for _sqrtl declaration... " >&6; }
63259 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
63260 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
63261 $as_echo_n "(cached) " >&6
63262 else
63265 ac_ext=cpp
63266 ac_cpp='$CXXCPP $CPPFLAGS'
63267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63272 /* end confdefs.h. */
63273 #include <math.h>
63274 #ifdef HAVE_IEEEFP_H
63275 #include <ieeefp.h>
63276 #endif
63279 main ()
63281 _sqrtl(0);
63283 return 0;
63285 _ACEOF
63286 if ac_fn_cxx_try_compile "$LINENO"; then :
63287 glibcxx_cv_func__sqrtl_use=yes
63288 else
63289 glibcxx_cv_func__sqrtl_use=no
63291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63292 ac_ext=c
63293 ac_cpp='$CPP $CPPFLAGS'
63294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
63303 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
63305 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
63306 for ac_func in _sqrtl
63307 do :
63308 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
63309 if test "x$ac_cv_func__sqrtl" = x""yes; then :
63310 cat >>confdefs.h <<_ACEOF
63311 #define HAVE__SQRTL 1
63312 _ACEOF
63315 done
63324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
63325 $as_echo_n "checking for sincosl declaration... " >&6; }
63326 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
63327 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
63328 $as_echo_n "(cached) " >&6
63329 else
63332 ac_ext=cpp
63333 ac_cpp='$CXXCPP $CPPFLAGS'
63334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63339 /* end confdefs.h. */
63340 #include <math.h>
63342 main ()
63344 sincosl(0, 0, 0);
63346 return 0;
63348 _ACEOF
63349 if ac_fn_cxx_try_compile "$LINENO"; then :
63350 glibcxx_cv_func_sincosl_use=yes
63351 else
63352 glibcxx_cv_func_sincosl_use=no
63354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63355 ac_ext=c
63356 ac_cpp='$CPP $CPPFLAGS'
63357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
63366 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
63368 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
63369 for ac_func in sincosl
63370 do :
63371 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
63372 if test "x$ac_cv_func_sincosl" = x""yes; then :
63373 cat >>confdefs.h <<_ACEOF
63374 #define HAVE_SINCOSL 1
63375 _ACEOF
63378 done
63380 else
63382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
63383 $as_echo_n "checking for _sincosl declaration... " >&6; }
63384 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
63385 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
63386 $as_echo_n "(cached) " >&6
63387 else
63390 ac_ext=cpp
63391 ac_cpp='$CXXCPP $CPPFLAGS'
63392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63397 /* end confdefs.h. */
63398 #include <math.h>
63400 main ()
63402 _sincosl(0, 0, 0);
63404 return 0;
63406 _ACEOF
63407 if ac_fn_cxx_try_compile "$LINENO"; then :
63408 glibcxx_cv_func__sincosl_use=yes
63409 else
63410 glibcxx_cv_func__sincosl_use=no
63412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63413 ac_ext=c
63414 ac_cpp='$CPP $CPPFLAGS'
63415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
63424 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
63426 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
63427 for ac_func in _sincosl
63428 do :
63429 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
63430 if test "x$ac_cv_func__sincosl" = x""yes; then :
63431 cat >>confdefs.h <<_ACEOF
63432 #define HAVE__SINCOSL 1
63433 _ACEOF
63436 done
63445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
63446 $as_echo_n "checking for finitel declaration... " >&6; }
63447 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
63448 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
63449 $as_echo_n "(cached) " >&6
63450 else
63453 ac_ext=cpp
63454 ac_cpp='$CXXCPP $CPPFLAGS'
63455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63460 /* end confdefs.h. */
63461 #include <math.h>
63462 #ifdef HAVE_IEEEFP_H
63463 #include <ieeefp.h>
63464 #endif
63467 main ()
63469 finitel(0);
63471 return 0;
63473 _ACEOF
63474 if ac_fn_cxx_try_compile "$LINENO"; then :
63475 glibcxx_cv_func_finitel_use=yes
63476 else
63477 glibcxx_cv_func_finitel_use=no
63479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63480 ac_ext=c
63481 ac_cpp='$CPP $CPPFLAGS'
63482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
63491 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
63493 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
63494 for ac_func in finitel
63495 do :
63496 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
63497 if test "x$ac_cv_func_finitel" = x""yes; then :
63498 cat >>confdefs.h <<_ACEOF
63499 #define HAVE_FINITEL 1
63500 _ACEOF
63503 done
63505 else
63507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
63508 $as_echo_n "checking for _finitel declaration... " >&6; }
63509 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
63510 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
63511 $as_echo_n "(cached) " >&6
63512 else
63515 ac_ext=cpp
63516 ac_cpp='$CXXCPP $CPPFLAGS'
63517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63522 /* end confdefs.h. */
63523 #include <math.h>
63524 #ifdef HAVE_IEEEFP_H
63525 #include <ieeefp.h>
63526 #endif
63529 main ()
63531 _finitel(0);
63533 return 0;
63535 _ACEOF
63536 if ac_fn_cxx_try_compile "$LINENO"; then :
63537 glibcxx_cv_func__finitel_use=yes
63538 else
63539 glibcxx_cv_func__finitel_use=no
63541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63542 ac_ext=c
63543 ac_cpp='$CPP $CPPFLAGS'
63544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
63553 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
63555 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
63556 for ac_func in _finitel
63557 do :
63558 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
63559 if test "x$ac_cv_func__finitel" = x""yes; then :
63560 cat >>confdefs.h <<_ACEOF
63561 #define HAVE__FINITEL 1
63562 _ACEOF
63565 done
63573 LIBS="$ac_save_LIBS"
63574 CXXFLAGS="$ac_save_CXXFLAGS"
63577 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63578 ac_save_CXXFLAGS="$CXXFLAGS"
63579 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
63583 $as_echo_n "checking for strtold declaration... " >&6; }
63584 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63585 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
63586 $as_echo_n "(cached) " >&6
63587 else
63590 ac_ext=cpp
63591 ac_cpp='$CXXCPP $CPPFLAGS'
63592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63597 /* end confdefs.h. */
63598 #include <stdlib.h>
63600 main ()
63602 strtold(0, 0);
63604 return 0;
63606 _ACEOF
63607 if ac_fn_cxx_try_compile "$LINENO"; then :
63608 glibcxx_cv_func_strtold_use=yes
63609 else
63610 glibcxx_cv_func_strtold_use=no
63612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63613 ac_ext=c
63614 ac_cpp='$CPP $CPPFLAGS'
63615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
63624 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
63625 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63626 for ac_func in strtold
63627 do :
63628 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
63629 if test "x$ac_cv_func_strtold" = x""yes; then :
63630 cat >>confdefs.h <<_ACEOF
63631 #define HAVE_STRTOLD 1
63632 _ACEOF
63635 done
63642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
63643 $as_echo_n "checking for strtof declaration... " >&6; }
63644 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63645 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
63646 $as_echo_n "(cached) " >&6
63647 else
63650 ac_ext=cpp
63651 ac_cpp='$CXXCPP $CPPFLAGS'
63652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63657 /* end confdefs.h. */
63658 #include <stdlib.h>
63660 main ()
63662 strtof(0, 0);
63664 return 0;
63666 _ACEOF
63667 if ac_fn_cxx_try_compile "$LINENO"; then :
63668 glibcxx_cv_func_strtof_use=yes
63669 else
63670 glibcxx_cv_func_strtof_use=no
63672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63673 ac_ext=c
63674 ac_cpp='$CPP $CPPFLAGS'
63675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
63684 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
63685 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63686 for ac_func in strtof
63687 do :
63688 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
63689 if test "x$ac_cv_func_strtof" = x""yes; then :
63690 cat >>confdefs.h <<_ACEOF
63691 #define HAVE_STRTOF 1
63692 _ACEOF
63695 done
63702 CXXFLAGS="$ac_save_CXXFLAGS"
63705 *-solaris*)
63706 case "$target" in
63707 *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
63709 # If we're not using GNU ld, then there's no point in even trying these
63710 # tests. Check for that first. We should have already tested for gld
63711 # by now (in libtool), but require it now just to be safe...
63712 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63713 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63717 # The name set by libtool depends on the version of libtool. Shame on us
63718 # for depending on an impl detail, but c'est la vie. Older versions used
63719 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63720 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63721 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63722 # set (hence we're using an older libtool), then set it.
63723 if test x${with_gnu_ld+set} != xset; then
63724 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63725 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63726 with_gnu_ld=no
63727 else
63728 with_gnu_ld=$ac_cv_prog_gnu_ld
63732 # Start by getting the version number. I think the libtool test already
63733 # does some of this, but throws away the result.
63734 glibcxx_ld_is_gold=no
63735 if test x"$with_gnu_ld" = x"yes"; then
63736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63737 $as_echo_n "checking for ld version... " >&6; }
63739 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63740 glibcxx_ld_is_gold=yes
63742 ldver=`$LD --version 2>/dev/null |
63743 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'`
63745 glibcxx_gnu_ld_version=`echo $ldver | \
63746 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63748 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63751 # Set --gc-sections.
63752 glibcxx_have_gc_sections=no
63753 if test "$glibcxx_ld_is_gold" = "yes"; then
63754 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63755 glibcxx_have_gc_sections=yes
63757 else
63758 glibcxx_gcsections_min_ld=21602
63759 if test x"$with_gnu_ld" = x"yes" &&
63760 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63761 glibcxx_have_gc_sections=yes
63764 if test "$glibcxx_have_gc_sections" = "yes"; then
63765 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63766 # NB: This flag only works reliably after 2.16.1. Configure tests
63767 # for this are difficult, so hard wire a value that should work.
63769 ac_test_CFLAGS="${CFLAGS+set}"
63770 ac_save_CFLAGS="$CFLAGS"
63771 CFLAGS='-Wl,--gc-sections'
63773 # Check for -Wl,--gc-sections
63774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63775 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63776 if test x$gcc_no_link = xyes; then
63777 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63780 /* end confdefs.h. */
63781 int one(void) { return 1; }
63782 int two(void) { return 2; }
63785 main ()
63787 two();
63789 return 0;
63791 _ACEOF
63792 if ac_fn_c_try_link "$LINENO"; then :
63793 ac_gcsections=yes
63794 else
63795 ac_gcsections=no
63797 rm -f core conftest.err conftest.$ac_objext \
63798 conftest$ac_exeext conftest.$ac_ext
63799 if test "$ac_gcsections" = "yes"; then
63800 rm -f conftest.c
63801 touch conftest.c
63802 if $CC -c conftest.c; then
63803 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63804 grep "Warning: gc-sections option ignored" > /dev/null; then
63805 ac_gcsections=no
63808 rm -f conftest.c conftest.o conftest
63810 if test "$ac_gcsections" = "yes"; then
63811 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63814 $as_echo "$ac_gcsections" >&6; }
63816 if test "$ac_test_CFLAGS" = set; then
63817 CFLAGS="$ac_save_CFLAGS"
63818 else
63819 # this is the suspicious part
63820 CFLAGS=''
63824 # Set -z,relro.
63825 # Note this is only for shared objects.
63826 ac_ld_relro=no
63827 if test x"$with_gnu_ld" = x"yes"; then
63828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63829 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63830 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63831 if test -n "$cxx_z_relo"; then
63832 OPT_LDFLAGS="-Wl,-z,relro"
63833 ac_ld_relro=yes
63835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63836 $as_echo "$ac_ld_relro" >&6; }
63839 # Set linker optimization flags.
63840 if test x"$with_gnu_ld" = x"yes"; then
63841 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63847 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
63849 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63851 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
63853 # All of the dependencies for wide character support are here, so
63854 # turn it on.
63855 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
63858 esac
63859 case "$target" in
63860 *-*-solaris2.10)
63861 # These two C99 functions are present only in Solaris >= 10
63862 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
63864 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
63867 esac
63868 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63870 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63872 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
63874 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63877 *-tpf)
63878 SECTION_FLAGS='-ffunction-sections -fdata-sections'
63881 # If we're not using GNU ld, then there's no point in even trying these
63882 # tests. Check for that first. We should have already tested for gld
63883 # by now (in libtool), but require it now just to be safe...
63884 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63885 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63889 # The name set by libtool depends on the version of libtool. Shame on us
63890 # for depending on an impl detail, but c'est la vie. Older versions used
63891 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63892 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63893 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63894 # set (hence we're using an older libtool), then set it.
63895 if test x${with_gnu_ld+set} != xset; then
63896 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63897 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63898 with_gnu_ld=no
63899 else
63900 with_gnu_ld=$ac_cv_prog_gnu_ld
63904 # Start by getting the version number. I think the libtool test already
63905 # does some of this, but throws away the result.
63906 glibcxx_ld_is_gold=no
63907 if test x"$with_gnu_ld" = x"yes"; then
63908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63909 $as_echo_n "checking for ld version... " >&6; }
63911 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63912 glibcxx_ld_is_gold=yes
63914 ldver=`$LD --version 2>/dev/null |
63915 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'`
63917 glibcxx_gnu_ld_version=`echo $ldver | \
63918 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63920 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63923 # Set --gc-sections.
63924 glibcxx_have_gc_sections=no
63925 if test "$glibcxx_ld_is_gold" = "yes"; then
63926 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63927 glibcxx_have_gc_sections=yes
63929 else
63930 glibcxx_gcsections_min_ld=21602
63931 if test x"$with_gnu_ld" = x"yes" &&
63932 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63933 glibcxx_have_gc_sections=yes
63936 if test "$glibcxx_have_gc_sections" = "yes"; then
63937 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63938 # NB: This flag only works reliably after 2.16.1. Configure tests
63939 # for this are difficult, so hard wire a value that should work.
63941 ac_test_CFLAGS="${CFLAGS+set}"
63942 ac_save_CFLAGS="$CFLAGS"
63943 CFLAGS='-Wl,--gc-sections'
63945 # Check for -Wl,--gc-sections
63946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63947 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63948 if test x$gcc_no_link = xyes; then
63949 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63952 /* end confdefs.h. */
63953 int one(void) { return 1; }
63954 int two(void) { return 2; }
63957 main ()
63959 two();
63961 return 0;
63963 _ACEOF
63964 if ac_fn_c_try_link "$LINENO"; then :
63965 ac_gcsections=yes
63966 else
63967 ac_gcsections=no
63969 rm -f core conftest.err conftest.$ac_objext \
63970 conftest$ac_exeext conftest.$ac_ext
63971 if test "$ac_gcsections" = "yes"; then
63972 rm -f conftest.c
63973 touch conftest.c
63974 if $CC -c conftest.c; then
63975 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63976 grep "Warning: gc-sections option ignored" > /dev/null; then
63977 ac_gcsections=no
63980 rm -f conftest.c conftest.o conftest
63982 if test "$ac_gcsections" = "yes"; then
63983 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63986 $as_echo "$ac_gcsections" >&6; }
63988 if test "$ac_test_CFLAGS" = set; then
63989 CFLAGS="$ac_save_CFLAGS"
63990 else
63991 # this is the suspicious part
63992 CFLAGS=''
63996 # Set -z,relro.
63997 # Note this is only for shared objects.
63998 ac_ld_relro=no
63999 if test x"$with_gnu_ld" = x"yes"; then
64000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
64001 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
64002 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
64003 if test -n "$cxx_z_relo"; then
64004 OPT_LDFLAGS="-Wl,-z,relro"
64005 ac_ld_relro=yes
64007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
64008 $as_echo "$ac_ld_relro" >&6; }
64011 # Set linker optimization flags.
64012 if test x"$with_gnu_ld" = x"yes"; then
64013 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
64019 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64021 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
64023 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
64025 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
64027 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
64029 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
64031 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64033 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64035 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
64037 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
64039 if test x"long_double_math_on_this_cpu" = x"yes"; then
64040 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
64042 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
64044 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
64046 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
64050 *-vxworks)
64051 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
64053 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
64055 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
64057 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
64059 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
64061 $as_echo "#define HAVE_COSF 1" >>confdefs.h
64063 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
64065 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
64067 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
64069 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
64071 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
64073 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
64075 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
64077 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
64079 $as_echo "#define HAVE_POWF 1" >>confdefs.h
64081 $as_echo "#define HAVE_SINF 1" >>confdefs.h
64083 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
64085 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
64087 $as_echo "#define HAVE_TANF 1" >>confdefs.h
64089 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
64093 as_fn_error "No support for this host/target combination." "$LINENO" 5
64095 esac
64099 # At some point, we should differentiate between architectures
64100 # like x86, which have long double versions, and alpha/powerpc/etc.,
64101 # which don't. For the time being, punt.
64102 if test x"long_double_math_on_this_cpu" = x"yes"; then
64103 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
64105 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
64107 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
64109 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
64111 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
64113 $as_echo "#define HAVE_COSL 1" >>confdefs.h
64115 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
64117 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
64119 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
64121 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
64123 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
64125 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
64127 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
64129 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
64131 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
64133 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
64135 $as_echo "#define HAVE_POWL 1" >>confdefs.h
64137 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
64139 $as_echo "#define HAVE_SINL 1" >>confdefs.h
64141 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
64143 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
64145 $as_echo "#define HAVE_TANL 1" >>confdefs.h
64147 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
64152 # Check for _Unwind_GetIPInfo.
64155 # Check whether --with-system-libunwind was given.
64156 if test "${with_system_libunwind+set}" = set; then :
64157 withval=$with_system_libunwind;
64160 # If system-libunwind was not specifically set, pick a default setting.
64161 if test x$with_system_libunwind = x; then
64162 case ${target} in
64163 ia64-*-hpux*) with_system_libunwind=yes ;;
64164 *) with_system_libunwind=no ;;
64165 esac
64167 # Based on system-libunwind and target, do we have ipinfo?
64168 if test x$with_system_libunwind = xyes; then
64169 case ${target} in
64170 ia64-*-*) have_unwind_getipinfo=no ;;
64171 *) have_unwind_getipinfo=yes ;;
64172 esac
64173 else
64174 # Darwin before version 9 does not have _Unwind_GetIPInfo.
64176 case ${target} in
64177 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
64178 *) have_unwind_getipinfo=yes ;;
64179 esac
64183 if test x$have_unwind_getipinfo = xyes; then
64185 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
64190 # Check whether --enable-linux-futex was given.
64191 if test "${enable_linux_futex+set}" = set; then :
64192 enableval=$enable_linux_futex;
64193 case "$enableval" in
64194 yes|no|default) ;;
64195 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
64196 esac
64198 else
64199 enable_linux_futex=default
64203 case "$target" in
64204 *-linux*)
64205 case "$enable_linux_futex" in
64206 default)
64207 # If headers don't have gettid/futex syscalls definition, then
64208 # default to no, otherwise there will be compile time failures.
64209 # Otherwise, default to yes. If we don't detect we are
64210 # compiled/linked against NPTL and not cross-compiling, check
64211 # if programs are run by default against NPTL and if not, issue
64212 # a warning.
64213 enable_linux_futex=no
64214 if test x$gcc_no_link = xyes; then
64215 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64218 /* end confdefs.h. */
64219 #include <sys/syscall.h>
64220 int lk;
64222 main ()
64224 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
64226 return 0;
64228 _ACEOF
64229 if ac_fn_c_try_link "$LINENO"; then :
64230 save_LIBS="$LIBS"
64231 LIBS="-lpthread $LIBS"
64232 if test x$gcc_no_link = xyes; then
64233 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64236 /* end confdefs.h. */
64237 #ifndef _GNU_SOURCE
64238 #define _GNU_SOURCE 1
64239 #endif
64240 #include <pthread.h>
64241 pthread_t th; void *status;
64243 main ()
64245 pthread_tryjoin_np (th, &status);
64247 return 0;
64249 _ACEOF
64250 if ac_fn_c_try_link "$LINENO"; then :
64251 enable_linux_futex=yes
64252 else
64253 if test x$cross_compiling = xno; then
64254 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
64255 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
64256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
64257 If so, please configure with --disable-linux-futex" >&5
64258 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
64259 If so, please configure with --disable-linux-futex" >&2;}
64262 enable_linux_futex=yes
64264 rm -f core conftest.err conftest.$ac_objext \
64265 conftest$ac_exeext conftest.$ac_ext
64266 LIBS="$save_LIBS"
64268 rm -f core conftest.err conftest.$ac_objext \
64269 conftest$ac_exeext conftest.$ac_ext
64271 yes)
64272 if test x$gcc_no_link = xyes; then
64273 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64276 /* end confdefs.h. */
64277 #include <sys/syscall.h>
64278 int lk;
64280 main ()
64282 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
64284 return 0;
64286 _ACEOF
64287 if ac_fn_c_try_link "$LINENO"; then :
64289 else
64290 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
64292 rm -f core conftest.err conftest.$ac_objext \
64293 conftest$ac_exeext conftest.$ac_ext
64295 esac
64298 enable_linux_futex=no
64300 esac
64301 if test x$enable_linux_futex = xyes; then
64303 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
64310 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
64312 acx_cv_header_stdint=stddef.h
64313 acx_cv_header_stdint_kind="(already complete)"
64314 for i in stdint.h $inttype_headers; do
64315 unset ac_cv_type_uintptr_t
64316 unset ac_cv_type_uintmax_t
64317 unset ac_cv_type_int_least32_t
64318 unset ac_cv_type_int_fast32_t
64319 unset ac_cv_type_uint64_t
64320 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
64321 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
64322 #include <$i>
64324 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
64325 acx_cv_header_stdint=$i
64326 else
64327 continue
64330 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
64331 #include <$i>
64333 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
64335 else
64336 acx_cv_header_stdint_kind="(mostly complete)"
64339 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
64340 #include <$i>
64342 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
64344 else
64345 acx_cv_header_stdint_kind="(mostly complete)"
64348 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
64349 #include <$i>
64351 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
64353 else
64354 acx_cv_header_stdint_kind="(mostly complete)"
64357 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
64358 #include <$i>
64360 if test "x$ac_cv_type_uint64_t" = x""yes; then :
64362 else
64363 acx_cv_header_stdint_kind="(lacks uint64_t)"
64366 break
64367 done
64368 if test "$acx_cv_header_stdint" = stddef.h; then
64369 acx_cv_header_stdint_kind="(lacks uintmax_t)"
64370 for i in stdint.h $inttype_headers; do
64371 unset ac_cv_type_uintptr_t
64372 unset ac_cv_type_uint32_t
64373 unset ac_cv_type_uint64_t
64374 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
64375 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
64376 #include <$i>
64378 if test "x$ac_cv_type_uint32_t" = x""yes; then :
64379 acx_cv_header_stdint=$i
64380 else
64381 continue
64384 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
64385 #include <$i>
64387 if test "x$ac_cv_type_uint64_t" = x""yes; then :
64391 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
64392 #include <$i>
64394 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
64398 break
64399 done
64401 if test "$acx_cv_header_stdint" = stddef.h; then
64402 acx_cv_header_stdint_kind="(u_intXX_t style)"
64403 for i in sys/types.h $inttype_headers; do
64404 unset ac_cv_type_u_int32_t
64405 unset ac_cv_type_u_int64_t
64406 $as_echo_n "looking for u_intXX_t types in $i, " >&6
64407 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
64408 #include <$i>
64410 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
64411 acx_cv_header_stdint=$i
64412 else
64413 continue
64416 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
64417 #include <$i>
64419 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
64423 break
64424 done
64426 if test "$acx_cv_header_stdint" = stddef.h; then
64427 acx_cv_header_stdint_kind="(using manual detection)"
64430 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
64431 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
64432 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
64433 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
64434 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
64436 # ----------------- Summarize what we found so far
64438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
64439 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
64441 case `$as_basename -- include/gstdint.h ||
64442 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
64443 Xinclude/gstdint.h : 'X\(//\)$' \| \
64444 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
64445 $as_echo X/include/gstdint.h |
64446 sed '/^.*\/\([^/][^/]*\)\/*$/{
64447 s//\1/
64450 /^X\/\(\/\/\)$/{
64451 s//\1/
64454 /^X\/\(\/\).*/{
64455 s//\1/
64458 s/.*/./; q'` in
64459 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
64460 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
64461 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
64462 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
64463 *) ;;
64464 esac
64466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
64467 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
64469 # ----------------- done included file, check C basic types --------
64471 # Lacking an uintptr_t? Test size of void *
64472 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
64473 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
64474 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64475 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64476 # This bug is HP SR number 8606223364.
64477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
64478 $as_echo_n "checking size of void *... " >&6; }
64479 if test "${ac_cv_sizeof_void_p+set}" = set; then :
64480 $as_echo_n "(cached) " >&6
64481 else
64482 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
64484 else
64485 if test "$ac_cv_type_void_p" = yes; then
64486 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64487 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64488 { as_fn_set_status 77
64489 as_fn_error "cannot compute sizeof (void *)
64490 See \`config.log' for more details." "$LINENO" 5; }; }
64491 else
64492 ac_cv_sizeof_void_p=0
64497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
64498 $as_echo "$ac_cv_sizeof_void_p" >&6; }
64502 cat >>confdefs.h <<_ACEOF
64503 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
64504 _ACEOF
64507 esac
64509 # Lacking an uint64_t? Test size of long
64510 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
64511 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
64512 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64513 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64514 # This bug is HP SR number 8606223364.
64515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
64516 $as_echo_n "checking size of long... " >&6; }
64517 if test "${ac_cv_sizeof_long+set}" = set; then :
64518 $as_echo_n "(cached) " >&6
64519 else
64520 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
64522 else
64523 if test "$ac_cv_type_long" = yes; then
64524 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64525 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64526 { as_fn_set_status 77
64527 as_fn_error "cannot compute sizeof (long)
64528 See \`config.log' for more details." "$LINENO" 5; }; }
64529 else
64530 ac_cv_sizeof_long=0
64535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
64536 $as_echo "$ac_cv_sizeof_long" >&6; }
64540 cat >>confdefs.h <<_ACEOF
64541 #define SIZEOF_LONG $ac_cv_sizeof_long
64542 _ACEOF
64545 esac
64547 if test $acx_cv_header_stdint = stddef.h; then
64548 # Lacking a good header? Test size of everything and deduce all types.
64549 # The cast to long int works around a bug in the HP C Compiler
64550 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64551 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64552 # This bug is HP SR number 8606223364.
64553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
64554 $as_echo_n "checking size of int... " >&6; }
64555 if test "${ac_cv_sizeof_int+set}" = set; then :
64556 $as_echo_n "(cached) " >&6
64557 else
64558 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
64560 else
64561 if test "$ac_cv_type_int" = yes; then
64562 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64563 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64564 { as_fn_set_status 77
64565 as_fn_error "cannot compute sizeof (int)
64566 See \`config.log' for more details." "$LINENO" 5; }; }
64567 else
64568 ac_cv_sizeof_int=0
64573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
64574 $as_echo "$ac_cv_sizeof_int" >&6; }
64578 cat >>confdefs.h <<_ACEOF
64579 #define SIZEOF_INT $ac_cv_sizeof_int
64580 _ACEOF
64583 # The cast to long int works around a bug in the HP C Compiler
64584 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64585 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64586 # This bug is HP SR number 8606223364.
64587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
64588 $as_echo_n "checking size of short... " >&6; }
64589 if test "${ac_cv_sizeof_short+set}" = set; then :
64590 $as_echo_n "(cached) " >&6
64591 else
64592 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
64594 else
64595 if test "$ac_cv_type_short" = yes; then
64596 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64597 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64598 { as_fn_set_status 77
64599 as_fn_error "cannot compute sizeof (short)
64600 See \`config.log' for more details." "$LINENO" 5; }; }
64601 else
64602 ac_cv_sizeof_short=0
64607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
64608 $as_echo "$ac_cv_sizeof_short" >&6; }
64612 cat >>confdefs.h <<_ACEOF
64613 #define SIZEOF_SHORT $ac_cv_sizeof_short
64614 _ACEOF
64617 # The cast to long int works around a bug in the HP C Compiler
64618 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64619 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64620 # This bug is HP SR number 8606223364.
64621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
64622 $as_echo_n "checking size of char... " >&6; }
64623 if test "${ac_cv_sizeof_char+set}" = set; then :
64624 $as_echo_n "(cached) " >&6
64625 else
64626 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
64628 else
64629 if test "$ac_cv_type_char" = yes; then
64630 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64631 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64632 { as_fn_set_status 77
64633 as_fn_error "cannot compute sizeof (char)
64634 See \`config.log' for more details." "$LINENO" 5; }; }
64635 else
64636 ac_cv_sizeof_char=0
64641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
64642 $as_echo "$ac_cv_sizeof_char" >&6; }
64646 cat >>confdefs.h <<_ACEOF
64647 #define SIZEOF_CHAR $ac_cv_sizeof_char
64648 _ACEOF
64652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
64653 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
64654 case "$ac_cv_sizeof_char" in
64655 1) acx_cv_type_int8_t=char ;;
64656 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
64657 esac
64658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
64659 $as_echo "$acx_cv_type_int8_t" >&6; }
64661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
64662 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
64663 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
64664 2:*) acx_cv_type_int16_t=int ;;
64665 *:2) acx_cv_type_int16_t=short ;;
64666 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
64667 esac
64668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
64669 $as_echo "$acx_cv_type_int16_t" >&6; }
64671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
64672 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
64673 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
64674 4:*) acx_cv_type_int32_t=int ;;
64675 *:4) acx_cv_type_int32_t=long ;;
64676 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
64677 esac
64678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
64679 $as_echo "$acx_cv_type_int32_t" >&6; }
64682 # These tests are here to make the output prettier
64684 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
64685 case "$ac_cv_sizeof_long" in
64686 8) acx_cv_type_int64_t=long ;;
64687 esac
64688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
64689 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
64690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
64691 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
64694 # Now we can use the above types
64696 if test "$ac_cv_type_uintptr_t" != yes; then
64697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
64698 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
64699 case $ac_cv_sizeof_void_p in
64700 2) acx_cv_type_intptr_t=int16_t ;;
64701 4) acx_cv_type_intptr_t=int32_t ;;
64702 8) acx_cv_type_intptr_t=int64_t ;;
64703 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
64704 esac
64705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
64706 $as_echo "$acx_cv_type_intptr_t" >&6; }
64709 # ----------------- done all checks, emit header -------------
64710 ac_config_commands="$ac_config_commands include/gstdint.h"
64716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
64717 $as_echo_n "checking for GNU c++filt... " >&6; }
64718 if test "${ac_cv_path_CXXFILT+set}" = set; then :
64719 $as_echo_n "(cached) " >&6
64720 else
64721 if test -z "$CXXFILT"; then
64722 ac_path_CXXFILT_found=false
64723 # Loop through the user's path and test for each of PROGNAME-LIST
64724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64725 for as_dir in $PATH
64727 IFS=$as_save_IFS
64728 test -z "$as_dir" && as_dir=.
64729 for ac_prog in c++filt gc++filt; do
64730 for ac_exec_ext in '' $ac_executable_extensions; do
64731 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
64732 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
64733 # Check for GNU $ac_path_CXXFILT
64734 case `"$ac_path_CXXFILT" --version 2>&1` in
64735 *GNU*)
64736 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
64737 esac
64739 $ac_path_CXXFILT_found && break 3
64740 done
64741 done
64742 done
64743 IFS=$as_save_IFS
64744 if test -z "$ac_cv_path_CXXFILT"; then
64747 else
64748 ac_cv_path_CXXFILT=$CXXFILT
64752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
64753 $as_echo "$ac_cv_path_CXXFILT" >&6; }
64754 CXXFILT=$ac_cv_path_CXXFILT
64758 # Check whether --enable-symvers was given.
64759 if test "${enable_symvers+set}" = set; then :
64760 enableval=$enable_symvers;
64761 case "$enableval" in
64762 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
64763 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
64764 esac
64766 else
64767 enable_symvers=yes
64772 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
64773 # don't know enough about $LD to do tricks...
64775 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
64776 # with extern "C++" in version scripts.
64779 # Turn a 'yes' into a suitable default.
64780 if test x$enable_symvers = xyes ; then
64781 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
64782 enable_symvers=no
64783 else
64784 if test $with_gnu_ld = yes ; then
64785 case ${target_os} in
64786 hpux*)
64787 enable_symvers=no ;;
64789 enable_symvers=gnu ;;
64790 esac
64791 else
64792 case ${target_os} in
64793 darwin*)
64794 enable_symvers=darwin ;;
64795 # Sun symbol versioning exists since Solaris 2.5.
64796 solaris2.[5-9]* | solaris2.1[0-9]*)
64797 # make_sunver.pl needs GNU c++filt to support extern "C++" in
64798 # version scripts, so disable symbol versioning if none can be
64799 # found.
64800 if test -z "$ac_cv_path_CXXFILT"; then
64801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64802 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
64804 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
64805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64806 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64807 enable_symvers=no
64808 else
64809 enable_symvers=sun
64813 enable_symvers=no ;;
64814 esac
64819 # Check to see if 'darwin' or 'darwin-export' can win.
64820 if test x$enable_symvers = xdarwin-export ; then
64821 enable_symvers=darwin
64824 # Check if 'sun' was requested on non-Solaris 2 platforms.
64825 if test x$enable_symvers = xsun ; then
64826 case ${target_os} in
64827 solaris2*)
64828 # All fine.
64831 # Unlikely to work.
64832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64833 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
64835 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
64836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64837 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64838 enable_symvers=no
64840 esac
64843 # Check to see if 'gnu' can win.
64844 if test $enable_symvers = gnu ||
64845 test $enable_symvers = gnu-versioned-namespace ||
64846 test $enable_symvers = sun; then
64847 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
64848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
64849 $as_echo_n "checking for shared libgcc... " >&6; }
64850 ac_save_CFLAGS="$CFLAGS"
64851 CFLAGS=' -lgcc_s'
64852 if test x$gcc_no_link = xyes; then
64853 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64856 /* end confdefs.h. */
64859 main ()
64861 return 0;
64863 return 0;
64865 _ACEOF
64866 if ac_fn_c_try_link "$LINENO"; then :
64867 glibcxx_shared_libgcc=yes
64868 else
64869 glibcxx_shared_libgcc=no
64871 rm -f core conftest.err conftest.$ac_objext \
64872 conftest$ac_exeext conftest.$ac_ext
64873 CFLAGS="$ac_save_CFLAGS"
64874 if test $glibcxx_shared_libgcc = no; then
64875 cat > conftest.c <<EOF
64876 int main (void) { return 0; }
64878 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
64879 -shared -shared-libgcc -o conftest.so \
64880 conftest.c -v 2>&1 >/dev/null \
64881 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
64882 rm -f conftest.c conftest.so
64883 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
64884 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
64885 if test x$gcc_no_link = xyes; then
64886 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64889 /* end confdefs.h. */
64892 main ()
64894 return 0;
64896 return 0;
64898 _ACEOF
64899 if ac_fn_c_try_link "$LINENO"; then :
64900 glibcxx_shared_libgcc=yes
64902 rm -f core conftest.err conftest.$ac_objext \
64903 conftest$ac_exeext conftest.$ac_ext
64904 CFLAGS="$ac_save_CFLAGS"
64907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
64908 $as_echo "$glibcxx_shared_libgcc" >&6; }
64910 # For GNU ld, we need at least this version. The format is described in
64911 # GLIBCXX_CHECK_LINKER_FEATURES above.
64912 glibcxx_min_gnu_ld_version=21400
64914 # If no shared libgcc, can't win.
64915 if test $glibcxx_shared_libgcc != yes; then
64916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64917 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
64919 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
64920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64921 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64922 enable_symvers=no
64923 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
64924 : All interesting versions of Sun ld support sun style symbol versioning.
64925 elif test $with_gnu_ld != yes ; then
64926 # just fail for now
64927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64928 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
64930 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
64931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64932 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64933 enable_symvers=no
64934 elif test $glibcxx_ld_is_gold = yes ; then
64935 : All versions of gold support symbol versioning.
64936 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
64937 # The right tools, the right setup, but too old. Fallbacks?
64938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
64939 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
64940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
64941 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
64942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
64943 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
64944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
64945 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
64946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64947 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64948 enable_symvers=no
64952 # For libtool versioning info, format is CURRENT:REVISION:AGE
64953 libtool_VERSION=6:17:0
64955 # Everything parsed; figure out what files and settings to use.
64956 case $enable_symvers in
64958 SYMVER_FILE=config/abi/pre/none.ver
64960 gnu)
64961 SYMVER_FILE=config/abi/pre/gnu.ver
64963 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
64966 gnu-versioned-namespace)
64967 libtool_VERSION=7:0:0
64968 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
64970 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
64973 darwin)
64974 SYMVER_FILE=config/abi/pre/gnu.ver
64976 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
64979 sun)
64980 SYMVER_FILE=config/abi/pre/gnu.ver
64982 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
64985 esac
64987 if test x$enable_symvers != xno ; then
64989 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
64993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
64994 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
64995 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
64996 $as_echo_n "(cached) " >&6
64997 else
64999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65000 /* end confdefs.h. */
65001 void foo (void); __asm (".symver foo, bar@SYMVER");
65003 main ()
65007 return 0;
65009 _ACEOF
65010 if ac_fn_c_try_compile "$LINENO"; then :
65011 glibcxx_cv_have_as_symver_directive=yes
65012 else
65013 glibcxx_cv_have_as_symver_directive=no
65015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
65018 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
65019 if test $glibcxx_cv_have_as_symver_directive = yes; then
65021 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
65032 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
65033 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
65035 if test $enable_symvers != no ; then
65036 case ${target_os} in
65037 # The Solaris 2 runtime linker doesn't support the GNU extension of
65038 # binding the same symbol to different versions
65039 solaris2*)
65040 symvers_renaming=no ;;
65041 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
65044 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
65046 symvers_renaming=yes ;;
65047 esac
65048 else
65049 symvers_renaming=no
65053 # Now, set up compatibility support, if any.
65054 # In addition, need this to deal with std::size_t mangling in
65055 # src/compatibility.cc. In a perfect world, could use
65056 # typeid(std::size_t).name()[0] to do direct substitution.
65057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
65058 $as_echo_n "checking for size_t as unsigned int... " >&6; }
65059 ac_save_CFLAGS="$CFLAGS"
65060 CFLAGS="-Werror"
65061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65062 /* end confdefs.h. */
65065 main ()
65067 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
65069 return 0;
65071 _ACEOF
65072 if ac_fn_c_try_compile "$LINENO"; then :
65073 glibcxx_size_t_is_i=yes
65074 else
65075 glibcxx_size_t_is_i=no
65077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65078 CFLAGS=$ac_save_CFLAGS
65079 if test "$glibcxx_size_t_is_i" = yes; then
65081 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
65084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
65085 $as_echo "$glibcxx_size_t_is_i" >&6; }
65087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
65088 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
65089 ac_save_CFLAGS="$CFLAGS"
65090 CFLAGS="-Werror"
65091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65092 /* end confdefs.h. */
65095 main ()
65097 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
65099 return 0;
65101 _ACEOF
65102 if ac_fn_c_try_compile "$LINENO"; then :
65103 glibcxx_ptrdiff_t_is_i=yes
65104 else
65105 glibcxx_ptrdiff_t_is_i=no
65107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65108 CFLAGS=$ac_save_CFLAGS
65109 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
65111 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
65114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
65115 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
65120 # Check whether --enable-libstdcxx-visibility was given.
65121 if test "${enable_libstdcxx_visibility+set}" = set; then :
65122 enableval=$enable_libstdcxx_visibility;
65123 case "$enableval" in
65124 yes|no) ;;
65125 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
65126 esac
65128 else
65129 enable_libstdcxx_visibility=yes
65134 if test x$enable_libstdcxx_visibility = xyes ; then
65135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
65136 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
65137 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
65138 $as_echo_n "(cached) " >&6
65139 else
65141 save_CFLAGS="$CFLAGS"
65142 CFLAGS="$CFLAGS -Werror"
65143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65144 /* end confdefs.h. */
65145 void __attribute__((visibility("hidden"))) foo(void) { }
65147 main ()
65151 return 0;
65153 _ACEOF
65154 if ac_fn_c_try_compile "$LINENO"; then :
65155 glibcxx_cv_have_attribute_visibility=yes
65156 else
65157 glibcxx_cv_have_attribute_visibility=no
65159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65160 CFLAGS="$save_CFLAGS"
65162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
65163 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
65164 if test $glibcxx_cv_have_attribute_visibility = no; then
65165 enable_libstdcxx_visibility=no
65170 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
65171 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
65174 ac_ldbl_compat=no
65175 case "$target" in
65176 powerpc*-*-linux* | \
65177 sparc*-*-linux* | \
65178 s390*-*-linux* | \
65179 alpha*-*-linux*)
65180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65181 /* end confdefs.h. */
65184 main ()
65187 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
65188 #error no need for long double compatibility
65189 #endif
65192 return 0;
65194 _ACEOF
65195 if ac_fn_c_try_compile "$LINENO"; then :
65196 ac_ldbl_compat=yes
65197 else
65198 ac_ldbl_compat=no
65200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65201 if test "$ac_ldbl_compat" = yes; then
65203 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
65205 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
65207 esac
65210 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
65212 if $GLIBCXX_IS_NATIVE ; then
65213 # Do checks for resource limit functions.
65215 setrlimit_have_headers=yes
65216 for ac_header in unistd.h sys/time.h sys/resource.h
65217 do :
65218 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
65219 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
65220 eval as_val=\$$as_ac_Header
65221 if test "x$as_val" = x""yes; then :
65222 cat >>confdefs.h <<_ACEOF
65223 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
65224 _ACEOF
65226 else
65227 setrlimit_have_headers=no
65230 done
65232 # If don't have the headers, then we can't run the tests now, and we
65233 # won't be seeing any of these during testsuite compilation.
65234 if test $setrlimit_have_headers = yes; then
65235 # Can't do these in a loop, else the resulting syntax is wrong.
65237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
65238 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
65239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65240 /* end confdefs.h. */
65241 #include <unistd.h>
65242 #include <sys/time.h>
65243 #include <sys/resource.h>
65246 main ()
65248 int f = RLIMIT_DATA ;
65250 return 0;
65252 _ACEOF
65253 if ac_fn_c_try_compile "$LINENO"; then :
65254 glibcxx_mresult=1
65255 else
65256 glibcxx_mresult=0
65258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65260 cat >>confdefs.h <<_ACEOF
65261 #define HAVE_LIMIT_DATA $glibcxx_mresult
65262 _ACEOF
65264 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65266 $as_echo "$res" >&6; }
65269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
65270 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
65271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65272 /* end confdefs.h. */
65273 #include <unistd.h>
65274 #include <sys/time.h>
65275 #include <sys/resource.h>
65278 main ()
65280 int f = RLIMIT_RSS ;
65282 return 0;
65284 _ACEOF
65285 if ac_fn_c_try_compile "$LINENO"; then :
65286 glibcxx_mresult=1
65287 else
65288 glibcxx_mresult=0
65290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65292 cat >>confdefs.h <<_ACEOF
65293 #define HAVE_LIMIT_RSS $glibcxx_mresult
65294 _ACEOF
65296 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65298 $as_echo "$res" >&6; }
65301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
65302 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
65303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65304 /* end confdefs.h. */
65305 #include <unistd.h>
65306 #include <sys/time.h>
65307 #include <sys/resource.h>
65310 main ()
65312 int f = RLIMIT_VMEM ;
65314 return 0;
65316 _ACEOF
65317 if ac_fn_c_try_compile "$LINENO"; then :
65318 glibcxx_mresult=1
65319 else
65320 glibcxx_mresult=0
65322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65324 cat >>confdefs.h <<_ACEOF
65325 #define HAVE_LIMIT_VMEM $glibcxx_mresult
65326 _ACEOF
65328 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65330 $as_echo "$res" >&6; }
65333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
65334 $as_echo_n "checking for RLIMIT_AS... " >&6; }
65335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65336 /* end confdefs.h. */
65337 #include <unistd.h>
65338 #include <sys/time.h>
65339 #include <sys/resource.h>
65342 main ()
65344 int f = RLIMIT_AS ;
65346 return 0;
65348 _ACEOF
65349 if ac_fn_c_try_compile "$LINENO"; then :
65350 glibcxx_mresult=1
65351 else
65352 glibcxx_mresult=0
65354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65356 cat >>confdefs.h <<_ACEOF
65357 #define HAVE_LIMIT_AS $glibcxx_mresult
65358 _ACEOF
65360 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65362 $as_echo "$res" >&6; }
65365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
65366 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
65367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65368 /* end confdefs.h. */
65369 #include <unistd.h>
65370 #include <sys/time.h>
65371 #include <sys/resource.h>
65374 main ()
65376 int f = RLIMIT_FSIZE ;
65378 return 0;
65380 _ACEOF
65381 if ac_fn_c_try_compile "$LINENO"; then :
65382 glibcxx_mresult=1
65383 else
65384 glibcxx_mresult=0
65386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65388 cat >>confdefs.h <<_ACEOF
65389 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
65390 _ACEOF
65392 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65394 $as_echo "$res" >&6; }
65397 # Check for rlimit, setrlimit.
65398 if test "${glibcxx_cv_setrlimit+set}" = set; then :
65399 $as_echo_n "(cached) " >&6
65400 else
65402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65403 /* end confdefs.h. */
65404 #include <unistd.h>
65405 #include <sys/time.h>
65406 #include <sys/resource.h>
65409 main ()
65411 struct rlimit r;
65412 setrlimit(0, &r);
65414 return 0;
65416 _ACEOF
65417 if ac_fn_c_try_compile "$LINENO"; then :
65418 glibcxx_cv_setrlimit=yes
65419 else
65420 glibcxx_cv_setrlimit=no
65422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
65429 $as_echo_n "checking for testsuite resource limits support... " >&6; }
65430 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
65431 ac_res_limits=yes
65433 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
65435 else
65436 ac_res_limits=no
65438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
65439 $as_echo "$ac_res_limits" >&6; }
65442 # Look for setenv, so that extended locale tests can be performed.
65444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
65445 $as_echo_n "checking for setenv declaration... " >&6; }
65446 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
65447 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
65448 $as_echo_n "(cached) " >&6
65449 else
65452 ac_ext=cpp
65453 ac_cpp='$CXXCPP $CPPFLAGS'
65454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65459 /* end confdefs.h. */
65460 #include <stdlib.h>
65462 main ()
65464 setenv(0, 0, 0);
65466 return 0;
65468 _ACEOF
65469 if ac_fn_cxx_try_compile "$LINENO"; then :
65470 glibcxx_cv_func_setenv_use=yes
65471 else
65472 glibcxx_cv_func_setenv_use=no
65474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65475 ac_ext=c
65476 ac_cpp='$CPP $CPPFLAGS'
65477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
65486 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
65487 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
65488 for ac_func in setenv
65489 do :
65490 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
65491 if test "x$ac_cv_func_setenv" = x""yes; then :
65492 cat >>confdefs.h <<_ACEOF
65493 #define HAVE_SETENV 1
65494 _ACEOF
65497 done
65503 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
65504 test $enable_symvers != no; then
65505 case "$host" in
65506 *-*-cygwin*)
65507 enable_abi_check=no ;;
65509 enable_abi_check=yes ;;
65510 esac
65511 else
65512 # Only build this as native, since automake does not understand
65513 # CXX_FOR_BUILD.
65514 enable_abi_check=no
65517 # Export file names for ABI checking.
65518 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
65520 baseline_subdir_switch="$abi_baseline_subdir_switch"
65524 # Define documentation rules conditionally.
65526 # See if makeinfo has been installed and is modern enough
65527 # that we can use it.
65529 # Extract the first word of "makeinfo", so it can be a program name with args.
65530 set dummy makeinfo; ac_word=$2
65531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65532 $as_echo_n "checking for $ac_word... " >&6; }
65533 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
65534 $as_echo_n "(cached) " >&6
65535 else
65536 if test -n "$MAKEINFO"; then
65537 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
65538 else
65539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65540 for as_dir in $PATH
65542 IFS=$as_save_IFS
65543 test -z "$as_dir" && as_dir=.
65544 for ac_exec_ext in '' $ac_executable_extensions; do
65545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65546 ac_cv_prog_MAKEINFO="makeinfo"
65547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65548 break 2
65550 done
65551 done
65552 IFS=$as_save_IFS
65556 MAKEINFO=$ac_cv_prog_MAKEINFO
65557 if test -n "$MAKEINFO"; then
65558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
65559 $as_echo "$MAKEINFO" >&6; }
65560 else
65561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65562 $as_echo "no" >&6; }
65566 if test -n "$MAKEINFO"; then
65567 # Found it, now check the version.
65568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
65569 $as_echo_n "checking for modern makeinfo... " >&6; }
65570 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
65571 $as_echo_n "(cached) " >&6
65572 else
65573 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
65574 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
65576 case $ac_prog_version in
65577 '') gcc_cv_prog_makeinfo_modern=no;;
65578 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
65579 *) gcc_cv_prog_makeinfo_modern=no;;
65580 esac
65583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
65584 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
65585 else
65586 gcc_cv_prog_makeinfo_modern=no
65588 if test $gcc_cv_prog_makeinfo_modern = no; then
65589 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
65592 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
65593 BUILD_INFO_TRUE=
65594 BUILD_INFO_FALSE='#'
65595 else
65596 BUILD_INFO_TRUE='#'
65597 BUILD_INFO_FALSE=
65601 # Check for doxygen
65602 # Extract the first word of "doxygen", so it can be a program name with args.
65603 set dummy doxygen; ac_word=$2
65604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65605 $as_echo_n "checking for $ac_word... " >&6; }
65606 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
65607 $as_echo_n "(cached) " >&6
65608 else
65609 if test -n "$DOXYGEN"; then
65610 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
65611 else
65612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65613 for as_dir in $PATH
65615 IFS=$as_save_IFS
65616 test -z "$as_dir" && as_dir=.
65617 for ac_exec_ext in '' $ac_executable_extensions; do
65618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65619 ac_cv_prog_DOXYGEN="yes"
65620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65621 break 2
65623 done
65624 done
65625 IFS=$as_save_IFS
65627 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
65630 DOXYGEN=$ac_cv_prog_DOXYGEN
65631 if test -n "$DOXYGEN"; then
65632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
65633 $as_echo "$DOXYGEN" >&6; }
65634 else
65635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65636 $as_echo "no" >&6; }
65640 # Extract the first word of "dot", so it can be a program name with args.
65641 set dummy dot; ac_word=$2
65642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65643 $as_echo_n "checking for $ac_word... " >&6; }
65644 if test "${ac_cv_prog_DOT+set}" = set; then :
65645 $as_echo_n "(cached) " >&6
65646 else
65647 if test -n "$DOT"; then
65648 ac_cv_prog_DOT="$DOT" # Let the user override the test.
65649 else
65650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65651 for as_dir in $PATH
65653 IFS=$as_save_IFS
65654 test -z "$as_dir" && as_dir=.
65655 for ac_exec_ext in '' $ac_executable_extensions; do
65656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65657 ac_cv_prog_DOT="yes"
65658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65659 break 2
65661 done
65662 done
65663 IFS=$as_save_IFS
65665 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
65668 DOT=$ac_cv_prog_DOT
65669 if test -n "$DOT"; then
65670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
65671 $as_echo "$DOT" >&6; }
65672 else
65673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65674 $as_echo "no" >&6; }
65679 # Check for docbook
65680 # Extract the first word of "xsltproc", so it can be a program name with args.
65681 set dummy xsltproc; ac_word=$2
65682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65683 $as_echo_n "checking for $ac_word... " >&6; }
65684 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
65685 $as_echo_n "(cached) " >&6
65686 else
65687 if test -n "$XSLTPROC"; then
65688 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
65689 else
65690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65691 for as_dir in $PATH
65693 IFS=$as_save_IFS
65694 test -z "$as_dir" && as_dir=.
65695 for ac_exec_ext in '' $ac_executable_extensions; do
65696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65697 ac_cv_prog_XSLTPROC="yes"
65698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65699 break 2
65701 done
65702 done
65703 IFS=$as_save_IFS
65705 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
65708 XSLTPROC=$ac_cv_prog_XSLTPROC
65709 if test -n "$XSLTPROC"; then
65710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
65711 $as_echo "$XSLTPROC" >&6; }
65712 else
65713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65714 $as_echo "no" >&6; }
65718 # Extract the first word of "xmllint", so it can be a program name with args.
65719 set dummy xmllint; ac_word=$2
65720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65721 $as_echo_n "checking for $ac_word... " >&6; }
65722 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
65723 $as_echo_n "(cached) " >&6
65724 else
65725 if test -n "$XMLLINT"; then
65726 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
65727 else
65728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65729 for as_dir in $PATH
65731 IFS=$as_save_IFS
65732 test -z "$as_dir" && as_dir=.
65733 for ac_exec_ext in '' $ac_executable_extensions; do
65734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65735 ac_cv_prog_XMLLINT="yes"
65736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65737 break 2
65739 done
65740 done
65741 IFS=$as_save_IFS
65743 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
65746 XMLLINT=$ac_cv_prog_XMLLINT
65747 if test -n "$XMLLINT"; then
65748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
65749 $as_echo "$XMLLINT" >&6; }
65750 else
65751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65752 $as_echo "no" >&6; }
65758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stylesheets used in generation of documentation" >&5
65759 $as_echo_n "checking for stylesheets used in generation of documentation... " >&6; }
65760 glibcxx_stylesheets=no
65761 if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude http://docbook.sourceforge.net/release/xsl-ns/current/xhtml-1_1/docbook.xsl - 2>/dev/null; then
65762 glibcxx_stylesheets=yes
65764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
65765 $as_echo "$glibcxx_stylesheets" >&6; }
65767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
65768 $as_echo_n "checking for local stylesheet directory... " >&6; }
65769 glibcxx_local_stylesheets=no
65770 if test x"$glibcxx_stylesheets" = x"yes"; then
65771 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
65772 glibcxx_local_stylesheets=yes
65773 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
65775 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
65776 glibcxx_local_stylesheets=yes
65777 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
65780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
65781 $as_echo "$glibcxx_local_stylesheets" >&6; }
65783 if test x"$glibcxx_local_stylesheets" = x"yes"; then
65785 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
65786 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
65787 else
65788 glibcxx_stylesheets=no
65792 # Check for xml/html dependencies.
65793 if test $ac_cv_prog_DOXYGEN = "yes" &&
65794 test $ac_cv_prog_DOT = "yes" &&
65795 test $ac_cv_prog_XSLTPROC = "yes" &&
65796 test $ac_cv_prog_XMLLINT = "yes" &&
65797 test $glibcxx_stylesheets = "yes"; then
65798 BUILD_XML_TRUE=
65799 BUILD_XML_FALSE='#'
65800 else
65801 BUILD_XML_TRUE='#'
65802 BUILD_XML_FALSE=
65806 if test $ac_cv_prog_DOXYGEN = "yes" &&
65807 test $ac_cv_prog_DOT = "yes" &&
65808 test $ac_cv_prog_XSLTPROC = "yes" &&
65809 test $ac_cv_prog_XMLLINT = "yes" &&
65810 test $glibcxx_stylesheets = "yes"; then
65811 BUILD_HTML_TRUE=
65812 BUILD_HTML_FALSE='#'
65813 else
65814 BUILD_HTML_TRUE='#'
65815 BUILD_HTML_FALSE=
65819 # Check for man dependencies.
65820 if test $ac_cv_prog_DOXYGEN = "yes" &&
65821 test $ac_cv_prog_DOT = "yes"; then
65822 BUILD_MAN_TRUE=
65823 BUILD_MAN_FALSE='#'
65824 else
65825 BUILD_MAN_TRUE='#'
65826 BUILD_MAN_FALSE=
65830 # Check for pdf/epub dependencies.
65831 # Extract the first word of "dblatex", so it can be a program name with args.
65832 set dummy dblatex; ac_word=$2
65833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65834 $as_echo_n "checking for $ac_word... " >&6; }
65835 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
65836 $as_echo_n "(cached) " >&6
65837 else
65838 if test -n "$DBLATEX"; then
65839 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
65840 else
65841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65842 for as_dir in $PATH
65844 IFS=$as_save_IFS
65845 test -z "$as_dir" && as_dir=.
65846 for ac_exec_ext in '' $ac_executable_extensions; do
65847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65848 ac_cv_prog_DBLATEX="yes"
65849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65850 break 2
65852 done
65853 done
65854 IFS=$as_save_IFS
65856 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
65859 DBLATEX=$ac_cv_prog_DBLATEX
65860 if test -n "$DBLATEX"; then
65861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
65862 $as_echo "$DBLATEX" >&6; }
65863 else
65864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65865 $as_echo "no" >&6; }
65869 # Extract the first word of "pdflatex", so it can be a program name with args.
65870 set dummy pdflatex; ac_word=$2
65871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65872 $as_echo_n "checking for $ac_word... " >&6; }
65873 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
65874 $as_echo_n "(cached) " >&6
65875 else
65876 if test -n "$PDFLATEX"; then
65877 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
65878 else
65879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65880 for as_dir in $PATH
65882 IFS=$as_save_IFS
65883 test -z "$as_dir" && as_dir=.
65884 for ac_exec_ext in '' $ac_executable_extensions; do
65885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65886 ac_cv_prog_PDFLATEX="yes"
65887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65888 break 2
65890 done
65891 done
65892 IFS=$as_save_IFS
65894 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
65897 PDFLATEX=$ac_cv_prog_PDFLATEX
65898 if test -n "$PDFLATEX"; then
65899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
65900 $as_echo "$PDFLATEX" >&6; }
65901 else
65902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65903 $as_echo "no" >&6; }
65907 if test $ac_cv_prog_DBLATEX = "yes" &&
65908 test $ac_cv_prog_PDFLATEX = "yes"; then
65909 BUILD_PDF_TRUE=
65910 BUILD_PDF_FALSE='#'
65911 else
65912 BUILD_PDF_TRUE='#'
65913 BUILD_PDF_FALSE=
65917 # Extract the first word of "ruby", so it can be a program name with args.
65918 set dummy ruby; ac_word=$2
65919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65920 $as_echo_n "checking for $ac_word... " >&6; }
65921 if test "${ac_cv_prog_RUBY+set}" = set; then :
65922 $as_echo_n "(cached) " >&6
65923 else
65924 if test -n "$RUBY"; then
65925 ac_cv_prog_RUBY="$RUBY" # Let the user override the test.
65926 else
65927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65928 for as_dir in $PATH
65930 IFS=$as_save_IFS
65931 test -z "$as_dir" && as_dir=.
65932 for ac_exec_ext in '' $ac_executable_extensions; do
65933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65934 ac_cv_prog_RUBY="yes"
65935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65936 break 2
65938 done
65939 done
65940 IFS=$as_save_IFS
65942 test -z "$ac_cv_prog_RUBY" && ac_cv_prog_RUBY="no"
65945 RUBY=$ac_cv_prog_RUBY
65946 if test -n "$RUBY"; then
65947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5
65948 $as_echo "$RUBY" >&6; }
65949 else
65950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65951 $as_echo "no" >&6; }
65955 # Extract the first word of "dbtoepub", so it can be a program name with args.
65956 set dummy dbtoepub; ac_word=$2
65957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65958 $as_echo_n "checking for $ac_word... " >&6; }
65959 if test "${ac_cv_prog_DBTOEPUB+set}" = set; then :
65960 $as_echo_n "(cached) " >&6
65961 else
65962 if test -n "$DBTOEPUB"; then
65963 ac_cv_prog_DBTOEPUB="$DBTOEPUB" # Let the user override the test.
65964 else
65965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65966 for as_dir in $PATH
65968 IFS=$as_save_IFS
65969 test -z "$as_dir" && as_dir=.
65970 for ac_exec_ext in '' $ac_executable_extensions; do
65971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65972 ac_cv_prog_DBTOEPUB="yes"
65973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65974 break 2
65976 done
65977 done
65978 IFS=$as_save_IFS
65980 test -z "$ac_cv_prog_DBTOEPUB" && ac_cv_prog_DBTOEPUB="no"
65983 DBTOEPUB=$ac_cv_prog_DBTOEPUB
65984 if test -n "$DBTOEPUB"; then
65985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBTOEPUB" >&5
65986 $as_echo "$DBTOEPUB" >&6; }
65987 else
65988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65989 $as_echo "no" >&6; }
65993 if test $ac_cv_prog_RUBY = "yes" &&
65994 test $ac_cv_prog_DBTOEPUB = "yes"; then
65995 BUILD_EPUB_TRUE=
65996 BUILD_EPUB_FALSE='#'
65997 else
65998 BUILD_EPUB_TRUE='#'
65999 BUILD_EPUB_FALSE=
66004 # Propagate the target-specific source directories through the build chain.
66005 ATOMICITY_SRCDIR=config/${atomicity_dir}
66006 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
66007 ATOMIC_FLAGS=${atomic_flags}
66008 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
66009 OS_INC_SRCDIR=config/${os_include_dir}
66010 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
66011 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
66021 # Determine cross-compile flags and AM_CONDITIONALs.
66022 #AC_SUBST(GLIBCXX_IS_NATIVE)
66023 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
66024 if test $is_hosted = yes; then
66025 GLIBCXX_HOSTED_TRUE=
66026 GLIBCXX_HOSTED_FALSE='#'
66027 else
66028 GLIBCXX_HOSTED_TRUE='#'
66029 GLIBCXX_HOSTED_FALSE=
66033 if test $enable_libstdcxx_pch = yes; then
66034 GLIBCXX_BUILD_PCH_TRUE=
66035 GLIBCXX_BUILD_PCH_FALSE='#'
66036 else
66037 GLIBCXX_BUILD_PCH_TRUE='#'
66038 GLIBCXX_BUILD_PCH_FALSE=
66042 if test $enable_cheaders = c; then
66043 GLIBCXX_C_HEADERS_C_TRUE=
66044 GLIBCXX_C_HEADERS_C_FALSE='#'
66045 else
66046 GLIBCXX_C_HEADERS_C_TRUE='#'
66047 GLIBCXX_C_HEADERS_C_FALSE=
66051 if test $enable_cheaders = c_std; then
66052 GLIBCXX_C_HEADERS_C_STD_TRUE=
66053 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
66054 else
66055 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
66056 GLIBCXX_C_HEADERS_C_STD_FALSE=
66060 if test $enable_cheaders = c_global; then
66061 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
66062 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
66063 else
66064 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
66065 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
66069 if test $c_compatibility = yes; then
66070 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
66071 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
66072 else
66073 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
66074 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
66078 if test $enable_libstdcxx_debug = yes; then
66079 GLIBCXX_BUILD_DEBUG_TRUE=
66080 GLIBCXX_BUILD_DEBUG_FALSE='#'
66081 else
66082 GLIBCXX_BUILD_DEBUG_TRUE='#'
66083 GLIBCXX_BUILD_DEBUG_FALSE=
66087 if test $enable_parallel = yes; then
66088 ENABLE_PARALLEL_TRUE=
66089 ENABLE_PARALLEL_FALSE='#'
66090 else
66091 ENABLE_PARALLEL_TRUE='#'
66092 ENABLE_PARALLEL_FALSE=
66096 if test $enable_extern_template = yes; then
66097 ENABLE_EXTERN_TEMPLATE_TRUE=
66098 ENABLE_EXTERN_TEMPLATE_FALSE='#'
66099 else
66100 ENABLE_EXTERN_TEMPLATE_TRUE='#'
66101 ENABLE_EXTERN_TEMPLATE_FALSE=
66105 if test $enable_symvers != no; then
66106 ENABLE_SYMVERS_TRUE=
66107 ENABLE_SYMVERS_FALSE='#'
66108 else
66109 ENABLE_SYMVERS_TRUE='#'
66110 ENABLE_SYMVERS_FALSE=
66114 if test $enable_symvers = gnu; then
66115 ENABLE_SYMVERS_GNU_TRUE=
66116 ENABLE_SYMVERS_GNU_FALSE='#'
66117 else
66118 ENABLE_SYMVERS_GNU_TRUE='#'
66119 ENABLE_SYMVERS_GNU_FALSE=
66123 if test $enable_symvers = gnu-versioned-namespace; then
66124 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
66125 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
66126 else
66127 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
66128 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
66132 if test $enable_symvers = darwin; then
66133 ENABLE_SYMVERS_DARWIN_TRUE=
66134 ENABLE_SYMVERS_DARWIN_FALSE='#'
66135 else
66136 ENABLE_SYMVERS_DARWIN_TRUE='#'
66137 ENABLE_SYMVERS_DARWIN_FALSE=
66141 if test $enable_symvers = sun; then
66142 ENABLE_SYMVERS_SUN_TRUE=
66143 ENABLE_SYMVERS_SUN_FALSE='#'
66144 else
66145 ENABLE_SYMVERS_SUN_TRUE='#'
66146 ENABLE_SYMVERS_SUN_FALSE=
66150 if test $symvers_renaming = no; then
66151 ENABLE_SYMVERS_SOL2_TRUE=
66152 ENABLE_SYMVERS_SOL2_FALSE='#'
66153 else
66154 ENABLE_SYMVERS_SOL2_TRUE='#'
66155 ENABLE_SYMVERS_SOL2_FALSE=
66159 if test $enable_libstdcxx_visibility = yes; then
66160 ENABLE_VISIBILITY_TRUE=
66161 ENABLE_VISIBILITY_FALSE='#'
66162 else
66163 ENABLE_VISIBILITY_TRUE='#'
66164 ENABLE_VISIBILITY_FALSE=
66168 if test $ac_ldbl_compat = yes; then
66169 GLIBCXX_LDBL_COMPAT_TRUE=
66170 GLIBCXX_LDBL_COMPAT_FALSE='#'
66171 else
66172 GLIBCXX_LDBL_COMPAT_TRUE='#'
66173 GLIBCXX_LDBL_COMPAT_FALSE=
66179 cat >confcache <<\_ACEOF
66180 # This file is a shell script that caches the results of configure
66181 # tests run on this system so they can be shared between configure
66182 # scripts and configure runs, see configure's option --config-cache.
66183 # It is not useful on other systems. If it contains results you don't
66184 # want to keep, you may remove or edit it.
66186 # config.status only pays attention to the cache file if you give it
66187 # the --recheck option to rerun configure.
66189 # `ac_cv_env_foo' variables (set or unset) will be overridden when
66190 # loading this file, other *unset* `ac_cv_foo' will be assigned the
66191 # following values.
66193 _ACEOF
66195 # The following way of writing the cache mishandles newlines in values,
66196 # but we know of no workaround that is simple, portable, and efficient.
66197 # So, we kill variables containing newlines.
66198 # Ultrix sh set writes to stderr and can't be redirected directly,
66199 # and sets the high bit in the cache file unless we assign to the vars.
66201 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
66202 eval ac_val=\$$ac_var
66203 case $ac_val in #(
66204 *${as_nl}*)
66205 case $ac_var in #(
66206 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
66207 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
66208 esac
66209 case $ac_var in #(
66210 _ | IFS | as_nl) ;; #(
66211 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
66212 *) { eval $ac_var=; unset $ac_var;} ;;
66213 esac ;;
66214 esac
66215 done
66217 (set) 2>&1 |
66218 case $as_nl`(ac_space=' '; set) 2>&1` in #(
66219 *${as_nl}ac_space=\ *)
66220 # `set' does not quote correctly, so add quotes: double-quote
66221 # substitution turns \\\\ into \\, and sed turns \\ into \.
66222 sed -n \
66223 "s/'/'\\\\''/g;
66224 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
66225 ;; #(
66227 # `set' quotes correctly as required by POSIX, so do not add quotes.
66228 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
66230 esac |
66231 sort
66233 sed '
66234 /^ac_cv_env_/b end
66235 t clear
66236 :clear
66237 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
66238 t end
66239 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
66240 :end' >>confcache
66241 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
66242 if test -w "$cache_file"; then
66243 test "x$cache_file" != "x/dev/null" &&
66244 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
66245 $as_echo "$as_me: updating cache $cache_file" >&6;}
66246 cat confcache >$cache_file
66247 else
66248 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
66249 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
66252 rm -f confcache
66254 if test ${multilib} = yes; then
66255 multilib_arg="--enable-multilib"
66256 else
66257 multilib_arg=
66260 # Export all the install information.
66262 glibcxx_toolexecdir=no
66263 glibcxx_toolexeclibdir=no
66264 glibcxx_prefixdir=$prefix
66266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
66267 $as_echo_n "checking for gxx-include-dir... " >&6; }
66269 # Check whether --with-gxx-include-dir was given.
66270 if test "${with_gxx_include_dir+set}" = set; then :
66271 withval=$with_gxx_include_dir; case "$withval" in
66272 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
66273 no) gxx_include_dir=no ;;
66274 *) gxx_include_dir=$withval ;;
66275 esac
66276 else
66277 gxx_include_dir=no
66280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
66281 $as_echo "$gxx_include_dir" >&6; }
66283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
66284 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
66285 # Check whether --enable-version-specific-runtime-libs was given.
66286 if test "${enable_version_specific_runtime_libs+set}" = set; then :
66287 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
66288 yes) version_specific_libs=yes ;;
66289 no) version_specific_libs=no ;;
66290 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
66291 esac
66292 else
66293 version_specific_libs=no
66296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
66297 $as_echo "$version_specific_libs" >&6; }
66299 # Default case for install directory for include files.
66300 if test $version_specific_libs = no && test $gxx_include_dir = no; then
66301 gxx_include_dir='include/c++/${gcc_version}'
66302 if test -n "$with_cross_host" &&
66303 test x"$with_cross_host" != x"no"; then
66304 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
66305 else
66306 gxx_include_dir='${prefix}/'"$gxx_include_dir"
66310 # Version-specific runtime libs processing.
66311 if test $version_specific_libs = yes; then
66312 # Need the gcc compiler version to know where to install libraries
66313 # and header files if --enable-version-specific-runtime-libs option
66314 # is selected. FIXME: these variables are misnamed, there are
66315 # no executables installed in _toolexecdir or _toolexeclibdir.
66316 if test x"$gxx_include_dir" = x"no"; then
66317 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
66319 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
66320 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
66323 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
66324 # Install a library built with a cross compiler in tooldir, not libdir.
66325 if test x"$glibcxx_toolexecdir" = x"no"; then
66326 if test -n "$with_cross_host" &&
66327 test x"$with_cross_host" != x"no"; then
66328 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
66329 glibcxx_toolexeclibdir='${toolexecdir}/lib'
66330 else
66331 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
66332 glibcxx_toolexeclibdir='${libdir}'
66334 multi_os_directory=`$CXX -print-multi-os-directory`
66335 case $multi_os_directory in
66336 .) ;; # Avoid trailing /.
66337 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
66338 esac
66341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
66342 $as_echo_n "checking for install location... " >&6; }
66343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
66344 $as_echo "$gxx_include_dir" >&6; }
66352 # Export all the include and flag information to Makefiles.
66354 # Used for every C++ compile we perform.
66355 GLIBCXX_INCLUDES="\
66356 -I$glibcxx_builddir/include/$host_alias \
66357 -I$glibcxx_builddir/include \
66358 -I$glibcxx_srcdir/libsupc++"
66360 # For Canadian crosses, pick this up too.
66361 if test $CANADIAN = yes; then
66362 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
66365 # Stuff in the actual top level. Currently only used by libsupc++ to
66366 # get unwind* headers from the libgcc dir.
66367 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
66368 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
66370 # Now, export this to all the little Makefiles....
66375 # Optimization flags that are probably a good idea for thrill-seekers. Just
66376 # uncomment the lines below and make, everything else is ready to go...
66377 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
66378 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
66381 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
66385 if test "$enable_shared" = yes; then
66386 LIBSUPCXX_PICFLAGS="-prefer-pic"
66387 else
66388 LIBSUPCXX_PICFLAGS=
66392 ac_config_files="$ac_config_files Makefile"
66394 ac_config_files="$ac_config_files scripts/testsuite_flags"
66396 ac_config_files="$ac_config_files scripts/extract_symvers"
66399 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
66400 # that multilib installs will end up installed in the correct place.
66401 # The testsuite needs it for multilib-aware ABI baseline files.
66402 # To work around this not being passed down from config-ml.in ->
66403 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
66404 # append it here. Only modify Makefiles that have just been created.
66406 # Also, get rid of this simulated-VPATH thing that automake does.
66407 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
66410 ac_config_commands="$ac_config_commands generate-headers"
66413 cat >confcache <<\_ACEOF
66414 # This file is a shell script that caches the results of configure
66415 # tests run on this system so they can be shared between configure
66416 # scripts and configure runs, see configure's option --config-cache.
66417 # It is not useful on other systems. If it contains results you don't
66418 # want to keep, you may remove or edit it.
66420 # config.status only pays attention to the cache file if you give it
66421 # the --recheck option to rerun configure.
66423 # `ac_cv_env_foo' variables (set or unset) will be overridden when
66424 # loading this file, other *unset* `ac_cv_foo' will be assigned the
66425 # following values.
66427 _ACEOF
66429 # The following way of writing the cache mishandles newlines in values,
66430 # but we know of no workaround that is simple, portable, and efficient.
66431 # So, we kill variables containing newlines.
66432 # Ultrix sh set writes to stderr and can't be redirected directly,
66433 # and sets the high bit in the cache file unless we assign to the vars.
66435 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
66436 eval ac_val=\$$ac_var
66437 case $ac_val in #(
66438 *${as_nl}*)
66439 case $ac_var in #(
66440 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
66441 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
66442 esac
66443 case $ac_var in #(
66444 _ | IFS | as_nl) ;; #(
66445 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
66446 *) { eval $ac_var=; unset $ac_var;} ;;
66447 esac ;;
66448 esac
66449 done
66451 (set) 2>&1 |
66452 case $as_nl`(ac_space=' '; set) 2>&1` in #(
66453 *${as_nl}ac_space=\ *)
66454 # `set' does not quote correctly, so add quotes: double-quote
66455 # substitution turns \\\\ into \\, and sed turns \\ into \.
66456 sed -n \
66457 "s/'/'\\\\''/g;
66458 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
66459 ;; #(
66461 # `set' quotes correctly as required by POSIX, so do not add quotes.
66462 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
66464 esac |
66465 sort
66467 sed '
66468 /^ac_cv_env_/b end
66469 t clear
66470 :clear
66471 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
66472 t end
66473 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
66474 :end' >>confcache
66475 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
66476 if test -w "$cache_file"; then
66477 test "x$cache_file" != "x/dev/null" &&
66478 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
66479 $as_echo "$as_me: updating cache $cache_file" >&6;}
66480 cat confcache >$cache_file
66481 else
66482 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
66483 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
66486 rm -f confcache
66488 test "x$prefix" = xNONE && prefix=$ac_default_prefix
66489 # Let make expand exec_prefix.
66490 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
66492 DEFS=-DHAVE_CONFIG_H
66494 ac_libobjs=
66495 ac_ltlibobjs=
66496 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
66497 # 1. Remove the extension, and $U if already installed.
66498 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
66499 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
66500 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
66501 # will be set to the directory where LIBOBJS objects are built.
66502 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
66503 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
66504 done
66505 LIBOBJS=$ac_libobjs
66507 LTLIBOBJS=$ac_ltlibobjs
66510 if test -n "$EXEEXT"; then
66511 am__EXEEXT_TRUE=
66512 am__EXEEXT_FALSE='#'
66513 else
66514 am__EXEEXT_TRUE='#'
66515 am__EXEEXT_FALSE=
66518 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
66519 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
66520 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66522 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
66523 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
66524 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66526 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
66527 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
66528 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66530 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
66531 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
66532 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66534 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
66535 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
66536 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66538 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
66539 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
66540 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66542 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
66543 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
66544 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66546 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
66547 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
66548 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66550 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
66551 as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
66552 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66554 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
66555 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
66556 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66558 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
66559 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
66560 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66562 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
66563 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
66564 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66566 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
66567 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
66568 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66570 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
66571 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
66572 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66574 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
66575 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
66576 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66578 if test -z "${ENABLE_SYMVERS_SOL2_TRUE}" && test -z "${ENABLE_SYMVERS_SOL2_FALSE}"; then
66579 as_fn_error "conditional \"ENABLE_SYMVERS_SOL2\" was never defined.
66580 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66582 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
66583 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
66584 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66586 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
66587 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
66588 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66590 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
66591 as_fn_error "conditional \"BUILD_INFO\" was never defined.
66592 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66594 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
66595 as_fn_error "conditional \"BUILD_XML\" was never defined.
66596 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66598 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
66599 as_fn_error "conditional \"BUILD_HTML\" was never defined.
66600 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66602 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
66603 as_fn_error "conditional \"BUILD_MAN\" was never defined.
66604 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66606 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
66607 as_fn_error "conditional \"BUILD_PDF\" was never defined.
66608 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66610 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
66611 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
66612 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66615 : ${CONFIG_STATUS=./config.status}
66616 ac_write_fail=0
66617 ac_clean_files_save=$ac_clean_files
66618 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
66619 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
66620 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
66621 as_write_fail=0
66622 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
66623 #! $SHELL
66624 # Generated by $as_me.
66625 # Run this file to recreate the current configuration.
66626 # Compiler output produced by configure, useful for debugging
66627 # configure, is in config.log if it exists.
66629 debug=false
66630 ac_cs_recheck=false
66631 ac_cs_silent=false
66633 SHELL=\${CONFIG_SHELL-$SHELL}
66634 export SHELL
66635 _ASEOF
66636 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
66637 ## -------------------- ##
66638 ## M4sh Initialization. ##
66639 ## -------------------- ##
66641 # Be more Bourne compatible
66642 DUALCASE=1; export DUALCASE # for MKS sh
66643 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
66644 emulate sh
66645 NULLCMD=:
66646 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
66647 # is contrary to our usage. Disable this feature.
66648 alias -g '${1+"$@"}'='"$@"'
66649 setopt NO_GLOB_SUBST
66650 else
66651 case `(set -o) 2>/dev/null` in #(
66652 *posix*) :
66653 set -o posix ;; #(
66654 *) :
66656 esac
66660 as_nl='
66662 export as_nl
66663 # Printing a long string crashes Solaris 7 /usr/bin/printf.
66664 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
66665 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
66666 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
66667 # Prefer a ksh shell builtin over an external printf program on Solaris,
66668 # but without wasting forks for bash or zsh.
66669 if test -z "$BASH_VERSION$ZSH_VERSION" \
66670 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
66671 as_echo='print -r --'
66672 as_echo_n='print -rn --'
66673 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
66674 as_echo='printf %s\n'
66675 as_echo_n='printf %s'
66676 else
66677 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
66678 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
66679 as_echo_n='/usr/ucb/echo -n'
66680 else
66681 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
66682 as_echo_n_body='eval
66683 arg=$1;
66684 case $arg in #(
66685 *"$as_nl"*)
66686 expr "X$arg" : "X\\(.*\\)$as_nl";
66687 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66688 esac;
66689 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66691 export as_echo_n_body
66692 as_echo_n='sh -c $as_echo_n_body as_echo'
66694 export as_echo_body
66695 as_echo='sh -c $as_echo_body as_echo'
66698 # The user is always right.
66699 if test "${PATH_SEPARATOR+set}" != set; then
66700 PATH_SEPARATOR=:
66701 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
66702 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
66703 PATH_SEPARATOR=';'
66708 # IFS
66709 # We need space, tab and new line, in precisely that order. Quoting is
66710 # there to prevent editors from complaining about space-tab.
66711 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
66712 # splitting by setting IFS to empty value.)
66713 IFS=" "" $as_nl"
66715 # Find who we are. Look in the path if we contain no directory separator.
66716 case $0 in #((
66717 *[\\/]* ) as_myself=$0 ;;
66718 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
66719 for as_dir in $PATH
66721 IFS=$as_save_IFS
66722 test -z "$as_dir" && as_dir=.
66723 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
66724 done
66725 IFS=$as_save_IFS
66728 esac
66729 # We did not find ourselves, most probably we were run as `sh COMMAND'
66730 # in which case we are not to be found in the path.
66731 if test "x$as_myself" = x; then
66732 as_myself=$0
66734 if test ! -f "$as_myself"; then
66735 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
66736 exit 1
66739 # Unset variables that we do not need and which cause bugs (e.g. in
66740 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
66741 # suppresses any "Segmentation fault" message there. '((' could
66742 # trigger a bug in pdksh 5.2.14.
66743 for as_var in BASH_ENV ENV MAIL MAILPATH
66744 do eval test x\${$as_var+set} = xset \
66745 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
66746 done
66747 PS1='$ '
66748 PS2='> '
66749 PS4='+ '
66751 # NLS nuisances.
66752 LC_ALL=C
66753 export LC_ALL
66754 LANGUAGE=C
66755 export LANGUAGE
66757 # CDPATH.
66758 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
66761 # as_fn_error ERROR [LINENO LOG_FD]
66762 # ---------------------------------
66763 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
66764 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
66765 # script with status $?, using 1 if that was 0.
66766 as_fn_error ()
66768 as_status=$?; test $as_status -eq 0 && as_status=1
66769 if test "$3"; then
66770 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
66771 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
66773 $as_echo "$as_me: error: $1" >&2
66774 as_fn_exit $as_status
66775 } # as_fn_error
66778 # as_fn_set_status STATUS
66779 # -----------------------
66780 # Set $? to STATUS, without forking.
66781 as_fn_set_status ()
66783 return $1
66784 } # as_fn_set_status
66786 # as_fn_exit STATUS
66787 # -----------------
66788 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
66789 as_fn_exit ()
66791 set +e
66792 as_fn_set_status $1
66793 exit $1
66794 } # as_fn_exit
66796 # as_fn_unset VAR
66797 # ---------------
66798 # Portably unset VAR.
66799 as_fn_unset ()
66801 { eval $1=; unset $1;}
66803 as_unset=as_fn_unset
66804 # as_fn_append VAR VALUE
66805 # ----------------------
66806 # Append the text in VALUE to the end of the definition contained in VAR. Take
66807 # advantage of any shell optimizations that allow amortized linear growth over
66808 # repeated appends, instead of the typical quadratic growth present in naive
66809 # implementations.
66810 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
66811 eval 'as_fn_append ()
66813 eval $1+=\$2
66815 else
66816 as_fn_append ()
66818 eval $1=\$$1\$2
66820 fi # as_fn_append
66822 # as_fn_arith ARG...
66823 # ------------------
66824 # Perform arithmetic evaluation on the ARGs, and store the result in the
66825 # global $as_val. Take advantage of shells that can avoid forks. The arguments
66826 # must be portable across $(()) and expr.
66827 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
66828 eval 'as_fn_arith ()
66830 as_val=$(( $* ))
66832 else
66833 as_fn_arith ()
66835 as_val=`expr "$@" || test $? -eq 1`
66837 fi # as_fn_arith
66840 if expr a : '\(a\)' >/dev/null 2>&1 &&
66841 test "X`expr 00001 : '.*\(...\)'`" = X001; then
66842 as_expr=expr
66843 else
66844 as_expr=false
66847 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
66848 as_basename=basename
66849 else
66850 as_basename=false
66853 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
66854 as_dirname=dirname
66855 else
66856 as_dirname=false
66859 as_me=`$as_basename -- "$0" ||
66860 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66861 X"$0" : 'X\(//\)$' \| \
66862 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
66863 $as_echo X/"$0" |
66864 sed '/^.*\/\([^/][^/]*\)\/*$/{
66865 s//\1/
66868 /^X\/\(\/\/\)$/{
66869 s//\1/
66872 /^X\/\(\/\).*/{
66873 s//\1/
66876 s/.*/./; q'`
66878 # Avoid depending upon Character Ranges.
66879 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
66880 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
66881 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
66882 as_cr_digits='0123456789'
66883 as_cr_alnum=$as_cr_Letters$as_cr_digits
66885 ECHO_C= ECHO_N= ECHO_T=
66886 case `echo -n x` in #(((((
66887 -n*)
66888 case `echo 'xy\c'` in
66889 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
66890 xy) ECHO_C='\c';;
66891 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
66892 ECHO_T=' ';;
66893 esac;;
66895 ECHO_N='-n';;
66896 esac
66898 rm -f conf$$ conf$$.exe conf$$.file
66899 if test -d conf$$.dir; then
66900 rm -f conf$$.dir/conf$$.file
66901 else
66902 rm -f conf$$.dir
66903 mkdir conf$$.dir 2>/dev/null
66905 if (echo >conf$$.file) 2>/dev/null; then
66906 if ln -s conf$$.file conf$$ 2>/dev/null; then
66907 as_ln_s='ln -s'
66908 # ... but there are two gotchas:
66909 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
66910 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
66911 # In both cases, we have to default to `cp -p'.
66912 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
66913 as_ln_s='cp -p'
66914 elif ln conf$$.file conf$$ 2>/dev/null; then
66915 as_ln_s=ln
66916 else
66917 as_ln_s='cp -p'
66919 else
66920 as_ln_s='cp -p'
66922 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
66923 rmdir conf$$.dir 2>/dev/null
66926 # as_fn_mkdir_p
66927 # -------------
66928 # Create "$as_dir" as a directory, including parents if necessary.
66929 as_fn_mkdir_p ()
66932 case $as_dir in #(
66933 -*) as_dir=./$as_dir;;
66934 esac
66935 test -d "$as_dir" || eval $as_mkdir_p || {
66936 as_dirs=
66937 while :; do
66938 case $as_dir in #(
66939 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
66940 *) as_qdir=$as_dir;;
66941 esac
66942 as_dirs="'$as_qdir' $as_dirs"
66943 as_dir=`$as_dirname -- "$as_dir" ||
66944 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
66945 X"$as_dir" : 'X\(//\)[^/]' \| \
66946 X"$as_dir" : 'X\(//\)$' \| \
66947 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
66948 $as_echo X"$as_dir" |
66949 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
66950 s//\1/
66953 /^X\(\/\/\)[^/].*/{
66954 s//\1/
66957 /^X\(\/\/\)$/{
66958 s//\1/
66961 /^X\(\/\).*/{
66962 s//\1/
66965 s/.*/./; q'`
66966 test -d "$as_dir" && break
66967 done
66968 test -z "$as_dirs" || eval "mkdir $as_dirs"
66969 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
66972 } # as_fn_mkdir_p
66973 if mkdir -p . 2>/dev/null; then
66974 as_mkdir_p='mkdir -p "$as_dir"'
66975 else
66976 test -d ./-p && rmdir ./-p
66977 as_mkdir_p=false
66980 if test -x / >/dev/null 2>&1; then
66981 as_test_x='test -x'
66982 else
66983 if ls -dL / >/dev/null 2>&1; then
66984 as_ls_L_option=L
66985 else
66986 as_ls_L_option=
66988 as_test_x='
66989 eval sh -c '\''
66990 if test -d "$1"; then
66991 test -d "$1/.";
66992 else
66993 case $1 in #(
66994 -*)set "./$1";;
66995 esac;
66996 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
66997 ???[sx]*):;;*)false;;esac;fi
66998 '\'' sh
67001 as_executable_p=$as_test_x
67003 # Sed expression to map a string onto a valid CPP name.
67004 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
67006 # Sed expression to map a string onto a valid variable name.
67007 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
67010 exec 6>&1
67011 ## ----------------------------------- ##
67012 ## Main body of $CONFIG_STATUS script. ##
67013 ## ----------------------------------- ##
67014 _ASEOF
67015 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
67017 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67018 # Save the log message, to keep $0 and so on meaningful, and to
67019 # report actual input values of CONFIG_FILES etc. instead of their
67020 # values after options handling.
67021 ac_log="
67022 This file was extended by package-unused $as_me version-unused, which was
67023 generated by GNU Autoconf 2.64. Invocation command line was
67025 CONFIG_FILES = $CONFIG_FILES
67026 CONFIG_HEADERS = $CONFIG_HEADERS
67027 CONFIG_LINKS = $CONFIG_LINKS
67028 CONFIG_COMMANDS = $CONFIG_COMMANDS
67029 $ $0 $@
67031 on `(hostname || uname -n) 2>/dev/null | sed 1q`
67034 _ACEOF
67036 case $ac_config_files in *"
67037 "*) set x $ac_config_files; shift; ac_config_files=$*;;
67038 esac
67040 case $ac_config_headers in *"
67041 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
67042 esac
67045 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67046 # Files that config.status was made for.
67047 config_files="$ac_config_files"
67048 config_headers="$ac_config_headers"
67049 config_commands="$ac_config_commands"
67051 _ACEOF
67053 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67054 ac_cs_usage="\
67055 \`$as_me' instantiates files and other configuration actions
67056 from templates according to the current configuration. Unless the files
67057 and actions are specified as TAGs, all are instantiated by default.
67059 Usage: $0 [OPTION]... [TAG]...
67061 -h, --help print this help, then exit
67062 -V, --version print version number and configuration settings, then exit
67063 -q, --quiet, --silent
67064 do not print progress messages
67065 -d, --debug don't remove temporary files
67066 --recheck update $as_me by reconfiguring in the same conditions
67067 --file=FILE[:TEMPLATE]
67068 instantiate the configuration file FILE
67069 --header=FILE[:TEMPLATE]
67070 instantiate the configuration header FILE
67072 Configuration files:
67073 $config_files
67075 Configuration headers:
67076 $config_headers
67078 Configuration commands:
67079 $config_commands
67081 Report bugs to the package provider."
67083 _ACEOF
67084 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67085 ac_cs_version="\\
67086 package-unused config.status version-unused
67087 configured by $0, generated by GNU Autoconf 2.64,
67088 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
67090 Copyright (C) 2009 Free Software Foundation, Inc.
67091 This config.status script is free software; the Free Software Foundation
67092 gives unlimited permission to copy, distribute and modify it."
67094 ac_pwd='$ac_pwd'
67095 srcdir='$srcdir'
67096 INSTALL='$INSTALL'
67097 MKDIR_P='$MKDIR_P'
67098 AWK='$AWK'
67099 test -n "\$AWK" || AWK=awk
67100 _ACEOF
67102 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67103 # The default lists apply if the user does not specify any file.
67104 ac_need_defaults=:
67105 while test $# != 0
67107 case $1 in
67108 --*=*)
67109 ac_option=`expr "X$1" : 'X\([^=]*\)='`
67110 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
67111 ac_shift=:
67114 ac_option=$1
67115 ac_optarg=$2
67116 ac_shift=shift
67118 esac
67120 case $ac_option in
67121 # Handling of the options.
67122 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
67123 ac_cs_recheck=: ;;
67124 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
67125 $as_echo "$ac_cs_version"; exit ;;
67126 --debug | --debu | --deb | --de | --d | -d )
67127 debug=: ;;
67128 --file | --fil | --fi | --f )
67129 $ac_shift
67130 case $ac_optarg in
67131 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
67132 esac
67133 as_fn_append CONFIG_FILES " '$ac_optarg'"
67134 ac_need_defaults=false;;
67135 --header | --heade | --head | --hea )
67136 $ac_shift
67137 case $ac_optarg in
67138 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
67139 esac
67140 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
67141 ac_need_defaults=false;;
67142 --he | --h)
67143 # Conflict between --help and --header
67144 as_fn_error "ambiguous option: \`$1'
67145 Try \`$0 --help' for more information.";;
67146 --help | --hel | -h )
67147 $as_echo "$ac_cs_usage"; exit ;;
67148 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
67149 | -silent | --silent | --silen | --sile | --sil | --si | --s)
67150 ac_cs_silent=: ;;
67152 # This is an error.
67153 -*) as_fn_error "unrecognized option: \`$1'
67154 Try \`$0 --help' for more information." ;;
67156 *) as_fn_append ac_config_targets " $1"
67157 ac_need_defaults=false ;;
67159 esac
67160 shift
67161 done
67163 ac_configure_extra_args=
67165 if $ac_cs_silent; then
67166 exec 6>/dev/null
67167 ac_configure_extra_args="$ac_configure_extra_args --silent"
67170 _ACEOF
67171 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67172 if \$ac_cs_recheck; then
67173 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
67174 shift
67175 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
67176 CONFIG_SHELL='$SHELL'
67177 export CONFIG_SHELL
67178 exec "\$@"
67181 _ACEOF
67182 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67183 exec 5>>config.log
67185 echo
67186 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
67187 ## Running $as_me. ##
67188 _ASBOX
67189 $as_echo "$ac_log"
67190 } >&5
67192 _ACEOF
67193 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67195 # INIT-COMMANDS
67198 srcdir="$srcdir"
67199 host="$host"
67200 target="$target"
67201 with_multisubdir="$with_multisubdir"
67202 with_multisrctop="$with_multisrctop"
67203 with_target_subdir="$with_target_subdir"
67204 ac_configure_args="${multilib_arg} ${ac_configure_args}"
67205 multi_basedir="$multi_basedir"
67206 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
67207 CC="$CC"
67208 CXX="$CXX"
67209 GFORTRAN="$GFORTRAN"
67210 GCJ="$GCJ"
67213 # The HP-UX ksh and POSIX shell print the target directory to stdout
67214 # if CDPATH is set.
67215 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
67217 sed_quote_subst='$sed_quote_subst'
67218 double_quote_subst='$double_quote_subst'
67219 delay_variable_subst='$delay_variable_subst'
67220 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
67221 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
67222 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
67223 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
67224 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
67225 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
67226 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
67227 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
67228 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
67229 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
67230 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
67231 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
67232 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
67233 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
67234 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
67235 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
67236 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
67237 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
67238 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
67239 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
67240 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
67241 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
67242 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
67243 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
67244 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
67245 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
67246 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
67247 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
67248 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
67249 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
67250 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
67251 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
67252 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
67253 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
67254 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
67255 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
67256 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
67257 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
67258 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
67259 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
67260 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
67261 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
67262 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
67263 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
67264 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
67265 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
67266 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
67267 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
67268 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"`'
67269 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
67270 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
67271 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
67272 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
67273 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
67274 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
67275 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
67276 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
67277 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
67278 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
67279 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
67280 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
67281 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
67282 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
67283 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
67284 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
67285 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
67286 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
67287 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
67288 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
67289 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
67290 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
67291 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
67292 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
67293 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
67294 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
67295 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
67296 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
67297 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
67298 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
67299 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
67300 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
67301 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
67302 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
67303 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
67304 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
67305 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
67306 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
67307 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
67308 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
67309 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
67310 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
67311 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
67312 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
67313 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
67314 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
67315 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
67316 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
67317 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
67318 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
67319 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
67320 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
67321 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
67322 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
67323 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
67324 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
67325 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
67326 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
67327 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
67328 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
67329 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
67330 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
67331 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
67332 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
67333 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
67334 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
67335 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
67336 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
67337 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
67338 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
67339 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
67340 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
67341 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
67342 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
67343 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
67344 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
67345 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
67346 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
67347 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
67348 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67349 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67350 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
67351 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
67352 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
67353 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
67354 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
67355 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
67356 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
67357 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
67358 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
67359 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
67360 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
67361 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
67362 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67363 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67364 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67365 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67366 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67367 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67368 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
67369 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
67370 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
67371 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
67372 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
67373 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
67374 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
67375 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
67376 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
67377 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
67378 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
67379 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
67380 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
67381 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
67382 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
67383 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67384 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
67385 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
67386 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67387 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
67388 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
67389 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
67390 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
67391 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
67392 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
67393 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
67394 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
67396 LTCC='$LTCC'
67397 LTCFLAGS='$LTCFLAGS'
67398 compiler='$compiler_DEFAULT'
67400 # A function that is used when there is no print builtin or printf.
67401 func_fallback_echo ()
67403 eval 'cat <<_LTECHO_EOF
67405 _LTECHO_EOF'
67408 # Quote evaled strings.
67409 for var in SHELL \
67410 ECHO \
67411 SED \
67412 GREP \
67413 EGREP \
67414 FGREP \
67415 LD \
67416 NM \
67417 LN_S \
67418 lt_SP2NL \
67419 lt_NL2SP \
67420 reload_flag \
67421 OBJDUMP \
67422 deplibs_check_method \
67423 file_magic_cmd \
67424 AR \
67425 AR_FLAGS \
67426 STRIP \
67427 RANLIB \
67428 CC \
67429 CFLAGS \
67430 compiler \
67431 lt_cv_sys_global_symbol_pipe \
67432 lt_cv_sys_global_symbol_to_cdecl \
67433 lt_cv_sys_global_symbol_to_c_name_address \
67434 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
67435 lt_prog_compiler_no_builtin_flag \
67436 lt_prog_compiler_wl \
67437 lt_prog_compiler_pic \
67438 lt_prog_compiler_static \
67439 lt_cv_prog_compiler_c_o \
67440 need_locks \
67441 DSYMUTIL \
67442 NMEDIT \
67443 LIPO \
67444 OTOOL \
67445 OTOOL64 \
67446 shrext_cmds \
67447 export_dynamic_flag_spec \
67448 whole_archive_flag_spec \
67449 compiler_needs_object \
67450 with_gnu_ld \
67451 allow_undefined_flag \
67452 no_undefined_flag \
67453 hardcode_libdir_flag_spec \
67454 hardcode_libdir_flag_spec_ld \
67455 hardcode_libdir_separator \
67456 fix_srcfile_path \
67457 exclude_expsyms \
67458 include_expsyms \
67459 file_list_spec \
67460 variables_saved_for_relink \
67461 libname_spec \
67462 library_names_spec \
67463 soname_spec \
67464 install_override_mode \
67465 finish_eval \
67466 old_striplib \
67467 striplib \
67468 compiler_lib_search_dirs \
67469 predep_objects \
67470 postdep_objects \
67471 predeps \
67472 postdeps \
67473 compiler_lib_search_path \
67474 LD_CXX \
67475 reload_flag_CXX \
67476 compiler_CXX \
67477 lt_prog_compiler_no_builtin_flag_CXX \
67478 lt_prog_compiler_wl_CXX \
67479 lt_prog_compiler_pic_CXX \
67480 lt_prog_compiler_static_CXX \
67481 lt_cv_prog_compiler_c_o_CXX \
67482 export_dynamic_flag_spec_CXX \
67483 whole_archive_flag_spec_CXX \
67484 compiler_needs_object_CXX \
67485 with_gnu_ld_CXX \
67486 allow_undefined_flag_CXX \
67487 no_undefined_flag_CXX \
67488 hardcode_libdir_flag_spec_CXX \
67489 hardcode_libdir_flag_spec_ld_CXX \
67490 hardcode_libdir_separator_CXX \
67491 fix_srcfile_path_CXX \
67492 exclude_expsyms_CXX \
67493 include_expsyms_CXX \
67494 file_list_spec_CXX \
67495 compiler_lib_search_dirs_CXX \
67496 predep_objects_CXX \
67497 postdep_objects_CXX \
67498 predeps_CXX \
67499 postdeps_CXX \
67500 compiler_lib_search_path_CXX; do
67501 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
67502 *[\\\\\\\`\\"\\\$]*)
67503 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
67506 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
67508 esac
67509 done
67511 # Double-quote double-evaled strings.
67512 for var in reload_cmds \
67513 old_postinstall_cmds \
67514 old_postuninstall_cmds \
67515 old_archive_cmds \
67516 extract_expsyms_cmds \
67517 old_archive_from_new_cmds \
67518 old_archive_from_expsyms_cmds \
67519 archive_cmds \
67520 archive_expsym_cmds \
67521 module_cmds \
67522 module_expsym_cmds \
67523 export_symbols_cmds \
67524 prelink_cmds \
67525 postinstall_cmds \
67526 postuninstall_cmds \
67527 finish_cmds \
67528 sys_lib_search_path_spec \
67529 sys_lib_dlsearch_path_spec \
67530 reload_cmds_CXX \
67531 old_archive_cmds_CXX \
67532 old_archive_from_new_cmds_CXX \
67533 old_archive_from_expsyms_cmds_CXX \
67534 archive_cmds_CXX \
67535 archive_expsym_cmds_CXX \
67536 module_cmds_CXX \
67537 module_expsym_cmds_CXX \
67538 export_symbols_cmds_CXX \
67539 prelink_cmds_CXX; do
67540 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
67541 *[\\\\\\\`\\"\\\$]*)
67542 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
67545 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
67547 esac
67548 done
67550 ac_aux_dir='$ac_aux_dir'
67551 xsi_shell='$xsi_shell'
67552 lt_shell_append='$lt_shell_append'
67554 # See if we are running on zsh, and set the options which allow our
67555 # commands through without removal of \ escapes INIT.
67556 if test -n "\${ZSH_VERSION+set}" ; then
67557 setopt NO_GLOB_SUBST
67561 PACKAGE='$PACKAGE'
67562 VERSION='$VERSION'
67563 TIMESTAMP='$TIMESTAMP'
67564 RM='$RM'
67565 ofile='$ofile'
67572 GCC="$GCC"
67573 CC="$CC"
67574 acx_cv_header_stdint="$acx_cv_header_stdint"
67575 acx_cv_type_int8_t="$acx_cv_type_int8_t"
67576 acx_cv_type_int16_t="$acx_cv_type_int16_t"
67577 acx_cv_type_int32_t="$acx_cv_type_int32_t"
67578 acx_cv_type_int64_t="$acx_cv_type_int64_t"
67579 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
67580 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
67581 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
67582 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
67583 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
67584 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
67585 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
67586 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
67587 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
67590 _ACEOF
67592 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67594 # Handling of arguments.
67595 for ac_config_target in $ac_config_targets
67597 case $ac_config_target in
67598 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
67599 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
67600 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
67601 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
67602 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
67603 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
67604 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
67605 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
67606 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
67607 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
67608 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
67609 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
67610 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
67611 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
67612 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
67614 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
67615 esac
67616 done
67619 # If the user did not use the arguments to specify the items to instantiate,
67620 # then the envvar interface is used. Set only those that are not.
67621 # We use the long form for the default assignment because of an extremely
67622 # bizarre bug on SunOS 4.1.3.
67623 if $ac_need_defaults; then
67624 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
67625 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
67626 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
67629 # Have a temporary directory for convenience. Make it in the build tree
67630 # simply because there is no reason against having it here, and in addition,
67631 # creating and moving files from /tmp can sometimes cause problems.
67632 # Hook for its removal unless debugging.
67633 # Note that there is a small window in which the directory will not be cleaned:
67634 # after its creation but before its name has been assigned to `$tmp'.
67635 $debug ||
67637 tmp=
67638 trap 'exit_status=$?
67639 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
67641 trap 'as_fn_exit 1' 1 2 13 15
67643 # Create a (secure) tmp directory for tmp files.
67646 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
67647 test -n "$tmp" && test -d "$tmp"
67648 } ||
67650 tmp=./conf$$-$RANDOM
67651 (umask 077 && mkdir "$tmp")
67652 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
67654 # Set up the scripts for CONFIG_FILES section.
67655 # No need to generate them if there are no CONFIG_FILES.
67656 # This happens for instance with `./config.status config.h'.
67657 if test -n "$CONFIG_FILES"; then
67660 ac_cr=`echo X | tr X '\015'`
67661 # On cygwin, bash can eat \r inside `` if the user requested igncr.
67662 # But we know of no other shell where ac_cr would be empty at this
67663 # point, so we can use a bashism as a fallback.
67664 if test "x$ac_cr" = x; then
67665 eval ac_cr=\$\'\\r\'
67667 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
67668 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
67669 ac_cs_awk_cr='\r'
67670 else
67671 ac_cs_awk_cr=$ac_cr
67674 echo 'BEGIN {' >"$tmp/subs1.awk" &&
67675 _ACEOF
67679 echo "cat >conf$$subs.awk <<_ACEOF" &&
67680 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
67681 echo "_ACEOF"
67682 } >conf$$subs.sh ||
67683 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67684 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
67685 ac_delim='%!_!# '
67686 for ac_last_try in false false false false false :; do
67687 . ./conf$$subs.sh ||
67688 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67690 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
67691 if test $ac_delim_n = $ac_delim_num; then
67692 break
67693 elif $ac_last_try; then
67694 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67695 else
67696 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67698 done
67699 rm -f conf$$subs.sh
67701 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67702 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
67703 _ACEOF
67704 sed -n '
67706 s/^/S["/; s/!.*/"]=/
67709 s/^[^!]*!//
67710 :repl
67711 t repl
67712 s/'"$ac_delim"'$//
67713 t delim
67716 s/\(.\{148\}\).*/\1/
67717 t more1
67718 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
67721 b repl
67722 :more1
67723 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67726 s/.\{148\}//
67727 t nl
67728 :delim
67730 s/\(.\{148\}\).*/\1/
67731 t more2
67732 s/["\\]/\\&/g; s/^/"/; s/$/"/
67735 :more2
67736 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67739 s/.\{148\}//
67740 t delim
67741 ' <conf$$subs.awk | sed '
67742 /^[^""]/{
67744 s/\n//
67746 ' >>$CONFIG_STATUS || ac_write_fail=1
67747 rm -f conf$$subs.awk
67748 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67749 _ACAWK
67750 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
67751 for (key in S) S_is_set[key] = 1
67752 FS = "\a"
67756 line = $ 0
67757 nfields = split(line, field, "@")
67758 substed = 0
67759 len = length(field[1])
67760 for (i = 2; i < nfields; i++) {
67761 key = field[i]
67762 keylen = length(key)
67763 if (S_is_set[key]) {
67764 value = S[key]
67765 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
67766 len += length(value) + length(field[++i])
67767 substed = 1
67768 } else
67769 len += 1 + keylen
67772 print line
67775 _ACAWK
67776 _ACEOF
67777 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67778 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
67779 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
67780 else
67782 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
67783 || as_fn_error "could not setup config files machinery" "$LINENO" 5
67784 _ACEOF
67786 # VPATH may cause trouble with some makes, so we remove $(srcdir),
67787 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
67788 # trailing colons and then remove the whole line if VPATH becomes empty
67789 # (actually we leave an empty line to preserve line numbers).
67790 if test "x$srcdir" = x.; then
67791 ac_vpsub='/^[ ]*VPATH[ ]*=/{
67792 s/:*\$(srcdir):*/:/
67793 s/:*\${srcdir}:*/:/
67794 s/:*@srcdir@:*/:/
67795 s/^\([^=]*=[ ]*\):*/\1/
67796 s/:*$//
67797 s/^[^=]*=[ ]*$//
67801 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67802 fi # test -n "$CONFIG_FILES"
67804 # Set up the scripts for CONFIG_HEADERS section.
67805 # No need to generate them if there are no CONFIG_HEADERS.
67806 # This happens for instance with `./config.status Makefile'.
67807 if test -n "$CONFIG_HEADERS"; then
67808 cat >"$tmp/defines.awk" <<\_ACAWK ||
67809 BEGIN {
67810 _ACEOF
67812 # Transform confdefs.h into an awk script `defines.awk', embedded as
67813 # here-document in config.status, that substitutes the proper values into
67814 # config.h.in to produce config.h.
67816 # Create a delimiter string that does not exist in confdefs.h, to ease
67817 # handling of long lines.
67818 ac_delim='%!_!# '
67819 for ac_last_try in false false :; do
67820 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
67821 if test -z "$ac_t"; then
67822 break
67823 elif $ac_last_try; then
67824 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
67825 else
67826 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67828 done
67830 # For the awk script, D is an array of macro values keyed by name,
67831 # likewise P contains macro parameters if any. Preserve backslash
67832 # newline sequences.
67834 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
67835 sed -n '
67836 s/.\{148\}/&'"$ac_delim"'/g
67837 t rset
67838 :rset
67839 s/^[ ]*#[ ]*define[ ][ ]*/ /
67840 t def
67842 :def
67843 s/\\$//
67844 t bsnl
67845 s/["\\]/\\&/g
67846 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
67847 D["\1"]=" \3"/p
67848 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
67850 :bsnl
67851 s/["\\]/\\&/g
67852 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
67853 D["\1"]=" \3\\\\\\n"\\/p
67854 t cont
67855 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
67856 t cont
67858 :cont
67860 s/.\{148\}/&'"$ac_delim"'/g
67861 t clear
67862 :clear
67863 s/\\$//
67864 t bsnlc
67865 s/["\\]/\\&/g; s/^/"/; s/$/"/p
67867 :bsnlc
67868 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
67869 b cont
67870 ' <confdefs.h | sed '
67871 s/'"$ac_delim"'/"\\\
67872 "/g' >>$CONFIG_STATUS || ac_write_fail=1
67874 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67875 for (key in D) D_is_set[key] = 1
67876 FS = "\a"
67878 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
67879 line = \$ 0
67880 split(line, arg, " ")
67881 if (arg[1] == "#") {
67882 defundef = arg[2]
67883 mac1 = arg[3]
67884 } else {
67885 defundef = substr(arg[1], 2)
67886 mac1 = arg[2]
67888 split(mac1, mac2, "(") #)
67889 macro = mac2[1]
67890 prefix = substr(line, 1, index(line, defundef) - 1)
67891 if (D_is_set[macro]) {
67892 # Preserve the white space surrounding the "#".
67893 print prefix "define", macro P[macro] D[macro]
67894 next
67895 } else {
67896 # Replace #undef with comments. This is necessary, for example,
67897 # in the case of _POSIX_SOURCE, which is predefined and required
67898 # on some systems where configure will not decide to define it.
67899 if (defundef == "undef") {
67900 print "/*", prefix defundef, macro, "*/"
67901 next
67905 { print }
67906 _ACAWK
67907 _ACEOF
67908 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67909 as_fn_error "could not setup config headers machinery" "$LINENO" 5
67910 fi # test -n "$CONFIG_HEADERS"
67913 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
67914 shift
67915 for ac_tag
67917 case $ac_tag in
67918 :[FHLC]) ac_mode=$ac_tag; continue;;
67919 esac
67920 case $ac_mode$ac_tag in
67921 :[FHL]*:*);;
67922 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
67923 :[FH]-) ac_tag=-:-;;
67924 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
67925 esac
67926 ac_save_IFS=$IFS
67927 IFS=:
67928 set x $ac_tag
67929 IFS=$ac_save_IFS
67930 shift
67931 ac_file=$1
67932 shift
67934 case $ac_mode in
67935 :L) ac_source=$1;;
67936 :[FH])
67937 ac_file_inputs=
67938 for ac_f
67940 case $ac_f in
67941 -) ac_f="$tmp/stdin";;
67942 *) # Look for the file first in the build tree, then in the source tree
67943 # (if the path is not absolute). The absolute path cannot be DOS-style,
67944 # because $ac_f cannot contain `:'.
67945 test -f "$ac_f" ||
67946 case $ac_f in
67947 [\\/$]*) false;;
67948 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
67949 esac ||
67950 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
67951 esac
67952 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
67953 as_fn_append ac_file_inputs " '$ac_f'"
67954 done
67956 # Let's still pretend it is `configure' which instantiates (i.e., don't
67957 # use $as_me), people would be surprised to read:
67958 # /* config.h. Generated by config.status. */
67959 configure_input='Generated from '`
67960 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
67961 `' by configure.'
67962 if test x"$ac_file" != x-; then
67963 configure_input="$ac_file. $configure_input"
67964 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
67965 $as_echo "$as_me: creating $ac_file" >&6;}
67967 # Neutralize special characters interpreted by sed in replacement strings.
67968 case $configure_input in #(
67969 *\&* | *\|* | *\\* )
67970 ac_sed_conf_input=`$as_echo "$configure_input" |
67971 sed 's/[\\\\&|]/\\\\&/g'`;; #(
67972 *) ac_sed_conf_input=$configure_input;;
67973 esac
67975 case $ac_tag in
67976 *:-:* | *:-) cat >"$tmp/stdin" \
67977 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
67978 esac
67980 esac
67982 ac_dir=`$as_dirname -- "$ac_file" ||
67983 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67984 X"$ac_file" : 'X\(//\)[^/]' \| \
67985 X"$ac_file" : 'X\(//\)$' \| \
67986 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
67987 $as_echo X"$ac_file" |
67988 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67989 s//\1/
67992 /^X\(\/\/\)[^/].*/{
67993 s//\1/
67996 /^X\(\/\/\)$/{
67997 s//\1/
68000 /^X\(\/\).*/{
68001 s//\1/
68004 s/.*/./; q'`
68005 as_dir="$ac_dir"; as_fn_mkdir_p
68006 ac_builddir=.
68008 case "$ac_dir" in
68009 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
68011 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
68012 # A ".." for each directory in $ac_dir_suffix.
68013 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
68014 case $ac_top_builddir_sub in
68015 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
68016 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
68017 esac ;;
68018 esac
68019 ac_abs_top_builddir=$ac_pwd
68020 ac_abs_builddir=$ac_pwd$ac_dir_suffix
68021 # for backward compatibility:
68022 ac_top_builddir=$ac_top_build_prefix
68024 case $srcdir in
68025 .) # We are building in place.
68026 ac_srcdir=.
68027 ac_top_srcdir=$ac_top_builddir_sub
68028 ac_abs_top_srcdir=$ac_pwd ;;
68029 [\\/]* | ?:[\\/]* ) # Absolute name.
68030 ac_srcdir=$srcdir$ac_dir_suffix;
68031 ac_top_srcdir=$srcdir
68032 ac_abs_top_srcdir=$srcdir ;;
68033 *) # Relative name.
68034 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
68035 ac_top_srcdir=$ac_top_build_prefix$srcdir
68036 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
68037 esac
68038 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
68041 case $ac_mode in
68044 # CONFIG_FILE
68047 case $INSTALL in
68048 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
68049 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
68050 esac
68051 ac_MKDIR_P=$MKDIR_P
68052 case $MKDIR_P in
68053 [\\/$]* | ?:[\\/]* ) ;;
68054 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
68055 esac
68056 _ACEOF
68058 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
68059 # If the template does not know about datarootdir, expand it.
68060 # FIXME: This hack should be removed a few years after 2.60.
68061 ac_datarootdir_hack=; ac_datarootdir_seen=
68062 ac_sed_dataroot='
68063 /datarootdir/ {
68067 /@datadir@/p
68068 /@docdir@/p
68069 /@infodir@/p
68070 /@localedir@/p
68071 /@mandir@/p'
68072 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
68073 *datarootdir*) ac_datarootdir_seen=yes;;
68074 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
68075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
68076 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
68077 _ACEOF
68078 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
68079 ac_datarootdir_hack='
68080 s&@datadir@&$datadir&g
68081 s&@docdir@&$docdir&g
68082 s&@infodir@&$infodir&g
68083 s&@localedir@&$localedir&g
68084 s&@mandir@&$mandir&g
68085 s&\\\${datarootdir}&$datarootdir&g' ;;
68086 esac
68087 _ACEOF
68089 # Neutralize VPATH when `$srcdir' = `.'.
68090 # Shell code in configure.ac might set extrasub.
68091 # FIXME: do we really want to maintain this feature?
68092 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
68093 ac_sed_extra="$ac_vpsub
68094 $extrasub
68095 _ACEOF
68096 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
68098 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
68099 s|@configure_input@|$ac_sed_conf_input|;t t
68100 s&@top_builddir@&$ac_top_builddir_sub&;t t
68101 s&@top_build_prefix@&$ac_top_build_prefix&;t t
68102 s&@srcdir@&$ac_srcdir&;t t
68103 s&@abs_srcdir@&$ac_abs_srcdir&;t t
68104 s&@top_srcdir@&$ac_top_srcdir&;t t
68105 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
68106 s&@builddir@&$ac_builddir&;t t
68107 s&@abs_builddir@&$ac_abs_builddir&;t t
68108 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
68109 s&@INSTALL@&$ac_INSTALL&;t t
68110 s&@MKDIR_P@&$ac_MKDIR_P&;t t
68111 $ac_datarootdir_hack
68113 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
68114 || as_fn_error "could not create $ac_file" "$LINENO" 5
68116 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
68117 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
68118 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
68119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
68120 which seems to be undefined. Please make sure it is defined." >&5
68121 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
68122 which seems to be undefined. Please make sure it is defined." >&2;}
68124 rm -f "$tmp/stdin"
68125 case $ac_file in
68126 -) cat "$tmp/out" && rm -f "$tmp/out";;
68127 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
68128 esac \
68129 || as_fn_error "could not create $ac_file" "$LINENO" 5
68133 # CONFIG_HEADER
68135 if test x"$ac_file" != x-; then
68137 $as_echo "/* $configure_input */" \
68138 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
68139 } >"$tmp/config.h" \
68140 || as_fn_error "could not create $ac_file" "$LINENO" 5
68141 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
68142 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
68143 $as_echo "$as_me: $ac_file is unchanged" >&6;}
68144 else
68145 rm -f "$ac_file"
68146 mv "$tmp/config.h" "$ac_file" \
68147 || as_fn_error "could not create $ac_file" "$LINENO" 5
68149 else
68150 $as_echo "/* $configure_input */" \
68151 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
68152 || as_fn_error "could not create -" "$LINENO" 5
68154 # Compute "$ac_file"'s index in $config_headers.
68155 _am_arg="$ac_file"
68156 _am_stamp_count=1
68157 for _am_header in $config_headers :; do
68158 case $_am_header in
68159 $_am_arg | $_am_arg:* )
68160 break ;;
68162 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
68163 esac
68164 done
68165 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
68166 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
68167 X"$_am_arg" : 'X\(//\)[^/]' \| \
68168 X"$_am_arg" : 'X\(//\)$' \| \
68169 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
68170 $as_echo X"$_am_arg" |
68171 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
68172 s//\1/
68175 /^X\(\/\/\)[^/].*/{
68176 s//\1/
68179 /^X\(\/\/\)$/{
68180 s//\1/
68183 /^X\(\/\).*/{
68184 s//\1/
68187 s/.*/./; q'`/stamp-h$_am_stamp_count
68190 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
68191 $as_echo "$as_me: executing $ac_file commands" >&6;}
68193 esac
68196 case $ac_file$ac_mode in
68197 "default-1":C)
68198 # Only add multilib support code if we just rebuilt the top-level
68199 # Makefile.
68200 case " $CONFIG_FILES " in
68201 *" Makefile "*)
68202 ac_file=Makefile . ${multi_basedir}/config-ml.in
68204 esac ;;
68205 "libtool":C)
68207 # See if we are running on zsh, and set the options which allow our
68208 # commands through without removal of \ escapes.
68209 if test -n "${ZSH_VERSION+set}" ; then
68210 setopt NO_GLOB_SUBST
68213 cfgfile="${ofile}T"
68214 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
68215 $RM "$cfgfile"
68217 cat <<_LT_EOF >> "$cfgfile"
68218 #! $SHELL
68220 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
68221 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
68222 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
68223 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
68225 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
68226 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
68227 # Written by Gordon Matzigkeit, 1996
68229 # This file is part of GNU Libtool.
68231 # GNU Libtool is free software; you can redistribute it and/or
68232 # modify it under the terms of the GNU General Public License as
68233 # published by the Free Software Foundation; either version 2 of
68234 # the License, or (at your option) any later version.
68236 # As a special exception to the GNU General Public License,
68237 # if you distribute this file as part of a program or library that
68238 # is built using GNU Libtool, you may include this file under the
68239 # same distribution terms that you use for the rest of that program.
68241 # GNU Libtool is distributed in the hope that it will be useful,
68242 # but WITHOUT ANY WARRANTY; without even the implied warranty of
68243 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
68244 # GNU General Public License for more details.
68246 # You should have received a copy of the GNU General Public License
68247 # along with GNU Libtool; see the file COPYING. If not, a copy
68248 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
68249 # obtained by writing to the Free Software Foundation, Inc.,
68250 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
68253 # The names of the tagged configurations supported by this script.
68254 available_tags="CXX "
68256 # ### BEGIN LIBTOOL CONFIG
68258 # Which release of libtool.m4 was used?
68259 macro_version=$macro_version
68260 macro_revision=$macro_revision
68262 # Whether or not to build shared libraries.
68263 build_libtool_libs=$enable_shared
68265 # Whether or not to build static libraries.
68266 build_old_libs=$enable_static
68268 # What type of objects to build.
68269 pic_mode=$pic_mode
68271 # Whether or not to optimize for fast installation.
68272 fast_install=$enable_fast_install
68274 # Shell to use when invoking shell scripts.
68275 SHELL=$lt_SHELL
68277 # An echo program that protects backslashes.
68278 ECHO=$lt_ECHO
68280 # The host system.
68281 host_alias=$host_alias
68282 host=$host
68283 host_os=$host_os
68285 # The build system.
68286 build_alias=$build_alias
68287 build=$build
68288 build_os=$build_os
68290 # A sed program that does not truncate output.
68291 SED=$lt_SED
68293 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
68294 Xsed="\$SED -e 1s/^X//"
68296 # A grep program that handles long lines.
68297 GREP=$lt_GREP
68299 # An ERE matcher.
68300 EGREP=$lt_EGREP
68302 # A literal string matcher.
68303 FGREP=$lt_FGREP
68305 # A BSD- or MS-compatible name lister.
68306 NM=$lt_NM
68308 # Whether we need soft or hard links.
68309 LN_S=$lt_LN_S
68311 # What is the maximum length of a command?
68312 max_cmd_len=$max_cmd_len
68314 # Object file suffix (normally "o").
68315 objext=$ac_objext
68317 # Executable file suffix (normally "").
68318 exeext=$exeext
68320 # whether the shell understands "unset".
68321 lt_unset=$lt_unset
68323 # turn spaces into newlines.
68324 SP2NL=$lt_lt_SP2NL
68326 # turn newlines into spaces.
68327 NL2SP=$lt_lt_NL2SP
68329 # An object symbol dumper.
68330 OBJDUMP=$lt_OBJDUMP
68332 # Method to check whether dependent libraries are shared objects.
68333 deplibs_check_method=$lt_deplibs_check_method
68335 # Command to use when deplibs_check_method == "file_magic".
68336 file_magic_cmd=$lt_file_magic_cmd
68338 # The archiver.
68339 AR=$lt_AR
68340 AR_FLAGS=$lt_AR_FLAGS
68342 # A symbol stripping program.
68343 STRIP=$lt_STRIP
68345 # Commands used to install an old-style archive.
68346 RANLIB=$lt_RANLIB
68347 old_postinstall_cmds=$lt_old_postinstall_cmds
68348 old_postuninstall_cmds=$lt_old_postuninstall_cmds
68350 # Whether to use a lock for old archive extraction.
68351 lock_old_archive_extraction=$lock_old_archive_extraction
68353 # A C compiler.
68354 LTCC=$lt_CC
68356 # LTCC compiler flags.
68357 LTCFLAGS=$lt_CFLAGS
68359 # Take the output of nm and produce a listing of raw symbols and C names.
68360 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
68362 # Transform the output of nm in a proper C declaration.
68363 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
68365 # Transform the output of nm in a C name address pair.
68366 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
68368 # Transform the output of nm in a C name address pair when lib prefix is needed.
68369 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
68371 # The name of the directory that contains temporary libtool files.
68372 objdir=$objdir
68374 # Used to examine libraries when file_magic_cmd begins with "file".
68375 MAGIC_CMD=$MAGIC_CMD
68377 # Must we lock files when doing compilation?
68378 need_locks=$lt_need_locks
68380 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
68381 DSYMUTIL=$lt_DSYMUTIL
68383 # Tool to change global to local symbols on Mac OS X.
68384 NMEDIT=$lt_NMEDIT
68386 # Tool to manipulate fat objects and archives on Mac OS X.
68387 LIPO=$lt_LIPO
68389 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
68390 OTOOL=$lt_OTOOL
68392 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
68393 OTOOL64=$lt_OTOOL64
68395 # Old archive suffix (normally "a").
68396 libext=$libext
68398 # Shared library suffix (normally ".so").
68399 shrext_cmds=$lt_shrext_cmds
68401 # The commands to extract the exported symbol list from a shared archive.
68402 extract_expsyms_cmds=$lt_extract_expsyms_cmds
68404 # Variables whose values should be saved in libtool wrapper scripts and
68405 # restored at link time.
68406 variables_saved_for_relink=$lt_variables_saved_for_relink
68408 # Do we need the "lib" prefix for modules?
68409 need_lib_prefix=$need_lib_prefix
68411 # Do we need a version for libraries?
68412 need_version=$need_version
68414 # Library versioning type.
68415 version_type=$version_type
68417 # Shared library runtime path variable.
68418 runpath_var=$runpath_var
68420 # Shared library path variable.
68421 shlibpath_var=$shlibpath_var
68423 # Is shlibpath searched before the hard-coded library search path?
68424 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
68426 # Format of library name prefix.
68427 libname_spec=$lt_libname_spec
68429 # List of archive names. First name is the real one, the rest are links.
68430 # The last name is the one that the linker finds with -lNAME
68431 library_names_spec=$lt_library_names_spec
68433 # The coded name of the library, if different from the real name.
68434 soname_spec=$lt_soname_spec
68436 # Permission mode override for installation of shared libraries.
68437 install_override_mode=$lt_install_override_mode
68439 # Command to use after installation of a shared archive.
68440 postinstall_cmds=$lt_postinstall_cmds
68442 # Command to use after uninstallation of a shared archive.
68443 postuninstall_cmds=$lt_postuninstall_cmds
68445 # Commands used to finish a libtool library installation in a directory.
68446 finish_cmds=$lt_finish_cmds
68448 # As "finish_cmds", except a single script fragment to be evaled but
68449 # not shown.
68450 finish_eval=$lt_finish_eval
68452 # Whether we should hardcode library paths into libraries.
68453 hardcode_into_libs=$hardcode_into_libs
68455 # Compile-time system search path for libraries.
68456 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
68458 # Run-time system search path for libraries.
68459 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
68461 # Whether dlopen is supported.
68462 dlopen_support=$enable_dlopen
68464 # Whether dlopen of programs is supported.
68465 dlopen_self=$enable_dlopen_self
68467 # Whether dlopen of statically linked programs is supported.
68468 dlopen_self_static=$enable_dlopen_self_static
68470 # Commands to strip libraries.
68471 old_striplib=$lt_old_striplib
68472 striplib=$lt_striplib
68475 # The linker used to build libraries.
68476 LD=$lt_LD
68478 # How to create reloadable object files.
68479 reload_flag=$lt_reload_flag
68480 reload_cmds=$lt_reload_cmds
68482 # Commands used to build an old-style archive.
68483 old_archive_cmds=$lt_old_archive_cmds
68485 # A language specific compiler.
68486 CC=$lt_compiler
68488 # Is the compiler the GNU compiler?
68489 with_gcc=$GCC
68491 # Compiler flag to turn off builtin functions.
68492 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
68494 # How to pass a linker flag through the compiler.
68495 wl=$lt_lt_prog_compiler_wl
68497 # Additional compiler flags for building library objects.
68498 pic_flag=$lt_lt_prog_compiler_pic
68500 # Compiler flag to prevent dynamic linking.
68501 link_static_flag=$lt_lt_prog_compiler_static
68503 # Does compiler simultaneously support -c and -o options?
68504 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
68506 # Whether or not to add -lc for building shared libraries.
68507 build_libtool_need_lc=$archive_cmds_need_lc
68509 # Whether or not to disallow shared libs when runtime libs are static.
68510 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
68512 # Compiler flag to allow reflexive dlopens.
68513 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
68515 # Compiler flag to generate shared objects directly from archives.
68516 whole_archive_flag_spec=$lt_whole_archive_flag_spec
68518 # Whether the compiler copes with passing no objects directly.
68519 compiler_needs_object=$lt_compiler_needs_object
68521 # Create an old-style archive from a shared archive.
68522 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
68524 # Create a temporary old-style archive to link instead of a shared archive.
68525 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
68527 # Commands used to build a shared archive.
68528 archive_cmds=$lt_archive_cmds
68529 archive_expsym_cmds=$lt_archive_expsym_cmds
68531 # Commands used to build a loadable module if different from building
68532 # a shared archive.
68533 module_cmds=$lt_module_cmds
68534 module_expsym_cmds=$lt_module_expsym_cmds
68536 # Whether we are building with GNU ld or not.
68537 with_gnu_ld=$lt_with_gnu_ld
68539 # Flag that allows shared libraries with undefined symbols to be built.
68540 allow_undefined_flag=$lt_allow_undefined_flag
68542 # Flag that enforces no undefined symbols.
68543 no_undefined_flag=$lt_no_undefined_flag
68545 # Flag to hardcode \$libdir into a binary during linking.
68546 # This must work even if \$libdir does not exist
68547 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
68549 # If ld is used when linking, flag to hardcode \$libdir into a binary
68550 # during linking. This must work even if \$libdir does not exist.
68551 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
68553 # Whether we need a single "-rpath" flag with a separated argument.
68554 hardcode_libdir_separator=$lt_hardcode_libdir_separator
68556 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68557 # DIR into the resulting binary.
68558 hardcode_direct=$hardcode_direct
68560 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68561 # DIR into the resulting binary and the resulting library dependency is
68562 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
68563 # library is relocated.
68564 hardcode_direct_absolute=$hardcode_direct_absolute
68566 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
68567 # into the resulting binary.
68568 hardcode_minus_L=$hardcode_minus_L
68570 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
68571 # into the resulting binary.
68572 hardcode_shlibpath_var=$hardcode_shlibpath_var
68574 # Set to "yes" if building a shared library automatically hardcodes DIR
68575 # into the library and all subsequent libraries and executables linked
68576 # against it.
68577 hardcode_automatic=$hardcode_automatic
68579 # Set to yes if linker adds runtime paths of dependent libraries
68580 # to runtime path list.
68581 inherit_rpath=$inherit_rpath
68583 # Whether libtool must link a program against all its dependency libraries.
68584 link_all_deplibs=$link_all_deplibs
68586 # Fix the shell variable \$srcfile for the compiler.
68587 fix_srcfile_path=$lt_fix_srcfile_path
68589 # Set to "yes" if exported symbols are required.
68590 always_export_symbols=$always_export_symbols
68592 # The commands to list exported symbols.
68593 export_symbols_cmds=$lt_export_symbols_cmds
68595 # Symbols that should not be listed in the preloaded symbols.
68596 exclude_expsyms=$lt_exclude_expsyms
68598 # Symbols that must always be exported.
68599 include_expsyms=$lt_include_expsyms
68601 # Commands necessary for linking programs (against libraries) with templates.
68602 prelink_cmds=$lt_prelink_cmds
68604 # Specify filename containing input files.
68605 file_list_spec=$lt_file_list_spec
68607 # How to hardcode a shared library path into an executable.
68608 hardcode_action=$hardcode_action
68610 # The directories searched by this compiler when creating a shared library.
68611 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
68613 # Dependencies to place before and after the objects being linked to
68614 # create a shared library.
68615 predep_objects=$lt_predep_objects
68616 postdep_objects=$lt_postdep_objects
68617 predeps=$lt_predeps
68618 postdeps=$lt_postdeps
68620 # The library search path used internally by the compiler when linking
68621 # a shared library.
68622 compiler_lib_search_path=$lt_compiler_lib_search_path
68624 # ### END LIBTOOL CONFIG
68626 _LT_EOF
68628 case $host_os in
68629 aix3*)
68630 cat <<\_LT_EOF >> "$cfgfile"
68631 # AIX sometimes has problems with the GCC collect2 program. For some
68632 # reason, if we set the COLLECT_NAMES environment variable, the problems
68633 # vanish in a puff of smoke.
68634 if test "X${COLLECT_NAMES+set}" != Xset; then
68635 COLLECT_NAMES=
68636 export COLLECT_NAMES
68638 _LT_EOF
68640 esac
68643 ltmain="$ac_aux_dir/ltmain.sh"
68646 # We use sed instead of cat because bash on DJGPP gets confused if
68647 # if finds mixed CR/LF and LF-only lines. Since sed operates in
68648 # text mode, it properly converts lines to CR/LF. This bash problem
68649 # is reportedly fixed, but why not run on old versions too?
68650 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
68651 || (rm -f "$cfgfile"; exit 1)
68653 case $xsi_shell in
68654 yes)
68655 cat << \_LT_EOF >> "$cfgfile"
68657 # func_dirname file append nondir_replacement
68658 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
68659 # otherwise set result to NONDIR_REPLACEMENT.
68660 func_dirname ()
68662 case ${1} in
68663 */*) func_dirname_result="${1%/*}${2}" ;;
68664 * ) func_dirname_result="${3}" ;;
68665 esac
68668 # func_basename file
68669 func_basename ()
68671 func_basename_result="${1##*/}"
68674 # func_dirname_and_basename file append nondir_replacement
68675 # perform func_basename and func_dirname in a single function
68676 # call:
68677 # dirname: Compute the dirname of FILE. If nonempty,
68678 # add APPEND to the result, otherwise set result
68679 # to NONDIR_REPLACEMENT.
68680 # value returned in "$func_dirname_result"
68681 # basename: Compute filename of FILE.
68682 # value retuned in "$func_basename_result"
68683 # Implementation must be kept synchronized with func_dirname
68684 # and func_basename. For efficiency, we do not delegate to
68685 # those functions but instead duplicate the functionality here.
68686 func_dirname_and_basename ()
68688 case ${1} in
68689 */*) func_dirname_result="${1%/*}${2}" ;;
68690 * ) func_dirname_result="${3}" ;;
68691 esac
68692 func_basename_result="${1##*/}"
68695 # func_stripname prefix suffix name
68696 # strip PREFIX and SUFFIX off of NAME.
68697 # PREFIX and SUFFIX must not contain globbing or regex special
68698 # characters, hashes, percent signs, but SUFFIX may contain a leading
68699 # dot (in which case that matches only a dot).
68700 func_stripname ()
68702 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
68703 # positional parameters, so assign one to ordinary parameter first.
68704 func_stripname_result=${3}
68705 func_stripname_result=${func_stripname_result#"${1}"}
68706 func_stripname_result=${func_stripname_result%"${2}"}
68709 # func_opt_split
68710 func_opt_split ()
68712 func_opt_split_opt=${1%%=*}
68713 func_opt_split_arg=${1#*=}
68716 # func_lo2o object
68717 func_lo2o ()
68719 case ${1} in
68720 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
68721 *) func_lo2o_result=${1} ;;
68722 esac
68725 # func_xform libobj-or-source
68726 func_xform ()
68728 func_xform_result=${1%.*}.lo
68731 # func_arith arithmetic-term...
68732 func_arith ()
68734 func_arith_result=$(( $* ))
68737 # func_len string
68738 # STRING may not start with a hyphen.
68739 func_len ()
68741 func_len_result=${#1}
68744 _LT_EOF
68746 *) # Bourne compatible functions.
68747 cat << \_LT_EOF >> "$cfgfile"
68749 # func_dirname file append nondir_replacement
68750 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
68751 # otherwise set result to NONDIR_REPLACEMENT.
68752 func_dirname ()
68754 # Extract subdirectory from the argument.
68755 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
68756 if test "X$func_dirname_result" = "X${1}"; then
68757 func_dirname_result="${3}"
68758 else
68759 func_dirname_result="$func_dirname_result${2}"
68763 # func_basename file
68764 func_basename ()
68766 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
68770 # func_stripname prefix suffix name
68771 # strip PREFIX and SUFFIX off of NAME.
68772 # PREFIX and SUFFIX must not contain globbing or regex special
68773 # characters, hashes, percent signs, but SUFFIX may contain a leading
68774 # dot (in which case that matches only a dot).
68775 # func_strip_suffix prefix name
68776 func_stripname ()
68778 case ${2} in
68779 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
68780 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
68781 esac
68784 # sed scripts:
68785 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
68786 my_sed_long_arg='1s/^-[^=]*=//'
68788 # func_opt_split
68789 func_opt_split ()
68791 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
68792 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
68795 # func_lo2o object
68796 func_lo2o ()
68798 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
68801 # func_xform libobj-or-source
68802 func_xform ()
68804 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
68807 # func_arith arithmetic-term...
68808 func_arith ()
68810 func_arith_result=`expr "$@"`
68813 # func_len string
68814 # STRING may not start with a hyphen.
68815 func_len ()
68817 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
68820 _LT_EOF
68821 esac
68823 case $lt_shell_append in
68824 yes)
68825 cat << \_LT_EOF >> "$cfgfile"
68827 # func_append var value
68828 # Append VALUE to the end of shell variable VAR.
68829 func_append ()
68831 eval "$1+=\$2"
68833 _LT_EOF
68836 cat << \_LT_EOF >> "$cfgfile"
68838 # func_append var value
68839 # Append VALUE to the end of shell variable VAR.
68840 func_append ()
68842 eval "$1=\$$1\$2"
68845 _LT_EOF
68847 esac
68850 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
68851 || (rm -f "$cfgfile"; exit 1)
68853 mv -f "$cfgfile" "$ofile" ||
68854 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
68855 chmod +x "$ofile"
68858 cat <<_LT_EOF >> "$ofile"
68860 # ### BEGIN LIBTOOL TAG CONFIG: CXX
68862 # The linker used to build libraries.
68863 LD=$lt_LD_CXX
68865 # How to create reloadable object files.
68866 reload_flag=$lt_reload_flag_CXX
68867 reload_cmds=$lt_reload_cmds_CXX
68869 # Commands used to build an old-style archive.
68870 old_archive_cmds=$lt_old_archive_cmds_CXX
68872 # A language specific compiler.
68873 CC=$lt_compiler_CXX
68875 # Is the compiler the GNU compiler?
68876 with_gcc=$GCC_CXX
68878 # Compiler flag to turn off builtin functions.
68879 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
68881 # How to pass a linker flag through the compiler.
68882 wl=$lt_lt_prog_compiler_wl_CXX
68884 # Additional compiler flags for building library objects.
68885 pic_flag=$lt_lt_prog_compiler_pic_CXX
68887 # Compiler flag to prevent dynamic linking.
68888 link_static_flag=$lt_lt_prog_compiler_static_CXX
68890 # Does compiler simultaneously support -c and -o options?
68891 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
68893 # Whether or not to add -lc for building shared libraries.
68894 build_libtool_need_lc=$archive_cmds_need_lc_CXX
68896 # Whether or not to disallow shared libs when runtime libs are static.
68897 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
68899 # Compiler flag to allow reflexive dlopens.
68900 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
68902 # Compiler flag to generate shared objects directly from archives.
68903 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
68905 # Whether the compiler copes with passing no objects directly.
68906 compiler_needs_object=$lt_compiler_needs_object_CXX
68908 # Create an old-style archive from a shared archive.
68909 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
68911 # Create a temporary old-style archive to link instead of a shared archive.
68912 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
68914 # Commands used to build a shared archive.
68915 archive_cmds=$lt_archive_cmds_CXX
68916 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
68918 # Commands used to build a loadable module if different from building
68919 # a shared archive.
68920 module_cmds=$lt_module_cmds_CXX
68921 module_expsym_cmds=$lt_module_expsym_cmds_CXX
68923 # Whether we are building with GNU ld or not.
68924 with_gnu_ld=$lt_with_gnu_ld_CXX
68926 # Flag that allows shared libraries with undefined symbols to be built.
68927 allow_undefined_flag=$lt_allow_undefined_flag_CXX
68929 # Flag that enforces no undefined symbols.
68930 no_undefined_flag=$lt_no_undefined_flag_CXX
68932 # Flag to hardcode \$libdir into a binary during linking.
68933 # This must work even if \$libdir does not exist
68934 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
68936 # If ld is used when linking, flag to hardcode \$libdir into a binary
68937 # during linking. This must work even if \$libdir does not exist.
68938 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
68940 # Whether we need a single "-rpath" flag with a separated argument.
68941 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
68943 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68944 # DIR into the resulting binary.
68945 hardcode_direct=$hardcode_direct_CXX
68947 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68948 # DIR into the resulting binary and the resulting library dependency is
68949 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
68950 # library is relocated.
68951 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
68953 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
68954 # into the resulting binary.
68955 hardcode_minus_L=$hardcode_minus_L_CXX
68957 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
68958 # into the resulting binary.
68959 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
68961 # Set to "yes" if building a shared library automatically hardcodes DIR
68962 # into the library and all subsequent libraries and executables linked
68963 # against it.
68964 hardcode_automatic=$hardcode_automatic_CXX
68966 # Set to yes if linker adds runtime paths of dependent libraries
68967 # to runtime path list.
68968 inherit_rpath=$inherit_rpath_CXX
68970 # Whether libtool must link a program against all its dependency libraries.
68971 link_all_deplibs=$link_all_deplibs_CXX
68973 # Fix the shell variable \$srcfile for the compiler.
68974 fix_srcfile_path=$lt_fix_srcfile_path_CXX
68976 # Set to "yes" if exported symbols are required.
68977 always_export_symbols=$always_export_symbols_CXX
68979 # The commands to list exported symbols.
68980 export_symbols_cmds=$lt_export_symbols_cmds_CXX
68982 # Symbols that should not be listed in the preloaded symbols.
68983 exclude_expsyms=$lt_exclude_expsyms_CXX
68985 # Symbols that must always be exported.
68986 include_expsyms=$lt_include_expsyms_CXX
68988 # Commands necessary for linking programs (against libraries) with templates.
68989 prelink_cmds=$lt_prelink_cmds_CXX
68991 # Specify filename containing input files.
68992 file_list_spec=$lt_file_list_spec_CXX
68994 # How to hardcode a shared library path into an executable.
68995 hardcode_action=$hardcode_action_CXX
68997 # The directories searched by this compiler when creating a shared library.
68998 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
69000 # Dependencies to place before and after the objects being linked to
69001 # create a shared library.
69002 predep_objects=$lt_predep_objects_CXX
69003 postdep_objects=$lt_postdep_objects_CXX
69004 predeps=$lt_predeps_CXX
69005 postdeps=$lt_postdeps_CXX
69007 # The library search path used internally by the compiler when linking
69008 # a shared library.
69009 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
69011 # ### END LIBTOOL TAG CONFIG: CXX
69012 _LT_EOF
69015 "include/gstdint.h":C)
69016 if test "$GCC" = yes; then
69017 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
69018 else
69019 echo "/* generated for $CC */" > tmp-stdint.h
69022 sed 's/^ *//' >> tmp-stdint.h <<EOF
69024 #ifndef GCC_GENERATED_STDINT_H
69025 #define GCC_GENERATED_STDINT_H 1
69027 #include <sys/types.h>
69030 if test "$acx_cv_header_stdint" != stdint.h; then
69031 echo "#include <stddef.h>" >> tmp-stdint.h
69033 if test "$acx_cv_header_stdint" != stddef.h; then
69034 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
69037 sed 's/^ *//' >> tmp-stdint.h <<EOF
69038 /* glibc uses these symbols as guards to prevent redefinitions. */
69039 #ifdef __int8_t_defined
69040 #define _INT8_T
69041 #define _INT16_T
69042 #define _INT32_T
69043 #endif
69044 #ifdef __uint32_t_defined
69045 #define _UINT32_T
69046 #endif
69050 # ----------------- done header, emit basic int types -------------
69051 if test "$acx_cv_header_stdint" = stddef.h; then
69052 sed 's/^ *//' >> tmp-stdint.h <<EOF
69054 #ifndef _UINT8_T
69055 #define _UINT8_T
69056 #ifndef __uint8_t_defined
69057 #define __uint8_t_defined
69058 #ifndef uint8_t
69059 typedef unsigned $acx_cv_type_int8_t uint8_t;
69060 #endif
69061 #endif
69062 #endif
69064 #ifndef _UINT16_T
69065 #define _UINT16_T
69066 #ifndef __uint16_t_defined
69067 #define __uint16_t_defined
69068 #ifndef uint16_t
69069 typedef unsigned $acx_cv_type_int16_t uint16_t;
69070 #endif
69071 #endif
69072 #endif
69074 #ifndef _UINT32_T
69075 #define _UINT32_T
69076 #ifndef __uint32_t_defined
69077 #define __uint32_t_defined
69078 #ifndef uint32_t
69079 typedef unsigned $acx_cv_type_int32_t uint32_t;
69080 #endif
69081 #endif
69082 #endif
69084 #ifndef _INT8_T
69085 #define _INT8_T
69086 #ifndef __int8_t_defined
69087 #define __int8_t_defined
69088 #ifndef int8_t
69089 typedef $acx_cv_type_int8_t int8_t;
69090 #endif
69091 #endif
69092 #endif
69094 #ifndef _INT16_T
69095 #define _INT16_T
69096 #ifndef __int16_t_defined
69097 #define __int16_t_defined
69098 #ifndef int16_t
69099 typedef $acx_cv_type_int16_t int16_t;
69100 #endif
69101 #endif
69102 #endif
69104 #ifndef _INT32_T
69105 #define _INT32_T
69106 #ifndef __int32_t_defined
69107 #define __int32_t_defined
69108 #ifndef int32_t
69109 typedef $acx_cv_type_int32_t int32_t;
69110 #endif
69111 #endif
69112 #endif
69114 elif test "$ac_cv_type_u_int32_t" = yes; then
69115 sed 's/^ *//' >> tmp-stdint.h <<EOF
69117 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
69118 #ifndef _INT8_T
69119 #define _INT8_T
69120 #endif
69121 #ifndef _INT16_T
69122 #define _INT16_T
69123 #endif
69124 #ifndef _INT32_T
69125 #define _INT32_T
69126 #endif
69128 #ifndef _UINT8_T
69129 #define _UINT8_T
69130 #ifndef __uint8_t_defined
69131 #define __uint8_t_defined
69132 #ifndef uint8_t
69133 typedef u_int8_t uint8_t;
69134 #endif
69135 #endif
69136 #endif
69138 #ifndef _UINT16_T
69139 #define _UINT16_T
69140 #ifndef __uint16_t_defined
69141 #define __uint16_t_defined
69142 #ifndef uint16_t
69143 typedef u_int16_t uint16_t;
69144 #endif
69145 #endif
69146 #endif
69148 #ifndef _UINT32_T
69149 #define _UINT32_T
69150 #ifndef __uint32_t_defined
69151 #define __uint32_t_defined
69152 #ifndef uint32_t
69153 typedef u_int32_t uint32_t;
69154 #endif
69155 #endif
69156 #endif
69158 else
69159 sed 's/^ *//' >> tmp-stdint.h <<EOF
69161 /* Some systems have guard macros to prevent redefinitions, define them. */
69162 #ifndef _INT8_T
69163 #define _INT8_T
69164 #endif
69165 #ifndef _INT16_T
69166 #define _INT16_T
69167 #endif
69168 #ifndef _INT32_T
69169 #define _INT32_T
69170 #endif
69171 #ifndef _UINT8_T
69172 #define _UINT8_T
69173 #endif
69174 #ifndef _UINT16_T
69175 #define _UINT16_T
69176 #endif
69177 #ifndef _UINT32_T
69178 #define _UINT32_T
69179 #endif
69183 # ------------- done basic int types, emit int64_t types ------------
69184 if test "$ac_cv_type_uint64_t" = yes; then
69185 sed 's/^ *//' >> tmp-stdint.h <<EOF
69187 /* system headers have good uint64_t and int64_t */
69188 #ifndef _INT64_T
69189 #define _INT64_T
69190 #endif
69191 #ifndef _UINT64_T
69192 #define _UINT64_T
69193 #endif
69195 elif test "$ac_cv_type_u_int64_t" = yes; then
69196 sed 's/^ *//' >> tmp-stdint.h <<EOF
69198 /* system headers have an u_int64_t (and int64_t) */
69199 #ifndef _INT64_T
69200 #define _INT64_T
69201 #endif
69202 #ifndef _UINT64_T
69203 #define _UINT64_T
69204 #ifndef __uint64_t_defined
69205 #define __uint64_t_defined
69206 #ifndef uint64_t
69207 typedef u_int64_t uint64_t;
69208 #endif
69209 #endif
69210 #endif
69212 elif test -n "$acx_cv_type_int64_t"; then
69213 sed 's/^ *//' >> tmp-stdint.h <<EOF
69215 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
69216 #ifndef _INT64_T
69217 #define _INT64_T
69218 #ifndef int64_t
69219 typedef $acx_cv_type_int64_t int64_t;
69220 #endif
69221 #endif
69222 #ifndef _UINT64_T
69223 #define _UINT64_T
69224 #ifndef __uint64_t_defined
69225 #define __uint64_t_defined
69226 #ifndef uint64_t
69227 typedef unsigned $acx_cv_type_int64_t uint64_t;
69228 #endif
69229 #endif
69230 #endif
69232 else
69233 sed 's/^ *//' >> tmp-stdint.h <<EOF
69235 /* some common heuristics for int64_t, using compiler-specific tests */
69236 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
69237 #ifndef _INT64_T
69238 #define _INT64_T
69239 #ifndef __int64_t_defined
69240 #ifndef int64_t
69241 typedef long long int64_t;
69242 #endif
69243 #endif
69244 #endif
69245 #ifndef _UINT64_T
69246 #define _UINT64_T
69247 #ifndef uint64_t
69248 typedef unsigned long long uint64_t;
69249 #endif
69250 #endif
69252 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
69253 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
69254 does not implement __extension__. But that compiler doesn't define
69255 __GNUC_MINOR__. */
69256 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
69257 # define __extension__
69258 # endif
69260 # ifndef _INT64_T
69261 # define _INT64_T
69262 # ifndef int64_t
69263 __extension__ typedef long long int64_t;
69264 # endif
69265 # endif
69266 # ifndef _UINT64_T
69267 # define _UINT64_T
69268 # ifndef uint64_t
69269 __extension__ typedef unsigned long long uint64_t;
69270 # endif
69271 # endif
69273 #elif !defined __STRICT_ANSI__
69274 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
69276 # ifndef _INT64_T
69277 # define _INT64_T
69278 # ifndef int64_t
69279 typedef __int64 int64_t;
69280 # endif
69281 # endif
69282 # ifndef _UINT64_T
69283 # define _UINT64_T
69284 # ifndef uint64_t
69285 typedef unsigned __int64 uint64_t;
69286 # endif
69287 # endif
69288 # endif /* compiler */
69290 #endif /* ANSI version */
69294 # ------------- done int64_t types, emit intptr types ------------
69295 if test "$ac_cv_type_uintptr_t" != yes; then
69296 sed 's/^ *//' >> tmp-stdint.h <<EOF
69298 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
69299 #ifndef __uintptr_t_defined
69300 #ifndef uintptr_t
69301 typedef u$acx_cv_type_intptr_t uintptr_t;
69302 #endif
69303 #endif
69304 #ifndef __intptr_t_defined
69305 #ifndef intptr_t
69306 typedef $acx_cv_type_intptr_t intptr_t;
69307 #endif
69308 #endif
69312 # ------------- done intptr types, emit int_least types ------------
69313 if test "$ac_cv_type_int_least32_t" != yes; then
69314 sed 's/^ *//' >> tmp-stdint.h <<EOF
69316 /* Define int_least types */
69317 typedef int8_t int_least8_t;
69318 typedef int16_t int_least16_t;
69319 typedef int32_t int_least32_t;
69320 #ifdef _INT64_T
69321 typedef int64_t int_least64_t;
69322 #endif
69324 typedef uint8_t uint_least8_t;
69325 typedef uint16_t uint_least16_t;
69326 typedef uint32_t uint_least32_t;
69327 #ifdef _UINT64_T
69328 typedef uint64_t uint_least64_t;
69329 #endif
69333 # ------------- done intptr types, emit int_fast types ------------
69334 if test "$ac_cv_type_int_fast32_t" != yes; then
69335 sed 's/^ *//' >> tmp-stdint.h <<EOF
69337 /* Define int_fast types. short is often slow */
69338 typedef int8_t int_fast8_t;
69339 typedef int int_fast16_t;
69340 typedef int32_t int_fast32_t;
69341 #ifdef _INT64_T
69342 typedef int64_t int_fast64_t;
69343 #endif
69345 typedef uint8_t uint_fast8_t;
69346 typedef unsigned int uint_fast16_t;
69347 typedef uint32_t uint_fast32_t;
69348 #ifdef _UINT64_T
69349 typedef uint64_t uint_fast64_t;
69350 #endif
69354 if test "$ac_cv_type_uintmax_t" != yes; then
69355 sed 's/^ *//' >> tmp-stdint.h <<EOF
69357 /* Define intmax based on what we found */
69358 #ifndef intmax_t
69359 #ifdef _INT64_T
69360 typedef int64_t intmax_t;
69361 #else
69362 typedef long intmax_t;
69363 #endif
69364 #endif
69365 #ifndef uintmax_t
69366 #ifdef _UINT64_T
69367 typedef uint64_t uintmax_t;
69368 #else
69369 typedef unsigned long uintmax_t;
69370 #endif
69371 #endif
69375 sed 's/^ *//' >> tmp-stdint.h <<EOF
69377 #endif /* GCC_GENERATED_STDINT_H */
69380 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
69381 rm -f tmp-stdint.h
69382 else
69383 mv -f tmp-stdint.h include/gstdint.h
69387 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
69388 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
69389 "include/Makefile":F) cat > vpsed$$ << \_EOF
69390 s!`test -f '$<' || echo '$(srcdir)/'`!!
69391 _EOF
69392 sed -f vpsed$$ $ac_file > tmp$$
69393 mv tmp$$ $ac_file
69394 rm vpsed$$
69395 echo 'MULTISUBDIR =' >> $ac_file
69396 ml_norecursion=yes
69397 . ${multi_basedir}/config-ml.in
69398 { ml_norecursion=; unset ml_norecursion;}
69400 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
69401 s!`test -f '$<' || echo '$(srcdir)/'`!!
69402 _EOF
69403 sed -f vpsed$$ $ac_file > tmp$$
69404 mv tmp$$ $ac_file
69405 rm vpsed$$
69406 echo 'MULTISUBDIR =' >> $ac_file
69407 ml_norecursion=yes
69408 . ${multi_basedir}/config-ml.in
69409 { ml_norecursion=; unset ml_norecursion;}
69411 "python/Makefile":F) cat > vpsed$$ << \_EOF
69412 s!`test -f '$<' || echo '$(srcdir)/'`!!
69413 _EOF
69414 sed -f vpsed$$ $ac_file > tmp$$
69415 mv tmp$$ $ac_file
69416 rm vpsed$$
69417 echo 'MULTISUBDIR =' >> $ac_file
69418 ml_norecursion=yes
69419 . ${multi_basedir}/config-ml.in
69420 { ml_norecursion=; unset ml_norecursion;}
69422 "src/Makefile":F) cat > vpsed$$ << \_EOF
69423 s!`test -f '$<' || echo '$(srcdir)/'`!!
69424 _EOF
69425 sed -f vpsed$$ $ac_file > tmp$$
69426 mv tmp$$ $ac_file
69427 rm vpsed$$
69428 echo 'MULTISUBDIR =' >> $ac_file
69429 ml_norecursion=yes
69430 . ${multi_basedir}/config-ml.in
69431 { ml_norecursion=; unset ml_norecursion;}
69433 "doc/Makefile":F) cat > vpsed$$ << \_EOF
69434 s!`test -f '$<' || echo '$(srcdir)/'`!!
69435 _EOF
69436 sed -f vpsed$$ $ac_file > tmp$$
69437 mv tmp$$ $ac_file
69438 rm vpsed$$
69439 echo 'MULTISUBDIR =' >> $ac_file
69440 ml_norecursion=yes
69441 . ${multi_basedir}/config-ml.in
69442 { ml_norecursion=; unset ml_norecursion;}
69444 "po/Makefile":F) cat > vpsed$$ << \_EOF
69445 s!`test -f '$<' || echo '$(srcdir)/'`!!
69446 _EOF
69447 sed -f vpsed$$ $ac_file > tmp$$
69448 mv tmp$$ $ac_file
69449 rm vpsed$$
69450 echo 'MULTISUBDIR =' >> $ac_file
69451 ml_norecursion=yes
69452 . ${multi_basedir}/config-ml.in
69453 { ml_norecursion=; unset ml_norecursion;}
69455 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
69456 s!`test -f '$<' || echo '$(srcdir)/'`!!
69457 _EOF
69458 sed -f vpsed$$ $ac_file > tmp$$
69459 mv tmp$$ $ac_file
69460 rm vpsed$$
69461 echo 'MULTISUBDIR =' >> $ac_file
69462 ml_norecursion=yes
69463 . ${multi_basedir}/config-ml.in
69464 { ml_norecursion=; unset ml_norecursion;}
69466 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
69468 esac
69469 done # for ac_tag
69472 as_fn_exit 0
69473 _ACEOF
69474 ac_clean_files=$ac_clean_files_save
69476 test $ac_write_fail = 0 ||
69477 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
69480 # configure is writing to config.log, and then calls config.status.
69481 # config.status does its own redirection, appending to config.log.
69482 # Unfortunately, on DOS this fails, as config.log is still kept open
69483 # by configure, so config.status won't be able to write to it; its
69484 # output is simply discarded. So we exec the FD to /dev/null,
69485 # effectively closing config.log, so it can be properly (re)opened and
69486 # appended to by config.status. When coming back to configure, we
69487 # need to make the FD available again.
69488 if test "$no_create" != yes; then
69489 ac_cs_success=:
69490 ac_config_status_args=
69491 test "$silent" = yes &&
69492 ac_config_status_args="$ac_config_status_args --quiet"
69493 exec 5>/dev/null
69494 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
69495 exec 5>>config.log
69496 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
69497 # would make configure fail if this is the last instruction.
69498 $ac_cs_success || as_fn_exit $?
69500 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
69501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
69502 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}